Self-adaptive control method and device based on driving and control integrated device

By adopting the adaptive control method of the integrated drive and control device in the servo driver, the load adaptive and motor adaptive matching are realized, which solves the stability and real-time problems of the servo driver when the load changes, and improves production efficiency and system stability. .

CN118759835AInactive Publication Date: 2024-10-11朗宇芯科技(佛山)有限公司
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411135893.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-19
Publication Date
2024-10-11
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing servo drives are difficult to adapt in time when the load changes, and there are problems with stability risks and poor operating results.

Method used

The adaptive control method based on the integrated drive and control device is used to identify and switch the servo controller parameters of different loads through the shared memory or direct communication between the motion control module and the servo drive module to achieve adaptive matching of the motor and adaptive load control. .

Benefits of technology

It improves the usability and compatibility of servo products, solves the real-time and hysteresis problems caused by traditional servo driver parameter self-tuning, enhances system stability, is suitable for process environments with large load changes, and improves production efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118759835A_ABST
    Figure CN118759835A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a self-adaptive control method and device based on a driving and control integrated device. The driving and control integrated device is connected with a motor. Comprising the steps that a motion control module transmits a first load servo controller parameter and a second load servo controller parameter to a servo driving module; the motion control module identifies that the next action is the first action or the second action according to the action data; when the next action is the first action, the servo driving module is notified to switch the servo controller parameter into a first load servo controller parameter; when the next action is the second action, the servo driving module is notified to switch the servo controller parameter to a second load servo controller parameter; and the servo driving module controls the operation of the motor according to the first load servo controller parameter and the second load servo controller parameter, so that load adaptive control is realized, and the problems of real-time performance and hysteresis caused by the fact that load adaptation is realized by parameter self-tuning of a traditional servo driver are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of automation control technology, and in particular to an adaptive control method based on an integrated drive-control device, an adaptive control device based on the integrated drive-control device, a computer device and a storage medium. Background Art

[0002] In actual industrial production scenarios, the load size usually changes, and most servo drives have a fixed set of control parameters for all load conditions. A small number of servo drives have online inertia identification and PI parameter online tuning functions, which can realize the self-adaptation of PI control parameters for different loads. However, this method is to identify the load inertia through the online inertia identification function after the load has changed, and then adjust the PI control parameters through the PI parameter online tuning function. It has hysteresis and is always in the parameter tuning state. There is a risk of stability, and the operation effect is not good when the load changes. Summary of the invention

[0003] In view of the above problems, embodiments of the present invention are proposed to provide an adaptive control method based on an integrated drive and control device, an adaptive control device based on an integrated drive and control device, a computer device and a storage medium that overcome the above problems or at least partially solve the above problems.

[0004] In order to solve the above problems, an embodiment of the present invention discloses an adaptive control method based on a drive-control integrated device, wherein the drive-control integrated device is connected to a motor; the drive-control integrated device includes a motion control module and a servo drive module, and the motion control module and the servo drive module use a shared memory or direct communication method to perform internal interaction, including:

[0005] The motion control module transmits the first load servo controller parameter and the second load servo controller parameter to the servo drive module;

[0006] The motion control module identifies the next motion as the first motion or the second motion according to the motion data; when the next motion is the first motion, the servo drive module is notified to switch the servo controller parameters to the first load servo controller parameters; when the next motion is the second motion, the servo drive module is notified to switch the servo controller parameters to the second load servo controller parameters;

[0007] The servo driving module controls the operation of the motor according to the first load servo controller parameter and the second load servo controller parameter.

[0008] Preferably, the first load servo controller parameter is obtained by:

[0009] A plurality of first load servo controller parameters are obtained, and when the number of operations is greater than a set number of operations, the average values ​​of the plurality of servo controller parameters are calculated to obtain the first load servo controller parameter average value.

[0010] Preferably, the second load servo controller parameters are obtained in the following manner:

[0011] A plurality of second load servo controller parameters are obtained, and when the number of operations is greater than a set number of operations, the mean values ​​of the plurality of second load servo controller parameters are calculated to obtain the second load servo controller parameter mean value.

[0012] Preferably, the first load servo controller parameter includes a position loop proportional gain, a speed loop proportional gain, and an integral gain of the servo drive module in the product grabbing state; the obtaining of a plurality of first load servo controller parameters, when the number of operations is greater than a set number, calculating the mean of the plurality of servo controller parameters to obtain the first load servo controller parameter mean, includes:

[0013] Acquire multiple position loop proportional gains, multiple speed loop proportional gains, and multiple integral gains in the product grabbing state from the servo drive module, calculate the average of the multiple position loop proportional gains, multiple speed loop proportional gains, and multiple integral gains in the product grabbing state, and obtain the average of the position loop proportional gain, the average of the speed loop proportional gain, and the average of the integral gain in the product grabbing state;

