Abstract
The disclosure discloses a customized harmonic repetitive controller and a control method, and belongs to the field of repetitive controllers for industrial control. In the repetitive controller, a periodic signal generator formed by three time-delay modules and a positive feedforward gain module is taken as a whole to form a forward path, and an internal model of a periodic signal is constructed in the form of outputting positive feedback. Therefore, the structure of the repetitive controller conforms to a standard internal model construction method, the repetitive controller has an order expanding capability, the flexibility of the controller is greatly improved, the disturbance canceling speed of the controller is increased, and the repetitive controller is simple in structure and convenient to design. An h-order nk±m-order-harmonic repetitive controller (h≥2) obtained by further expansion covers various existing high-order repetitive controllers, and a unified form is provided to make the repetitive controller universal.
Claims
1. A repetitive controller, comprising: a repetitive control gain module, a positive feedforward gain module, a subtraction loop, a first addition loop, a second addition loop, a first time-delay module, a second time-delay module and a third time-delay module; wherein the first time-delay module, the second time-delay module and the third time-delay module are identical; wherein: an input end of the repetitive control gain module receives an input into the repetitive controller, an output end of the repetitive control gain module connected to a first input end of the first addition loop, an output end of the first addition loop is connected to a first input end of the second addition loop, an output end of the second addition loop is connected to an input end of the positive feedforward gain module and an input end of the first time-delay module, an output end of the positive feedforward gain module is connected to a positive input end of the subtraction loop, an output end of the first time-delay module is connected to a negative input end of the subtraction loop, an output end of the subtraction loop is connected to an input end of the second time-delay module, an output end of the second time-delay module is connected to a second input end of the first addition loop, an output from the repetitive controller is received from the output end of the second time-delay module, the output end of the positive feedforward gain module is also connected to an input end of the third time-delay module, and an output end of the third time-delay module is connected to a second input end of the second addition loop.
2. The repetitive controller according to claim 1, further comprising: a first low pass filter, a second low pass filter, a third low pass filter, and a phase lead compensation module; wherein the output end of the first time-delay module is connected to the negative input end of the subtraction loop through the first low pass filter, the output end of the second time-delay module is connected to the second input end of the first addition loop through the second low pass filter, the output from the repetitive controller is received from the output end of the second time-delay module through the second low pass filter and then through the phase lead compensation module, the output end of the positive feedforward gain module is connected to the input end of the third time-delay module through the third low pass filter.
3. A method of controlling the repetitive controller of claim 1, comprising: using the repetitive control gain module to perform repetitive control gain on an input quantity of the repetitive controller to obtain an output quantity of the repetitive control gain module; using the positive feedforward gain module to perform positive feedforward gain on an output quantity of the second addition loop to obtain an output quantity of the positive feedforward gain module; using the first addition loop to add the output quantity of the repetitive control gain module and an output quantity of the subtraction loop output delayed by the second time-delay module in a delay manner to obtain an output quantity of the first addition loop; using the second addition loop to add the output quantity of the first addition loop and the output quantity of the positive feedforward gain module output delayed by the third time-delay module to obtain an output quantity of the second addition loop; using the subtraction loop to subtract the output quantity of the positive feedforward gain module from the output quantity of the second addition loop output delayed by the first time-delay module to obtain the output quantity of the subtraction loop; using the first time-delay module to delay the output quantity of the second addition loop; using the second time-delay module to delay the output quantity of the subtraction loop; and using the third time-delay module to delay the output quantity of the positive feedforward gain module.
4. The method according to claim 3, further comprising: adjusting the repetitive control gain to adjust a speed of the repetitive controller to track or cancel specific harmonics.
5. The method according to claim 3, further comprising: determining parameters of the positive feedforward gain module according to an order of harmonics to be tracked or canceled.
6. The method according to claim 3, wherein the first, second or third time-delay module is an analog or digital time-delay module, and a transfer function of the repetitive controller is: wherein c( )is the output quantity of the repetitive controller, e( )is the input quantity of the repetitive controller, k.sub.rc is a repetitive control gain parameter, s is a Laplace variable of a continuous time system, and z is a variable of z transformation of a discrete time system; N=T.sub.0/T.sub.s, is an integer, T.sub.0 is a fundamental period, T.sub.0=2π/ω.sub.0=l/f.sub.0, f.sub.0 is a fundamental frequency, ω.sub.0 is a fundamental angular frequency, T.sub.s is a sampling period, n, k and m are integers not less than zero, n≠0, and n>m.
7. A method of using the repetitive controller of claim 1, for canceling nk±m-order-harmonic components in control errors in a feedback control system, wherein a transfer function of the repetitive controller is: wherein Q(z) is a low pass filter, and A(z) is a phase lead compensation module; and the feedback control system is stable when the following two conditions are met: (1) poles of a transfer function of a closed-loop system before the repetitive controller is inserted are located in a unit circle; and (2) a repetitive control gain parameter k, in the inserted controller meets 0<k.sub.rc<2.
Description
BRIEF DESCRIPTION OF FIGURES
(1) In order to more clearly illustrate the technical solutions of the examples of the disclosure, the drawings used in the description of the examples are briefly described below, and it is obvious that the drawings in the description below are only some examples of the disclosure, and a person of ordinary skill in the art can obtain other drawings from these drawings without any creative effort.
(2) FIG. 1 is a structural block diagram of an nk±m RC according to the disclosure.
(3) FIG. 2 is a digital implementation form of FIG. 1, and is a structural block diagram of an nk±m-order-harmonic digital repetitive controller.
(4) FIG. 3 is a structural block diagram of a periodic signal generator in a forward path in a digital form of an nk±m RC according to the disclosure.
(5) FIG. 4 is a structural block diagram of an improved nk±m RC added with a low pass filter link and a phase lead compensation link on the basis of FIG. 1.
(6) FIG. 5 is a digital implementation form of FIG. 4, and is a structural block diagram of an improved nk±m-order-harmonic digital repetitive controller.
(7) FIG. 6 is a structural block diagram of an h-order nk±m-order-harmonic digital repetitive controller (h≥2) expanded on the basis of FIG. 2.
(8) FIG. 7 is a structural block diagram of an improved h-order nk±m-order-harmonic digital repetitive controller (h≥2).
(9) FIG. 8 is a structural block diagram of an improved h-order nk±m-order-harmonic digital repetitive controller when h=2.
(10) FIG. 9 is a structural block diagram of an all-harmonic repetitive controller with a parallel structure formed by parallel addition of nk±m RC according to the disclosure, where the repetitive controller with this structure may cancel all harmonics.
(11) FIG. 10 is a structural block diagram of an any-harmonic repetitive controller with a parallel structure formed by parallel addition of nk±m RC according to the disclosure, where the repetitive controller with this structure may cancel any harmonic.
(12) FIG. 11 is a digital implementation form of FIG. 9, and is a structural block diagram of an all-harmonic digital repetitive controller with a parallel structure.
(13) FIG. 12 is a digital implementation form of FIG. 10, and is a structural block diagram of an any-harmonic digital repetitive controller with a parallel structure.
(14) FIG. 13 is a structural block diagram of an improved all-harmonic repetitive controller with a parallel structure added with a low pass filter link and a phase lead compensation link on the basis of FIG. 9.
(15) FIG. 14 is a structural block diagram of an improved any-harmonic repetitive controller with a parallel structure added with a low pass filter link and a phase lead compensation link on the basis of FIG. 10.
(16) FIG. 15 is a digital implementation form of FIG. 13, and is a structural block diagram of an improved all-harmonic digital repetitive controller with a parallel structure.
(17) FIG. 16 is a digital implementation form of FIG. 14, and is a structural block diagram of an improved any-harmonic digital repetitive controller with a parallel structure.
(18) FIG. 17 is a structural block diagram of a control system in which an improved nk±m-order-harmonic digital repetitive controller superposed with a general feedback controller.
(19) FIG. 18 is a structural block diagram of a control system in which an improved h-order nk±m-order-harmonic digital repetitive controller (h≥2) superposed with a general feedback controller.
(20) FIG. 19A is a steady-state output oscillogram under two complex controls in application of an nk±m RC (n=1 and m=0) according to the disclosure in combination with a general feedback controller.
(21) FIG. 19B is an error convergence variation diagram under two complex controls in application of an nk±m RC (n=1 and m=0) according to the disclosure in combination with a general feedback controller.
(22) FIG. 19C is a steady-state output oscillogram under two complex controls in application of an nk±m RC (n=4 and m=1) according to the disclosure in combination with a general feedback controller.
(23) FIG. 19D is an error convergence variation diagram under two complex controls in application of an nk±m RC (n=4 and m=1) according to the disclosure in combination with a general feedback controller.
(24) FIG. 20A is a steady-state output oscillogram under two complex controls in application of an nk±m RC (n=1 and m=0) according to the disclosure in combination with a general feedback controller.
(25) FIG. 20B is an error convergence variation diagram under two complex controls in application of an nk±m RC (n=1 and m=0) according to the disclosure in combination with a general feedback controller.
(26) FIG. 20C is a steady-state output oscillogram under two complex controls in application of an nk±m RC (n=6 and m=1) according to the disclosure in combination with a general feedback controller.
(27) FIG. 20D is an error convergence variation diagram under two complex controls in application of an nk±m RC (n=6 and m=1) according to the disclosure in combination with a general feedback controller.
(28) FIG. 21A is an error convergence variation diagram of a controller when the reference voltage frequency is changed from 50 Hz to 49.8 Hz, i.e. an internal model of the controller is mismatched with a periodic signal to be tracked or canceled, taking 6k±1 RC as an example.
(29) FIG. 21B is a harmonic spectrogram of a controller when the reference voltage frequency is changed from 50 Hz to 49.8 Hz, i.e. an internal model of the controller is mismatched with a periodic signal to be tracked or canceled, taking 6k±1 RC as an example.
(30) FIG. 21C is an error convergence variation diagram of a controller when the reference voltage frequency is changed from 50 Hz to 49.8 Hz, i.e. an internal model of the controller is mismatched with a periodic signal to be tracked or canceled, taking second-order 6k±1 RC as an example.
(31) FIG. 21D is a harmonic spectrogram of a controller when the reference voltage frequency is changed from 50 Hz to 49.8 Hz, i.e. an internal model of the controller is mismatched with a periodic signal to be tracked or canceled, taking second-order 6k±1 RC as an example.
(32) FIG. 22 is a control block diagram of adding an nk±m-order-harmonic digital repetitive controller or a multi-mode digital repetitive controller or an h-order nk±m-order-harmonic digital repetitive controller according to the disclosure to a control system in a cascade manner.
DETAILED DESCRIPTION
(33) In order to make objectives, technical solutions, and advantages of the disclosure more apparent, implementations of the disclosure will be described in further detail with reference to the drawings.
Example 1
(34) This example provides a repetitive controller. The repetitive controller includes: a repetitive control gain module, a positive feedforward gain module, a subtraction loop, two addition loops, and three identical time-delay modules.
(35) An input end of the repetitive control gain module is used as an input end of the repetitive controller; an output end of the repetitive control gain module is used as a first input end of the first addition loop; an output end of the first addition loop is used as a first input end of the second addition loop; an output end of the second addition loop is connected to the positive feedforward gain module and the first time-delay module in series respectively and then connected to a positive input end and a negative input end of the subtraction loop; an output end of the subtraction loop is connected to the second time-delay module in series and then connected to a second input end of the first addition loop, which is also an output end of the repetitive controller; and an output end of the positive feedforward gain module is connected to the third time-delay module in series and then connected to a second input end of the second addition loop.
(36) FIG. 1 shows a structural block diagram of a customized harmonic repetitive controller provided by the disclosure. c(s) is the output quantity of the repetitive controller; e(s) is the input quantity of the repetitive controller, i.e. the control error quantity of a control system; and k.sub.rc is the repetitive control gain module.
(37) A transfer function of the customized harmonic repetitive controller is as follows:
(38)
(39) In formula (1), k.sub.rc is the repetitive control gain parameter; T.sub.0 is the fundamental period, T.sub.0=2π/Ω.sub.0=l/f.sub.0, f.sub.0 is the fundamental frequency, ω.sub.0 is the fundamental angular frequency; n, k and m are integers not less than zero and n≠0, n>m; and e is a natural constant.
(40) By adjusting the value of the gain coefficient k.sub.rc, the error convergence speed of the system may be changed; the larger k.sub.rc is, the higher the steady-state error convergence speed of the system is, but the system will be out of a stable range due to over-large k.sub.rc, so k.sub.rc can increase the convergence speed of the system only within a certain range.
(41) Three delay links in FIG. 1 are completely identical, the delay time τ of the delay links is equal to 1/n times of the fundamental period T.sub.0, and the longest delay time path is composed of two of the delay links, so that the total delay time is (2T.sub.0/n)<T.sub.0. Therefore, the response speed of the customized harmonic repetitive controller provided by the disclosure is much higher than that of a general repetitive controller under the condition that the repetitive control gain k.sub.rc is the same. This is a great advantage of the nk±m RC, and besides the three identical time-delay links and the repetitive control gain module, only one positive feedforward gain module exists in the controller, so that the controller is simple in structure and more convenient to design.
(42) Formula (1) is transformed as follows:
(43)
(44) The above formula requires m≠0.
(45) When m=0, the transfer function of the repetitive controller for canceling nk±m-order harmonics may be formulated as follows:
(46)
(47) By combining the above two formulae, it is thus obtained that a pole of the repetitive controller shown in FIG. 1 is at the frequency of (nk±m)ω.sub.0, i.e. the pole frequency is mω0, (n±m)ω.sub.0, (2n±m)ω.sub.0, (in±m)ω.sub.0, . . . , (where i=1, 2, 3 . . . ).
(48) Since the gain of the repetitive controller is infinite at the frequency of (nk±m)ω.sub.0, harmonic components with the frequency of (nk±m)ω.sub.0 in the control error e(s) can be completely canceled, so that complete cancellation or error-free tracking of nk±m-order-harmonic disturbance is realized. Therefore, the repetitive controller, i.e. the customized harmonic repetitive controller provided by the disclosure is called an nk±m RC.
(49) In practical application, m and n may be endowed with different values according to requirements of different occasions, so that error-free tracking or disturbance suppression of specific nk±m-order harmonics may be realized. For example, in the case of a three-phase inverter with three-phase rectifier loads, since harmonics are mainly concentrated at (6k±1) (i.e. 5, 7, 11, 13 and the like)-order-harmonic frequency components and it is often necessary to track a fundamental reference signal, it only needs to make n=6 and m=1, and error-free tracking of the fundamental reference signal and complete cancellation of (6k±1)-order-harmonics may be realized. In the case of a single-phase inverter with single-phase rectifier loads, since harmonics are mainly concentrated at (4k±1) (i.e. odd orders of 3, 5, 7, 9 and the like)-frequency components and it is often necessary to track a fundamental reference signal, it only needs to make n=4 and m=1, and error-free tracking of the fundamental reference signal and complete cancellation of odd-harmonics may be realized.
(50) In practice, the repetitive controller is mostly implemented and applied digitally. The digital implementation corresponding to the repetitive controller shown in FIG. 1 is as shown in FIG. 2 with a transfer function as follows:
(51)
(52) c(z) is the output quantity of the repetitive controller; e(z) is the input quantity of the repetitive controller, i.e. the control error quantity of a control system; k.sub.rc is the repetitive control gain; N=T.sub.0/T.sub.s is an integer, T.sub.0 is the fundamental period, T.sub.0=2T/ω.sub.0=l/f.sub.0, f.sub.0 is the fundamental frequency, ω.sub.0 is the fundamental angular frequency, T.sub.s is the sampling period; n, k and m are integers not less than zero and n≠0, n>m.
(53) Three time-delay links in FIG. 2 are completely identical, and the number of occupied memory units is N/n, so that the total number of memory units of the repetitive controller is (3N/n). Therefore, the nk±m-order-harmonic digital repetitive controller occupies much less memory space than a general digital repetitive controller.
(54) FIG. 3 shows a digital form of a periodic signal generator in a forward path in an nk±m RC according to the disclosure, which is composed of three completely-identical time-delay modules and a positive feedforward gain module. A transfer function M(z) may be expressed as follows:
(55)
(56) In practical application, in order to improve the stability and anti-interference capability of the control system, it is usually necessary to improve the nk±m RC in FIG. 1 or FIG. 2 by adding a low pass filter link Q(s) or Q(z) and a phase lead compensation link A(s) or A(z) to the repetitive controller, as shown in FIG. 4 and FIG. 5, where FIG. 5 is a digital implementation form of FIG. 4.
(57) The transfer function of the improved nk±m RC shown in FIG. 4 may be written as follows:
(58) 0
(59) The transfer function of the improved nk±m-order-harmonic digital repetitive controller shown in FIG. 5 may be written as follows:
(60)
(61) FIG. 6 shows a universal structural block diagram of an h-order nk±m-order-harmonic digital repetitive controller (h≥2). In practical application, the h-order nk±m RC is also implemented digitally, and the transfer function may be written as follows:
(62)
(63) FIG. 7 shows an improved h-order nk±m-order-harmonic digital repetitive controller (h≥2). Different from a first-order nk±m-order-harmonic digital repetitive controller, due to the increase of the order, if output ends of the three identical time-delay modules are respectively connected to a low pass filter Q(z) in series for filtering, the complexity of the controller is inevitably greatly increased, and the design difficulty is also increased. Therefore, for the h-order nk±m-order-harmonic digital repetitive controller (h≥2) provided by the disclosure, the low pass filter Q(z) is uniformly connected in series behind
(64)
and a phase lead compensation module A(z) is still connected in series to the output end of the repetitive controller. The transfer function of the improved h-order nk±m-order-harmonic digital repetitive controller (h≥2) may be written as follows:
(65)
(66) FIG. 8 shows an example of an h-order nk±m-order-harmonic digital repetitive controller when h=2. In order to avoid increasing the complexity and design difficulty of the controller due to the increase of the order, second-order, i.e. a second-order nk±m-order-harmonic digital repetitive controller is enough. The transfer function is as follows:
(67)
(68) FIG. 9 shows an all-harmonic repetitive controller with a parallel structure formed by parallel addition of nk±m RCs according to the disclosure. For different values of n, m and k, the repetitive controller with this structure may cancel all harmonics, and may independently adjust the control gain of each harmonic. The transfer function is as follows:
(69)
(70) n and m are both positive integers; when n is an even number, m=0, 1, . . . , n/2; and when n is an odd number, m=0, 1, . . . , [n/2].
(71) FIG. 10 shows an any-harmonic repetitive controller with a parallel structure formed by parallel addition of nk±m RCs according to the disclosure. For different values of n, m and k, the repetitive controller with this structure may cancel any harmonic, and may independently adjust the control gain of each harmonic. The transfer function is as follows:
(72)
(73) n.sub.i and m.sub.i are any positive integers.
(74) FIG. 11 shows a digital form of an all-harmonic repetitive controller with a parallel structure formed by parallel addition of nk±m RC according to the disclosure. The transfer function is as follows:
(75)
(76) n and m are both positive integers; when n is an even number, m=0, 1, . . . , n/2; and when n is an odd number, m=0, 1, . . . , [n/2].
(77) FIG. 12 shows a digital form of an any-harmonic repetitive controller with a parallel structure formed by parallel addition of nk±m RC according to the disclosure. The transfer function is as follows:
(78)
(79) n.sub.i and m.sub.i are any positive integers.
(80) FIG. 13 shows a structural block diagram of an improved all-harmonic repetitive controller with a parallel structure added with a low pass filter link Q(s) and a phase lead compensation link A(s). The transfer function is as follows:
(81) 0
(82) n and m are both positive integers; when n is an even number, m=0, 1, . . . , n/2; and when n is an odd number, m=0, 1, . . . , [n/2].
(83) FIG. 14 shows a structural block diagram of an improved any-harmonic repetitive controller with a parallel structure added with a low pass filter link Q(s) and a phase lead compensation link A(s). The transfer function is as follows:
(84)
(85) n.sub.i and m.sub.i are any positive integers.
(86) FIG. 15 shows a structural block diagram of an improved all-harmonic digital repetitive controller with a parallel structure. The transfer function is as follows:
(87)
(88) n and m are both positive integers; when n is an even number, m=0, 1, . . . , n/2; and when n is an odd number, m=0, 1, . . . , [n/2].
(89) FIG. 16 shows a structural block diagram of an improved any-harmonic digital repetitive controller with a parallel structure. The transfer function is as follows:
(90)
(91) n.sub.i and m.sub.i are any positive integers.
Example 2
(92) The nk±m RC provided in Example 1 and the h-order nk±m-order-harmonic digital repetitive controller obtained by further expansion may be added to a general feedback control system in an insertion or cascade manner for canceling nk±m-order-harmonic components in control errors. The addition of the nk±m RC and the h-order nk±m-order-harmonic digital repetitive controller obtained by further expansion to the general feedback system in the insertion manner will be introduced below respectively:
(93) (1) For nk±m RC
(94) A specific embodiment of the nk±m RC provided by the disclosure is introduced by taking the addition of the nk±m-order-harmonic digital repetitive controller to the general feedback system in the insertion manner as an example in this example:
(95) FIG. 17 shows a structural block diagram of adding an improved nk±m-order-harmonic digital repetitive controller to a general feedback control system. G.sub.rc(z) is the improved nk±m-order-harmonic digital repetitive controller; G.sub.c(z) is a conventional feedback controller; G.sub.p(z) is a control object; y.sub.d(z) is the reference input of the system and typically is the fundamental reference signal; y(z) is the actual output of the system; e(z) is the error of reference and actual signals and is also the input signal of the repetitive controller G.sub.rc(z); c(z) is the output signal of the repetitive controller G.sub.rc(z) and is also added with the error signal e(z) to serve as the input of the conventional feedback controller G.sub.c(z); u(z) is the output signal of the conventional feedback controller G.sub.c(z) and is also the input signal of the control object G.sub.p(z); and d(z) is the disturbance input signal of the system, which is added to the output signal of the control object G.sub.p(z) to form the actual output signal y(z).
(96) FIG. 18 shows a structural block diagram of adding an improved h-order nk±m-order-harmonic digital repetitive controller (h≥2) to a general feedback control system. A high-order nk±m-order-harmonic digital repetitive controller is also added to the general feedback control system in the insertion manner.
(97) In order to verify the effectiveness and practicability of the nk±m RC provided by the disclosure, a simulation experiment based on Matlab/Simulink is carried out as follows:
(98) In the case of a single-phase inverter with single-phase rectifier loads, since harmonics are mainly concentrated at (4k±1) (i.e. odd orders of 3, 5, 7, 9 and the like)-frequency components and it is often necessary to track a fundamental reference signal, it only needs to make n=4 and m=1, and error-free tracking of the fundamental reference signal and complete cancellation of odd-harmonics may be realized. A control target is to make the output voltage track the reference voltage accurately, where the reference voltage is V.sub.ref=156 sin 100πt. FIG. 19A-FIG. 19D show steady-state output oscillograms and error convergence variation diagrams under two complex controls of a conventional repetitive controller (CRC) (Zhou K, Wang D, “Digital repetitive learning controller for three-phase CVCF PWM inverter[J]”, IEEE Transactions on Industrial Electronics, 2001) and a 4k±1 RC provided by the disclosure which are added respectively when t=0.1 s and the repetitive control gain k.sub.rc is the same on the basis of an FC (state feedback controller). FIG. 19A and FIG. 19B correspond to the CRC; FIG. 19A is the steady-state output oscillogram, and FIG. 19B is the error convergence variation diagram. FIG. 19C and FIG. 19D correspond to the 4k±1 RC provided by the disclosure; FIG. 19C is the steady-state output oscillogram, and FIG. 19D is the error convergence variation diagram.
(99) According to FIG. 19A-FIG. 19D, it can be seen that the total harmonic distortions (THD) of the CRC and the 4k±1 RC are 0.57% and 1.1%, respectively, which may reach very small values, but with almost the same harmonic suppression effect as the CRC, the CRC needs about 0.7 s to reach a steady state. However, the 4k±1 RC corresponding to the disclosure only needs about 0.35 s to reach a steady state, and therefore the error convergence speed of the 4k±1 RC is about twice that of the CRC, i.e. the error convergence speed of the 4k±1 RC corresponding to the disclosure is obviously higher.
(100) In the case of a three-phase inverter with three-phase rectifier loads, since harmonics are mainly concentrated at (6k±1) (i.e. orders of 5, 7, 11, 13 and the like)-order-harmonic frequency components and it is often necessary to track a fundamental reference signal, it only needs to make n=6 and m=1, and error-free tracking of the fundamental reference signal and complete cancellation of (6k±1)-order-harmonics may be realized. A control target is to make the output voltage track the reference voltage accurately, where the reference voltages are V.sub.abref=220 sin 100πt, V.sub.bcref=220 sin(100πt−⅔π), and V.sub.caref=220 sin(100πt+⅔π). FIG. 20A-FIG. 20D show steady-state output oscillograms and error convergence variation diagrams under two complex controls of a CRC and a 6k±1 RC provided by the disclosure which are added respectively when t=0.1 s and the repetitive control gain k.sub.rc is the same on the basis of an FC (state feedback controller). FIG. 20A and FIG. 20B correspond to the CRC; FIG. 20A is the steady-state output oscillogram, and FIG. 20B is the error convergence variation diagram. FIG. 20C and FIG. 20D correspond to the 6k±1 RC provided by the disclosure; FIG. 20C is the steady-state output oscillogram, and FIG. 20D is the error convergence variation diagram.
(101) According to FIG. 20A-FIG. 20D, it can be seen that the total harmonic distortions (THD) of the CRC and the 6k±1 RC are 0.38% and 1.05%, respectively, which may reach very small values, but with almost the same harmonic suppression effect as the CRC, the CRC needs about 0.75 s to reach a steady state. However, the 6k±1 RC corresponding to the disclosure only needs about 0.25 s to reach a steady state, and therefore the error convergence speed of the 6k±1 RC is about triple that of the CRC, i.e. the error convergence speed of the 6k±1 RC corresponding to the disclosure is obviously higher.
(102) (2) For h-Order Nk±m RC
(103) The nk±m RC provided by the disclosure may be further expanded into an h-order nk±m-order-harmonic digital repetitive controller (h≥2). Here, a 6k±1 RC and a second-order 6k±1 RC are taken as examples. Specific simulation examples verify that compared with a first-order nk±m-order-harmonic digital repetitive controller, the performance of the high-order nk±m-order-harmonic digital repetitive controller is improved, the mismatch between a controller internal model and a periodic signal to be tracked or canceled near a resonance frequency point may be suppressed to some extent, and the error convergence speed is higher.
(104) FIG. 21A-FIG. 21D show error convergence variation diagrams and harmonic spectrograms under two complex controls of a 6k±1 RC and a provided second-order 6k±1 RC which are added respectively when t=0.1 s and the repetitive control gain k.sub.rc is the same on the basis of an FC (state feedback controller) with the frequency changed from 50 Hz to 49.8 Hz. FIG. 21A and FIG. 21B correspond to the 6k±1 RC; FIG. 21A is the error convergence variation diagram, and FIG. 21B is the harmonic spectrogram. FIG. 21C and FIG. 21D correspond to the second-order 6k±1 RC; FIG. 21C is the error convergence variation diagram, and FIG. 21D is the harmonic spectrogram.
(105) According to FIG. 21A-FIG. 21D, it can be seen that the error convergence time and the total harmonic distortion (THD) of the 6k±1 RC are 0.3 s and 1.59%, respectively, and the error convergence time and the total harmonic distortion (THD) of the second-order 6k±1 RC are 0.2 s and 1.42%, respectively. Therefore, when the mismatch occurs between a controller internal model and a periodic signal to be tracked or canceled near a resonance frequency point, the second-order 6k±1 RC has a higher error convergence speed and a lower total harmonic distortion.
Example 3
(106) The nk±m-order-harmonic digital repetitive controller provided in Example 1, the h-order nk±m-order-harmonic digital repetitive controller obtained by further expansion, and the all/any-harmonic digital repetitive controller with a parallel structure may be added to a general feedback control system in an insertion or cascade manner for canceling nk±m-order-harmonic components in control errors. The specific embodiment and the simulation experiment in which the nk±m RC and the h-order nk±m-order-harmonic digital repetitive controller are added to the general feedback control system in the insertion manner are provided in Example 2. This example introduces a specific embodiment of adding to the general feedback control system in the cascade manner.
(107) FIG. 22 shows a structural block diagram of adding an improved nk±m-order-harmonic digital repetitive controller or a repetitive controller with a parallel structure or an h-order nk±m-order-harmonic digital repetitive controller to a general feedback control system in a cascade manner. G.sub.rc(z) is the improved nk±m-order-harmonic digital repetitive controller; G.sub.c(z) is a conventional feedback controller; G.sub.p(z) is a control object; y.sub.d(z) is the reference input of the system and typically is the fundamental reference signal; y(z) is the actual output of the system; e(z) is the error of reference and actual signals and is also the input signal of the repetitive controller G.sub.rc(z); c(z) is the output signal of the repetitive controller G.sub.rc(z) and is also added with the error signal e(z) to serve as the input of the conventional feedback controller G.sub.c(z); u(z) is the output signal of the conventional feedback controller G.sub.c(z) and is also the input signal of the control object G.sub.p(z); and d(z) is the disturbance input signal of the system, which is added to the output signal of the control object G.sub.p(z) to form the actual output signal y(z).
(108) Some steps in the examples of the disclosure may be implemented through software, and corresponding software programs may be stored in a readable storage medium, such as an optical disk or a hard disk.
(109) The foregoing descriptions are merely preferred examples of the disclosure, but are not intended to limit the disclosure. Any modification, equivalent substitution, improvement and the like made within the spirit and principle of the disclosure shall fall within the protection scope of the disclosure.