Adjustment method, device, servo system, electronic equipment and storage medium

By calculating and adjusting the gain parameters of the servo system in real time, the problem of large position deviation during acceleration and deceleration of large inertia servo systems is solved, and the position deviation tends to be consistent, reducing shear deviation and meeting positioning needs.

CN114509994BActive Publication Date: 2024-12-03SUZHOU WEICHUANG ELECTRICAL EQUIP TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210002750.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-04
Publication Date
2024-12-03
Estimated Expiration
2042-01-04

AI Technical Summary

Technical Problem

The large inertia servo system has position deviations during acceleration and deceleration, resulting in large deviations during material shearing. The existing methods cannot further reduce the deviations after the servo system response reaches its limit, resulting in waste of production capacity.

Method used

By obtaining the current position command speed and preset gain parameters, calculate the third gain parameter, so that it is proportional to the position command speed difference, and adjust the servo system in real time to reduce the position deviation during acceleration and deceleration.

Benefits of technology

The position deviation tends to be consistent under large inertia load conditions, meets positioning needs, significantly reduces shear deviation during acceleration and deceleration, and reduces production capacity waste.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114509994B_ABST
    Figure CN114509994B_ABST
Patent Text Reader

Abstract

The present application relates to an adjustment method, device, servo system, electronic device and storage medium, wherein an adjustment method includes: obtaining the first position command speed of the current operation; obtaining the preset first gain parameter and second gain parameter; the first gain parameter corresponds to the second position command speed, and the second gain parameter corresponds to the third position command speed; the third gain parameter is calculated according to the first position command speed, the second position command speed, the third position command speed, the first gain parameter and the second gain parameter; the third gain parameter is proportional to the first difference, and the first difference is the difference between the first position command speed and the second position command speed; the servo system is adjusted according to the third gain parameter. The larger the first position command speed is, the larger the third gain parameter is; the smaller the first position command speed is, the smaller the third gain parameter is, so as to achieve the consistency of position deviation during the acceleration and deceleration process of large inertia load, reduce the change of position deviation, and meet the positioning requirements.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of servo control technology, and in particular to an adjustment method, device, servo system, electronic equipment and storage medium. Background Art

[0002] For large inertia servo systems, the time it takes for the load to accelerate from 0 speed to the target speed is generally long. Based on the control principle of the servo position P regulator, there must be a process in which the difference between the position command and the position feedback (position deviation) gradually increases from 0 during the acceleration and deceleration process. For some equipment, during the process of position deviation changes, the actual position of the load will be inconsistent with the expected position due to the influence of position deviation for the same position command.

[0003] Taking the flying shear application as an example, in applications where the acceleration and deceleration process is relatively long, multiple wastes with relatively large deviations will appear in the sheared material. The commonly used adjustment method is to improve the responsiveness of the servo system as much as possible and reduce the position deviation value during the acceleration and deceleration process. However, due to the influence of large inertia loads, the response of the servo system has a limit. When the servo system response reaches the limit, there will still be a relatively large deviation in the sheared material. There is no way to further reduce the shear deviation during the acceleration and deceleration process, resulting in serious waste of production capacity. Summary of the invention

[0004] In order to solve the technical problem that the position deviation changes significantly during acceleration and deceleration of large inertia loads and the servo regulator reaches its limit and fails to meet the positioning requirements, the present application provides an adjustment method, device, servo system, electronic device and storage medium.

[0005] In a first aspect, the present application provides an adjustment method, the method comprising:

[0006] Obtaining a first position command speed, where the first position command speed is a position command speed of a current operation;

[0007] Obtaining a preset first gain parameter and a second gain parameter; the first gain parameter corresponds to a second position command speed, and the second gain parameter corresponds to a third position command speed; the first position command speed is greater than or equal to the second position command speed, and is less than or equal to the third position command speed;

[0008] A third gain parameter is calculated according to the first position command speed, the second position command speed, the third position command speed, the first gain parameter and the second gain parameter; the third gain parameter is proportional to the first difference, and the first difference is the difference between the first position command speed and the second position command speed;

[0009] adjusting the servo system according to the third gain parameter;

[0010] Further, the third gain parameter is the product of the first difference and a preset constant;

[0011] Further, the preset constant is the quotient of the second difference and the third difference; the second difference is the difference between the second gain parameter and the first gain parameter; the third difference is the difference between the third position command speed and the second position command speed;

[0012] Furthermore, before obtaining the first position command speed, the method further includes:

[0013] Setting the first gain parameter and the second gain parameter; the first gain parameter is less than the second gain parameter;

[0014] Further, the method further comprises: if the first position command speed is less than the second position command speed, the third gain parameter is equal to the first gain parameter;

[0015] If the first position command speed is greater than the third position command speed, the third gain parameter is equal to the second gain parameter;

[0016] Further, the first gain parameters include: a first position gain, a first speed gain, a first speed integral and a first torque command filter time;

[0017] The second gain parameters include: a second position gain, a second speed gain, a second speed integral and a second torque instruction filtering time.

[0018] In a second aspect, the present application provides an adjustment device, the device comprising:

[0019] A first acquisition module, used for acquiring a first position instruction speed, where the first position instruction speed is a position instruction speed of a current operation;

[0020] A second acquisition module is used to acquire a preset first gain parameter and a second gain parameter; the first gain parameter corresponds to a second position command speed, and the second gain parameter corresponds to a third position command speed; the first position command speed is greater than or equal to the second position command speed, and is less than or equal to the third position command speed;

[0021] A third acquisition module is used to calculate a third gain parameter according to the first position command speed, the second position command speed, the third position command speed, the first gain parameter and the second gain parameter; the third gain parameter is proportional to the first difference, and the first difference is the difference between the first position command speed and the second position command speed;

[0022] An adjustment module is used to adjust the servo system according to the third gain parameter.

[0023] In a third aspect, the present application provides a servo system, applying any adjustment method described in the first aspect.

[0024] In a fourth aspect, the present application provides an electronic device, including a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;

[0025] Memory, used to store computer programs;

[0026] The processor is used to implement the steps of the adjustment method described in any embodiment of the first aspect when executing the program stored in the memory.

[0027] In a fifth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the adjustment method as described in any one of the embodiments of the first aspect are implemented.

[0028] The above technical solution provided by the embodiment of the present application has the following advantages compared with the prior art:

[0029] The method provided by the embodiment of the present application includes: obtaining a first position command speed, the first position command speed is the current running position command speed; obtaining a preset first gain parameter and a second gain parameter; the first gain parameter corresponds to the second position command speed, the second gain parameter corresponds to the third position command speed; the first position command speed is greater than or equal to the second position command speed, and less than or equal to the third position command speed; the third gain parameter is calculated according to the first position command speed, the second position command speed, the third position command speed, the first gain parameter and the second gain parameter; the third gain parameter is proportional to the first difference, the first difference is the difference between the first position command speed and the second position command speed; the servo system is adjusted according to the third gain parameter. The third gain parameter is proportional to the first difference, the larger the first position command speed is, the larger the third gain parameter is, the smaller the first position command speed is, the smaller the third gain parameter is, that is, when the position command speed is small, the servo system is adjusted using a small gain parameter, and when the position command speed is large, the servo system is used with a large gain, so as to achieve the position deviation trending to be consistent during the acceleration and deceleration process of the large inertia load, reduce the position deviation change, and meet the positioning requirements. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0031] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0032] Figure 1 A flowchart of an adjustment method provided in an embodiment of the present application;

[0033] Figure 2 It is a schematic diagram of the shearing position in the prior art being in a uniform speed process;

[0034] Figure 3 It is a schematic diagram of the shear position in the prior art being in a uniform acceleration process;

[0035] Figure 4 It is a schematic diagram of the shearing position in the prior art being in a uniform deceleration process;

[0036] Figure 5 A waveform diagram of position deviation and gain change captured by the adjustment method provided in an embodiment of the present application;

[0037] Figure 6 This is a schematic diagram of position deviation and speed change when the position gain is fixed without using this method;

[0038] Figure 7 It is a schematic diagram of position deviation and speed change under the adjustment method of real-time change of position gain;

[0039] Figure 8 A schematic diagram of the structure of an adjustment device provided in an embodiment of the present application;

[0040] Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0041] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0042] The first embodiment of the present application provides an adjustment method, such as Figure 1 , methods include:

[0043] Step 101, obtaining a first position command speed, where the first position command speed is a position command speed of the current operation.

[0044] Step 102, obtaining a preset first gain parameter and a second gain parameter; the first gain parameter corresponds to the second position command speed, and the second gain parameter corresponds to the third position command speed; the first position command speed is greater than or equal to the second position command speed, and less than or equal to the third position command speed.