[0014] The average value of the position loop proportional gain, the average value of the speed loop proportional gain, and the average value of the integral gain under the product grabbing state are stored in the memory.

[0015] Preferably, the second load servo controller parameter includes a position loop proportional gain, a speed loop proportional gain, and an integral gain of the servo drive module in a product placement state; the step of obtaining a plurality of second load servo controller parameters, and when the number of operations is greater than a set number of operations, calculating a mean of the plurality of second load servo controller parameters to obtain a second load servo controller parameter mean value includes:

[0016] Acquire multiple position loop proportional gains, multiple speed loop proportional gains, and multiple integral gains in the product placement state from the servo drive module, calculate the average of the multiple position loop proportional gains, multiple speed loop proportional gains, and multiple integral gains in the product placement state, and obtain the average of the position loop proportional gain, the average of the speed loop proportional gain, and the average of the integral gain in the product placement state;

[0017] The position loop proportional gain average value, the speed loop proportional gain average value, and the integral gain average value under the product placement state are stored in the memory.

[0018] Preferably, the motion control module identifies the next action as the first action or the second action according to the action data; when the next action is the first action, the servo drive module is notified to switch the servo controller parameters to the first load servo controller parameters; when the next action is the second action, the servo drive module is notified to switch the servo controller parameters to the second load servo controller parameters, including:

[0019] Convert the movements of the X servo axis, the Y servo axis, the Z servo axis, and the suction cup into corresponding movement data; the operation control module retrieves the movement data from the memory;

[0020] The motion control module identifies the next motion as the first motion or the second motion according to the motion data;

[0021] When the next action is the first action, the servo drive module is notified to switch the servo controller parameters to the first load servo controller parameters;

[0022] When the next action is the second action, the servo drive module is notified to switch the servo controller parameters to the second load servo controller parameters;

[0023] Control the peripheral IO interface of the integrated drive and control device and notify the servo drive module to operate the corresponding servo axis.

[0024] The embodiment of the present invention discloses an adaptive control device based on a drive-control integrated device, wherein the drive-control integrated device is connected to a motor; the drive-control integrated device comprises a motion control module and a servo drive module, and the motion control module and the servo drive module are internally interacted by sharing memory or directly communicating, including:

[0025] A transmission module, used for the motion control module to transmit the first load servo controller parameter and the second load servo controller parameter to the servo drive module;

[0026] A switching module is used for the motion control module to identify the next action as the first action or the second action according to the action data; when the next action is the first action, the servo drive module is notified to switch the servo controller parameters to the first load servo controller parameters; when the next action is the second action, the servo drive module is notified to switch the servo controller parameters to the second load servo controller parameters;

[0027] An execution module is used for the servo drive module to control the motor operation according to the first load servo controller parameter and the second load servo controller parameter.

[0028] Preferably, the device comprises:

[0029] The first mean value obtaining module is used to obtain multiple first load servo controller parameters. When the number of operations is greater than the set number of operations, the mean values ​​of the multiple servo controller parameters are calculated to obtain the first load servo controller parameter mean value.

[0030] An embodiment of the present invention discloses a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the above-mentioned steps of adaptive control based on the integrated drive and control device when executing the computer program.

[0031] An embodiment of the present invention discloses a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of adaptive control based on the integrated drive and control device are implemented.

[0032] The embodiments of the present invention include the following advantages:

[0033] In the embodiment of the present invention, motor adaptive matching is implemented, which solves the problem that traditional servo controllers are difficult to adapt to motors from different manufacturers. The method of integrated drive and control motor adaptation provides an implementation method to solve the motor adaptation problem and improve the availability and compatibility of servo products. In addition, load adaptive control is also implemented to solve the real-time and hysteresis problems caused by traditional servo drive parameter self-tuning to achieve load adaptation, and the stability of the entire system is improved. For processes with large on-site load changes, the optimal performance of the integrated drive and control can be brought into play to improve production efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0035] Figure 1 is a flowchart of steps of an adaptive control method based on a drive-control integrated device according to an embodiment of the present invention;

[0036] Figure 2 is a schematic diagram of a drive-control integrated device connected to a motor according to an embodiment of the present invention;

[0037] Figure 3 is a schematic diagram of an X servo axis, a Y servo axis, and a Z servo axis according to an embodiment of the present invention;

[0038] Figure 4 It is a structural block diagram of an embodiment of an adaptive control device based on a drive-control integrated device according to an embodiment of the present invention;

[0039] Figure 5 The diagram is a diagram of the internal structure of a computer device according to an embodiment. DETAILED DESCRIPTION

[0040] In order to make the technical problems, technical solutions and beneficial effects solved by the embodiments of the present invention more clearly understood, the embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings and embodiments. 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.

