Controller parameter self-tuning method, device and computing equipment for servo system

Through the method of sweeping frequency signals and graphical stability boundaries, the problem of complex servo system tuning strategies and limited scope of application is solved, automatic and intelligent controller parameter tuning is achieved, and tuning efficiency and applicability are improved.

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

Patent Information

Application Number
CN202311868453.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-29
Publication Date
2024-09-17
Estimated Expiration
2043-12-29

AI Technical Summary

Technical Problem

The existing controller parameter tuning method of the servo system relies on special trajectories, which results in limited application scenarios of the algorithm and the inability to design parameters according to actual needs, resulting in a complex and insufficiently intelligent tuning strategy.

Method used

Use frequency sweep signals to identify system characteristics, obtain stability margin indicators, establish graphical stability boundaries, determine three-loop controller parameters, calculate feedforward parameters and filters based on system characteristics, and then calculate equivalent dual-loop controller parameters to achieve Automated and intelligent tuning strategies.

Benefits of technology

It implements a debugging-free strategy for graphical controllers that does not require additional trajectories, improves the applicable scope and intelligence of the tuning strategy, shortens the tuning time, and provides a wider range of application scenarios and better system protection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117826598B
    Figure CN117826598B
Patent Text Reader

Abstract

The present application relates to the technical field of signal processing and motor system control and parameter tuning, and discloses a controller parameter self-tuning method, device and computing equipment for a servo system, wherein the method includes: identifying system characteristics through a frequency sweep signal; obtaining stability margin indicators of the speed loop and position loop of the constructed servo system; establishing a graphical stability boundary of the servo system according to the stability margin indicator; determining the three-loop controller parameters in sequence by approximating the graphical stability boundary, and calculating the feedforward parameters and filter according to the system characteristics; calculating the equivalent dual-loop controller parameters according to the self-tuned three-loop controller parameters. The present application realizes a graphical controller debugging-free strategy that only requires fast frequency sweeping and does not require running any trajectory, and can input system performance targets according to user needs by constructing a graphical stability boundary of the system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of signal processing, motor system control and parameter setting, and for example, to a controller parameter self-setting method, device and computing equipment for a servo system. Background Art

[0002] In the servo industrial system, there are many types of controlled objects, different motor parameters are different, and different applications require different dynamic performance. The default parameters cannot meet the user's performance requirements. Therefore, the newly installed servo drive requires a series of controller parameter adjustments. In order to avoid the tedious manual debugging process, the servo system parameter self-tuning technology came into being. At present, the mainstream drive debugging-free strategy 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 embodiments of the present disclosure provide a controller parameter self-tuning method, apparatus, computing device and storage medium for a servo system, so as to realize the self-tuning of the servo system parameters, improve the automation and intelligence of the system tuning strategy, solve the problem of the complexity of the traditional tuning trajectory, and improve the application scope of the tuning strategy.

[0009] In some embodiments, the controller parameter self-tuning method for a servo system includes:

[0010] Identify system characteristics through frequency sweep signals;

[0011] Obtaining stability margin indicators of the speed loop and position loop of the constructed servo system;

[0012] Establishing a graphical stability boundary of the servo system according to the stability margin indicator;

[0013] By approximating the graphical stability boundary, determining the parameters of the three-loop controller in sequence, and calculating the feedforward parameters and the filter according to the system characteristics;

[0014] Based on the self-tuned three-loop controller parameters, the equivalent dual-loop controller parameters are calculated.

[0015] In some embodiments, the controller parameter self-tuning device for a servo system includes:

[0016] A system characteristic identification module is configured to identify system characteristics through a frequency sweep signal;

[0017] An index acquisition module is configured to acquire stability margin indexes of a speed loop and a position loop of a servo system that has been constructed;

[0018] a stability boundary establishing module, configured to establish a graphical stability boundary of the servo system according to the stability margin indicator;

[0019] a parameter adjustment module configured to sequentially determine the parameters of the three-loop controller by approximating the graphical stability boundary, and calculate the feedforward parameters and the filter according to the system characteristics;

