Graphic-free debugging method and device for servo system torque loop

Through the establishment of graphical boundaries and bandwidth curves and automated iteration methods, the complexity and applicability issues of controller parameter adjustment in servo systems are solved, trajectory-free intelligent tuning is achieved, and tuning efficiency and compatibility are improved.

CN116184809BActive Publication Date: 2024-09-17HARBIN INST OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310141860.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-20
Publication Date
2024-09-17
Estimated Expiration
2043-02-20

AI Technical Summary

Technical Problem

The controller parameter adjustment of the existing servo system relies on special trajectories, which results in reduced application scenarios of the algorithm and the inability to design parameters according to actual needs. Moreover, the setting method is complex and difficult to achieve automation and intelligence.

Method used

By obtaining the stability margin index and bandwidth index of the torque control system, the graphical stability boundary and bandwidth determination curve are established, the controller parameters are automatically approximated and iteratively corrected, parameter tuning without trajectory is realized, and the automation and intelligence of the tuning method are improved.

Benefits of technology

It improves the applicable scope and compatibility of the tuning method, shortens the tuning time, provides better control system protection, and can input system performance targets according to user needs, making up for the shortcomings of traditional tuning algorithms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116184809B
    Figure CN116184809B
Patent Text Reader

Abstract

The present application relates to the field of motor control technology, and discloses a graphical debugging-free method for a torque loop of a servo system, including: obtaining the stability margin index and bandwidth index of a torque control system that has been constructed; establishing a graphical stability boundary and bandwidth judgment curve of the torque control system according to the stability margin index and bandwidth index; determining torque controller parameters by approximating the graphical stability boundary, and adjusting controller stiffness according to the bandwidth judgment curve; repeatedly iterating and correcting the torque controller parameters until the set bandwidth or set limit controller parameters are reached. By constructing a graphical stability boundary and bandwidth index curve of the system, and designing an automated approximation method and correction method, a graphical debugging-free method is achieved that does not require running any trajectory and can input system performance targets according to user needs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of motor control technology, and for example, to a method and device for graphically debugging a torque loop of a servo system. Background Art

[0002] In the servo industrial system, there are many types of controlled objects, different motor parameters are different, and the dynamic performance required in different application scenarios is also different. The default parameters cannot meet the user's performance requirements, so the newly installed servo drive needs to undergo a series of controller parameter adjustments. In order to avoid the tedious manual debugging process, the servo system parameter debugging-free technology came into being. At present, the mainstream driver debugging-free method mostly adopts the rule-based time domain tuning dominated by the Ziegler-Nichols method. The time domain criterion often needs to inject a series of pre-set trajectories such as step, sine, square wave, etc., and complete the control parameter tuning according to the corresponding waveform.

[0003] In the process of implementing the embodiments of the present disclosure, it is found that there are at least the following problems in the related art:

[0004] First, by relying on special trajectories to implement controller design, the applicability of the algorithm will be reduced;

[0005] Secondly, if the adjustment is only based on fixed targets, users will not be able to design parameters according to actual needs.

[0006] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present application, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0007] In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key / critical components or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.

[0008] The disclosed embodiments provide a graphical debugging-free method and apparatus, a computing device, and a storage medium for a torque loop of a servo system, which can realize controller parameter tuning in torque mode, so as to improve the automation and intelligence of the system tuning method, solve the problem of complex traditional tuning trajectories, and improve the scope of application of the tuning method.

[0009] In some embodiments, the graphical free debugging method for the servo system torque loop includes:

[0010] Obtain the stability margin index and bandwidth index of the constructed torque control system;

[0011] According to the stability margin index and the bandwidth index, establishing a graphical stability boundary and bandwidth determination curve of the torque control system;

[0012] determining torque controller parameters by approximating the graphical stability boundary, and adjusting controller stiffness according to the bandwidth determination curve;

[0013] The torque controller parameters are modified repeatedly and iteratively until a set bandwidth or a set limit controller parameter is reached.

[0014] In some embodiments, the graphic debugging-free device for the servo system torque loop includes:

[0015] An index acquisition module is configured to acquire a stability margin index and a bandwidth index of the constructed torque control system;