[0041] Reference Figure 1 , shows a flowchart of a step of an adaptive control method based on an integrated drive-control device according to an embodiment of the present invention, wherein the integrated drive-control device is connected to a motor; the integrated drive-control device includes a motion control module and a servo drive module, and the motion control module and the servo drive module interact internally by using a shared memory or direct communication method, and specifically may include the following steps:

[0042] Step 101, the motion control module transmits the first load servo controller parameter and the second load servo controller parameter to the servo drive module;

[0043] In the embodiment of the present invention, referring to Figure 2 , showing a schematic diagram of a drive-control integrated device and a motor connected in an embodiment of the present invention, wherein the motion control module and the servo drive module in the drive-control integrated device are connected to each other, and the drive-control integrated device is connected to the encoder of the motor via an RS485 bus interface, and the two can perform protocol communication, and the encoder may include an MCU (micro control unit) and an EEP (EEPROM memory).

[0044] After the integrated drive and control machine is powered on, the servo drive module obtains the motor parameters stored in the motor encoder EEP from the RS485 bus: resistance, inductance, pole pair number and other motor parameters, and transmits them to the motion control module; the motion control module of the integrated drive and control machine will first perform communication data verification on the obtained motor parameters; and then compare them one-to-one with the motor parameters pre-stored in the integrated drive and control EEP. The communication verification method uses sum verification or CRC verification. The parameters pre-stored in the integrated drive and control EEP are the motor parameters provided by the motor manufacturer; after the data verification and data comparison are passed, the motion control module can transmit the motor parameters to the servo drive module for use. The servo drive module uses the current loop PI parameter tuning technology to obtain the current loop PI parameters through the formula calculation of the obtained motor parameters, which are applied to motor control.

[0045] The essence of integrated drive and control is that the motion control module and the servo drive module use an internal interactive mode (such as a chip sharing memory or two chips communicating directly), and the data access efficiency is extremely high. Therefore, the motor adaptation function is placed in the motion control module for processing, which can support the adaptation of multiple different motors, and the adaptation is simple and efficient without affecting the servo control performance. The addition of double verification (such as communication data verification and EEP data comparison) can effectively detect parameter errors in the parameter transmission process and the motor EEP, and solve the safety hazards in the motor parameter adaptation process.

[0046] It should be noted that the first load servo controller parameter and the second load servo controller parameter may include a first load PI adjustment parameter, a second load PI adjustment parameter, etc., and the embodiment of the present invention does not impose excessive restrictions on this; and the first load servo controller parameter and the second load servo controller parameter may be servo controller parameters obtained by the servo drive module through inertia identification and parameter self-tuning and other means; or, the first load servo controller parameter and the second load servo controller parameter may be servo controller parameters set by receiving user input.

[0047] In another embodiment, the first load servo controller parameter is obtained by: obtaining multiple first load servo controller parameters, and when the number of operations is greater than the set number of times, calculating the average of the multiple servo controller parameters to obtain the first load servo controller parameter average; that is, the first load servo controller parameter can be a load servo controller parameter related to the action of grabbing the product, and it can be a load servo controller parameter under different loads. The embodiment of the present invention does not impose excessive restrictions on the specific number of loads.

[0048] Specifically, the first load servo controller parameter includes a position loop proportional gain, a speed loop proportional gain, and an integral gain of the servo drive module in the product grabbing state; the obtaining of multiple first load servo controller parameters, when the number of operations is greater than the set number of operations, calculates the average of the multiple servo controller parameters to obtain the first load servo controller parameter average, including:

[0049] Acquire multiple position loop proportional gains, multiple speed loop proportional gains, and multiple integral gains in the product grabbing state from the servo drive module, calculate the average of the multiple position loop proportional gains, multiple speed loop proportional gains, and multiple integral gains in the product grabbing state, and obtain the average of the position loop proportional gain, the average of the speed loop proportional gain, and the average of the integral gain in the product grabbing state;

[0050] The average value of the position loop proportional gain, the average value of the speed loop proportional gain, and the average value of the integral gain under the product grabbing state are stored in the memory.

[0051] In a preferred embodiment of the embodiment of the present invention, the second load servo controller parameter is obtained by the following method: obtaining multiple second load servo controller parameters, and when the number of operations is greater than the set number, calculating the average of the multiple second load servo controller parameters to obtain the second load servo controller parameter average; that is, the second load servo controller parameter can be a load servo controller parameter related to the product action, and is a load servo controller parameter in a no-load state.

[0052] Further, the second load servo controller parameter includes a position loop proportional gain, a speed loop proportional gain, and an integral gain of the servo drive module in a product placement state; the obtaining of multiple second load servo controller parameters, when the number of operations is greater than the set number of operations, then calculating the mean of the multiple second load servo controller parameters to obtain the second load servo controller parameter mean, includes:

[0053] Acquire multiple position loop proportional gains, multiple speed loop proportional gains, and multiple integral gains in the product placement state from the servo drive module, calculate the average of the multiple position loop proportional gains, multiple speed loop proportional gains, and multiple integral gains in the product placement state, and obtain the average of the position loop proportional gain, the average of the speed loop proportional gain, and the average of the integral gain in the product placement state;

[0054] The average value of the position loop proportional gain, the average value of the speed loop proportional gain, and the average value of the integral gain in the product placement state are stored in the memory.

[0055] In a specific example, the motion control module may first set the number of operations and notify the servo drive module through an internal interaction method;

[0056] At this time, the servo control module will generate servo controller parameters for the speed loop and position loop during operation.

[0057] The motion control module recognizes in advance that the next action is the second action or the first action based on the action data stored in the memory. The second action can be a product placement action, and the first action can be a product pick-up action. If the next action is a product pick-up action, the motion control module starts to obtain the position loop and speed loop servo controller parameters of the servo drive module through internal interaction and records them in the memory. When this step of action is completed, the latest servo controller parameters (i.e., the first load servo controller parameters) are obtained, represented by M(n); if the next action is a product placement action, the latest servo controller parameters (i.e., the second load servo controller parameters) are obtained in the same manner, represented by N(n).

[0058] Repeat the above operation process until the number of operations reaches the preset number. At this time, the motion control module averages the acquired parameters M1~Mn and N1~Nn respectively to obtain the final servo controller parameters M and N, which are stored in the memory.

[0059] Servo controller parameters M(n), N(n): During the operation of this step, the servo drive module can obtain the inertia of the servo axis through inertia self-identification, use the inertia as input, and give it to the PI parameter self-tuning, and finally obtain the servo controller parameters M(n) of the position loop and speed loop of the servo axis. Similarly, the servo controller parameters N(n) can be obtained.

[0060] Furthermore, the M parameters include: position loop KP, speed loop KP, KI, a total of three parameters (position loop proportional gain, speed loop proportional gain, integral gain under the product grabbing state), and the average is: position loop KP = (KP1 + KP2 + ... + KPn) / n, speed loop KP = (KP1 + KP2 + ... + KPn) / n, KI = (KI1 + KI2 + ... + KIn) / n, that is, the average value of the position loop proportional gain, the average value of the speed loop proportional gain, and the average value of the integral gain under the product grabbing state are obtained.

[0061] The N parameters also include: position loop KP, speed loop KP, KI, a total of three parameters (position loop proportional gain, speed loop proportional gain, and integral gain of the servo drive module in the product placement state). The average is: position loop KP = (KP1 + KP2 + ... + KPn) / n, speed loop KP = (KP1 + KP2 + ... + KPn) / n, KI = (KI1 + KI2 + ... + KIn) / n, that is, the average value of the position loop proportional gain, the average value of the speed loop proportional gain, and the average value of the integral gain in the product placement state are obtained.

[0062] Step 102, the motion control module identifies the next motion as the first motion or the second motion according to the motion data; when the next motion is the first motion, the servo drive module is notified to switch the servo controller parameters to the first load servo controller parameters; when the next motion is the second motion, the servo drive module is notified to switch the servo controller parameters to the second load servo controller parameters;

[0063] Specifically applied to the embodiment of the present invention, the motion control module identifies the next action as the first action or the second action according to the action data; when the next action is the first action, the servo drive module is notified to switch the servo controller parameters to the first load servo controller parameters; when the next action is the second action, the servo drive module is notified to switch the servo controller parameters to the second load servo controller parameters, including:

[0064] Convert the movements of the X servo axis, the Y servo axis, the Z servo axis, and the suction cup into corresponding movement data; the operation control module retrieves the movement data from the memory;

[0065] The motion control module identifies the next action as the first action or the second action according to the action data; it should be noted that the first action may be a product taking action, and the second action may be a product placing action;

[0066] When the next action is the first action, taking the product action, the servo drive module is notified to switch the servo controller parameters to the first load servo controller parameters;

[0067] When the next action is the second action, the product release action, the servo drive module is notified to switch the servo controller parameters to the second load servo controller parameters;

[0068] Control the peripheral IO interface of the integrated drive and control device and notify the servo drive module to operate the corresponding servo axis.

[0069] Reference Figure 3 , shows a schematic diagram of an X servo axis, a Y servo axis, and a Z servo axis according to an embodiment of the present invention, wherein the X servo axis is a pulling axis, the Y servo axis is a vertical axis, and the Z servo axis is a horizontal axis;

[0070] In the embodiment of the present invention, the motion control module can identify in advance whether the next action is the second action based on the action data stored in the memory. If the next action is a product taking action, i.e., a product taking action, the servo drive module is notified to switch the servo controller parameter to M; if the next action is a product placing action, i.e., a product placing action, the servo drive module is notified to switch the servo controller parameter to N.