[0045] Step 103, calculating a third gain parameter according to the first position command speed, the second position command speed, the third position command speed, the first gain parameter and the second gain parameter; the third gain parameter is proportional to the first difference, and the first difference is the difference between the first position command speed and the second position command speed.

[0046] Step 104: adjust the servo system according to the third gain parameter.

[0047] During the acceleration and deceleration process of large inertia load, the position deviation changes greatly. Some systems require that the position deviation is consistent during the acceleration and deceleration process. Usually, the method of increasing the system gain and reducing the position deviation is used to improve it, but when the gain reaches the limit, it cannot be further improved. In view of the situation where the position deviation of the acceleration and deceleration process still does not meet the requirements when the response of the above-mentioned servo system reaches the limit, the present application proposes a reverse adjustment method, obtains the first position command speed of the current operation, presets the first gain parameter and the second gain parameter, the first gain parameter corresponds to the second position command speed, the second gain parameter corresponds to the third position command speed, and the third gain parameter is proportional to the first difference (the first difference is the difference between the first position command speed and the second position command speed). It can be seen that the larger the first position command speed, the larger the third gain parameter, and the smaller the first position command speed, the smaller the third gain parameter, that is, when the position command speed is small, a relatively small gain is used, and when the position command speed is large, a large gain is used. It is realized that during the acceleration and deceleration process of large inertia load, the position deviation tends to be consistent. The present application realizes the consistency of position deviation during acceleration and deceleration by real-time linear adjustment of loop gain, significantly reduces the change of position deviation, meets the positioning requirements, is simple to calculate in practical applications, is easy to use, and has obvious measured results.

[0048] Using this method, the high and low speed position deviations of the servo system can be made close during the change of large inertia loads. The larger the high and low speed gain change range is, the smaller the difference in position deviations under high and low speed conditions is. The position deviations of actual large inertia loads tend to be consistent during acceleration and deceleration. Using this method in the actual large inertia load flying shear application site can significantly reduce the shear size deviation during acceleration and deceleration.

[0049] In one embodiment, the third gain parameter is the product of the first difference and a preset constant. The preset constant is the quotient of the second difference and the third difference; the second difference is the difference between the second gain parameter and the first gain parameter; the third difference is the difference between the third position command speed and the second position command speed.

[0050] Let the first gain parameter be , the second gain parameter is , the first position command speed, that is, the current running position command speed is , the second position command speed is , the third position command speed is , the third gain parameter is ,but The calculation formula (1) is as follows:

[0051] (1)

[0052] The calculated It is used in the current servo system for adjustment, so that the servo system gain changes according to the position command speed. Finally, the position deviation value of the servo output will tend to change evenly to meet the positioning requirements.

[0053] In one embodiment, before obtaining the first position command speed, the method further includes:

[0054] A first gain parameter and a second gain parameter are set; the first gain parameter is smaller than the second gain parameter.

[0055] The first gain parameter and the second gain parameter need to be set in advance, wherein the first gain parameter corresponds to the second position command speed, the second position command speed is the lowest position command speed set, and the second gain parameter corresponds to the third position command speed, the third position command speed is the highest position command speed set. The lowest and highest here are relative values ​​of the settings. The actual current operating position command speed, i.e., the first position command speed, may be lower than the second position command speed, or may be higher than the third position command speed.

[0056] In one embodiment, if the first position command speed is less than the second position command speed, the third gain parameter is equal to the first gain parameter; if the first position command speed is greater than the third position command speed, the third gain parameter is equal to the second gain parameter.

[0057] When the first position command speed is between the second position command speed and the third position command speed, the third gain parameter is calculated according to formula (1); if the first position command speed is less than or equal to the second position command speed, the third gain parameter is equal to the first gain parameter; if the first position command speed is greater than or equal to the third position command speed, the third gain parameter is equal to the second gain parameter.

[0058] In one embodiment, the first gain parameters include: a first position gain, a first speed gain, a first speed integral and a first torque command filter time; the second gain parameters include: a second position gain, a second speed gain, a second speed integral and a second torque command filter time.

[0059] The first gain parameter and the second gain parameter can be a set of parameters respectively. Among them, the first position gain is , the first speed gain is , the first velocity integral is , the first torque command filter time is , the second position gain is , Second speed gain , Second speed integral , Second torque command filter time The position gain, velocity gain, velocity integral and torque command filter time of the third gain parameter can be calculated according to formula (1) to adjust the servo system.

[0060] In one embodiment, in order to make the technical solution of the present application clearer, a detailed description is given in conjunction with a high-power flying shear on site.

