CN112987812B - Torque control method and device, terminal equipment and storage medium - Google Patents

Torque control method and device, terminal equipment and storage medium Download PDF

Info

Publication number
CN112987812B
CN112987812B CN202110206469.0A CN202110206469A CN112987812B CN 112987812 B CN112987812 B CN 112987812B CN 202110206469 A CN202110206469 A CN 202110206469A CN 112987812 B CN112987812 B CN 112987812B
Authority
CN
China
Prior art keywords
motor
model
dynamic model
representing
feedforward
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
CN202110206469.0A
Other languages
Chinese (zh)
Other versions
CN112987812A (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.)
Beijing Youbixuan Intelligent Robot Co ltd
Original Assignee
Ubtech Robotics 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 Ubtech Robotics Corp filed Critical Ubtech Robotics Corp
Priority to CN202110206469.0A priority Critical patent/CN112987812B/en
Publication of CN112987812A publication Critical patent/CN112987812A/en
Priority to PCT/CN2021/124622 priority patent/WO2022179131A1/en
Application granted granted Critical
Publication of CN112987812B publication Critical patent/CN112987812B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D17/00Control of torque; Control of mechanical power
    • G05D17/02Control of torque; Control of mechanical power characterised by the use of electric means
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/72Electric energy management in electromobility

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Control Of Electric Motors In General (AREA)

Abstract

The application is applicable to the technical field of series elastic drivers, and provides a torque control method, a torque control device, terminal equipment and a storage medium, wherein a nominal dynamic model of the series elastic driver is established; obtaining a real-time disturbance quantity through a disturbance observer according to a nominal dynamic model, a current value input by a motor at the current moment and an output torque of a series elastic driver at the current moment; obtaining a feedforward dynamic model through a feedforward compensator according to the nominal dynamic model and a scaling coefficient of the rotational inertia of the motor; obtaining a feedforward compensation quantity according to a feedforward dynamic model and an expected output torque of the series elastic driver; according to the real-time disturbance quantity, the feedforward compensation quantity and the ideal current value obtained through the proportional differential controller, the expected current value is obtained and output to the motor, the dynamic response performance can be improved, the control precision and the robustness to external disturbance are ensured, the better control effect is realized, the stability is improved, and the algorithm is simple.

Description