[0016] a boundary and curve module, configured to establish a graphical stability boundary and bandwidth determination curve of the torque control system according to the stability margin index and the bandwidth index;

[0017] a parameter adjustment module configured to determine torque controller parameters by approximating the graphical stability boundary and adjust controller stiffness according to the bandwidth determination curve;

[0018] The iterative module is configured to iteratively modify the torque controller parameters until a set bandwidth or a set limit controller parameter is reached.

[0019] In some embodiments, the computing device includes a processor and a memory storing program instructions, and the processor is configured to execute the graphical debugging-free method for the servo system torque loop as described in the present application when running the program instructions.

[0020] In some embodiments, the storage medium stores program instructions, and when the program instructions are run, the method for graphical debugging-free for the torque loop of a servo system as described in the present application is executed.

[0021] The method and device for graphical debugging of a servo system torque loop, computing equipment, and storage medium provided by the embodiments of the present disclosure can achieve the following technical effects:

[0022] By constructing the system's graphical stability boundary and bandwidth index curve, and designing automated approximation and correction methods, a graphical debugging-free method is implemented that does not require running any trajectory and can input system performance targets according to user needs. This method makes up for the deficiencies of traditional tuning algorithms and improves the algorithm's compatibility and intelligence. The trajectory-free tuning method effectively shortens the tuning time and provides better protection for the control system.

[0023] The above general description and the following description are exemplary and explanatory only and are not intended to limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] One or more embodiments are exemplarily described by corresponding drawings, which do not limit the embodiments. Elements with the same reference numerals in the drawings are shown as similar elements, and the drawings do not constitute a scale limitation, and wherein:

[0025] Figure 1 is a schematic diagram of a controller parameter tuning method in a torque mode provided by an embodiment of the present disclosure;

[0026] Figure 2 is a schematic diagram of another controller parameter tuning method in torque mode provided by an embodiment of the present disclosure;

[0027] Figure 3 is a schematic diagram of another controller parameter tuning method in torque mode provided by an embodiment of the present disclosure;

[0028] Figure 4 is a schematic diagram of another controller parameter tuning method in torque mode provided by an embodiment of the present disclosure;

[0029] Figure 5 It is a graphical debugging-free performance boundary diagram provided by an embodiment of the present disclosure;

[0030] Figure 6 It is a graphic debugging-free design process provided by the embodiment of the present disclosure;

[0031] Figure 7 It is a graphical debugging-free schematic diagram for a torque mode provided by an embodiment of the present disclosure;

[0032] Figure 8 is a schematic diagram of a computing device provided by an embodiment of the present disclosure;

[0033] Fig. 9 It is a schematic diagram for finalizing controller parameters in torque mode provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0034] In order to be able to understand the features and technical contents of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not used to limit the embodiments of the present disclosure. In the following technical description, for the convenience of explanation, a full understanding of the disclosed embodiments is provided through multiple details. However, one or more embodiments can still be implemented without these details. In other cases, to simplify the drawings, well-known structures and devices can be simplified for display.

[0035] The terms "first", "second", etc. in the specification and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged where appropriate, so that the embodiments of the embodiments of the present disclosure described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.

[0036] Unless otherwise stated, the term "plurality" means two or more.

[0037] In the embodiment of the present disclosure, the character " / " indicates that the preceding and following objects are in an "or" relationship. For example, A / B indicates: A or B.

[0038] The term "and / or" is a description of the association relationship between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or, A and B.

[0039] The term "correspondence" may refer to an association relationship or a binding relationship. The correspondence between A and B means that there is an association relationship or a binding relationship between A and B.

[0040] Combination Figure 1 As shown, the embodiment of the present disclosure provides a graphical free debugging method for a servo system torque loop, comprising:

[0041] Step 101: Obtain a stability margin index and a bandwidth index of the torque control system that has been constructed.

[0042] Step 102: Establishing a graphical stability boundary and bandwidth determination curve of the torque control system according to the stability margin index and the bandwidth index.

[0043] Step 103: Determine torque controller parameters by approximating the graphical stability boundary, and adjust controller stiffness according to the bandwidth determination curve.