[0020] The dual-loop equivalent module is configured to calculate equivalent dual-loop controller parameters based on the self-tuned three-loop controller parameters.

[0021] In some embodiments, the computing device includes a processor and a memory storing program instructions, and the processor is configured to execute the controller parameter self-tuning method for the servo system as described in the present application when running the program instructions.

[0022] In some embodiments, the storage medium stores program instructions, and when the program instructions are run, the method for self-tuning controller parameters for a servo system as described in the present application is executed.

[0023] The embodiments of the present disclosure provide a controller parameter self-tuning method, device, computing device, and storage medium for a servo system, which can achieve the following technical effects:

[0024] This application implements a graphical controller debugging-free strategy that only requires rapid frequency sweeping and does not require running any additional trajectories by designing a graphical stability boundary of the system. This strategy takes system stability as its primary goal, and can achieve better controller self-tuning under any operating conditions without any human intervention. Traditional tuning algorithms require running a large number of trajectories, and even need to run into an unstable state. This graphical tuning strategy makes up for the compatibility of the algorithm and improves the level of intelligence, effectively shortening the tuning operation trajectory and tuning time, thereby providing better protection for the servo system and having a wider range of application scenarios.

[0025] 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

[0026] 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:

[0027] Figure 1 is a schematic diagram of a controller parameter self-tuning method for a servo system provided by an embodiment of the present disclosure;

[0028] Figure 2 is a schematic diagram of model parameter construction of a servo control system provided by an embodiment of the present disclosure;

[0029] Figure 3 It is a schematic diagram of a method for realizing system characteristic identification by extremely fast frequency scanning provided by an embodiment of the present disclosure;

[0030] Figure 4 is a schematic diagram of a variable period filtering method for a servo system provided by an embodiment of the present disclosure;

[0031] Figure 5 is a schematic diagram of an unfiltered servo system tuning provided by an embodiment of the present disclosure;

[0032] Figure 6 is a schematic diagram of a Bode diagram of system characteristics and its filtered form provided in an embodiment of the present disclosure;

[0033] Figure 7 is a schematic diagram of a filtered servo system tuning provided by an embodiment of the present disclosure;

[0034] Figure 8 is a schematic diagram of establishing a robust stable boundary of a graphic provided by an embodiment of the present disclosure;

[0035] Fig. 9 is a schematic diagram of a graphic robust stability boundary provided by an embodiment of the present disclosure;

[0036] Fig.10 is a flow chart for adjusting controller stiffness according to a bandwidth determination curve provided by an embodiment of the present disclosure;

[0037] Fig.11 is a schematic diagram for establishing initial values ​​of speed loop controller parameters provided by an embodiment of the present disclosure;

[0038] Fig.12 is a schematic diagram of a fast debugging-free device for a servo system provided by an embodiment of the present disclosure;

[0039] Fig.13 It is a schematic diagram of a computing device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0040] 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.

[0041] 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.

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

[0043] 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.

[0044] 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.

[0045] 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.

[0046] Combination Figure 1As shown, the embodiment of the present disclosure provides a controller parameter self-tuning method for a servo system, comprising:

[0047] Step 101: Identify system characteristics through extremely fast frequency sweep signals.

[0048] Step 102: Obtain stability margin indicators of the speed loop and position loop of the constructed servo system.

[0049] Step 103: Establishing a graphical stability boundary of the servo system according to the stability margin indicator.

[0050] Step 104: by approximating the graphical stability boundary, the three-loop controller parameters are determined in sequence, and the feedforward parameters and the filter are calculated according to the system characteristics.

[0051] Step 105: Calculate the equivalent dual-loop controller parameters based on the self-tuned three-loop controller parameters.

[0052] By adopting the controller parameter self-tuning method for the servo system provided by the embodiment of the present disclosure, a graphical stability boundary of the system is constructed, and an automated approximation strategy and correction strategy are designed, so that a graphical controller debugging-free strategy is implemented without running any trajectory and the system performance target can be input according to user needs. This strategy makes up for the shortcomings of the traditional tuning algorithm, improves the compatibility and intelligence of the algorithm, and the trajectory-free tuning strategy effectively shortens the tuning time and provides better protection for the control system.

