Method, device, inverter and storage medium for inverter dual-loop control
By introducing a double-loop control method into the inverter, using repetitive controllers and Posicast controllers to achieve static error-free tracking and harmonic interference suppression of the inverter output voltage, the current distortion and frequency of the inverter under nonlinear loads are solved. Control accuracy and stability issues during changes, improving voltage quality and dynamic performance.
Patent Information
- Application Number
- CN202210305960.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-25
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2042-03-25
AI Technical Summary
It is difficult for the inverter to suppress the low-frequency harmonic components of the output voltage in a non-linear load environment, causing current distortion and affecting voltage quality. In addition, the traditional control method has a decrease in gain when the frequency changes, and the control accuracy and stability are poor.
Using a double-loop control method, combined with a repetitive controller and a Posicast controller, by obtaining the inverter output filter capacitor voltage and inductor current, it achieves static error-free tracking of AC signals and suppression of harmonic interference, avoiding the impact of resonance peaks on the inverter. Adverse effects.
It effectively suppresses the harmonic interference of the inverter output voltage, improves the control accuracy and stability, avoids the adverse effects of the resonance peak of the voltage control loop on the inverter, and enhances the dynamic performance of the inverter.
Smart Images

Figure CN114583995B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of power electronics technology, and in particular to a method, a device, an inverter and a storage medium for inverter dual-loop control. Background Art
[0002] In recent years, with the development of power electronics technology, nonlinear loads with internal rectifier devices, represented by rectifiers, have increased day by day, and higher and higher requirements have been put forward for the performance of inverter power supply systems. Limited by the switching frequency of high-power equipment, the bandwidth of the inverter voltage control loop based on proportional integral (PI) control is difficult to improve, and the low-frequency harmonic components of the output voltage cannot be effectively suppressed. In a nonlinear load environment, severely distorted output current will cause the inverter voltage to be capped, affecting the quality of the inverter voltage.
[0003] In addition to the static indicators of power quality, the dynamic performance of the inverter has also attracted much attention. In engineering, in order to filter out the switching subharmonic frequency, the inverter power supply that supplies power to information facilities is usually connected to an LC filter, which behaves as a weakly damped second-order system. This system has a resonant peak, which will introduce oscillations of the resonant frequency when the load is dynamic, thereby affecting the life of the inverter and its load. At present, a solution has been provided that uses a proportional resonant control method to implant an internal model of the AC command signal frequency in the controller to achieve infinite loop gain at the command frequency, ensuring that the control loop tracks the frequency signal without difference. However, if the controlled signal frequency changes, the gain of the voltage control loop at this frequency will drop significantly, and the control accuracy and stability of the inverter will be poor. Summary of the invention
[0004] The embodiments of the present invention provide a method, device, inverter and storage medium for inverter dual-loop control, so as to solve the problem of zero-error tracking of AC signals and suppression of harmonic interference signals during inverter control.
[0005] In a first aspect, an embodiment of the present invention provides a method for dual-loop control of an inverter, comprising:
[0006] Get the inverter output filter capacitor voltage , output filter inductor current and output voltage command ;
[0007] The output voltage command Subtract the output filter capacitor voltage , get the output voltage error signal, and input it into the repetitive controller and p controller Get the output filter inductor current command ;
[0008] The output filter inductor current command Subtract the output filter inductor current , get the output filter inductor current error signal and input it to the Posicast controller , and the modulation voltage is obtained ;
[0009] The modulation voltage Subtract the output filter capacitor voltage A sinusoidal pulse modulation wave of the inverter is obtained.
[0010] In a possible implementation, the repeat controller It includes: a filter and a compensator; wherein the filter is a low-pass filter.
[0011] In a possible implementation, it is characterized in that: the repetitive controller The expression is:
[0012]
[0013] in, is the expression of the compensator; is the expression of the filter; is the reference period; is a complex variable introduced in the complex frequency domain.
[0014] In a possible implementation, the filter expression is:
[0015]
[0016] in, For the filter The coefficient of , and 0< <1; , is the sampling frequency, is the base frequency.
[0017] In a possible implementation, the compensator is expressed as:
[0018]
[0019] in: is the gain of the repetitive controller; is the number of advance compensation steps for the delay caused by the controlled object and the filter; For the filter Domain model; is the sampling period; is a complex variable introduced in the complex frequency domain.
[0020] In a possible implementation, the Posicast controller The expression is:
[0021]
[0022] in, , , and They are the proportional coefficient and integral coefficient of the voltage loop PI controller respectively; is the proportional coefficient of the current loop P controller; , is the oscillation period of the controlled system; is the overshoot of the original system; is a complex variable introduced in the complex frequency domain; and They are filter inductor and filter capacitor respectively.
[0023] In one possible implementation, the voltage control loop open-loop transfer function is for:
[0024]
[0025] in, is the expression of the compensator; is the expression of the filter; is the reference period; is a complex variable introduced in the complex frequency domain; is the expression of the p controller; An expression for the Posicast controller.
[0026] In a second aspect, an embodiment of the present invention provides a device for inverter dual-loop control, comprising:
[0027] Acquisition module, used to obtain the inverter output filter capacitor voltage , output filter inductor current and output voltage command ;
[0028] A modulation module is used to convert the output voltage command Subtract the output filter capacitor voltage , get the output voltage error signal, and input it into the repetitive controller and p controller Get the output filter inductor current command ; The output filter inductor current instruction Subtract the output filter inductor current , get the output filter inductor current error signal and input it to the Posicast controller , and the modulation voltage is obtained ;
[0029] output module for converting the modulated voltage Subtract the output filter capacitor voltage A sinusoidal pulse modulation wave of the inverter is obtained.
[0030] In a third aspect, an embodiment of the present invention provides an inverter, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the method described in the first aspect or any possible implementation manner of the first aspect are implemented.
[0031] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method described in the first aspect or any possible implementation method of the first aspect are implemented.
[0032] The embodiment of the present invention provides a method, device, inverter and storage medium for inverter dual-loop control, introduces a repeated control method in the inverter control process, obtains the inverter output filter capacitor voltage , output filter inductor current and output voltage command , the output voltage command Subtract the output filter capacitor voltage , get the output voltage error signal, and input it into the repetitive controller and p controller Get the output filter inductor current command , using repetitive control to achieve zero-error tracking of AC signals and suppression of harmonic interference signals. Furthermore, the Posicast control method is introduced to output the filter inductor current command Subtract the output filter inductor current , get the output filter inductor current error signal and input it to the Posicast controller , and the modulation voltage is obtained ; Modulate the voltage Subtract the output filter capacitor voltage The sinusoidal pulse modulation wave of the inverter is obtained to achieve the suppression of the inverter's resonance peak. Therefore, the inverter dual-loop control is realized by combining Posicast control and repetitive control to avoid the adverse effects of the voltage control loop resonance peak on the inverter. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0034] Figure 1 It is the block diagram of the traditional inverter topology and its dual-loop control;
[0035] Figure 2 yes Figure 1 The structure block diagram of the inverter control system of the inverter topology and its dual-loop control block diagram shown;
[0036] Figure 3 This is a schematic diagram of the control principle of the Posicast control method;
[0037] Figure 4 It is an improved control structure diagram based on the traditional inverter topology;
[0038] Figure 5 It is a control structure diagram of an inverter with Posicast+repetitive control provided by an embodiment of the present invention;
[0039] Figure 6 is a flow chart of an implementation method for inverter dual-loop control provided by an embodiment of the present invention;
[0040] Figure 7 is a control structure diagram of an inverter with Posicast+repetitive control provided by another embodiment of the present invention;
[0041] Figure 8 The embodiment of the present invention provides a method for inverter dual-loop control and an open-loop Bode diagram of a voltage control loop of a traditional control system;
[0042] Fig. 9 Is the tracking error reduction factor and , The changing surface of
[0043] Fig.10 is a voltage control loop error amplitude-frequency characteristic curve of the method for inverter dual-loop control provided by an embodiment of the present invention;
[0044] Fig.11 is a schematic structural diagram of a device for inverter dual-loop control provided by an embodiment of the present invention;
[0045] Fig.12Schematic diagram of an inverter provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0046] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present invention. However, it should be clear to those skilled in the art that the present invention may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present invention.
[0047] In the current control scheme for the inverter, in order to ensure that the control loop tracks the frequency signal without error, a proportional resonant control method is used to implant an internal model of the AC command signal frequency in the controller to achieve infinite loop gain at the command frequency. However, the frequency adaptability problem limits the application scope of the proportional resonant controller, and it cannot suppress periodic disturbances.
[0048] The traditional inverter topology and its dual-loop control block diagram are as follows: Figure 1 As shown, the single-phase inverter is a full-bridge structure, and the DC voltage is , and They are filter inductor and filter capacitor respectively. In order to consider the equivalent internal resistance of the main circuit electrical components, and are the inductor and load current, The inverter adopts a dual closed-loop control strategy of output voltage and inductor current, where the voltage loop adopts a PI controller, and in order to achieve the stability of the control system, the current control loop adopts a P controller.
[0049] based on Figure 1 The structural block diagram of the inverter control system can be obtained as follows: Figure 2 As shown, and They are the voltage loop controller and the current loop controller, and their corresponding transfer functions are:
[0050] (1)
[0051] (2)
[0052] in, and are the proportional coefficient and integral coefficient of the voltage loop PI controller, is the proportional coefficient of the current loop P controller.
[0053] Depend on Figure 2Current command can be obtained To inverter output voltage The transfer function for:
[0054] (3)
[0055] Among them, the proportional parameter of the current controller is Depending on the bandwidth of the control loop Determine that a certain phase margin and amplitude margin must be met.
[0056] For a 20kW single-phase inverter, select the filter inductor and filter capacitor , equivalent resistance , switching frequency , and make the current loop cross the frequency ,Right now:
[0057] (4)
[0058] Calculated .
[0059] The phase margin PM of the current control loop is:
[0060] (5)
[0061] It can be obtained that PM=120°, and the current control loop is stable.
[0062] Open-loop transfer function of the voltage control loop for:
[0063] (6)
[0064] In this traditional control system, due to the weak damping characteristics of the current loop, the voltage control loop still has a resonant peak. Because the voltage loop containing the PI controller is a third-order system, the resonant frequency will become larger. When the inverter is dynamic or disturbed, the signal at the resonant frequency will be amplified, causing larger oscillations during dynamic conditions.
[0065] In a possible implementation, in order to solve the adverse effect of the voltage control loop resonance peak on the inverter, a Posicast controller is introduced at the output of the current control loop.
[0066] The original intention of the Posicast method is to solve the overshoot problem of dynamic systems by dividing the input signal into It is divided into two sub-signals of different amplitudes, sent to the controlled object, and then the responses are superimposed to eliminate the oscillation problem of the system. Figure 3Taking the typical underdamped second-order system with step input as an example, the basic principle of this method is explained in detail. Represented as a sub-signal and The synthesis of:
[0067] (7)
[0068] in, , Tn is the oscillation period of the controlled system, is the overshoot of the original system, and The unit step function and Delay The corresponding function (assuming in the figure that ).
[0069] Depend on Figure 3 It can be seen that since only a part of the command signal is delayed, the response time of the system is not affected, but through the superposition effect, the oscillation of the system will be offset. With accurate selection, the overshoot and oscillation of the control system can be reduced to zero.
[0070] By Laplace transforming equation (7), we can get the transfer function of the Posicast controller: for:
[0071] (8)
[0072] in, , Tn is the oscillation period of the controlled system, is the overshoot of the original system.
[0073] Putting the Posicast controller at the output of the current control loop, we get the improved control structure diagram as shown below: Figure 4 shown.
[0074] Depend on Figure 4 And formula (6), the closed-loop transfer function of the voltage control loop containing the Posicast controller Gupo(s) can be obtained as:
[0075] (9)
[0076] Based on the calculated resonant frequency of the current control loop ,choose , and take the overshoot of the original system It is concluded that after Posicast control, the resonance peak of the voltage control loop is significantly suppressed, while the system stability is not affected.
[0077] In the above implementation, the dual-loop improved control based on Posicast control can solve the oscillation problem of the voltage control loop, but the closed-loop gain at the fundamental frequency of 50Hz is negative, and there is a phase lag, so the control strategy cannot achieve zero-static tracking of the output voltage. On the other hand, under nonlinear loads, the inverter output current is severely distorted, and low-order harmonic currents have a large interference on the inverter voltage, which also puts forward higher requirements on the anti-interference ability of the voltage control loop.
[0078] The embodiment of the present invention aims to utilize the characteristics of the repetitive controller including the internal model of DC, fundamental wave and infinite harmonic signals, and construct an inverter control system using a repetitive control strategy. First, Posicast control is introduced to achieve the resonance peak suppression of the inverter. At the same time, repetitive control is used to achieve the zero-static tracking of the AC signal and the suppression of the harmonic interference signal, thereby avoiding the adverse effect of the voltage control loop resonance peak on the inverter.
[0079] In order to make the purpose, technical solutions and advantages of the present invention more clear, specific embodiments will be described below in conjunction with the accompanying drawings.
[0080] Figure 5 The inverter control structure diagram of Posicast+repetitive control provided by the embodiment of the present invention. Figure 5 As shown in the figure is the current control loop transfer function of the Posicast controller analyzed above, for Figure 5 The repetitive controller transfer function is introduced on the basis of the internal model principle. It can be seen from the internal model principle that for a stable control system, if the controller contains the internal model of the system input signal (reference signal and disturbance signal), the control system can track without static error. The voltage distortion caused by the inverter dead zone and the distorted current of the nonlinear load are regarded as disturbance inputs. Since the disturbance signal is periodic, it can be regarded as an infinite harmonic superposition.
[0081] The repetitive controller transfer function is It can be expressed as:
[0082] (10)
[0083] in, is the fundamental wave period. As can be seen from the above formula, the repetitive controller contains the internal model of DC, fundamental and infinite harmonic signals. Therefore, the inverter control system can be constructed using the repetitive control strategy to achieve zero-static tracking of AC signals and suppression of harmonic interference signals.
[0084] Figure 6 is a flowchart of a method for implementing a dual-loop control of an inverter provided by an embodiment of the present invention. The method is applied to Figure 5The inverter control structure shown includes the following steps:
[0085] S601, obtain the inverter output filter capacitor voltage , output filter inductor current and output voltage command .
[0086] S602, the output voltage instruction Subtract the output filter capacitor voltage , get the output voltage error signal, and input it into the repetitive controller and p controller Get the output filter inductor current command .
[0087] S603, output filter inductor current command Subtract the output filter inductor current , get the output filter inductor current error signal and input it to the Posicast controller , and the modulation voltage is obtained .
[0088] S604, the modulation voltage Subtract the output filter capacitor voltage Get the sinusoidal pulse modulation wave of the inverter.
[0089] The original intention of the Posicast method is to solve the overshoot problem of the dynamic system. The input signal is divided into two sub-signals with different amplitudes according to the time interval td, and then sent to the controlled object. The responses are then superimposed to eliminate the oscillation problem of the system.
[0090] Introducing repetitive control in the inverter control system allows the controller to contain the internal model of the system input signal (reference signal and disturbance signal), and the control system has no static error tracking. The voltage distortion caused by the inverter dead zone and the distorted current of the nonlinear load are regarded as disturbance inputs. Since the disturbance signal is periodic, it can be regarded as an infinite harmonic superposition. The inverter control system is constructed using a repetitive control strategy to achieve no static error tracking of the AC signal and suppression of harmonic interference signals.
[0091] In the embodiment of the present invention, a repetitive control method is introduced in the inverter control process to obtain the inverter output filter capacitor voltage , output filter inductor current and output voltage command , the output voltage command Subtract the output filter capacitor voltage , get the output voltage error signal, and input it into the repetitive controller and p controller Get the output filter inductor current command , using repetitive control to achieve zero-error tracking of AC signals and suppression of harmonic interference signals. Furthermore, the Posicast control method is introduced to output the filter inductor current command Subtract the output filter inductor current to obtain the output filter inductor current error signal, and input it into the Posicast controller to obtain the modulation voltage; subtract the output filter capacitor voltage from the modulation voltage to obtain the inverter's sinusoidal pulse modulation wave, thereby suppressing the inverter's resonance peak. Therefore, the Posicast control and repetitive control are combined to realize the inverter dual-loop control, avoiding the adverse effects of the voltage control loop resonance peak on the inverter.
[0092] In a possible implementation, the repetitive controller in step S602 includes: a filter and a compensator, wherein the filter is a low-pass filter.
[0093] Figure 7 This is a control structure diagram of an inverter with Posicast+repetitive control provided by another embodiment of the present invention. Figure 7 As shown, the repetitive controller consists of two parts: the filtering link and the compensation unit. To ensure the stability of the control system, it is generally selected, which can be a constant or a low-pass filter. Since the controlled object is an inertial link, there is a certain delay. In order to send the output signal of the controller to the controlled object in time and eliminate the influence of the error quickly and effectively, the phase and amplitude information of the control signal are required to be accurate, so as to realize the compensation of the phase and amplitude of the controller output signal and improve the control performance of the inverter system. For the convenience of analysis, when designing the repetitive controller, the influence of Posicast control is ignored.
[0094] In one possible implementation, the repeating controller The expression is:
[0095] (11)
[0096] in, is the expression of the compensator; is the expression of the filter; is the reference period; is a complex variable introduced in the complex frequency domain.
[0097] In one possible implementation, the filter expression is:
[0098] (12)
[0099] in, For the filter The coefficient of , and 0< <1; , is the sampling frequency, is the base frequency.
[0100] In one possible implementation, in the lead compensation link and the forward channel filter, the compensator expression is:
[0101] (13)
[0102] in: is the gain of the repetitive controller; is the number of advance compensation steps for the delay caused by the controlled object and the filter; For the filter Domain model; is the sampling period; is a complex variable introduced in the complex frequency domain.
[0103] Sampling period , the Z-domain model of the current control loop transfer function (3) is calculated using the bilinear transformation method:
[0104] (14)
[0105] Will Designed as a second-order low-pass filter, its cutoff frequency is , damping ratio , the corresponding Z domain model is:
[0106] (15)
[0107] Accused and filter The phase lag is caused by the leading link Compensation, select the number of look-ahead steps , in the low and medium frequency bands, the leading link It can effectively compensate for the phase delay caused by the controlled object and the low-pass filter.
[0108] Combining the Posicast method and the repetitive control method, a Posicast+repetitive control inverter control structure is proposed, which includes the current control loop transfer function of the Posicast controller and a repetitive controller consisting of a filter link and a compensation unit. Finally, the voltage control loop gain at the fundamental frequency and harmonic frequency is significantly increased, while the bandwidth and phase margin of the control system are not affected, and the control system is stable.
[0109] In any of the foregoing embodiments, Figure 7In the inverter control system of Posicast+repetitive control shown in the figure, the Posicast controller The expression is:
[0110] (16)
[0111] in, , , and They are the proportional coefficient and integral coefficient of the voltage loop PI controller respectively; is the proportional coefficient of the current loop P controller; , is the oscillation period of the controlled system; is the overshoot of the original system; is a complex variable introduced in the complex frequency domain; and They are filter inductor and filter capacitor respectively.
[0112] exist Figure 7 In the inverter control system with Posicast+repetitive control shown in the figure, the open-loop transfer function of the voltage control loop is for:
[0113] (17)
[0114] in, is the expression of the compensator; is the expression of the filter; is the reference period; is a complex variable introduced in the complex frequency domain; is the expression of p controller; An expression for the Posicast controller.
[0115] In order to verify the influence of the inverter dual-loop control method provided in the above embodiment on the frequency response of the inverter system, the corresponding Bode diagram is obtained through experiments as follows: Figure 8 It can be seen that after the introduction of Posicast+ repetitive control, the gain of the voltage control loop at the fundamental frequency and harmonic frequency is significantly increased, while the bandwidth and phase margin of the control system are not affected, and the control system is stable.
[0116] Among them, the tracking error for:
[0117] (18)
[0118] in, is the voltage feedback control loop error without Posicast+repetitive control. After the Posicast+repetitive control is introduced, the error reduction factor α is:
[0119] (19)
[0120] Fig. 9 The tracking error is reduced by a factor of and , The changing surface of Take 0.95, When the value is 0.6, the fundamental tracking error is reduced by 13 times after the introduction of Posicast+ repetitive control compared to direct voltage closed-loop control.
[0121] Fig.10 This is the error amplitude-frequency characteristic curve of the voltage control loop. It can be seen that the tracking error is very small at both the fundamental frequency and the harmonic frequency, which reflects the fundamental tracking and harmonic suppression capabilities of Posicast+ repetitive control.
[0122] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
[0123] The following is an embodiment of the device of the present invention. For details not described in detail, reference may be made to the corresponding method embodiments described above.
[0124] Fig.11 The structure diagram of the device for inverter dual-loop control provided by the embodiment of the present invention is shown. For the convenience of description, only the part related to the embodiment of the present invention is shown, which is described in detail as follows:
[0125] like Fig.11 As shown, the device for inverter dual-loop control includes: an acquisition module 110 , a modulation module 111 and an output module 112 .
[0126] The acquisition module 110 is used to acquire the inverter output filter capacitor voltage, output filter inductor current and output voltage command.
[0127] The modulation module 111 is used for subtracting the output filter capacitor voltage from the output voltage command to obtain an output voltage error signal, and inputting the signal into the repetitive controller and the p controller respectively to obtain an output filter inductor current command; subtracting the output filter inductor current from the output filter inductor current command to obtain an output filter inductor current error signal, and inputting the signal into the Posicast controller to obtain a modulation voltage.
[0128] The output module 112 is used to obtain the sinusoidal pulse modulation wave of the inverter by subtracting the output filter capacitor voltage from the modulation voltage.
[0129] In an embodiment of the present invention, a repetitive control method is introduced in the inverter control process to obtain the inverter output filter capacitor voltage, output filter inductor current and output voltage command, and the output voltage command is subtracted from the output filter capacitor voltage to obtain an output voltage error signal, which is respectively input into a repetitive controller and a p controller to obtain an output filter inductor current command, and repetitive control is used to achieve zero-static tracking of the AC signal and suppression of harmonic interference signals. Further, a Posicast control method is introduced to subtract the output filter inductor current command from the output filter inductor current to obtain an output filter inductor current error signal, which is input into a Posicast controller to obtain a modulation voltage; the modulation voltage is subtracted from the output filter capacitor voltage to obtain a sinusoidal pulse modulation wave of the inverter, and the resonance peak of the inverter is suppressed. Therefore, the Posicast control and repetitive control are combined to achieve dual-loop control of the inverter, avoiding the adverse effects of the voltage control loop resonance peak on the inverter.
[0130] Fig.12 Schematic diagram of an inverter provided by an embodiment of the present invention. Fig.12 As shown, the inverter 12 of this embodiment includes: a processor 120, a memory 121, and a computer program 122 stored in the memory 121 and executable on the processor 120. When the processor 120 executes the computer program 122, the steps in the above-mentioned method embodiments for inverter dual-loop control are implemented, such as Figure 2 Alternatively, when the processor 120 executes the computer program 122, the functions of each module / unit in the above-mentioned device embodiments are realized, for example Fig.11 The functions of the modules 110 to 112 are shown.
[0131] Exemplarily, the computer program 122 may be divided into one or more modules / units, which are stored in the memory 121 and executed by the processor 120 to implement the present invention. The one or more modules / units may be a series of computer program instruction segments capable of implementing specific functions, which are used to describe the execution process of the computer program 122 in the inverter 12. For example, the computer program 122 may be divided into Fig.11 Modules 110 to 112 are shown.
[0132] Those skilled in the art will understand that Fig.12It is only an example of the inverter 12 and does not constitute a limitation of the inverter 12. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the inverter may also include input and output devices, network access devices, buses, etc.
[0133] The processor 120 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0134] The memory 121 may be an internal storage unit of the inverter 12, such as a hard disk or memory of the inverter 12. The memory 121 may also be an external storage device of the inverter 12, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the inverter 12. Further, the memory 121 may also include both an internal storage unit and an external storage device of the inverter 12. The memory 121 is used to store the computer program and other programs and data required by the inverter. The memory 121 may also be used to temporarily store data that has been output or is to be output.
[0135] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0136] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0137] 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 depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0138] In the embodiments provided by the present invention, it should be understood that the disclosed device / inverter and method can be implemented in other ways. For example, the device / inverter embodiments described above are only schematic. For example, the division of the modules or units is 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. Another point is that the mutual coupling or direct coupling or communication connection 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.
[0139] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0140] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0141] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned method embodiments for inverter dual-loop control can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device that can carry the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practices in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practices, computer-readable media does not include electrical carrier signals and telecommunication signals.
[0142] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. A method for inverter dual-loop control, characterized in that: include: Get the inverter output filter capacitor voltage , output filter inductor current and output voltage command ; The output voltage command Subtract the output filter capacitor voltage , get the output voltage error signal, and input it into the repetitive controller and p controller Get the output filter inductor current command ; The output filter inductor current command Subtract the output filter inductor current , get the output filter inductor current error signal and input it to the Posicast controller , and the modulation voltage is obtained ; The modulation voltage Subtract the output filter capacitor voltage Obtaining a sinusoidal pulse modulation wave of the inverter; Wherein, the repeat controller It includes: a filter and a compensator; the filter is a low-pass filter; The repeat controller The expression is: in, is the expression of the compensator; is the expression of the filter; is the reference period; is a complex variable introduced in the complex frequency domain; The expression of the filter is: in, For the filter The coefficient of , and 0< <1; , is the sampling frequency, is the fundamental frequency; The expression of the compensator is: in: is the gain of the repetitive controller; is the number of advance compensation steps for the delay caused by the controlled object and the filter; For the filter Domain model; is the sampling period; is a complex variable introduced in the complex frequency domain; The Posicast Controller The expression is: in, , , and They are the proportional coefficient and integral coefficient of the voltage loop PI controller respectively; is the proportional coefficient of the current loop P controller; , is the oscillation period of the controlled system; is the overshoot of the original system; is a complex variable introduced in the complex frequency domain; and They are filter inductor and filter capacitor respectively; is the equivalent resistance of the inverter.
2. The method according to claim 1, characterized in that: Voltage control loop open loop transfer function for: in, is the expression of the compensator; is the expression of the filter; is the reference period; is a complex variable introduced in the complex frequency domain; is the expression of the p controller; An expression for the Posicast controller.
3. A device for executing the method for inverter dual-loop control according to claim 1 or 2, characterized in that: include: Acquisition module, used to obtain the inverter output filter capacitor voltage , output filter inductor current and output voltage command ; A modulation module is used to convert the output voltage command Subtract the output filter capacitor voltage , get the output voltage error signal, and input it into the repetitive controller and p controller Get the output filter inductor current command ; The output filter inductor current command Subtract the output filter inductor current , get the output filter inductor current error signal and input it to the Posicast controller , and the modulation voltage is obtained ; output module for converting the modulated voltage Subtract the output filter capacitor voltage A sinusoidal pulse modulation wave of the inverter is obtained.
4. An inverter, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 2 are implemented.
5. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method as claimed in any one of claims 1 to 2 are implemented.