[0044] Step 104: Repeat the iterative modification of the torque controller parameters until a set bandwidth or a set limit controller parameter is reached.

[0045] By adopting the graphic-free debugging method for the torque loop of the servo system provided by the embodiment of the present disclosure, by constructing the graphical stability boundary and bandwidth index curve of the system, and designing an automated approximation method and a correction method, a graphic-free debugging method is realized that does not need to run any trajectory and can input system performance targets according to user needs. This method makes up for the deficiencies of traditional tuning algorithms, improves the compatibility and intelligence of the algorithms, and the trajectory-free tuning method effectively shortens the tuning time and provides better protection for the control system.

[0046] Optionally, combined Figure 2 As shown, the process of constructing the model parameters of the torque control system includes:

[0047] Step 201: Establishing a transfer function P(s) of a control object of the torque control system.

[0048] Step 202: Establishing the transfer function C(s) of the controller of the torque control system.

[0049] Step 203: According to the transfer function P(s) and the transfer function C(s), the open-loop transfer function L(s) of the torque control system model is determined according to the following formula:

[0050] L(s)=C(s)P(s)

[0051] Where s is the Laplace transform factor.

[0052] In the embodiment of the present application, the control object includes a mechatronic system having a drive motor and an inverter, Figure 3 As shown, the transfer function P(s) of the control object of the torque control system is established, including:

[0053] Step 301: injecting voltage to obtain the resistance and inductance parameters of the drive motor, as well as the system delay caused by system discrete calculation and signal transmission.

[0054] Step 302: According to the resistance-inductance parameters and the system delay, the transfer function P(s) is established according to the following formula:

[0055]

[0056] Among them, L is the stator inductance of the drive motor, R is the stator resistance of the drive motor, T d The delay is caused by the system's discrete operations and (AD, encoder, etc.) signal transmission.

[0057] In an embodiment of the present application, the controller of the torque control system includes a proportional-integral controller and a second-order low-pass filter. The proportional-integral controller is used to control the system, and the second-order low-pass filter is used to suppress noise during the operation of the dual-loop servo system.

[0058] Optionally, the transfer function C(s) of the controller for establishing the torque control system includes:

[0059] Get the transfer function G of the proportional-integral controller PI (s) and the transfer function G of the second-order low-pass filter LPF (s);

[0060] According to the transfer function G of the proportional-integral controller PI (s) and the transfer function G of the second-order low-pass filter LPF (s), the transfer function C(s) is established according to the following formula:

[0061]

[0062] Among them, K p is the proportional gain coefficient, K i is the integral frequency coefficient.

[0063] In practical applications, the parameters required by the controller are all obtained by the graphical debugging-free method provided in this application.

[0064] In this way, by obtaining the current loop delay transfer function, the factors affected by discrete control can be taken into consideration in the calculation, making the formula more consistent with the actual operating conditions, thereby improving the accuracy of subsequent data derivation.

[0065] In an embodiment of the present application, a user may set a desired performance indicator and form a performance boundary in a Nichols diagram. Common performance indicators include a robust stability indicator, an anti-interference indicator, and a reference tracking indicator.

[0066] Optionally, combined Figure 4 As shown, according to the stability margin index and bandwidth index, a graphical stability boundary and bandwidth judgment curve of the torque control system is established, including:

[0067] Step 401: Establishing a closed-loop amplitude index of a torque control system according to the stability margin index and the bandwidth index.

[0068] Step 402: According to the closed-loop amplitude index, a graphical stability boundary and bandwidth determination curve of the torque control system is established on a Nichols diagram.

[0069] Optionally, according to the system parameter model, the stability margin index and bandwidth index of the torque control system are determined, including the system phase margin γ and the system closed-loop bandwidth ω b .

[0070] Furthermore, according to the set indicators, including phase margin γ and system closed-loop bandwidth ω b , establish the graphical stability boundary and bandwidth curve of the torque control system.

[0071] Optionally, to ensure the robustness of the system, the most direct robust stability indicator of the system is the closed-loop resonance peak value of the system. The closed-loop resonance peak value Mr of the torque control system is determined according to the following formula:

[0072]