[0053] Optionally, combined Figure 2 As shown, the construction process of the servo system includes:

[0054] Step 201: Establishing a first control object transfer function P1(s) of a speed control system by identifying system characteristics.

[0055] Step 202: Establish the transfer function C1(s) of the speed controller by graphical parameter tuning.

[0056] Step 203: According to the first controlled object transfer function P1(s) and the first transfer function C1(s), the second controlled object transfer function P2(s) of the position control system is determined according to the following formula:

[0057]

[0058] Where s is the Laplace transform factor.

[0059] Step 204: Establish the second transfer function C2(s) of the position controller by graphical parameter tuning.

[0060] Step 205: Calculate the feedforward parameters required by the servo system based on the identified system characteristics.

[0061] Step 206: Calculate the third transfer function C3(s) of the equivalent dual-loop controller according to the self-tuned three-loop controller parameters.

[0062] In the embodiment of the present application, the first control object transfer function P1(s) of the speed control system includes a mechatronic system from torque input to speed output. Considering that system characteristics are different in different application scenarios, it is necessary to adopt a universal and fast system characteristic identification.

[0063] Optionally, combined Figure 3 As shown, the identification of system characteristics by using a frequency sweep signal includes:

[0064] Step 301: injecting quadrature-axis current into the frequency sweep signal.

[0065] Step 302: Filtering is performed through a variable period sliding window to obtain system characteristics.

[0066] Step 303: Obtain the overall inertia and system resonance characteristics in the system characteristics by fitting.

[0067] In the embodiment of the present application, during the graphical method tuning process, the accuracy of the system characteristics directly affects the quality of the tuning results. Rapid frequency sweeping requires the injection of a given frequency range to be completed in a short time, so Chirp is a better injection method, but the obtained system characteristics have large uneven fluctuations. In addition to interference, the reason for the fluctuation is that the response obtained under rapid frequency sweeping is not a steady-state response, and the system given input is not uniform, resulting in the final obtained result is also fluctuating, and the fluctuation frequency is related to the given.

[0068] Optionally, combined Figure 4 As shown, the filtering by the variable period sliding window includes:

[0069] Step 401: Filter out the fluctuation in the low frequency band caused by the overshoot of the follower response.

[0070] Step 402: Filter out fluctuations in the mid- and high-frequency bands caused by uneven input.

[0071] In the embodiment of the present application, in order to quickly identify system characteristics, a common method is to inject a mixed frequency signal. For example, a Chirp signal is a frequency superposition signal that changes with time, and the simplest change is a linear change.

[0072] Optionally, the Chirp signal expression is:

[0073]

[0074] Where f0 is the starting frequency, f1 is the ending frequency, and t1 is the total running time. In the embodiment of the present application, let the starting frequency f0 = 0, and the Chirp signal can be simplified as:

[0075]

[0076] Optionally, the embodiment of the present disclosure provides at least three groups of reference injection signal parameters:

[0077] 1) t1 = 0.128 s, f1 = 625 Hz;

[0078] 2)t1=0.256s, f1=1250Hz;

[0079] 3)t1=0.512s, f1=2500Hz.

[0080] Considering that the system output cannot respond to a steady state, the Bode diagram reflecting the system characteristics will be greatly affected by the input fluctuation characteristics in the medium and high frequency range. Figure 5 As shown in the figure, it is a graphical method setting diagram for sweep frequency acquisition data. Due to the fluctuation of data, the system characteristic waveform shows characteristics that are inconsistent with the actual situation. The distortion of the system characteristic waveform seriously affects the effect of parameter setting.

[0081] In the embodiment of the present application, the fluctuation characteristics of the input are used as a reference for the filtering period. The fluctuation period of the trigonometric function is 2π, so the fluctuation period is obtained by shifting the phase angle by π:

[0082]

[0083] Among them, the filterable time is from the first π to the last π, and it is calculated that:

[0084]

[0085] Considering that the final system data needs to be processed by fast Fourier transform FFT, the linear change of the filtering period is equivalent to the filtering period of the fast Fourier transform data:

[0086]

[0087] Wherein, Δt is the fluctuation period, including Δt1 and Δt2; t1 is the sweep operation time, f1 is the sweep end frequency, and f s is the data sampling frequency, N F is the number of FFT data points.

[0088] If the system response reaches a steady state, the output frequency is the same as the input frequency. In theory, the system response only reflects the change in amplitude and phase. However, in the case of fast frequency sweep, the system response has not reached a steady state. In this case, the fluctuation of the system response does not completely correspond to the input, especially in the case of obvious response overshoot at low frequencies. In order to filter out the low-frequency fluctuations, the fluctuation time t n And scale it up to the frequency domain:

[0089]

[0090] Among them, t n It is the moment when the peak value of the fluctuation is located. Based on the above fluctuation, the fluctuation interval is linearly interpolated to obtain the filtering period:

[0091] Δf1(n)=interpolate(f n (n),f n (n)-f n (n-1))

[0092] Δf2(n)=interpolate(f n (n),f n (n+1)-f n (n))

[0093] Wherein, Δt is the fluctuation period, including Δt1 and Δt2.

[0094] Figure 6 The figure shows the Bode diagram of the system characteristics and its filtered schematic diagram. Under extremely fast frequency sweep, non-system characteristic factors can still be filtered out well.

[0095] Figure 7 The figure shows the self-tuning diagram after filtering, which can effectively improve the effect of the graphic method self-tuning after effectively filtering out the fluctuations of non-system characteristics.

[0096] For the tuning of unknown systems, safety is the primary premise, and the external mechanical conditions of the servo system are complex, so it is appropriate to use the stability boundary as the primary basis for tuning. Compared with directly tuning the position controller, completing the speed and position tuning from the inside to the outside is undoubtedly a more stable choice.

[0097] Optionally, combined Figure 8 As shown, establishing the graphical stability boundary of the servo system according to the stability margin indicator includes:

[0098] Step 801: According to the speed loop phase margin index γ s and position loop phase margin index γ p, and establish closed-loop amplitude indicators for the speed control system and position control system respectively.

[0099] Step 802: According to the closed-loop amplitude indicators of the speed control system and the position control system, the current graphical stability boundaries of the speed control system and the position control system are established on the Nichols diagram.

[0100] Step 803: According to the speed loop gain margin index h s and position loop gain margin index h p , respectively translate the lower boundaries of the current graphical stability boundaries of the speed control system and the position control system to determine the final graphical stability boundary.

[0101] In the embodiment of the present application, the user needs to set the stability margin indicators of the speed loop and the position loop of the servo system respectively according to actual needs, and form a robust stability boundary in the Nichols diagram.

[0102] Optionally, the stability margin indicators of the speed loop and the position loop of the servo system mainly include:

[0103] Speed ​​loop phase margin γ s , speed loop gain margin h s ;

[0104] Position loop phase margin γ p , position loop gain margin h p ;

[0105] Furthermore, according to the set indicators, including the system phase margin γ s , γ p and gain margin h s 、h p , establish graphical stability boundaries of the speed control system and position control system.

[0106] Resonance peak M r :

[0107]

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

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

[0110]

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

[0112] Furthermore, according to the closed-loop amplitude expression, the graphical stability boundary expressions of the speed control system and the position control system are:

[0113]

[0114]

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

[0116] In the embodiment of the present application, the system phase margin γ and the system gain margin h are set as system robust stability indicators to correspond to the graphical stability boundary. r Correspondingly, the closed-loop amplitude of the control system is established according to the following formula:

[0117]

[0118] Among them, γ is the set system phase margin, M max is the closed-loop resonance peak of the system.

[0119] Considering that the gain margin directly determines the system minimum amplitude gain at -π, optionally, the gain margin h is corresponded to the system gain offset ΔA, and V ∞ As the moving reference of the stability boundary, ΔA can be calculated as:

[0120]

[0121]

[0122] Furthermore, the modified graphical stability boundary expression is:

[0123]

[0124]