Torque control method and device, terminal equipment and storage medium
Technical Field
The application belongs to the technical field of Series Elastic Actuators (SEA), and particularly relates to a torque control method and device, a terminal device and a storage medium.
Background
The series elastic driver technology is a force control joint technology, and is realized by connecting an elastic element (a spring and the like) in series between a motor and a load, when the motor drives the load to move, the elastic element is firstly subjected to elastic deformation to generate elastic moment, the load is driven to move by the elastic moment, and the magnitude of the elastic moment for driving the load can be obtained by measuring the deformation quantity of the elastic element. The elastic element improves the flexibility and the impact resistance of the load, so that the load is easy to back drive and has natural passive safety characteristic; meanwhile, the elastic moment is detected by detecting the deformation quantity of the elastic element with the calibrated rigidity, so that the force fidelity is higher, and the accurate moment control can be realized; in addition, the elastic element can be used for storing and releasing energy, and the use efficiency of the energy is improved. However, the introduction of the elastic element significantly reduces the stiffness of the series elastic driver, so that the force control bandwidth of the series elastic driver is significantly reduced compared with that of a rigid driver, and in addition, since the elastic element decouples the motor from the load, the force control algorithm is more complex, and the load is more easily affected by disturbance, which affects the accuracy and robustness of torque control.
Disclosure of Invention
In view of this, embodiments of the present application provide a torque control method, an apparatus, a terminal device, and a storage medium, so as to solve the problems that in the prior art, a force control algorithm of a serial elastic driver is complex, a load is more easily affected by disturbance, and accuracy and robustness of torque control are affected.
A first aspect of an embodiment of the present application provides a torque control method, including:
establishing a nominal dynamic model of the series elastic driver;
obtaining a real-time disturbance quantity through a disturbance observer according to the nominal dynamic model, a current value input by a motor at the current moment and an output torque of the series elastic driver at the current moment;
obtaining a feedforward dynamic model through a feedforward compensator according to the nominal dynamic model and a scaling coefficient of the rotational inertia of the motor;
obtaining a feedforward compensation quantity according to the feedforward dynamic model and the expected output torque of the series elastic driver;
and obtaining an expected current value according to the real-time disturbance quantity, the feedforward compensation quantity and an ideal current value obtained by a proportional differential controller, and outputting the expected current value to the motor.
A second aspect of an embodiment of the present application provides a torque control device, including:
the model establishing unit is used for establishing a nominal dynamic model of the series elastic driver;
the disturbance observation unit is used for obtaining a real-time disturbance quantity through a disturbance observer according to the nominal dynamic model, the current value input by the motor at the current moment and the output torque of the series elastic driver at the current moment;
the feedforward compensation unit is used for obtaining a feedforward dynamic model through a feedforward compensator according to the nominal dynamic model and the scaling coefficient of the rotational inertia of the motor; obtaining a feedforward compensation quantity according to the feedforward dynamic model and the expected output torque of the series elastic driver;
and the proportional differentiation unit is used for obtaining an expected current value according to the real-time disturbance quantity, the feedforward compensation quantity and an ideal current value obtained by the proportional differentiation controller and outputting the expected current value to the motor.
A third aspect of embodiments of the present application provides a terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, further comprising a series elastic driver and a load, the series elastic driver comprising a motor and an elastic element, the series elastic driver being connected to the load, the processor implementing the steps of the method according to the first aspect of embodiments of the present application when executing the computer program.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium, in which a computer program is stored, which, when executed by a processor, implements the steps of the method according to the first aspect of embodiments of the present application.
In the torque control method provided by the first aspect of the embodiment of the present application, a nominal dynamic model of a series elastic driver is established; obtaining a real-time disturbance quantity through a disturbance observer according to a nominal dynamic model, a current value input by a motor at the current moment and an output torque of a series elastic driver at the current moment; obtaining a feedforward dynamic model through a feedforward compensator according to the nominal dynamic model and a scaling coefficient of the rotational inertia of the motor; obtaining a feedforward compensation quantity according to a feedforward dynamic model and an expected output torque of the series elastic driver; according to the real-time disturbance quantity, the feedforward compensation quantity and the ideal current value obtained through the proportional differential controller, the expected current value is obtained and output to the motor, the dynamic response performance can be improved, the control precision and the robustness to external disturbance are ensured, the better control effect is realized, the stability is improved, and the algorithm is simple.
It is understood that the beneficial effects of the second to fourth aspects can be seen from the description of the first aspect, and are not described herein again.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a schematic flow chart of a torque control method provided by an embodiment of the present application;
FIG. 2 is a diagram of a mathematical model of a disturbance observer provided by an embodiment of the present application;
FIG. 3 is a schematic structural diagram of a torque control device provided in an embodiment of the present application;
fig. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to" determining "or" in response to detecting ". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
The torque control method provided by the embodiment of the application can be applied to terminal devices such as robots, mechanical arms, wearable devices, vehicle-mounted devices, Augmented Reality (AR)/Virtual Reality (VR) devices and the like. The terminal device comprises a processor, a series elastic driver and a load, wherein the processor is used for controlling the series elastic driver to drive the load to move, and the embodiment of the application does not limit the specific type of the terminal device. The robot may be a service robot, an underwater robot, an entertainment robot, a military robot, an agricultural robot, and the like, and the embodiment of the present application does not limit the specific type of the robot. The type of load differs depending on the type of terminal equipment, for example, when the terminal equipment is a robot, the load may be a movable joint of the robot.
As shown in fig. 1, a torque control method provided in the embodiment of the present application includes the following steps S101 to S105:
and S101, establishing a nominal dynamic model of the series elastic driver.
In an application, the series elastic driver comprises a motor and an elastic element, and since the elastic element of the series elastic driver decouples the motor from the load, a nominal dynamic model of the series elastic driver consists of two parts, namely a dynamic model of the motor and a dynamic model of the load.
In one embodiment, step S101 includes:
and establishing a nominal dynamic model of the series elastic driver according to the dynamic model of the motor and the dynamic model of the load.
In one embodiment, the motor dynamics model is expressed as:
Figure BDA0002950964310000051
wherein, JmRepresenting the moment of inertia, theta, of the machinemRepresenting the angle of rotation of the motor, BmRepresenting the damping term, K, of the machinesRepresenting the stiffness, theta, of the elastic elementlRepresenting the angle of rotation, τ, of the loaddmAn uncertainty factor, τ, representing said motormRepresenting the output torque of the motor.
In application, the relation between the output torque of the motor and the input current of the motor is taumβ is an equivalent torque coefficient of the motor, and uncertainty factors of the motor include coulomb friction and a dynamic model of the motorError of (2), etc.
In one embodiment, the expression of the dynamic model of the load is:
Figure BDA0002950964310000052
wherein, JlRepresenting the moment of inertia of said load, BlA damping term, τ, representing said loadextRepresenting the moment from the outside environment to which the load is subjected.
In one embodiment, the nominal kinetic model is expressed as:
Figure BDA0002950964310000053
τs(s)=KsΔθ
Δθ=θml
wherein, Pn(s) represents the nominal dynamics model, i(s) represents the current value of the motor input, τs(s) represents an output torque of the series elastic driver, β represents an equivalent torque coefficient of the motor, s represents a complex variable in laplace transform, and Δ θ represents a deformation amount of the elastic element.
In application, τs(s)=KsΔ θ is the elastic torque generated by the elastic element, i.e., the output torque of the series elastic driver. Considering the ideal situation, neglecting the disturbance quantity tau of the motordm(uncertain factor of motor) and external force tau borne by loadextWhen the load is fixed, the system open loop transfer function P of the series elastic driver with the current as the input of the series elastic driver and the elastic moment as the output of the series elastic driver can be obtained by the dynamic model of the motor and the dynamic model of the loadn(s) (i.e., the nominal kinetic model). All parameters for calculating and obtaining the nominal dynamic model can be identified and obtained through a motor manual or a parameter identification algorithm and belong to known parameters.
And S102, obtaining a real-time disturbance quantity through a disturbance observer according to the nominal dynamic model, the current value input by the motor at the current moment and the output torque of the series elastic driver at the current moment.
As shown in fig. 2, a diagram illustrating a mathematical model of a disturbance observer is exemplary; wherein, CffFor a feed-forward filter, τrefFor the desired output torque, PD represents a Proportional-differential controller (PD), i represents the current value of the motor input, d represents the disturbance to which the system is subjected, P represents the actual dynamic model of the system, SEA represents the series elastic drive, and P represents the actual dynamic model of the systemnFor a nominal kinetic model, Pn -1Is an inverse model of the nominal dynamics model, Q is a low-pass filter, DOB represents a Disturbance OBserver (DOB), τsRepresenting the output torque of the series elastic driver.
In application, the inverse model P due to the nominal kinetic modeln -1Physically, it is not possible to implement it, and therefore it is necessary to introduce a low-pass filter Q, which may be a second order Butterworth filter in particular.
In one embodiment, step S102 includes:
establishing a filter model of the low-pass filter through a nominal dynamic model;
obtaining an inverse model of the nominal dynamic model according to the nominal dynamic model through a disturbance observer;
and obtaining a real-time disturbance quantity according to the inverse model of the nominal dynamic model, the current value input by the motor at the current moment, the output torque of the series elastic driver at the current moment and the filter model.
In one embodiment, the filter model is expressed as:
Figure BDA0002950964310000071
wherein Q(s) represents the filter model and s represents in the Laplace transformComplex variable, ωqRepresenting the cut-off frequency of the low-pass filter.
In application, the filter model Q(s) is an equivalent mathematical model of the low-pass filter Q shown in fig. 2. Cut-off frequency omega of low-pass filterqShould be greater than the upper limit of the force control bandwidth of the series elastic driver, while avoiding too high a value to filter the high frequency noise as much as possible, thereby eliminating the effect of the high frequency noise, i.e., the cut-off frequency should be greater than the upper limit of the force control bandwidth of the series elastic driver and less than the frequency of the high frequency noise.
In one embodiment, the expression of the real-time disturbance amount is:
Figure BDA0002950964310000072
wherein the content of the first and second substances,
Figure BDA0002950964310000073
the disturbance variable represented, Q(s) represents the filter model, i0(s) represents a current value input by the motor at the current moment,
Figure BDA0002950964310000074
an inverse model representing the nominal kinetic model,
Figure BDA0002950964310000075
representing the output torque of the series elastic driver at the present moment.
In application, the output torque tau of the series elastic driversCan pass through the rigidity K of the calibrated elastic elementsAnd detecting the deformation quantity delta theta of the elastic element, and combining the current value i input by the motor at the current moment and the output torque tau of the series elastic driver at the current moment according to the graph of fig. 2sObtaining the estimated value of the real-time disturbance quantity
Figure BDA0002950964310000076
In application, the handleReal-time disturbance amount estimation value
Figure BDA0002950964310000077
Compensating the output torque tau of the equivalent series elastic driver to the input of the series elastic drivers(s) can be expressed as:
Figure BDA0002950964310000078
as a real-time disturbance amount estimate
Figure BDA0002950964310000081
When the frequency of (a) is lower than the cutoff frequency of the low-pass filter q(s), q(s) is 1, the above equation can be simplified as follows:
τs(s)=Pn(s)i(s)
i.e. the model of the series elastic actuator is adjusted from the actual kinetic model P(s) to the nominal kinetic model Pn(s) the influence of the disturbance quantity d(s) is isolated.
And S103, obtaining a feedforward dynamic model through a feedforward compensator according to the nominal dynamic model and the scaling coefficient of the rotational inertia of the motor.
In application, in order to improve the dynamic performance of the series elastic driver, a feedforward compensator based on a nominal dynamic model is introduced, and the feedforward compensator is obtained by an inverse model P of the nominal dynamic modelff -1(s) and a second order Butterworth filter Q(s). And inverse model P in the disturbance observern -1In the difference thatff -1(s) comprises a scaling factor alpha of the rotational inertia of the motor, so that the rotational inertia in the nominal dynamic model for feedforward is alpha Jm. Alpha is 0<α<1, can be set according to actual needs, and the purpose of introducing alpha is to reduce overcompensation caused by feed-forward of a nominal dynamic model and simultaneously restrain resonance phenomena caused by elastic elements.
In one embodiment, the feed forward kinetic model is expressed as:
Figure BDA0002950964310000082
wherein, Pff(s) represents the feed forward dynamics model, α represents a scaling factor of the rotational inertia of the motor, β represents an equivalent moment factor of the motor, KsRepresenting the stiffness of the elastic element, JmRepresenting the rotational inertia of the motor, s representing a complex variable in the Laplace transform, BmRepresenting a damping term of the electrical machine.
And step S104, acquiring a feedforward compensation quantity according to the feedforward dynamic model and the expected output torque of the series elastic driver.
In one embodiment, step S104 includes:
and obtaining a feedforward compensation quantity according to the feedforward dynamic model, the expected output torque of the series elastic driver and the filter model.
In one embodiment, the feedforward compensation amount is expressed by:
Figure BDA0002950964310000083
wherein, Cff(s) represents the amount of said feed forward compensation,
Figure BDA0002950964310000091
an inverse model representing the feedforward dynamics model, Q(s) the filter model, τref(s) represents a desired output torque of the series elastic driver.
And S105, obtaining an expected current value according to the real-time disturbance quantity, the feedforward compensation quantity and the ideal current value obtained through the proportional differential controller, and outputting the expected current value to the motor.
In applications where a suitable feedback controller is required to stabilize a closed loop system in torque control of a series elastic actuator, a proportional-derivative controller as shown in fig. 2 may be employed. The ideal current value is the current value calculated by the proportional-derivative controller for output to the motor.
In one embodiment, the expression of the ideal current value is:
Figure BDA0002950964310000092
wherein iPD(s) represents the ideal current value, KPCoefficient, τ, representing a proportional element in said proportional-derivative controllerref(s) represents a desired output torque of the series elastic driver,
Figure BDA0002950964310000093
representing the output torque, K, of the series elastic drive at the present momentPCoefficient, tau, representing a differential element in said proportional-differential controllerref'(s) denotes the derivative of the desired output torque of the series elastic drive,
Figure BDA0002950964310000094
representing the inverse of the output torque of the series elastic driver at the present moment.
In one embodiment, the desired current value is expressed as:
Figure BDA0002950964310000095
wherein i1(s) represents a desired current value of the motor,
Figure BDA0002950964310000096
representing said real-time disturbance quantity, Cff(s) represents the feedforward compensation amount, iPD(s) represents the ideal current value.
According to the torque control method provided by the embodiment of the application, the closed loop system of the series elastic driver can be stabilized by adopting the proportional differential controller; because the series elastic driver system can be influenced by friction force and external disturbance, the series elastic driver is normalized by adopting a disturbance observer, so that the observation and compensation of the disturbance quantity can be realized; in order to improve the dynamic performance of a series elastic driver system, a feedforward compensator based on a nominal dynamic model is adopted, and in order to avoid feedforward overcompensation of the nominal dynamic model, a scaling coefficient of equivalent rotational inertia is introduced into a feedforward item; the control system composed of the proportional-derivative controller, the disturbance observer and the feedforward compensator can improve the dynamic response performance of the terminal equipment and ensure the control precision and the robustness to external disturbance, and the disturbance observer and the feedforward compensator are both positioned in the inner ring of the control framework of the terminal equipment, so that the control algorithm of the outer ring can achieve a better control effect on the basis of the control algorithm.
The embodiment of the application also provides a torque control device, which is used for executing the steps in the torque control method embodiment. The moment control device may be a virtual appliance (virtual application) in the terminal device, which is executed by a processor of the terminal device, or may be the terminal device itself.
As shown in fig. 3, a torque control device provided in an embodiment of the present application includes:
a model establishing unit 101 for establishing a nominal dynamic model of the series elastic driver;
the disturbance observation unit 102 is configured to obtain a real-time disturbance amount according to the nominal dynamic model, a current value input by the motor at the current moment, and an output torque of the series elastic driver at the current moment by using a disturbance observer;
a feedforward compensation unit 103, configured to obtain a feedforward dynamic model according to the nominal dynamic model and a scaling coefficient of the rotational inertia of the motor through a feedforward compensator; obtaining a feedforward compensation quantity according to the feedforward dynamic model and the expected output torque of the series elastic driver;
and a proportional derivative unit 104, configured to obtain a desired current value according to the real-time disturbance amount, the feedforward compensation amount, and an ideal current value obtained by a proportional derivative controller, and output the desired current value to the motor.
In application, each unit in the torque control device may be a software program unit, may be implemented by different logic circuits integrated in a processor, and may also be implemented by a plurality of distributed processors.
As shown in fig. 4, an embodiment of the present application further provides a terminal device 200, including: at least one processor 201 (only one processor is shown in fig. 4), a memory 202, and a computer program 203 stored in the memory 202 and operable on the at least one processor 201, further comprising a series elastic driver 204 and a load 205, the steps in the respective torque control method embodiments described above being implemented when the processor 201 executes the computer program 203.
In an application, the end devices may include, but are not limited to, a memory, a processor, a series elastic driver, and a load. Those skilled in the art will appreciate that fig. 4 is merely an example of a terminal device, and does not constitute a limitation of the terminal device, and may include more or less components than those shown, or combine some components, or different components, such as an input-output device, a network access device, etc.
In an Application, the Processor may be a Central Processing Unit (CPU), and the Processor may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable Gate arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In some embodiments, the storage may be an internal storage unit of the terminal device, such as a hard disk or a memory of the terminal device. The memory may also be an external storage device of the terminal device in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the terminal device. Further, the memory may also include both an internal storage unit of the terminal device and an external storage device. The memory is used for storing an operating system, an application program, a Boot Loader (Boot Loader), data, and other programs, such as program codes of computer programs. The memory may also be used to temporarily store data that has been output or is to be output.
It should be noted that, for the information interaction, execution process, and other contents between the above-mentioned devices/units, the specific functions and technical effects thereof are based on the same concept as those of the embodiment of the method of the present application, and specific reference may be made to the part of the embodiment of the method, which is not described herein again.
It will be clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional units is merely illustrated, and in practical applications, the above function distribution may be performed by different functional units according to needs, that is, the internal structure of the device is divided into different functional units to perform all or part of the above described functions. Each functional unit in the embodiments may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units are only used for distinguishing one functional unit from another, and are not used for limiting the protection scope of the application. The specific working process of the units in the system may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
The embodiment of the application provides a computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the moment control method of any one of the embodiments is realized.
The embodiment of the present application provides a computer program product, which, when running on a terminal device, causes the terminal device to execute the moment control method of any of the above embodiments.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer readable storage medium and used by a processor to implement the steps of the embodiments of the methods described above. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include at least: any entity or apparatus capable of carrying computer program code to a terminal device, recording medium, computer Memory, Read-Only Memory (ROM), Random-Access Memory (RAM), electrical carrier wave signals, telecommunications signals, and software distribution medium. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus, terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus and the terminal device are merely illustrative, and for example, the division of the unit is only one logical division, and there may be other divisions when the actual implementation is performed, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (12)