[0073] Among them, M r is the closed-loop resonance peak value of the torque control system, L(jω) is the open-loop transfer function of the torque control system, and the Laplace transform factor s=jω.

[0074] Furthermore, the relationship between the closed-loop transfer function amplitude and the open-loop transfer function amplitude and phase angle of the torque control system can be calculated according to the following formula:

[0075]

[0076] Among them, A(ω) is the amplitude of the open loop, and θ(ω) is the phase angle of the open loop.

[0077] Furthermore, according to the closed-loop amplitude expression, the graphical stability boundary expression of the control system is:

[0078]

[0079] Among them A + (θ) is the upper boundary trajectory of circle M, A - (θ) is the lower boundary trajectory of the M circle.

[0080] In the embodiment of the present application, the system phase margin γ is set as a system robust stability index, which can be expressed as r Correspondingly, the closed-loop amplitude index of the torque control system is established according to the following formula:

[0081]

[0082] Among them, γ is the set system phase margin, ω b is the set system closed-loop bandwidth, M max is the closed-loop resonance peak value of the system, M(ω b ) is the closed-loop bandwidth amplitude, which is set at -3dB according to international practice.

[0083] In practical applications, the phase margin γ of the system robust stability indicator is generally set at 40° to 60°. This application does not make any specific restrictions on this, and the user can adjust the robust indicator size according to actual performance requirements in the application.

[0084] In the embodiment of the present disclosure, the reference tracking index of the torque control system is set to the closed-loop bandwidth ω b The closed-loop bandwidth of the system parameter model is calculated according to the following formula:

[0085] M(ω b )=-3dB

[0086] Furthermore, according to the closed-loop bandwidth expression, the system open-loop amplitude phase angle at the bandwidth is calculated according to the following formula:

[0087]

[0088] In the embodiment of the present disclosure, the A-θ curve is represented in the Nichols diagram as a reference tracking index. As an important reference for controller tuning, in practical applications, the closed-loop bandwidth ω b The frequency is set to be above 1kHz. This application does not make any specific restrictions on this, and the user can adjust the tracking index size according to actual performance requirements in the application.

[0089] The embodiment of the present disclosure provides a diagram of a graphics debugging-free performance boundary, such as Figure 5 As shown, the performance indicators corresponding to the example in the figure are set to phase margin γ = 50° and closed-loop bandwidth ωb = 2000 Hz, and then the maximum allowable resonant peak Mr = 1.183 dB can be calculated. This value is substituted into the graphical stability boundary expression of the control system to establish a closed graphical constraint.

[0090] In some embodiments, the torque controller parameters are established by approximating the graphical stability boundary, including: current loop proportional gain K p and the current loop integral constant K i , and the filter cutoff frequency ω l , and adjust the controller stiffness according to the bandwidth curve. Since the system can usually accept a series of controller parameter designs, it is necessary to formulate appropriate optimization criteria to ensure the applicability of the self-tuning parameters. In order to ensure the stability and safety of the control system and prevent over-design caused by unreasonable setting parameters, the robust stability index of the control system is taken as the primary consideration, and unnecessary high closed-loop bandwidth is not allowed because it increases the feedback cost of sensor noise amplification and potential uncertainties caused by high-frequency unmodeled dynamic parameters / parasitic parameters.

[0091] Combination Figure 6 As shown, the torque controller parameters are determined by approximating the graphical stability boundary, and the controller stiffness is adjusted according to the bandwidth determination curve, including:

[0092] By approximating the graphical stability boundary, obtaining initial values ​​of the torque controller parameters;

[0093] According to the robust stability index, modifying the torque controller parameters;

[0094] According to the anti-interference index, modifying the torque controller parameters;

[0095] Design the bandwidth of the filter.

[0096] After completing the control system modeling and establishing the graphical stability boundary and bandwidth curve, the embodiment of the present disclosure provides a graphical debugging-free method.

[0097] First, the design is to determine the initial value of the controller. Optionally, combined with Figure 7 As shown, by approximating the graphical stability boundary, obtaining the initial value of the torque controller parameter includes:

[0098] Step 701: The controller is designed as a pure proportional controller, and the torque control system is brought close to the set stability boundary to obtain an acceptable maximum proportional gain K pmax .

[0099] Step 702: Use proportional-integral control torque controller and set the proportional gain of the controller

[0100] K p =0.75*K pmax , integration constant K i =0.

[0101] Step 703: Set the graphical approximation search integral constant K i .

[0102] This method uses a closed stable boundary to facilitate the implementation of the graphical approximation method. Then, in order to meet the phase margin and bandwidth indicators set by the system, a series of correction methods are designed. This method compares the phase margin and bandwidth indicators achieved by the system with the set targets, and continuously iterates and corrects the controller parameters of the system to complete the system performance design.

[0103] Since the system bandwidth index has different values ​​due to different system characteristics, it is impossible to give a suitable bandwidth value range, so this index is at risk of over-design. In contrast, the phase margin index has a guideable value range, and the embodiment of the present disclosure takes the stability and safety of the system as the first criterion for controller design. Therefore, the correction process is to correct the controller parameters according to the bandwidth index set by the user while meeting the stability margin. When the stability boundary set by the system is met, the set bandwidth boundary is compared with the set bandwidth index, and the controller is corrected through continuous iteration until the target value is reached. The iterative process is as follows: Figure 6 shown.

[0104] In order to avoid the irrationality of the bandwidth index defined by the user, this paper takes the maximum proportional gain K obtained when the initial value of the controller is determined. pmax For reference, the controller gain extreme value is set at 0.3*K during the iteration process. pmax To 0.85*K pmaxThe controller obtained by this method meets the characteristics of different systems and effectively avoids the system dynamic performance being too low due to the user setting too low bandwidth, or the system instability caused by too high bandwidth.

[0105] Optionally, in actual engineering applications, the following indicators can be set: phase margin γ is between 40° and 60°, bandwidth ω is b It can be as large as possible, that is, the controller design of the maximum bandwidth system that meets the system stability requirements can be achieved.

[0106] Optionally, the forward channel low-pass filter bandwidth ω can be set according to system requirements l ,ω l Can be set to 1.5ω b , 2ω b , 0.1f s This application does not provide any specific explanation for this and sets the default value to 0.1f s , users can set parameters according to actual needs.

[0107] In this way, by establishing the graphical stability boundary and bandwidth curve of the torque control system, and determining the torque controller parameters by approximating the graphical stability boundary, a graphical debugging-free method is implemented that does not require running any trajectory and can input system performance targets according to user needs. This method makes up for the deficiencies of traditional tuning algorithms and improves the compatibility and intelligence of the algorithm. The trajectory-free tuning method effectively shortens the tuning time and provides better protection for the control system.

[0108] Combination Figure 8 As shown, the embodiment of the present disclosure provides a graphical debugging-free device for a servo system torque loop, comprising:

[0109] An index acquisition module 801 is configured to acquire a stability margin index and a bandwidth index of the constructed torque control system;

[0110] The boundary and curve module 802 is configured to establish a graphical stability boundary and bandwidth determination curve of the torque control system according to the stability margin index and the bandwidth index;

[0111] a parameter adjustment module 803, configured to determine torque controller parameters by approximating the graphical stability boundary, and adjust controller stiffness according to the bandwidth determination curve;

[0112] The iterative module 804 is configured to iteratively modify the torque controller parameters until a set bandwidth or a set limit controller parameter is reached.

[0113] By adopting the graphic-free debugging device for the torque loop of the servo system provided by the embodiment of the present disclosure, by constructing the graphical stability boundary and bandwidth index curve of the system, and designing an automated approximation method and a correction method, a graphic-free debugging method is realized that does not need to run any trajectory and can input system performance targets according to user needs. This method makes up for the deficiencies of traditional tuning algorithms and improves the compatibility and intelligence of the algorithms. The trajectory-free tuning method effectively shortens the tuning time and provides better protection for the control system.

[0114] Combination Fig. 9 As shown, an embodiment of the present disclosure provides a computing device, including a processor (processor) 900 and a memory (memory) 901. Optionally, the device may also include a communication interface (Communication Interface) 902 and a bus 903. Among them, the processor 900, the communication interface 902, and the memory 901 can communicate with each other through the bus 903. The communication interface 902 can be used for information transmission. The processor 900 can call the logic instructions in the memory 901 to execute the graphic-free debugging method for the torque loop of the servo system of the above embodiment.