[0125]

[0126] Among them, γ represents the set speed position loop phase margin, h is the set gain margin, 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), and ΔA is the M-circle downward shift designed according to the gain margin.

[0127] In practical applications, the phase margin γ of the system robust stability index is generally set at 40° to 60°, and the gain margin h is set at 6dB to 15dB. This application does not make specific restrictions on this, and users can adjust the robustness index size according to actual performance requirements in the application.

[0128] The embodiment of the present disclosure provides a diagram of a graphics debugging-free performance boundary, such as Fig. 9 As shown in the figure, the robustness index corresponding to the example is set to phase margin γ = 50°, gain margin h = 10dB, and then the maximum allowable resonance peak M can be calculated. r =1.183dB, gain offset ΔA =4.679dB. This value is substituted into the graphical stability boundary expression of the control system to establish a closed graphical constraint.

[0129] In some embodiments, the three-loop controller parameters are established by approximating the graphical stability boundary, including: the speed loop proportional gain K sp and the integration constant K si , position loop proportional gain K pp , acceleration feedforward coefficient K af , speed feedforward coefficient K sf , and the speed loop filter cutoff frequency ω sl 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. Due to the establishment of the stability boundary curve, the stability and safety of the system will be strictly guaranteed. Therefore, under the condition of meeting the requirements of the stability boundary, the overall dynamic performance of the system will be set as the considered goal.

[0130] Optionally, combined Fig.10 As shown, the servo controller parameters are determined by approximating the stable boundary of the graph, and the controller stiffness is adjusted according to the bandwidth determination curve, including:

[0131] Step 1001: approximate the obtained speed open-loop system characteristic diagram to the stability boundary of the diagram to obtain the initial values ​​of the speed controller parameters.

[0132] Step 1002: Modify the speed controller parameters according to the dynamic performance index.

[0133] Step 1003: Fit the velocity open-loop system characteristics to obtain the system inertia and establish the acceleration feedforward coefficient K af .

[0134] Step 1004: Design the cutoff frequency ω of the speed loop filter sl .

[0135] Step 1005: Determine the position open-loop system characteristic diagram, and vertically approach the stability boundary of the diagram to establish the position loop proportional gain K pp .

[0136] After completing the modeling of the controlled system and establishing the graphic stability boundary curve, the embodiment of the present disclosure provides a graphic debugging-free method.

[0137] First, the design is to determine the initial value of the controller. Optionally, combined with Fig.11 As shown, by approximating the graphical stability boundary, obtaining the initial value of the speed controller parameter includes:

[0138] Step 1101: The controller is designed as a pure proportional controller, and the speed control system is vertically approached to the set stability boundary to obtain an acceptable maximum proportional gain K. pmax .

[0139] Step 1102: Use a proportional-integral controller and set the proportional gain of the controller

[0140] K sp =0.9*K pmax , integration constant K si =0.

[0141] Step 1103: Set the graphical approximation search integral constant K si .

[0142] This method uses a closed stability boundary to facilitate the implementation of the graphical approximation method. However, the initial values ​​of the controller mentioned above need to be optimized to obtain the optimal controller parameters in a certain sense. 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. Due to the establishment of the stability boundary curve, the stability and safety of the system will be strictly guaranteed. Therefore, under the requirement of meeting the stability boundary, the dynamic performance of the overall response of the system is an important design goal.

[0143] The disclosed embodiment provides a controller correction criterion. After the initial value of the speed controller is set, in order to achieve the widest possible passband, the rate of change of the amplitude and phase angle should be as small as possible, which is also consistent with the set one-norm target. The speed controller parameters and / or position controller parameters are corrected by the following formula:

[0144]

[0145] Need to meet:

[0146]

[0147]

[0148]

[0149] It should be noted that in order to determine the limit range requirement of the intermediate frequency passband, in this embodiment, the maximum value and the minimum value of the stability boundary are used as the judgment boundary of the intermediate frequency passband.

[0150] Optionally, in actual engineering applications, in order to obtain an effective acceleration feedforward coefficient K af , performing least square fitting on the speed open-loop system characteristics to obtain the system inertia, and determining the system inertia value as a suitable unit and applying it to the acceleration feedforward coefficient;