1. A torque control method, comprising:
establishing a nominal dynamic model of the series elastic driver;
obtaining a real-time disturbance quantity through a disturbance observer according to the nominal dynamic model, a current value input by a motor at the current moment and an output torque of the series elastic driver at the current moment;
obtaining a feedforward dynamic model through a feedforward compensator according to the nominal dynamic model and a scaling coefficient of the rotational inertia of the motor;
obtaining a feedforward compensation quantity according to the feedforward dynamic model and the expected output torque of the series elastic driver;
and obtaining an expected current value according to the real-time disturbance quantity, the feedforward compensation quantity and an ideal current value obtained by a proportional differential controller, and outputting the expected current value to the motor.
2. The torque control method of claim 1, wherein the establishing a nominal dynamic model of the series elastic drive comprises:
and establishing a nominal dynamic model of the series elastic driver according to the dynamic model of the motor and the dynamic model of the load.
3. The torque control method according to claim 2, wherein the expression of the dynamic model of the motor is:
Figure FDA0002950964300000011
wherein, JmRepresenting the moment of inertia, theta, of the machinemRepresenting the angle of rotation of the motor, BmRepresenting the damping term, K, of the machinesRepresenting the stiffness, theta, of the elastic elementlRepresenting the angle of rotation, τ, of the loaddmAn uncertainty factor, τ, representing said motormRepresenting an output torque of the motor;
the expression of the dynamic model of the load is as follows:
Figure FDA0002950964300000012
wherein, JlRepresenting the moment of inertia of said load, BlA damping term, τ, representing said loadextRepresenting a moment from the external environment to which the load is subjected;
the expression of the nominal kinetic model is:
Figure FDA0002950964300000021
τs(s)=KsΔθ
Δθ=θml
wherein, Pn(s) represents the nominal dynamics model, i(s) represents the current value of the motor input, τs(s) represents the output torque of the series elastic driver, beta represents the equivalent torque coefficient of the motor, and s tableA complex variable in laplace transform, and Δ θ represents a deformation amount of the elastic element.
4. The torque control method according to claim 1, wherein the obtaining of the real-time disturbance amount by a disturbance observer based on the nominal dynamical model, a current value input to the motor at a current time, and an output torque of the series elastic actuator at the current time includes:
establishing a filter model of the low-pass filter through a nominal dynamic model;
obtaining an inverse model of the nominal dynamic model according to the nominal dynamic model through a disturbance observer;
and obtaining a real-time disturbance quantity according to the inverse model of the nominal dynamic model, the current value input by the motor at the current moment, the output torque of the series elastic driver at the current moment and the filter model.
5. The torque control method according to claim 4, wherein the filter model is expressed by:
Figure FDA0002950964300000022
wherein Q(s) represents the filter model, s represents a complex variable in Laplace transform, ωqRepresenting a cut-off frequency of the low-pass filter;
the expression of the real-time disturbance quantity is as follows:
Figure FDA0002950964300000023
wherein the content of the first and second substances,
Figure FDA0002950964300000024
the disturbance variable represented, Q(s) represents the filter model, i0(s) represents the current time of the motorThe value of the current to be input is,
Figure FDA0002950964300000025
an inverse model representing the nominal kinetic model,
Figure FDA0002950964300000026
representing the output torque of the series elastic driver at the present moment.
6. The torque control method of claim 1, wherein the feed forward dynamics model is expressed by:
Figure FDA0002950964300000031
wherein, Pff(s) represents the feed forward dynamics model, α represents a scaling factor of the rotational inertia of the motor, β represents an equivalent moment factor of the motor, KsRepresenting the stiffness of the elastic element, JmRepresenting the rotational inertia of the motor, s representing a complex variable in the Laplace transform, BmRepresenting a damping term of the electrical machine.
7. The torque control method according to any one of claims 4 to 6, wherein the obtaining a feedforward compensation amount based on the feedforward dynamics model and the desired output torque of the series elastic driver comprises:
and obtaining a feedforward compensation quantity according to the feedforward dynamic model, the expected output torque of the series elastic driver and the filter model.
8. The torque control method according to claim 7, wherein the feedforward compensation amount is expressed by:
Figure FDA0002950964300000032
wherein, Cff(s) represents the amount of said feed forward compensation,
Figure FDA0002950964300000033
an inverse model representing the feedforward dynamics model, Q(s) the filter model, τref(s) represents a desired output torque of the series elastic driver.
9. The torque control method according to claim 1, wherein the desired current value is expressed by:
Figure FDA0002950964300000034
wherein i1(s) represents a desired current value of the motor,
Figure FDA0002950964300000035
representing said real-time disturbance quantity, Cff(s) represents the feedforward compensation amount, iPD(s) represents the ideal current value.
10. A torque control device, comprising:
the model establishing unit is used for establishing a nominal dynamic model of the series elastic driver;
the disturbance observation unit is used for obtaining a real-time disturbance quantity through a disturbance observer according to the nominal dynamic model, the current value input by the motor at the current moment and the output torque of the series elastic driver at the current moment;
the feedforward compensation unit is used for obtaining a feedforward dynamic model through a feedforward compensator according to the nominal dynamic model and the scaling coefficient of the rotational inertia of the motor; obtaining a feedforward compensation quantity according to the feedforward dynamic model and the expected output torque of the series elastic driver;
and the proportional differentiation unit is used for obtaining an expected current value according to the real-time disturbance quantity, the feedforward compensation quantity and an ideal current value obtained by the proportional differentiation controller and outputting the expected current value to the motor.
11. A terminal device comprising a memory, a processor and a computer program stored in said memory and executable on said processor, characterized by further comprising a series elastic driver connected to said processor, said series elastic driver comprising a motor and an elastic element, said series elastic driver being connected to a load, said processor implementing the steps of the method according to any one of claims 1 to 9 when executing said computer program.
12. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 9.
CN202110206469.0A 2021-02-24 2021-02-24 Torque control method and device, terminal equipment and storage medium Active CN112987812B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110206469.0A CN112987812B (en) 2021-02-24 2021-02-24 Torque control method and device, terminal equipment and storage medium
PCT/CN2021/124622 WO2022179131A1 (en) 2021-02-24 2021-10-19 Torque control method and apparatus, terminal device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110206469.0A CN112987812B (en) 2021-02-24 2021-02-24 Torque control method and device, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112987812A CN112987812A (en) 2021-06-18
CN112987812B true CN112987812B (en) 2021-12-10