[0115] In addition, the logic instructions in the memory 901 described above may be implemented in the form of software functional units and when sold or used as independent products, may be stored in a computer-readable storage medium.

[0116] The memory 901 is a computer-readable storage medium that can be used to store software programs and computer executable programs, such as program instructions / modules corresponding to the method in the embodiment of the present disclosure. The processor 900 executes the function application and data processing by running the program instructions / modules stored in the memory 901, that is, the graphic-free debugging method for the torque loop of the servo system in the above embodiment is implemented.

[0117] The memory 901 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 901 may include a high-speed random access memory and may also include a non-volatile memory.

[0118] An embodiment of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured to execute the above-mentioned graphic-free debugging method for a torque loop of a servo system.

[0119] The computer-readable storage medium mentioned above may be a transient computer-readable storage medium or a non-transitory computer-readable storage medium.

[0120] The technical solution of the embodiment of the present disclosure can be embodied in the form of a software product, which is stored in a storage medium and includes one or more instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiment of the present disclosure. The aforementioned storage medium may be a non-transient storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes, or a transient storage medium.

[0121] The above description and the accompanying drawings fully illustrate the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent only possible changes. Unless explicitly required, separate components and functions are optional, and the order of operation may vary. The parts and features of some embodiments may be included in or replace the parts and features of other embodiments. Moreover, the words used in this application are only used to describe the embodiments and are not used to limit the claims. As used in the description of the embodiments and the claims, unless the context clearly indicates, the singular forms of "a", "an" and "the" are intended to include plural forms as well. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of listings containing one or more associated ones. In addition, when used in the present application, the term "comprise" and its variants "comprises" and / or comprising refer to the presence of stated features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups thereof. In the absence of further restrictions, the elements defined by the sentence "comprising a ..." do not exclude the presence of other identical elements in the process, method or device comprising the elements. In this article, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the various embodiments may refer to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts can refer to the description of the method part.

[0122] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. The technicians may use different methods for each specific application to implement the described functions, but such implementations should not be considered to exceed the scope of the embodiments of the present disclosure. The technicians may clearly understand that, for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above may refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.

[0123] In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units can be only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiment of the present disclosure may be integrated in a processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit.

[0124] The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to the embodiment of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. In the description corresponding to the flowchart and the block diagram in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in a different order from the order disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.

Claims

1. A graphical free debugging method for a servo system torque loop, characterized in that: include: Obtain the stability margin index and bandwidth index of the constructed torque control system; According to the stability margin index and the bandwidth index, establishing a graphical stability boundary and bandwidth determination curve of the torque control system; determining torque controller parameters by approximating the graphical stability boundary, and adjusting controller stiffness according to the bandwidth determination curve; Determining torque controller parameters by approximating the graphical stability boundary, and adjusting controller stiffness according to the bandwidth determination curve, including: By approximating the graphical stability boundary, obtaining initial values ​​of the torque controller parameters; According to the robust stability index, modifying the torque controller parameters; According to the anti-interference index, modifying the torque controller parameters; Design the bandwidth of the filter; By approximating the graphical stability boundary, obtaining the initial value of the torque controller parameter includes: The torque controller is designed as a pure proportional controller, and the torque control system is approached to the set graphical stability boundary to obtain the acceptable maximum proportional gain K. pmax ; Use proportional integral control torque controller and set the proportional gain K of the torque controller p =0.75*K pmax , integration constant K i =0; Set the graphical approximation to search for the integration constant K i ; The torque controller parameters are modified repeatedly and iteratively until a set bandwidth or a set limit controller parameter is reached.

2. The graphics debugging-free method according to claim 1, characterized in that: The process of constructing the model parameters of the torque control system includes: Establishing a transfer function P(s) of a control object of the torque control system; Establishing a transfer function C(s) of a controller of the torque control system; According to the transfer function P(s) and the transfer function C(s), the open-loop transfer function L(s) of the torque control system model is determined according to the following formula: L(s)=C(s)P(s) Where s is the Laplace transform factor.