[0151] Optionally, the low-pass filter bandwidth of the speed loop can be set according to system requirements sl The filter time constant is set to about one tenth of the derivative time constant, which is not described in detail in this application. The default values ​​are set to the cutoff frequency F1 = 800 Hz and the damping Damp = 0.6.

[0152] The default servo system is a unit negative feedback system. After implementing all the above speed loop tuning processes, the above identification and tuning modules are combined to obtain the open-loop system characteristics of the servo system position control. Similar to the speed control system described above, after determining the position open-loop system characteristic diagram, vertically approach the stability boundary of the diagram to establish the position loop proportional gain K pp .

[0153] In order to further improve the control performance of the servo system, dual-loop controllers are often used in modern industrial control to replace triple-loop control. However, there is a problem of adjusting multiple parameters at the same time. In some embodiments, K i =4K d , but it is not applicable to all occasions. In this embodiment, based on the above-mentioned three-loop controller parameters, the equivalent dual-loop controller is calculated. In the case of uniformly adopting the international system of units, PID is used as the dual-loop controller, and the equivalent PID controller parameters are calculated as follows:

[0154]

[0155]

[0156] The premise of adopting this equivalence is to set the speed feedforward coefficient to 1. This parameter is applicable to most servo controls.

[0157] Replacing the three-loop control with the dual-loop control reduces the amount of computation of the system processor and improves the dynamic performance of the servo system control. The patent provides a strategy that makes the three-loop control parameters equivalent to the dual-loop controller, which avoids the problem of using empirical values ​​in traditional industrial PID control, and the setting of each parameter does not depend on the specific model, and a better setting strategy can be completed under various working conditions.

[0158] In this way, by designing the graphical stability boundary of the system, a servo system graphical controller debugging-free strategy is realized, which only requires fast frequency sweeping and does not require running any additional trajectories. This strategy takes system stability as the primary goal, and can achieve better controller self-tuning under any working conditions without any human intervention. Traditional tuning algorithms need to run a large number of trajectories, and even need to run to an unstable state. This graphical self-tuning strategy makes up for the compatibility of the algorithm and improves the degree of intelligence, effectively shortening the tuning operation trajectory and tuning time, thereby providing better protection for the servo system and having a wider range of application scenarios.

[0159] Combination Fig.12 As shown, the embodiment of the present disclosure provides a controller parameter self-tuning device for a servo system, comprising:

[0160] The system characteristic identification module 1201 is configured to identify the system characteristic through the frequency sweep signal;

[0161] The index acquisition module 1202 is configured to acquire the stability margin index of the speed loop and the position loop of the constructed servo system;

[0162] A stability boundary establishing module 1203 is configured to establish a graphical stability boundary of the servo system according to the stability margin indicator;

[0163] A parameter adjustment module 1204 is configured to sequentially determine the parameters of the three-loop controller by approximating the graphical stability boundary, and calculate the feedforward parameters and the filter according to the system characteristics;

[0164] The dual-loop equivalent module 1205 is configured to calculate equivalent dual-loop controller parameters based on the self-tuned three-loop controller parameters.

[0165] By adopting the controller parameter self-tuning device for the servo system provided by the embodiment of the present disclosure, by constructing the graphical stability boundary of the system and designing the automated approximation method and correction method, a servo system graphical controller debugging-free strategy is realized, which only requires fast frequency sweeping and does not require any additional trajectory running. This method makes up for the shortcomings of the traditional tuning algorithm, improves the compatibility and intelligence of the algorithm, and the trajectory-free tuning method effectively shortens the tuning time and provides better protection for the control system. Furthermore, in order to complete the tuning of the servo dual-loop control system, the three-loop controller is equivalent to the dual-loop controller, which is more reasonable than directly tuning the dual-loop controller.

