The present invention relates to a method and an apparatus for auto-turning a controller for a DC-AC converter.
Switched-mode DC-AC power voltage-source converters (VSCs) find use in a wide variety of applications, such as energy transformation in solar/wind farms, power system control and compensation, electric motor drives, and others. The output power of VSCs ranges from providing watts of power in system-on-chip power management applications to megawatts of power in power supply systems. Although many control theories and methods have emerged for 3-phase DC-AC VSCs, field-oriented control and proportional-integral-derivative (PID) control are still the most mature and the most widely used. Studies estimate that at least 90% of all industrial controllers are PID controllers. PID controller tuning techniques comprise two categories:
The “continuous cycling” procedure and its associated Ziegler-Nichols tuning rules, and the relay feedback test and its associated phase margin tuning rules have been hugely influential in PID auto-tuning practice. However, there is still a need to iteratively test the gain margin of the process, and control of the system may be lost when adjusting the system gain. While the Ziegler-Nichols test procedures are not widely used, the Ziegler-Nichols tuning rules are indeed applied in many applications, especially where high dynamic performance is not critical.
Since Åström and Hägglund proposed a PID autotuning method based on the relay feedback test (RFT), the method has been developed by many researchers and industrial applications. In the conventional RFT, the PID controller is replaced by a relay unit to generate sustained oscillation. By measuring the amplitude and period of the oscillation, the PID parameters can be calculated by substitute measured data into Ziegler-Nichols formulas. The conventional relay feedback quickly generates sustained oscillations without requiring iterations, thus the tuning efficiency is improved. The measured data is substituted into the Ziegler-Nichols tuning rules. However, neither stability is guaranteed, nor gain or phase margin can be specified. Several variations based on the relay feedback test have been proposed for the auto-tuning of PID controller.
U.S. Pat. No. 10,481,562, B2 discloses a method of tuning a controller based on the relay-feedback. It focuses on how to select the approximate relay magnitude and fixed hysteresis to avoid losing control of the process, thus ensuring the safety of the process. However, the method is based on the mathematical analysis, which may not correctly match the real system. The method uses the Ziegler-Nichols tuning rules, which may not produce a good tuning result for switched-mode DC-AC power VSCs, as the application and experiment are not specified.
U.S. Pat. No. 10,128,752, B1 discloses a system a method for controller auto-tuning using a perturbation sequence. The perturbation may include but is not limited to a pseudo-random binary sequence or a sinusoidal chirp sequence. The method is specified to multi-phase DC-DC buck converters. A perturbation sequence is injected onto a duty cycle for each phase of the converter, and an identification of the system is performed by determining a coefficient vector based on the output voltage and the set of perturbed duty cycle values; the controller is then tuned based on the derived coefficient vector. The dimension of the coefficient vector depends on the number of phases of the multi-phase buck converter; thus, the computing requirements increase exponentially with the number of phases. Moreover, the patent does not present the details of tuning procedures after acquiring the natural frequency of the process.
U.S. Pat. No. 7,925,362 B2 discloses a method of using integral of relay feedback response for improving the tuning quality. It demonstrates that the effects of harmonics may be mitigated by feeding back the integral of the process output instead of feeding back the process output.
U.S. Pat. No. 6,438,431 B1 discloses a method that replaces the relay unit by two relays, one standard relay unit and another a so-called parasitic relay, which together are arranged in a manner that allows for more points on the process frequency response to be accurately identified using only a single relay test.
The present invention proposes a method for the autotuning of a PID controller for the class of 3-phase DC-AC VSCs with an LC filter and a resistive load. Autotuning may be defined as the automatic online tuning of a controller either upon a user command or the occurrence of a pre-defined event, or at pre-set intervals set by the user. The proposed method is based on the modified relay feedback test (MRFT) auto-tuning method, which uses a single test stage and single tuning stage. The present invention proposes an appropriate application of the MRFT auto-tuning method to the mentioned class of VSCs by devising a method and apparatus of doing so. The resulting controller is expected to produce good dynamic performance when applied to a wide range of converters of the family of 3-phase DC-AC VSCs with an LC filter and a resistive load.
According to one or more aspects of the present disclosure, a system includes a PID controller having a voltage error input and a modulation index output, a digital pulse-width modulation (DPWM) module, power-electronic switches (such as IGBTs) configured as a 3-phase DC-AC VSC receiving an output of the DPWM, a voltage sensor configured to measure the output voltage in each of the three phases of the 3-phase DC-AC VSC then pass it on to an analog-to-digital converter to produce a digital equivalent of the measured voltage signals, and a modified relay feedback test (MRFT) block.
In one or more embodiments of the system according to the previous paragraph, the system further includes a software switching function (or software switch) to control the switching between a MRFT block and a PID controller.
In one or more embodiments of the system according to any one of the previous paragraphs, the system further includes instructions to perform a Park transformation (abc-dq0) and an inverse Park transformation (dq0-abc).
In one or more embodiments of the system according to any one of the previous paragraphs, an input to a MRFT block is an error signal obtained by comparing a reference output voltage (Vd-ref) and a transformed output voltage (Vd), where the latter is obtained by transforming the three measured VSC AC phase voltages (Voa, Vob, Voc) into the dq0 format (Vd, Vq, V0), then taking only the d-channel value of the transformed quantities.
In one or more embodiments of the system according to any one of the previous paragraphs, the 3-phase DC-AC VSC further includes a filter comprising at least one inductor and at least one capacitor and a resistive load.
According to one or more aspects of the present disclosure, a method of tuning a PID controller of a 3-phase DC-AC VSC providing a 3-phase voltage output is provided. The method includes:
where s is the Laplace variable;
According to one or more aspects of the present disclosure, non-transitory computer readable storage medium having data stored therein representing software executable by a computer. The software includes instructions to:
where s is the Lalace variable;
The present invention will now be described, by way of example with reference to the accompanying drawings, in which:
The present invention includes a method of using the modified relay feedback test autotuning method in order to tune a PID controller of a 3-phase DC-AC VSC, where the resulting controller is expected to produce near-optimal dynamic performance when applied to a wide range of converters of the family of 3-phase DC-AC VSCs. Unlike the methods described in the BACKGROUND section, the modified relay feedback test autotuning method includes tuning rules that guarantee a desired gain or phase margin.
The MRFT auto-tuning is a non-parametric PID controller tuning method, meaning that it does not require identification of the system or any of its parameters. The MRFT auto-tuning guarantees a specified gain or phase margin and can be designed to achieve high dynamic performance. The method consists of a simple test stage and a tuning stage. The PID controller to be tuned is of the following form, where Kc is the proportional gain, Ti the integral time and Td the derivative time.
The tuning rules of the PID controller are as follows, where coefficients c1, c2, and c3 are positive constants.
K
c
=c
1
K
u
,T
i
=c
2
T
u
,T
d
=c
3
T
u (2)
Ku and Tu are outputs of the test stage that will be explained shortly. The coefficients of the tuning rules (c1, c2, c3), as well as a threshold parameter (β), must be selected before the online MRFT auto-tuning is conducted. The present invention proposes the values of β=0.8, c1=0.95±5%, c2=0.36±5%, and c3=0.12±5%, which were obtained using a simulation-based optimization procedure that has an objective of resulting in near-optimal dynamic performance of the PID controller;
With reference to
In its original form according to prior art, the MRFT block has the following logic:
wherein the threshold parameter β is in the range 0<β<1, and where emax and emin represent the last (positive) maximum and last (negative) minimum of the error signal e(t), respectively. u(t−) is the control output immediately prior to time t. The auto-tuning is started with a test stage, where the MRFT block replaces the PID controller, and the system is runi in closed loop.
The original MRFT auto-tuning as described in prior art is not suitable for application to a 3-phase DC-AC VSC. The present invention proposes an appropriate application of the MRFT auto-tuning method to 3-phase DC-AC VSCs by devising the method and apparatus of doing so.
For the duration of the test stage of the MRFT autotuning method, a double-modulation scheme is followed. The usual modulation of the 3-phase voltages of a 3-phase DC-AC VSC via the DPWM is maintained, and an extra modulation due to the MRFT block is superposed on top of it.
With reference to
The MRFT block logic may also be described in the form of an equation, as given in eq (5) below. Compared to eq (3), the logic in eq (5) includes D, which allows for the double-modulation, and additionally it has been enhanced to allow for both positive and negative values for A whereas the logic in (3) only allowed a positive β.
For improved accuracy, Tu and α0 are best computed as the average over a few oscillation cycles.
The tuning stage is then simply to calculate Ku using (4), then calculate the updated PID parameters using (2).
An advantage of the present invention is that it can guarantee a desired gain or phase margin with only one test stage and one tuning stage, both without iterations, thus resulting in time savings and guaranteed stability.
A further advantage of the present invention is that the proposed tuning rules can achieve near optimal tuning for a large set of 3-phase DC-AC with the appropriate choice of the tuning rule coefficients, c1, c2, c3 and the threshold parameter β. As given above, the suggested values of these parameters, obtained using obtained using a simulation-based optimization procedure that has an objective of resulting in near-optimal dynamic performance of the PID controller, are: β=0.8, c1=0.95±5%, c2=0.36±5%, and c3=0.12±5%.
The present invention may be applied to standalone 3-phase DC-AC VSCs such as those found in uninterruptible power supplies and off-grid power systems.
The distinctive feature of the present invention is the adaptation of the MRFT autotuning method to 3-phase DC-AC VSCs, which guarantees the specified gain or phase margin defined by the user. Also, the provided values of the threshold parameter β=0.8 and the tuning rules coefficients c1=0.95±5%, c2=0.36±5%, and c3=0.12±5%, near-optimal dynamic performance of the autotuned PID controller is obtained for a wide range of designs of 3-phase DC-AC VSCs with an LC filter and a resistive load.
While the invention has been described with reference to an exemplary embodiment(s), it will be understood by those skilled in the art that various changes may be made, and equivalents may be substituted for elements thereof without departing from the scope of the invention. In addition, many modifications may be made to adapt a particular situation or material to the teachings of the invention without departing from the essential scope thereof. Therefore, it is intended that the invention is not limited to the disclosed embodiment(s), but that the invention will include all embodiments falling within the scope of the appended claims.
This application is a National Stage Application of International Patent Application No. PCT/IB2021/055878 filed Jun. 30, 2021, which claims priority under Article 8 of the Patent Cooperation Treaty to U.S. Provisional Patent Application 63/046,471 filed in the Unites States Patent and Trademark Office on Jun. 30, 2020, the entire disclosure of each of which is hereby incorporated by reference.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/IB2021/055878 | 6/30/2021 | WO |
Number | Date | Country | |
---|---|---|---|
63046471 | Jun 2020 | US |