3. The graphics debugging-free method according to claim 2, characterized in that: The control object includes a mechatronic system having a drive motor and an inverter; The transfer function P(s) of the control object of the torque control system is established, including: Injecting voltage to obtain the resistance and inductance parameters of the drive motor, as well as the system delay caused by system discrete operations and signal transmission; According to the resistance-inductance parameters and system delay, the transfer function P(s) is established according to the following formula: Among them, L is the stator inductance of the drive motor, R is the stator resistance of the drive motor, T d The delay is caused by the discrete operation and signal transmission of the system.

4. The graphics debugging-free method according to claim 2, characterized in that: The controller includes a proportional-integral controller and a second-order low-pass filter, wherein the second-order low-pass filter is connected in series with the proportional-integral controller and performs input or output shaping; the transfer function C(s) of the controller for establishing the torque control system includes: Get the transfer function G of the proportional-integral controller PI (s) and the transfer function G of the second-order low-pass filter LPF (s); According to the transfer function G of the proportional-integral controller PI (s) and the transfer function G of the second-order low-pass filter LPF (s), the transfer function C(s) is established according to the following formula: Among them, K p is the proportional gain coefficient, K i is the integral frequency coefficient, ω l is the filter cutoff frequency.

5. The graphics debugging-free method according to claim 1, characterized in that: The step of establishing a graphical stability boundary and bandwidth determination curve of the torque control system according to the stability margin index and the bandwidth index comprises: Establishing a closed-loop amplitude index of the torque control system according to the stability margin index and the bandwidth index; According to the closed-loop amplitude index, a graphical stability boundary and bandwidth determination curve of the torque control system are established on a Nichols diagram.

6. The graphics debugging-free method according to claim 5, characterized in that: The closed-loop amplitude index of the torque control system is established according to the following formula: M(ω b )=-3dB Among them, γ is the set system phase margin, ω b is the set system closed-loop bandwidth, M max is the closed-loop resonance peak value of the system, M(ω b ) is the closed-loop bandwidth amplitude, which is set at -3dB according to international practice; The graphical stability boundary and bandwidth judgment curve of the torque control system are established on the Nichols diagram according to the following formula: Among them, A + (θ) represents the upper boundary of the set stability boundary, A - (θ) is the lower boundary of the set stability boundary, θ is the phase angle of the open-loop transfer function L(s), A ωb (θ) is the open-loop amplitude at the closed-loop bandwidth.

7. The graphics debugging-free method according to claim 1, characterized in that: The repeatedly iteratively correcting the torque controller parameter until a set bandwidth or a set limit controller parameter is reached includes: Compare the stability margin index and bandwidth index achieved by the torque control system with the set target; The torque controller parameters of the torque control system are repeatedly and iteratively corrected according to the comparison results to complete the system performance design.

8. A graphical debugging-free device for a servo system torque loop, characterized in that: include: An index acquisition module is configured to acquire a stability margin index and a bandwidth index of the constructed torque control system; a boundary and curve module, configured to establish a graphical stability boundary and bandwidth determination curve of the torque control system according to the stability margin index and the bandwidth index; a parameter adjustment module configured to determine torque controller parameters by approximating the graphical stability boundary and adjust controller stiffness according to the bandwidth determination curve; The parameter adjustment module is specifically configured as follows: By approximating the graphical stability boundary, obtaining initial values ​​of the torque controller parameters; According to the robust stability index, modifying the torque controller parameters; According to the anti-interference index, modifying the torque controller parameters; Design the bandwidth of the filter; The parameter adjustment module is specifically configured as follows: The torque controller is designed as a pure proportional controller, and the torque control system is approached to the set graphical stability boundary to obtain the acceptable maximum proportional gain K. pmax ; Use proportional integral control torque controller and set the proportional gain K of the torque controller p =0.75*K pmax , integration constant K i =0; Set the graphical approximation to search for the integration constant K i ; The iterative module is configured to iteratively modify the torque controller parameters until a set bandwidth or a set limit controller parameter is reached.