[0061] like Figure 2 As shown, the position command is used to accelerate the machine uniformly and then to return to a uniform speed. T1, T2, and T3 represent three shearing positions. The position command at T1 is and position feedback , Position deviation , satisfying the relationship shown in formula (2):

[0062] (2)

[0063] Similarly, the position instructions for points T2 and T3 are and , position feedback are and , the position deviations are and , satisfying the following relationship between equations (3) and (4):

[0064] (3)

[0065] (4)

[0066] Figure 2 The figure shows a uniform speed running process, so the position deviations of the three shear points are equal, that is, , so we can get the following equations (5) and (6):

[0067] (5)

[0068] (6)

[0069] As shown in equations (5) and (6), The actual distance traveled by the shearing material during T1 and T2. The actual distance traveled by the shear material for T2 and T3. The positions of the shearing knife axis at T1 and T2. The position where the cutter axis passes during the two shearing operations T2 and T3. Because the circumference of the cutter axis is fixed, the position where the cutter axis passes during the two shearing operations is fixed and is a constant value. . It is expressed by the following formula (7):

[0070] (7)

[0071] Subtracting equation (5) from equation (6), we can get equation (8) as shown below according to equation (7):

[0072] (8)

[0073] That is, during the two shearing processes during the uniform speed operation, the length of the material traveled is equal, which is the set length. .

[0074] like Figure 3 As shown in the figure, the position command, position feedback, and position deviation of the three sampling points in the uniform acceleration process also satisfy the relationship between the above equations (2), (3), (4), and (7). However, in the uniform acceleration process, the position deviation value of the three shear points It changes in an arithmetic progression. It satisfies the relationship shown in the following formula (9):

[0075] (9)

[0076] According to equations (5), (6), (7), and (9), we can obtain the following equations (10) and (11):

[0077] (10)

[0078] (11)

[0079] According to the above formula (10) and formula (11), the following two conclusions can be obtained:

[0080] ① During the uniform acceleration process, the length of the material sheared is larger than that of the uniform speed operation.

[0081] ② During uniform acceleration, the larger value of the shear length remains unchanged, which is related to the acceleration.

[0082] like Figure 4 As shown in the figure, the position command, position feedback, and position deviation of the three sampling points in the uniform deceleration process also satisfy the relationship between the above equations (2), (3), (4), and (7). However, in the uniform deceleration process, the position deviation values ​​of the three shear points are It changes in an arithmetic progression. It satisfies the relationship shown in the following formula (12):

[0083] (12)

[0084] According to equations (5), (6), (7), and (12), we can obtain the following equations (13) and (14):

[0085] (13)

[0086] (14)

[0087] According to the above formula (10) and formula (11), the following two conclusions can be obtained:

[0088] ① During the uniform deceleration process, the material shear length and uniform speed running ratio are relatively small.

[0089] ② During uniform deceleration, the smaller value of the shear length remains unchanged, which is related to the acceleration.

[0090] According to the above analysis, the shear deviation in the acceleration and deceleration process of the shearing process is mainly related to the change of the position deviation in the acceleration and deceleration process. Assuming that the position deviation in the acceleration and deceleration and uniform speed process can be controlled to remain constant, the shear deviation phenomenon in the acceleration and deceleration process will be eliminated. According to the control implementation principle of the position gain (position gain can also be called position loop gain), when the position command resolution is known, In the case of , when the speed reaches a stable state, there is a position gain and position deviation , Position command speed There exists the following relationship (15):

[0091] (15)

[0092] According to formula (15), if the relationship of formula (16) can be satisfied, the position deviation can be kept constant during the entire acceleration and deceleration process:

[0093] (16)

[0094] According to the above formula (16), a specific position deviation constant is set , calculate the position gain at different speeds, and you can achieve constant position deviation during the entire acceleration and deceleration and uniform speed operation process. For uniform acceleration and deceleration applications, you can find that the position gain The position deviation value can be kept constant as long as the position command speed (position command speed can also be called speed command) is changed linearly.

[0095] The above relationship needs to consider the following conditions:

[0096] ①The speed loop bandwidth is much larger than the position loop bandwidth, and the speed feedback can quickly track the position command speed.

[0097] ② The entire position, speed and torque regulator does not reach saturation.