Family

ID=76350140

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110206469.0A Active CN112987812B (en) 2021-02-24 2021-02-24 Torque control method and device, terminal equipment and storage medium

Country Status (2)

Country Link
CN (1) CN112987812B (en)
WO (1) WO2022179131A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112987812B (en) * 2021-02-24 2021-12-10 深圳市优必选科技股份有限公司 Torque control method and device, terminal equipment and storage medium
CN113954078B (en) * 2021-11-17 2023-02-24 深圳市优必选科技股份有限公司 Force control joint control method and device, robot and readable storage medium
CN114260892B (en) * 2021-12-17 2023-12-15 深圳市优必选科技股份有限公司 Elastic joint moment control method and device, readable storage medium and robot
CN114541502B (en) * 2022-02-21 2023-01-10 北京合众鼎新信息技术有限公司 Control method of valve-controlled hydraulic cylinder and automatic control system of bulldozer blade

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063134A (en) * 2009-11-18 2011-05-18 北京航空航天大学 Device and method for controlling moment
CN102208891A (en) * 2010-11-18 2011-10-05 东南大学 Method for controlling PMSM (permanent magnet synchronous motor) servo system based on friction and disturbance compensation
CN103941586A (en) * 2014-02-08 2014-07-23 上海交通大学 Prediction function control method for rotating speed of main driving system of heading machine
CN106945046A (en) * 2017-04-24 2017-07-14 华南理工大学 Mechanical arm control system and its control method based on variation rigidity elastic driver
CN109358510A (en) * 2018-11-12 2019-02-19 北京理工大学 A kind of design method for the automatic disturbance rejection controller overcoming backlash nonlinearity
CN112130598A (en) * 2020-09-25 2020-12-25 北京车和家信息技术有限公司 Torque filtering method and device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8525460B2 (en) * 2010-02-02 2013-09-03 GM Global Technology Operations LLC Architecture for robust force and impedance control of series elastic actuators
AT520232B1 (en) * 2017-07-21 2019-11-15 Avl List Gmbh Method and apparatus for estimating the torque ripple of an electric motor
CN108873686B (en) * 2018-07-03 2019-04-26 北京华悦龙驰科技有限公司 A kind of control method for series elastic driver
CN110561427B (en) * 2019-08-21 2020-11-17 华中科技大学 Series elastic driver compliance control system and method based on compensation
CN112199833B (en) * 2020-09-29 2023-12-29 深圳市优必选科技股份有限公司 Joint dynamics model optimization method, system, terminal equipment and storage medium
CN112394637B (en) * 2020-11-13 2022-12-09 江苏集萃智能制造技术研究所有限公司 Cooperative robot control method based on active disturbance rejection control technology
CN112987812B (en) * 2021-02-24 2021-12-10 深圳市优必选科技股份有限公司 Torque control method and device, terminal equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063134A (en) * 2009-11-18 2011-05-18 北京航空航天大学 Device and method for controlling moment
CN102208891A (en) * 2010-11-18 2011-10-05 东南大学 Method for controlling PMSM (permanent magnet synchronous motor) servo system based on friction and disturbance compensation
CN102208891B (en) * 2010-11-18 2013-04-24 东南大学 Method for controlling PMSM (permanent magnet synchronous motor) servo system based on friction and disturbance compensation
CN103941586A (en) * 2014-02-08 2014-07-23 上海交通大学 Prediction function control method for rotating speed of main driving system of heading machine
CN106945046A (en) * 2017-04-24 2017-07-14 华南理工大学 Mechanical arm control system and its control method based on variation rigidity elastic driver
CN109358510A (en) * 2018-11-12 2019-02-19 北京理工大学 A kind of design method for the automatic disturbance rejection controller overcoming backlash nonlinearity
CN112130598A (en) * 2020-09-25 2020-12-25 北京车和家信息技术有限公司 Torque filtering method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《腿式机器人分布式控制系统与运动优化》;贾学超;《中国优秀硕士学位论文全文数据库(信息科技辑)》;20151230;全文 *