[0071] In a specific example, the robot arm can be composed of three parts: control system, drive system, and actuator, and the integrated drive-control device combines the control system and the drive system. Therefore, the motion control module will store the corresponding process technology actions. For example, taking the three-axis integrated drive-control pick-and-place product as an example, the structure is as follows Figure 3 As shown, the following actions are available:

[0072] ①The X servo axis runs to the 0mm position, the Y servo axis runs to the 0mm position, and the Z servo axis runs to the 0mm position. ②The X servo axis runs to the 100mm position, the Y servo axis runs to the 500mm position, and the Z servo axis runs to the 200mm position. ③Output suction signal to control the suction cup to absorb the product. ④The Y servo axis runs to the 0mm position. ⑤The X servo axis runs to the 0mm position, and the Z servo axis runs to the 1000mm position. ⑥The Y servo axis runs to the 500mm position. ⑦Disconnect the suction signal to control the suction cup to release the product. ⑧Y servo axis runs to the 0mm position.

[0073] Action data: Each of the above actions can be converted into action data and stored in the memory of the motion control module. When the machine is running, the operation control module will take out the action data from the memory, control the integrated drive and control peripheral IO (for the suction signal of the suction cup) interface, and notify the servo drive module to run the servo axis and run reciprocatingly in a cycle.

[0074] After the motion control module has executed action ③, it can determine the next servo action as the action after taking the product according to the data in the memory, so it can identify the corresponding action data in advance. The same is true for the action of placing the product.

[0075] Step 103: The servo driving module controls the operation of the motor according to the first load servo controller parameter and the second load servo controller parameter.

[0076] Before the servo control module performs the servo action, according to the notification of the motion control module, the servo control parameter pre-stored in the memory is switched to the first load servo control parameter and the second load servo control parameter to achieve the effect of load adaptive control.

[0077] Because the integrated drive and control motion control module controls the operating steps and operating processes, it can accurately predict the presence or absence of the gripper product and know the intervals and time nodes of different loads in advance. This can solve the real-time and lag problems caused by the traditional servo drive PI parameter self-tuning to achieve load adaptation, and shorten the adaptation process, thereby improving the stability and operating efficiency of the entire system.

[0078] In the embodiment of the present invention, motor adaptive matching is realized, which solves the problem that traditional servo controllers are difficult to adapt to motors from different manufacturers. The method of integrated drive and control motor adaptation provides an implementation method to solve the motor adaptation problem and improve the availability and compatibility of servo products. In addition, load adaptive control is also realized to solve the real-time and hysteresis problems caused by the traditional servo drive parameter self-tuning to achieve load adaptation, and improve the stability of the entire system. For processes with large on-site load changes, the optimal performance of the integrated drive and control can be brought into play to improve production efficiency.

[0079] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0080] Reference Figure 4, shows a structural block diagram of an adaptive control device embodiment based on a drive-control integrated device according to an embodiment of the present invention, wherein the drive-control integrated device is connected to a motor; the drive-control integrated device includes a motion control module and a servo drive module, and the motion control module and the servo drive module interact internally by means of shared memory or direct communication, and may specifically include the following modules:

[0081] A transmission module 301, used for the motion control module to transmit the first load servo controller parameter and the second load servo controller parameter to the servo drive module;

[0082] The switching module 302 is used for the motion control module to identify the next action as the first action or the second action according to the action data; when the next action is the first action, the servo drive module is notified to switch the servo controller parameters to the first load servo controller parameters; when the next action is the second action, the servo drive module is notified to switch the servo controller parameters to the second load servo controller parameters;

[0083] The execution module 303 is used for the servo driving module to control the operation of the motor according to the first load servo controller parameter and the second load servo controller parameter.

[0084] Preferably, the device comprises:

[0085] The first mean value obtaining module is used to obtain multiple first load servo controller parameters. When the number of operations is greater than the set number of operations, the mean values ​​of the multiple servo controller parameters are calculated to obtain the first load servo controller parameter mean value.

[0086] Preferably, the device comprises:

[0087] The second mean value obtaining module is used to obtain multiple second load servo controller parameters. When the number of operations is greater than the set number, the mean values ​​of the multiple second load servo controller parameters are calculated to obtain the second load servo controller parameter mean value.

[0088] Preferably, the first mean value obtaining module includes:

[0089] The first mean value obtaining submodule is used to obtain multiple position loop proportional gains, multiple speed loop proportional gains, and multiple integral gains in the product grabbing state from the servo drive module, calculate the average of the multiple position loop proportional gains, multiple speed loop proportional gains, and multiple integral gains in the product grabbing state, and obtain the average of the position loop proportional gain, the average of the speed loop proportional gain, and the average of the integral gain in the product grabbing state;