[0098] According to the above principle, the position gain is designed to change linearly according to the position command speed, so as to achieve constant position deviation of the servo system during the entire acceleration, deceleration and uniform speed operation. Because in the actual servo control system, the position command speed will fluctuate in real time due to the influence of encoder feedback, and the speed feedback will also fluctuate due to the change of load. In order to prevent the problem of gain switching back and forth during the real-time adjustment of the position gain, the position command speed is selected as the variable for gain calculation. That is, the real-time gain is calculated according to the position command frequency generated externally.

[0099] Set the first gain parameter to , the first gain parameters include: first position gain , First speed gain , First speed integral and the first torque command filter time The first gain parameter is the set value, and the corresponding position command speed is the lowest When the gain parameter of the servo system is .

[0100] Set the second gain parameter to , the second gain parameters include: second position gain , Second speed gain , Second speed integral And the second torque command filter The second gain parameter is the set value, and the corresponding position command speed is the highest When the gain parameter of the servo system is It should be noted that and It is the minimum and maximum value of the assumed position command speed. In actual operation, the current position command speed may exceed the set range, i.e. may be less than or greater than . You can set the current running position command speed Gain parameter when it exceeds the set range, for example, if the current position command speed Less than hour, equal , if the current position command speed Greater than hour, equal .

[0101] Get the current running position command speed of the servo . Calculate the external input position command speed based on the input position command frequency. The position command speed is within the speed upper and lower limits ( and When the current servo system gain (that is, the third gain parameter) changes, the current servo system gain (that is, the third gain parameter) is calculated in real time according to formula (1). .

[0102] The calculated Used in the current servo system to make adjustments, such as Figure 5 The figure shows the position deviation and gain change waveforms captured by this method. In the process of changing the position command speed from uniform acceleration and deceleration to uniform speed, the position gain changes linearly. During the entire acceleration and deceleration and uniform speed process, the position deviation value is basically in a relatively constant state.

[0103] like Figure 6 As shown in the figure, it is a method without using real-time adjustment of position gain. It is a position deviation change diagram under fixed position gain. The horizontal axis is time and the vertical axis is position deviation. As time changes, the speed also changes. The position deviation changes proportionally at different speeds. Figure 7 As shown, the horizontal axis is time and the vertical axis is position deviation. As time changes, the speed also changes. When the speed changes, the position deviation changes less under the control method of real-time change of position gain, that is, at different speeds, the position deviation is smaller than that without this method. According to the above-mentioned method of real-time update of gain with position command speed, the shear position deviation existing in the acceleration and deceleration process of the large-load flying shear servo system is improved, and relatively good results are achieved.

[0104] Based on the same technical concept, the second embodiment of the present application provides an adjustment device, such as Figure 8 , the device comprises:

[0105] A first acquisition module 801 is used to acquire a first position instruction speed, where the first position instruction speed is the current running position instruction speed;

[0106] The second acquisition module 802 is used to acquire a preset first gain parameter and a second gain parameter; the first gain parameter corresponds to the second position command speed, and the second gain parameter corresponds to the third position command speed; the first position command speed is greater than or equal to the second position command speed, and is less than or equal to the third position command speed;

[0107] The third acquisition module 803 is used to calculate a third gain parameter according to the first position command speed, the second position command speed, the third position command speed, the first gain parameter and the second gain parameter; the third gain parameter is proportional to the first difference, and the first difference is the difference between the first position command speed and the second position command speed;

[0108] The adjustment module 804 is configured to adjust the servo system according to the third gain parameter.

[0109] Get the first position command speed of the current operation, preset the first gain parameter and the second gain parameter, the first gain parameter corresponds to the second position command speed, the second gain parameter corresponds to the third position command speed, and the third gain parameter is proportional to the first difference (the first difference is the difference between the first position command speed and the second position command speed). It can be seen that the larger the first position command speed, the larger the third gain parameter, and the smaller the first position command speed, the smaller the third gain parameter, that is, when the position command speed is small, a relatively small gain is used, and when the position command speed is large, a large gain is used. In the acceleration and deceleration process of large inertia load, the position deviation tends to be consistent.

[0110] A third embodiment of the present application provides a servo system, which applies the adjustment method described in any one of the embodiments of the first aspect.

[0111] like Fig. 9 As shown, the fourth embodiment of the present application provides an electronic device, including a processor 111, a communication interface 112, a memory 113 and a communication bus 114, wherein the processor 111, the communication interface 112, and the memory 113 communicate with each other through the communication bus 114.

[0112] Memory 113, used for storing computer programs;

[0113] In one embodiment, the processor 111 is configured to implement the adjustment method provided by any one of the aforementioned method embodiments when executing the program stored in the memory 113, including:

[0114] Obtaining a first position command speed, where the first position command speed is a position command speed of a current operation;

[0115] Obtaining a preset first gain parameter and a second gain parameter; the first gain parameter corresponds to a second position command speed, and the second gain parameter corresponds to a third position command speed; the first position command speed is greater than or equal to the second position command speed, and is less than or equal to the third position command speed;

[0116] A third gain parameter is calculated according to the first position command speed, the second position command speed, the third position command speed, the first gain parameter and the second gain parameter; the third gain parameter is proportional to the first difference, and the first difference is the difference between the first position command speed and the second position command speed;

[0117] The servo system is adjusted according to the third gain parameter.

[0118] The communication bus mentioned in the above terminal can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0119] The communication interface is used for communication between the above terminal and other devices.