[0166] Combination Fig.13 As shown, an embodiment of the present disclosure provides a computing device, which includes a processor 130 and a memory 131. Optionally, the device may also include a communication interface 132 and a bus 133. The processor 130, the communication interface 132, and the memory 131 may communicate with each other through the bus 133. The communication interface 132 may be used for information transmission. The processor 130 may call the logic instructions in the memory 131 to execute the controller parameter self-tuning method for the servo system of the above embodiment.

[0167] In addition, the logic instructions in the memory 131 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.

[0168] The memory 131 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 130 executes the function application and data processing by running the program instructions / modules stored in the memory 131, that is, the controller parameter self-tuning method for the servo system in the above embodiment is implemented.

[0169] The memory 131 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 131 may include a high-speed random access memory and may also include a non-volatile memory.

[0170] 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 controller parameter self-tuning method for a servo system.

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

[0172] 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.

[0173] 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.

[0174] 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.

[0175] 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.

[0176] 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 controller parameter self-tuning method for a servo system, characterized in that: include: Identify system characteristics through frequency sweep signals; Obtaining stability margin indicators of the speed loop and position loop of the constructed servo system; Establishing a graphical stability boundary of the servo system according to the stability margin indicator; By approximating the graphical stability boundary, determining the parameters of the three-loop controller in sequence, and calculating the feedforward parameters and the filter according to the system characteristics; Calculate the equivalent dual-loop controller parameters based on the self-tuned three-loop controller parameters; The stability margin index of the speed loop and position loop includes the speed loop phase margin index γ s , speed loop gain margin index h s , Position loop phase margin index γ p And the position loop gain margin index h p According to the stability margin index, establishing the graphical stability boundary of the servo system, including: according to the speed loop phase margin index γ s and the position loop phase margin indicator γ p , respectively establish closed-loop amplitude indicators of the speed control system and the position control system; according to the closed-loop amplitude indicators of the speed control system and the position control system, establish the current graphical stability boundaries of the speed control system and the position control system on the Nichols diagram; according to the speed loop gain margin indicator h s and the position loop gain margin index h p , respectively translating the lower boundaries of the current graphical stability boundaries of the speed control system and the position control system to determine the final graphical stability boundary; The graphical stability boundary of the servo system is established by the following formula: Among them, M max is the closed-loop resonance peak value of the system, γ is the set speed position loop phase margin, h is the set gain margin, A + (θ) is the upper boundary of the graphical stability boundary, A - (θ) is the lower boundary of the graphical stability boundary, θ is the phase angle of the open-loop transfer function L(s), and ΔA is the M-circle downward shift preset according to the gain margin; The step of sequentially determining the parameters of the three-loop controller by approximating the graphical stability boundary includes: The speed control system is vertically approached to the set stability boundary to obtain the maximum acceptable proportional gain K. pmax ; Use proportional integral controller and set the proportional gain K of the controller sp =0.9*K pmax , integration constant K si =0; Set the graphic approximation search integral constant K i ; Obtain initial values ​​of speed controller parameters and / or position controller parameters; Modify speed controller parameters and / or position controller parameters according to robust stability indicators; Design the bandwidth of the filter; Correct the speed controller parameters and / or position controller parameters by the following formula: At the same time, the following conditions must be met:

2. The controller parameter self-tuning method according to claim 1, characterized in that: The construction process of the servo system includes: By identifying the system characteristics, the first control object transfer function P1(s) of the speed control system is established; The transfer function C1(s) of the speed controller is established by graphical parameter setting. According to the first control object transfer function P1(s) and the first transfer function C1(s), the second control object transfer function P2(s) of the position control system is determined according to the following formula: Where, s is the Laplace transform factor; The second transfer function C2(s) of the position controller is established by graphical parameter setting. Calculating feedforward parameters required by the servo system through the identified system characteristics; According to the self-tuned three-loop controller parameters, the third transfer function C3(s) of the equivalent dual-loop controller is calculated.

3. The controller parameter self-tuning method according to claim 1, characterized in that: The identification of system characteristics by using a frequency sweep signal includes: injecting a quadrature-axis current into the frequency sweep signal; Filtering is performed through a variable period sliding window to obtain system characteristics; The overall inertia and system resonance characteristics in the system characteristics are obtained by fitting.