[0090] The first storage submodule is used to store the average value of the position loop proportional gain, the average value of the speed loop proportional gain, and the average value of the integral gain in the product grabbing state into the memory.

[0091] Preferably, the second load servo controller parameters include the position loop proportional gain, speed loop proportional gain, and integral gain of the servo drive module in the product placement state; the second mean value acquisition module includes:

[0092] The second mean value obtaining submodule is used to obtain multiple position loop proportional gains, multiple speed loop proportional gains, and multiple integral gains in the product placement state from the servo drive module, calculate the average of the multiple position loop proportional gains, multiple speed loop proportional gains, and multiple integral gains in the product placement state, and obtain the average of the position loop proportional gain, the average of the speed loop proportional gain, and the average of the integral gain in the product placement state;

[0093] The second storage submodule is used to store the position loop proportional gain average value, the speed loop proportional gain average value, and the integral gain average value in the product placement state into the memory.

[0094] Preferably, the switching module includes:

[0095] The motion conversion submodule is used to convert the motions of the X servo axis, the Y servo axis, the Z servo axis, and the suction cup into corresponding motion data; the operation control module will fetch the motion data from the memory;

[0096] An identification submodule, used for the motion control module to identify the next action as the first action or the second action according to the action data;

[0097] A first switching submodule, used for notifying the servo driving module to switch the servo controller parameters to the first load servo controller parameters when the next action is the first action;

[0098] A second switching submodule is used for notifying the servo drive module to switch the servo controller parameters to the second load servo controller parameters when the next action is the second action;

[0099] The control submodule is used to control the peripheral IO interface of the integrated drive and control device and to notify the servo drive module to operate the corresponding servo axis.

[0100] Each module in the above-mentioned adaptive control device based on the integrated drive and control device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.

[0101] The adaptive control device based on the integrated drive and control device provided above can be used to execute the adaptive control method based on the integrated drive and control device provided in any of the above embodiments, and has corresponding functions and beneficial effects.

[0102] In one embodiment, a computer device is provided. The computer device may include a drive-control integrated device, and its internal structure diagram may be as follows: Figure 5 As shown. The computer device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, an adaptive control method based on a drive-control integrated device is implemented. The display screen of the computer device can be a liquid crystal display screen or an LED (light-emitting diode) display screen, and the input device of the computer device can be a touch layer covering the display screen, or a key, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.

[0103] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0104] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0105] The motion control module transmits the first load servo controller parameter and the second load servo controller parameter to the servo drive module;

[0106] The motion control module identifies the next motion as the first motion or the second motion according to the motion data; when the next motion is the first motion, the servo drive module is notified to switch the servo controller parameters to the first load servo controller parameters; when the next motion is the second motion, the servo drive module is notified to switch the servo controller parameters to the second load servo controller parameters;

[0107] In a preferred embodiment, the servo drive module controls the motor to run according to the first load servo controller parameter and the second load servo controller parameter, and the processor implements the following steps when executing the computer program:

[0108] A plurality of first load servo controller parameters are obtained, and when the number of operations is greater than a set number of operations, the average values ​​of the plurality of servo controller parameters are calculated to obtain the first load servo controller parameter average value.

[0109] In a preferred embodiment, the processor implements the following steps when executing the computer program:

[0110] A plurality of second load servo controller parameters are obtained, and when the number of operations is greater than a set number of operations, the mean values ​​of the plurality of second load servo controller parameters are calculated to obtain the second load servo controller parameter mean value.

[0111] In a preferred embodiment, the processor implements the following steps when executing the computer program:

[0112] Acquire multiple position loop proportional gains, multiple speed loop proportional gains, and multiple integral gains in the product grabbing state from the servo drive module, calculate the average of the multiple position loop proportional gains, multiple speed loop proportional gains, and multiple integral gains in the product grabbing state, and obtain the average of the position loop proportional gain, the average of the speed loop proportional gain, and the average of the integral gain in the product grabbing state;

[0113] The average value of the position loop proportional gain, the average value of the speed loop proportional gain, and the average value of the integral gain under the product grabbing state are stored in the memory.

[0114] In a preferred embodiment, the processor implements the following steps when executing the computer program:

[0115] Acquire multiple position loop proportional gains, multiple speed loop proportional gains, and multiple integral gains in the product placement state from the servo drive module, calculate the average of the multiple position loop proportional gains, multiple speed loop proportional gains, and multiple integral gains in the product placement state, and obtain the average of the position loop proportional gain, the average of the speed loop proportional gain, and the average of the integral gain in the product placement state;

[0116] The position loop proportional gain average value, the speed loop proportional gain average value, and the integral gain average value under the product placement state are stored in the memory.