Also Published As

Publication number Publication date
CN112987812A (en) 2021-06-18
WO2022179131A1 (en) 2022-09-01

Similar Documents

Publication Publication Date Title
CN112987812B (en) Torque control method and device, terminal equipment and storage medium
CN109760048B (en) Robot servo control method and device and robot
CN109799699B (en) Automatic driving system control parameter processing method, device, equipment and storage medium
CN111347418B (en) Method for controlling electric control servo system, electric control servo system and robot
CN114260892B (en) Elastic joint moment control method and device, readable storage medium and robot
Hu et al. Attitude output feedback control for rigid spacecraft with finite-time convergence
CN110569767A (en) Motion parameter identification method, system, equipment and computer readable storage medium
CN116175548B (en) Self-adaptive variable-impedance electric driving system for robot and control method and device
CN115890666A (en) Robot, collision protection method and device thereof, and storage medium
CN109839964B (en) Steering engine control method and terminal equipment
CN112198795B (en) Electromechanical servo control method, electromechanical servo control system, terminal equipment and storage medium
CN112613149B (en) Determination method and device of reduction ratio and electronic equipment
CN112720478B (en) Robot torque control method and device, readable storage medium and robot
Borkar et al. Super twisting observer based full order sliding mode control
CN111628682A (en) Stepping motor synchronous driving method, stepping motor synchronous driving device, terminal and storage medium
CN111384875B (en) Control method and control device of steering engine and terminal equipment
CN113992101B (en) Current compensation method and device based on vector control of permanent magnet synchronous motor
CN109963085A (en) A kind of method, apparatus and robot adjusting shutter speed
CN113954078B (en) Force control joint control method and device, robot and readable storage medium
CN117984332B (en) Mechanical arm self-adaptive sliding mode control method and system
CN114977941B (en) Inertia identification method, device and medium for alternating current servo system
CN117738975B (en) Calibration method, calibration device and storage medium for electromagnetic valve
CN115685761B (en) Flexible spacecraft preset performance attitude control method, computer equipment and storage medium
CN116643501B (en) Variable impedance control method and system for aerial working robot under stability constraint
CN118034362A (en) Robot control method and device, computer readable storage medium and robot

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20231204

Address after: Room 601, 6th Floor, Building 13, No. 3 Jinghai Fifth Road, Beijing Economic and Technological Development Zone (Tongzhou), Tongzhou District, Beijing, 100176

Patentee after: Beijing Youbixuan Intelligent Robot Co.,Ltd.

Address before: 518000 16th and 22nd Floors, C1 Building, Nanshan Zhiyuan, 1001 Xueyuan Avenue, Nanshan District, Shenzhen City, Guangdong Province

Patentee before: Shenzhen Youbixuan Technology Co.,Ltd.

TR01 Transfer of patent right
CB03 Change of inventor or designer information

Inventor after: Zhao Wen

Inventor after: Xiong Youjun

Inventor before: Zhao Wen

Inventor before: Zhao Mingguo

Inventor before: Xiong Youjun

CB03 Change of inventor or designer information