4. The controller parameter self-tuning method according to claim 3, characterized in that: The filtering by using a variable period sliding window includes: Filter out the fluctuations in the low frequency band caused by overshoot of follower response; Filter out fluctuations in the mid- and high-frequency bands caused by uneven input.

5. The controller parameter self-tuning method according to claim 1, characterized in that: The method of calculating the equivalent dual-loop controller parameters based on the self-tuned three-loop controller parameters includes: In the case of using the international system of units, the PID controller is used as the dual-loop controller, and the equivalent PID controller parameters are calculated by the following formula: Among them, the speed feedforward coefficient is 1, K sp is the speed loop proportional gain, K si is the integration constant, K pp is the position loop proportional gain.

6. A controller parameter self-tuning device for a servo system, characterized in that: include: A system characteristic identification module is configured to identify system characteristics through a frequency sweep signal; An index acquisition module is configured to acquire stability margin indexes of a speed loop and a position loop of a servo system that has been constructed; a stability boundary establishing module, configured to establish a graphical stability boundary of the servo system according to the stability margin indicator; a parameter adjustment module configured to sequentially determine the parameters of the three-loop controller by approximating the graphical stability boundary, and calculate the feedforward parameters and the filter according to the system characteristics; A dual-loop equivalent module is configured to calculate equivalent dual-loop controller parameters based on the self-tuned three-loop controller parameters; The stability margin index of the speed loop and position loop includes the speed loop phase margin index γ s , speed loop gain margin index h s , Position loop phase margin index γ p And the position loop gain margin index h p According to the stability margin index, establishing the graphical stability boundary of the servo system, including: according to the speed loop phase margin index γ s and the position loop phase margin indicator γ p , respectively establish closed-loop amplitude indicators of the speed control system and the position control system; according to the closed-loop amplitude indicators of the speed control system and the position control system, establish the current graphical stability boundaries of the speed control system and the position control system on the Nichols diagram; according to the speed loop gain margin indicator h s and the position loop gain margin index h p , respectively translating the lower boundaries of the current graphical stability boundaries of the speed control system and the position control system to determine the final graphical stability boundary; The graphical stability boundary of the servo system is established by the following formula: Among them, M max is the closed-loop resonance peak value of the system, γ is the set speed position loop phase margin, h is the set gain margin, A + (θ) is the upper boundary of the graphical stability boundary, A - (θ) is the lower boundary of the graphical stability boundary, θ is the phase angle of the open-loop transfer function L(s), and ΔA is the M-circle downward shift preset according to the gain margin; The step of sequentially determining the parameters of the three-loop controller by approximating the graphical stability boundary includes: The speed control system is vertically approached to the set stability boundary to obtain the maximum acceptable proportional gain K. pmax ; Use proportional integral controller and set the proportional gain K of the controller sp =0.9*K pmax , integration constant K si =0; Set the graphic approximation search integral constant K i ; Obtain initial values ​​of speed controller parameters and / or position controller parameters; Modify speed controller parameters and / or position controller parameters according to robust stability indicators; Design the bandwidth of the filter; Correct the speed controller parameters and / or position controller parameters by the following formula: At the same time, the following conditions must be met:

7. A computing device comprising a processor and a memory storing program instructions, characterized in that: The processor is configured to execute the controller parameter self-tuning method for a servo system according to any one of claims 1 to 5 when running the program instructions.

8. A storage medium storing program instructions, characterized in that: When the program instructions are executed, the controller parameter self-tuning method for a servo system as claimed in any one of claims 1 to 5 is executed.

Citation Information

Patent Citations

  • Setting method of stable PI lambda D mu controller parameter based on sensitivity constraint

    CN103116270A

  • Multi-target parameter measurement method suitable for continuous wave perimeter monitoring radar

    CN107861117A

  • Method for solving control parameter stability domain of alternating-current servo system

    CN112486100A

  • Permanent magnet synchronous motor speed ring PI controller tuning method based on parameter identification

    CN113890424A

  • Design method for three-loop control parameters of aircraft control system

    CN114355766A