[0117] In a preferred embodiment, the processor implements the following steps when executing the computer program:

[0118] When the next action is the first action, the servo drive module is notified to switch the servo controller parameters to the first load servo controller parameters;

[0119] When the next action is the second action, the servo drive module is notified to switch the servo controller parameters to the second load servo controller parameters;

[0120] Control the peripheral IO interface of the integrated drive and control device and notify the servo drive module to operate the corresponding servo axis.

[0121] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0122] The motion control module transmits the first load servo controller parameter and the second load servo controller parameter to the servo drive module;

[0123] The motion control module identifies the next motion as the first motion or the second motion according to the motion data; when the next motion is the first motion, the servo drive module is notified to switch the servo controller parameters to the first load servo controller parameters; when the next motion is the second motion, the servo drive module is notified to switch the servo controller parameters to the second load servo controller parameters;

[0124] The servo driving module controls the operation of the motor according to the first load servo controller parameter and the second load servo controller parameter.

[0125] In a preferred embodiment, the computer program implements the following steps when executed by a processor:

[0126] A plurality of first load servo controller parameters are obtained, and when the number of operations is greater than a set number of operations, the average values ​​of the plurality of servo controller parameters are calculated to obtain the first load servo controller parameter average value.

[0127] In a preferred embodiment, the computer program implements the following steps when executed by a processor:

[0128] A plurality of second load servo controller parameters are obtained, and when the number of operations is greater than a set number of operations, the mean values ​​of the plurality of second load servo controller parameters are calculated to obtain the second load servo controller parameter mean value.

[0129] In a preferred embodiment, the computer program implements the following steps when executed by a processor:

[0130] Acquire multiple position loop proportional gains, multiple speed loop proportional gains, and multiple integral gains in the product grabbing state from the servo drive module, calculate the average of the multiple position loop proportional gains, multiple speed loop proportional gains, and multiple integral gains in the product grabbing state, and obtain the average of the position loop proportional gain, the average of the speed loop proportional gain, and the average of the integral gain in the product grabbing state;

[0131] The average value of the position loop proportional gain, the average value of the speed loop proportional gain, and the average value of the integral gain under the product grabbing state are stored in the memory.

[0132] In a preferred embodiment, the computer program implements the following steps when executed by a processor:

[0133] Acquire multiple position loop proportional gains, multiple speed loop proportional gains, and multiple integral gains in the product placement state from the servo drive module, calculate the average of the multiple position loop proportional gains, multiple speed loop proportional gains, and multiple integral gains in the product placement state, and obtain the average of the position loop proportional gain, the average of the speed loop proportional gain, and the average of the integral gain in the product placement state;

[0134] The average value of the position loop proportional gain, the average value of the speed loop proportional gain, and the average value of the integral gain in the product placement state are stored in the memory.

[0135] In a preferred embodiment, the computer program implements the following steps when executed by a processor:

[0136] Convert the movements of the X servo axis, the Y servo axis, the Z servo axis, and the suction cup into corresponding movement data; the operation control module retrieves the movement data from the memory;

[0137] The motion control module identifies the next motion as the first motion or the second motion according to the motion data;

[0138] When the next action is the first action, the servo drive module is notified to switch the servo controller parameters to the first load servo controller parameters;

[0139] When the next action is the second action, the servo drive module is notified to switch the servo controller parameters to the second load servo controller parameters;

[0140] Control the peripheral IO interface of the integrated drive and control device and notify the servo drive module to operate the corresponding servo axis.

[0141] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0142] It will be appreciated by those skilled in the art that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0143] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0144] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0145] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0146] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.

[0147] Finally, it should be noted that, in this article, relational terms such as first and second, etc. 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 terminal 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 terminal 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 terminal device including the elements.

[0148] The above describes in detail an adaptive control method based on an integrated drive and control device, an adaptive control device based on an integrated drive and control device, a computer device and a storage medium provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. An adaptive control method based on a drive-control integrated device, It is characterized in that The integrated drive-control device is connected to the motor; the integrated drive-control device includes a motion control module and a servo drive module, and the motion control module and the servo drive module use a shared memory or direct communication method to perform internal interaction, including: The motion control module transmits the first load servo controller parameter and the second load servo controller parameter to the servo drive module; The motion control module identifies the next motion as the first motion or the second motion according to the motion data; when the next motion is the first motion, the servo drive module is notified to switch the servo controller parameters to the first load servo controller parameters; when the next motion is the second motion, the servo drive module is notified to switch the servo controller parameters to the second load servo controller parameters; The servo driving module controls the operation of the motor according to the first load servo controller parameter and the second load servo controller parameter.

2. The adaptive control method based on the integrated drive and control device according to claim 1, It is characterized in that The first load servo controller parameters are obtained by: A plurality of first load servo controller parameters are obtained, and when the number of operations is greater than a set number of operations, the average values ​​of the plurality of servo controller parameters are calculated to obtain the first load servo controller parameter average value.