[0120] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0121] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0122] The fifth embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the adjustment method provided in any of the aforementioned method embodiments are implemented.

[0123] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive Solid State Disk (SSD)), etc.

[0124] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0125] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention. In the description, the use of suffixes such as "module", "component" or "unit" used to represent elements is only to facilitate the description of the present invention and has no specific meaning in itself. Therefore, "module", "component" or "unit" can be used in a mixed manner.

[0126] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.

Claims

1. An adjustment method, It is characterized in that The method comprises: Obtaining a first position command speed, where the first position command speed is a position command speed of a current operation; Obtaining a preset first gain parameter and a second gain parameter; the first gain parameter corresponds to a second position command speed, and the second gain parameter corresponds to a third position command speed; the first position command speed is greater than or equal to the second position command speed, and less than or equal to the third position command speed; the first gain parameter is less than the second gain parameter; In the case where the first position command speed is between the second position command speed and the third position command speed, a third gain parameter is calculated according to the first position command speed, the second position command speed, the third position command speed, the first gain parameter and the second gain parameter; the third gain parameter is proportional to the first difference, and the first difference is the difference between the first position command speed and the second position command speed; adjusting the servo system according to the third gain parameter; Among them, the third gain parameter is the product of the first difference and a preset constant; the preset constant is the quotient of the second difference and the third difference; the second difference is the difference between the second gain parameter and the first gain parameter; the third difference is the difference between the third position command speed and the second position command speed.

2. The method according to claim 1, It is characterized in that Before acquiring the first position command speed, the method further includes: The first gain parameter and the second gain parameter are set.

3. The method according to claim 1, It is characterized in that The method further includes: if the first position command speed is less than or equal to the second position command speed, the third gain parameter is equal to the first gain parameter; If the first position command speed is greater than or equal to the third position command speed, the third gain parameter is equal to the second gain parameter.

4. The method according to claim 1, It is characterized in that The first gain parameters include: a first position gain, a first speed gain, a first speed integral and a first torque command filter time; The second gain parameters include: a second position gain, a second speed gain, a second speed integral and a second torque instruction filtering time.

5. An adjustment device, It is characterized in that The device comprises: A first acquisition module is used to acquire a first position instruction speed, where the first position instruction speed is a current running position instruction speed; A second acquisition module is used to acquire a preset first gain parameter and a second gain parameter; the first gain parameter corresponds to a second position command speed, and the second gain parameter corresponds to a third position command speed; the first position command speed is greater than or equal to the second position command speed, and is less than or equal to the third position command speed; the first gain parameter is less than the second gain parameter; A third acquisition module is used to calculate a third gain parameter according to the first position command speed, the second position command speed, the third position command speed, the first gain parameter and the second gain parameter when the first position command speed is between the second position command speed and the third position command speed; the third gain parameter is proportional to the first difference, and the first difference is the difference between the first position command speed and the second position command speed; wherein the third gain parameter is the product of the first difference and a preset constant; the preset constant is the quotient of the second difference and the third difference; the second difference is the difference between the second gain parameter and the first gain parameter; the third difference is the difference between the third position command speed and the second position command speed; An adjustment module is used to adjust the servo system according to the third gain parameter.

6. A servo system, It is characterized in that Apply the adjustment method described in any one of claims 1 to 4.

7. An electronic device, It is characterized in that It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; Memory, used to store computer programs; A processor is used to implement the steps of the adjustment method described in any one of claims 1 to 4 when executing a program stored in a memory.

8. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the adjustment method according to any one of claims 1 to 4 are implemented.