3. The adaptive control method based on the integrated drive and control device according to claim 1, It is characterized in that The second load servo controller parameters are obtained by: A plurality of second load servo controller parameters are obtained, and when the number of operations is greater than a set number of operations, the mean values ​​of the plurality of second load servo controller parameters are calculated to obtain the second load servo controller parameter mean value.

4. The adaptive control method based on the integrated drive and control device according to claim 2, It is characterized in that The first load servo controller parameter includes a position loop proportional gain, a speed loop proportional gain, and an integral gain of the servo drive module in the product grabbing state; the obtaining of multiple first load servo controller parameters, when the number of operations is greater than the set number of operations, calculates the average of the multiple servo controller parameters to obtain the first load servo controller parameter average, including: Acquire multiple position loop proportional gains, multiple speed loop proportional gains, and multiple integral gains in the product grabbing state from the servo drive module, calculate the average of the multiple position loop proportional gains, multiple speed loop proportional gains, and multiple integral gains in the product grabbing state, and obtain the average of the position loop proportional gain, the average of the speed loop proportional gain, and the average of the integral gain in the product grabbing state; The average value of the position loop proportional gain, the average value of the speed loop proportional gain, and the average value of the integral gain under the product grabbing state are stored in the memory.

5. The adaptive control method based on the integrated drive and control device according to claim 3, It is characterized in that The second load servo controller parameters include the position loop proportional gain, speed loop proportional gain, and integral gain of the servo drive module in the product placement state; the obtaining of multiple second load servo controller parameters, when the number of operations is greater than the set number of operations, then calculating the mean of the multiple second load servo controller parameters to obtain the second load servo controller parameter mean, includes: Acquire multiple position loop proportional gains, multiple speed loop proportional gains, and multiple integral gains in the product placement state from the servo drive module, calculate the average of the multiple position loop proportional gains, multiple speed loop proportional gains, and multiple integral gains in the product placement state, and obtain the average of the position loop proportional gain, the average of the speed loop proportional gain, and the average of the integral gain in the product placement state; The position loop proportional gain average value, the speed loop proportional gain average value, and the integral gain average value under the product placement state are stored in the memory.

6. The adaptive control method based on the integrated drive and control device according to claim 3, It is characterized in that The motion control module identifies the next action as the first action or the second action according to the action data; when the next action is the first action, the servo drive module is notified to switch the servo controller parameters to the first load servo controller parameters; when the next action is the second action, the servo drive module is notified to switch the servo controller parameters to the second load servo controller parameters, including: Convert the movements of the X servo axis, the Y servo axis, the Z servo axis, and the suction cup into corresponding movement data; the operation control module retrieves the movement data from the memory; The motion control module identifies the next motion as the first motion or the second motion according to the motion data; When the next action is the first action, the servo drive module is notified to switch the servo controller parameters to the first load servo controller parameters; When the next action is the second action, the servo drive module is notified to switch the servo controller parameters to the second load servo controller parameters; Control the peripheral IO interface of the integrated drive and control device and notify the servo drive module to operate the corresponding servo axis.

7. An adaptive control device based on a drive-control integrated device, It is characterized in that The integrated drive-control device is connected to the motor; the integrated drive-control device includes a motion control module and a servo drive module, and the motion control module and the servo drive module use a shared memory or direct communication method to perform internal interaction, including: A transmission module, used for the motion control module to transmit the first load servo controller parameter and the second load servo controller parameter to the servo drive module; A switching module is used for the motion control module to identify the next action as the first action or the second action according to the action data; when the next action is the first action, the servo drive module is notified to switch the servo controller parameters to the first load servo controller parameters; when the next action is the second action, the servo drive module is notified to switch the servo controller parameters to the second load servo controller parameters; An execution module is used for the servo drive module to control the motor operation according to the first load servo controller parameter and the second load servo controller parameter.

8. The adaptive control device based on the integrated drive and control device according to claim 1, It is characterized in that The device comprises: The first mean value obtaining module is used to obtain multiple first load servo controller parameters. When the number of operations is greater than the set number of operations, the mean values ​​of the multiple servo controller parameters are calculated to obtain the first load servo controller parameter mean value.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of adaptive control based on the integrated drive and control device according to any one of claims 1 to 6 are implemented.

10. 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 adaptive control based on the integrated drive and control device according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Control system of servomotor driver

    CN102468800A

  • Device and method for active compliance control for XYZR four-axis drilling robot

    CN106695793A

  • Servo motor control method and system

    CN111123838A

  • Motor control method, motor control system and driving device

    CN113241993A

  • Method for automatically correcting control parameters of non-inductive servo driver of motor

    CN118199471A