Hysteresis inverters are used in many low and medium voltage utility applications when the inverter line current is required to track a sinusoidal reference within a specified error margin. Line harmonic generation from those inverters depends principally on the particular switching pattern applied to the valves. The switching pattern of hysteresis inverters is produced through line current feedback and it is not pre-determined unlike the case, for instance, of Sinusoidal Pulse-Width Modulation (SPWM) where the inverter switching function is independent of the instantaneous line current and the inverter harmonics can be obtained from the switching function harmonics.
This chapter derives closed-form analytical approximations of the harmonic output of single-phase half-bridge inverter employing fixed or variable band hysteresis current control. The chapter is organized as follows: the harmonic output of the fixed-band hysteresis current control is derived in Section 2, followed by similar derivations of the harmonic output of the variable-band hysteresis controller in Section 3. The developed models are validated in Section 4 through performing different simulations studies and comparing results obtained from the models to those computed from MATLAB/Simulink. The chapter is summarized and concluded in section 5.
2. Fixed-band hysteresis control
2.1. System description
Fig.1 shows a single-phase neutral-point inverter. For simplicity, we assume that the dc voltage supplied by the DG source is divided into two constant and balanced dc sources, as in the figure, each of value. The element on the ac side represents the combined line and transformer inductance and losses. The ac source represents the system voltage seen at the inverter terminals. The inverter line current, in Fig.1, tracks a sinusoidal reference through the action of the relay band and the error current.
In Fig.2, the fundamental frequency voltage at the inverter ac terminals when the line current equals the reference current is the reference voltage,. Fig.2 compares the reference voltage to the instantaneous inverter voltage resulting from the action of the hysteresis loop.
Referring to Fig.2, when valve is turned on, the inverter voltage is; this forces the line current to slope upward until the lower limit of the relay band is reached at. At that moment, the relay switches on and the inverter voltage becomes, forcing the line current to reverse downward until the upper limit of the relay band is reached at.
The bang-bang action delivered by the hysteresis-controlled inverter, therefore, drives the instantaneous line current to track the reference within the relay band. With reference to Fig. 3 and Fig. 4, the action of the hysteresis inverter described above produces an error current waveform close to a triangular pulse-train with modulating duty cycle and frequency.
2.2. Error current mathematical description
The approach described in this section closely approximates the error current produced by the fixed-band hysteresis action, by a frequency-modulated triangular signal whose time-varying characteristics are computed from the system and controller parameters. Subsequently, the harmonic spectrum of the error current is derived by calculating the Fourier transform of the complex envelope of frequency modulated signal.
Results in the literature derived the instantaneous frequency of the triangular error current in terms of the system parameters (). Using these results and referring to Fig. 3 (Albanna & Hatziadoniu, 2009, 2010):
where the average switching (carrier) frequency is given by
and is the amplitude modulation index of the inverter expressed in terms of the peak reference voltage and the dc voltage as:
Examining (Eq. 2), the instantaneous frequency of the error current consists of the carrier frequency and a modulating part that explicitly determines the bandwidth of the error current spectrum, as it will be shown later in this chapter. Notice that the modulating frequency is twice the fundamental frequency, that is,
Now, with the help of Fig.3, we define the instantaneous duty cycle of the error current as the ratio of the rising edge time to the instantaneous period. Noting that, we obtain after using (Eq. 1), (Eq. 2) and manipulating,
Implicit into (Eq. 3) is the reference voltage. The relation between the instantaneous duty cycle and the reference voltage can be demonstrated in Fig.4: the duty cycle reaches its maximum value at the minimum of; it becomes 0.5 (symmetric form) at the zero of; and it reaches its minimum value (tilt in the opposite direction) at the crest of. Next, we will express by the Fourier series of a triangular pulse-train having an instantaneous duty cycle and an instantaneous frequency:
As the Fourier series of the triangular signal converges rapidly, the error current spectrum is approximated using the first term of the series in (Eq. 6). Therefore truncating (Eq. 6) to and using (Eq. 2) yields
where. The frequency modulation index
determines the frequency bandwidth
that contains 98% of the spectral energy of the modulated sinusoid in (Eq. 7). To simplify (Eq. 7) further, we use the following convenient approximation (see Appendix-A for the derivation): Given that, , then
Therefore (Eq. 7) becomes,
Next, the cosine term in (Eq. 12) is simplified by using the infinite product identity and truncating to the first term. That is,
where. The harmonic spectrum of the error current is the convolution of the spectra of the product terms and in (Eq. 14). Therefore,
where denotes convolution. In order to calculate, we rewrite as
The positive frequency half of the spectrum is therefore given by
Using the recurrence relation of the Bessel functions,
the positive half of the error current spectrum takes the final form:
The calculation of the non-characteristic harmonic currents using (Eq. 20) is easily executed numerically as it only manipulates a single array of Bessel functions. The spectral energy is distributed symmetrically around the carrier frequency with spectrum bands stepped apart by. Fig.5 shows the harmonic spectrum of the error current as a function of the frequency modulation index. If the operating conditions of the inverter forces to increase to, then the spectral energy shifts to higher carrier frequency. Additionally, as the average spectral energy is independent of and depends on the error bandwidth, the spectral energy spreads over wider range of frequencies, , with an overall decrease in the band magnitudes to attain the average spectral energy at a constant level as shown in Fig.5. The Total Harmonic Distortion (THD) of the line current is independent of and is directly proportional to the relay bandwidth.
2.3. Model approximation
The harmonic model derived in the previous section describes the exact spectral characteristics of the error current by including the duty cycle to facilitate the effect of the reference voltage on the error current amplitude and tilting. Moreover, the consideration of in (Eq. 6) predicts the amplitude of the error current precisely, which in turn, would result in accurate computation of the spectrum bands magnitudes according to (Eq. 20). The model can be further simplified to serve the same functionality in without significant loss of numerical accuracy. As the instantaneous frequency of the error current, given by (Eq. 2), is independent of, the spectral characteristics such as and are also independent of and therefore, setting to its average value 0.5 will slightly affect the magnitude of the spectrum bands according to (7). Subsequently, the error current harmonic spectrum simplifies to
where the carrier (average) frequency is given by (Eq. 3), the frequency modulation index is given by (Eq. 8). The 3 dB frequency bandwidth that contains 98% of the spectral energy is given by (Eq. 9).
2.4. Dc current harmonics
The hysteresis switching action transfers the ac harmonic currents into the inverter dc side through the demodulation process of the inverter. As the switching function is not defined for hysteresis inverters, the harmonic currents transfer can be modeled through balancing the instantaneous input dc and output ac power equations.
With reference to Fig. 1, and assuming a small relay bandwidth (i.e.), the application of Kirchhoff Current Law (KCL) at node gives:
The power balance equation over the switching period when is on is given by:
Using the instantaneous output voltage
in (Eq. 24), the dc current will have the form:
where is the derivative of with respect to time. Using the product-to-sum trigonometric identity and simplifying yields:
The positive half of the dc current spectrum is thus computed from the application of the Fourier transform and convolution properties on (Eq. 27), resulting in
where is the error current spectrum given by (Eq. 22). The average, fundamental, and harmonic components of the dc current spectrum are respectively given by
Each spectrum band of the ac harmonic current creates two spectrum bands in the dc side due to the convolution process implicitly applied in (Eq. 28). For instance, the magnitude of the ac spectrum band at is first scaled by according to (Eq. 28) then it is shifted by to create the two dc bands pinned at as shown in Fig.6. Consequently, every two successive bands in the ac spectrum create one corresponding dc spectrum band that is located half the frequency distance between the two ac bands.
2.5. Harmonic generation under distorted system voltages
The harmonic performance of the hysteresis inverter in Fig. 7 under distorted dc and ac system voltages is analyzed. The presence of background harmonics in the ac and dc voltages will affect the instantaneous frequency of the inverter according to (Eq. 30) as
where the dc distortion, and the distortion of the ac system voltage, , are given as:
where is given by (Eq. 2) and
are the frequency noise terms due to the system background distortions. The amplitude modulation indices of the ac and dc harmonic distortions are given by :
Integrating (Eq. 32), the error current is thus approximated by the frequency-modulated sinusoid:
where,and. The corresponding ac and dc frequency modulation indices are given by
Applying the Fourier transform and convolution properties on (Eq. 35), the positive half of the frequency spectrum simplifies to:
Where is given by (Eq. 22) and
are the ac and dc modulating spectra. Generally, for any number of ac voltage distortions and number of dc distortions, (Eq. 40) is applied first to calculate the total ac and dc modulating spectra, then (Eq. 38) is used to compute the error current harmonic spectrum.
3. Variable-band hysteresis control
3.1. Error current mathematical description
The harmonic line generation of the half-bridge inverter of Fig.1 under the variable-band hysteresis current control is derived. The constant switching frequency of the error current in (Eq. 2), i.e., is achieved by limiting the amplitude of the error current to stay within the variable band [54, 55]:
where the maximum value of the modulating relay bandwidth is
and is the target switching frequency. Subsequently, the error current is approximated by the amplitude-modulated sinusoid of frequency as:
The error current spectrum in (Eq. 44) consists of a center band at the switching frequency and two side bands located at. The frequency bandwidth that contains the spectral energy of (Eq. 44) is simply.
3.2. Dc current harmonics
The approach developed in 2.2.4 also applies to compute the dc current harmonic spectrum when the variable-band hysteresis control. The positive half of the dc current harmonic spectrum is computed by substituting (Eq. 44) in (Eq. 28).
3.3. Harmonic generation under distorted system voltages
The presence of background harmonics in the ac and dc voltages, given in (Eq. 31) will affect the instantaneous frequency of the inverter according to (Eq. 30). Subsequently, to achieve the constant switching frequency, the modulating error band in (Eq. 41) will also contain the corresponding distortions terms as
where is the error under zero background distortion given by (Eq. 41), and
where define the modulation index of the ac and dc background distortion terms respectively as (Eq. 34).
The new terms introduced by the background distortion appear as amplitude modulations in (Eq. 45). The error current is then expressed as:
The harmonic spectrum of the error current simplifies to
where is the zero-background-distortion error as in (Eq. 44), and the new terms due to background distortion:
Examining (Eq. 49), the presence of the harmonic distortions in the system tends to scatter the spectrum over lower frequencies, more specifically, to, for or to for.
The harmonic performance of the half-bridge inverter under the fixed- and variable-band hysteresis control is analyzed. Results computed from the developed models are compared to those obtained from time-domain simulations using MATLAB/Simulink. Multiple simulation studies are conducted to study the harmonic response of the inverter under line and control parameter variations. The grid-connected inverter of Fig.1 is simulated in Simulink using:, , , , and. In order to limit the THD of the line current to 10%, the line current tracks the sinusoidal reference within the maximum relay bandwidth of.
4.1. Fixed-band hysteresis current control
The ac outputs of the half-bridge inverter under the fixed-band hysteresis current control are shown in Fig.8. the fundamental component of the bipolar output voltage has a peak value of 263.7
The harmonic parameters of the model are computed the system and controller parameters as follows: substituting the reference voltage in (Eq. 4) results in an amplitude modulation index of; from (Eq. 3), the carrier frequency is; and from (Eq. 8), the frequency modulation index is 3.2. Fig. 9 compares the harmonic spectrum of the error current computed from (20) to that obtained from the Fourier analysis of the time-domain simulation results using Simulink. The figure shows a good agreement between the two spectra in terms of frequency order, magnitude and angle.
The spectrum bands are concentrated around the order of the carrier frequency and are stepped apart by two fundamental frequency orders as shown in Fig. 9. With reference to (Eq. 9) and Fig. 9, it is shown that 98% of the spectrum power is laying in the bandwidth. Therefore, the spectrum bands outside this range contribute insignificantly to the total spectrum power and thus can be truncated from the spectrum for easier numerical applications.
To study the effect of line parameter variations on the harmonic performance of the inverter, the DG source voltage is decreased to have the dc voltage, then the harmonic spectrum is recomputed using the model and compared to the results obtained from Simulink. Decreasing will increase and according to (Eq. 4) and (Eq. 8) respectively, but will decrease according to (Eq. 3).
With reference to the results shown in Fig.10, the harmonic spectrum will shift to the lower frequency order of, approximately, 18, and will span a wider range, as is greater. The frequency bandwidth has slightly increased to from the previous value of due to the slight increase in to.
The total spectral energy of the error current depends on the relay bandwidth and it is independent of. As increases the spectrum energy redistributes such that the bands closer to decrease in magnitude and those that are farther from increase as shown in Fig. 10. The Total Harmonic Distortion (THD) of the line current thus will not be affected by changing.
Next, the system and control parameters are set to their original values and the inductance is decreased by 25% to. The results are shown in Fig. 11. Lower inductance results in higher switching frequency according to (Eq. 3) and higher according to (Eq. 8). The harmonic spectrum shifts to higher frequencies as is increasing, and the spectrum spans a wider range as is increasing. The amplitude modulation index and are affected by the system inductance variation since the inverter reference voltage depends on system inductance.
The width of the relay band is reduced by half while maintaining the rest of the parameters at their base values. As (Eq. 4) indicates, is independent of and thus it remains unchanged from its value of 0.659. Referring to Fig. 12, as the error band is reduced by half, the carrier frequency doubles and the harmonic spectrum will be concentrated around, approximately, the order of 46. The frequency modulation index doubles and thus the spectrum spreads over a wider frequency range overall decreasing in magnitude, as seen in Fig. 12. Under these conditions, the THD of the line current will decrease to approximately 5% as the spectral energy of the spectrum is proportional to the relay bandwidth.
To study the harmonic performance of the inverter under distorted system voltages, the system and control parameters are set to the original values and the 11th order voltage oscillator is included in the source voltage to simulate a distorted ac network voltage. The simulation is run for 30 fundamental periods to ensure solution transients are vanishing, and the last fundamental period of the inverter ac outputs are shown in Fig.13.
Comparing Fig. 8 and Fig. 13, the reference voltage is distorted due to the presence of the 11th voltage oscillator in the source. The output voltage of the inverter is still bipolar, i.e.. Fig. 14 compares the instantaneous frequency of the error current under sinusoidal ac voltage to that under the distorted ac system voltage.
According to (Eq. 32), the carrier frequency is constant and independent of the distortion terms. The amplitude modulation index is computed from (Eq. 34), subsequently, the harmonic parameters and are computed from (Eq. 37).
Fig. 15 compares the harmonic spectrum obtained from (Eq. 38) to that computed from the Fourier analysis of Simulink outputs with very good agreement in terms of frequency order and magnitude. The spectral energy is centered on the carrier frequency with spectrum bands are stepped apart by. The frequency bandwidth increases due to the distortion terms, and as Fig. 15 shows, the spectrum bands leaks to as low of a frequency order as 5. Notice that the THD of the line current did not change as the controller bandwidth did not change.
Similar analysis is performed to study the harmonic performance of the inverter when the dc voltage contains the distortion. The inverter instantaneous outputs obtained from Simulink are shown in Fig.16. Notice that the voltage is still bipolar but distorted.
The dc distortions impose additional noise component on the instantaneous frequency, see Fig.17, and subsequently, according to (Eq. 38) the harmonic spectrum is drifting to lower order harmonics as shown in Fig.18.
4.2. Variable-band hysteresis control
The harmonic performance of the same half-bridge inverter used in section 2.4.1 is analyzed when the variable-band hysteresis current control is employed. Similar harmonic studies to those in the previous section are performed to compute the spectral characteristics of the inverter harmonic outputs using the developed models in section 2.3 and compare them with results obtained from time-domain simulations using Simulink.
The instantaneous line outputs of the single-phase inverter operating under variable hysteresis control are shown in Fig.19. With the maximum relay band is set to 2.82, the error current resulting from the variable-band control is an amplitude-modulated triangular signal of carrier frequency. Regardless of the adopted switching pattern, the reference voltage is and hence,. From (Eq. 42), the average frequency is. Fig.20 compares the spectrum computed from (Eq. 44) to that computed from the harmonic analysis of time-domain simulation of the inverter using Simulink. The figure shows a good agreement between the two spectra in terms of frequency order and magnitude. The center band is located at and the side bands are stepped by as shown in Fig.20. The spectral energy of is distributed over the frequency range to (i.e.).
The dc voltage was decreased to 350
The new values are shown in Fig.21. Consequently, the spectrum will shift to the lower frequency order of, approximately, 25.7, while spanning over the constant bandwidth of. The spectral magnitudes of depend on the relay bandwidth and; therefore, with fixing and decreasing, according to (Eq. 44), the center band magnitude decreases as is increasing. While the magnitudes of the side bands are directly proportional to, their magnitudes will increase. This is clear from comparing the harmonic in Fig.21 to that of Fig.20. Similar to the fixed-band control, the Total Harmonic Distortion (THD) of the line current is independent of.
when is halved, the carrier frequency doubles and the harmonic spectrum will be concentrated around, approximately, the order of 59. The THD of the line current will decrease to as low as 5% since decreases. This is demonstrated when comparing the harmonic spectra of Fig.22 and Fig.20.
The value of the inductance is decreased to. The results are shown in Fig.23.
Lower inductance results in higher switching frequency. The harmonic spectrum shifts to higher frequencies as is increasing to. As is directly proportional to the system inductance, decreases and therefore, the magnitude of the center band slightly increases while the side bands decrease in magnitude as shown in Fig.23. The dc current harmonics are computed from substituting (Eq. 44) in (Eq. 28). The resulting spectra are shown in Fig.24 with good agreement in terms of frequency orders and magnitudes.
The harmonic performance of the inverter under distorted system voltages is studied by simulating the system with the distorted 8th order dc voltage and the 11th order ac voltage. Results obtained from model using (Eq. 48) and (Eq. 49) are compared to those computed from Simulink in Fig.25, the model predicts the frequency distribution of the dc current harmonics and accurately predicts their magnitudes.
4.3. Comparison and discussion
The spectral characteristics of the line current under the fixed- and variable-band hysteresis control are compared in this section. For identical system configurations and controller settings, i.e., the analytical relation between and is stated in terms of the amplitude modulation index as:. The inverter operates at higher switching frequency when it employs the variable-band hysteresis control. In addition, from a harmonic perspective, the frequency bandwidth of in the variable-band control mode is constant () and independent of the system and controller parameters; unlike the fixed-band controller where the bandwidth depends implicitly on the system and controller parameters through the frequency modulation index.
The THD of the line current is directly proportional to relay bandwidth. For similar controllers setting, the THD is constant as the average spectral energy of the line current is constant. In fixed- and variable-band modes, the variation of system parameters shifts the spectral energy of to higher or lower frequency orders (depending on the carrier frequency), while simultaneously redistributing the spectral energy over the frequency bandwidth. The spectral energy of the error current is independent of system parameters; and hence, the THD of the line current is constant for different system settings.
A closed-form numerically efficient approximation for the error current harmonic spectrum of single-phase two-level inverters employing either fixed- or variable-band hysteresis current control is derived. The models are based on the amplitude and frequency modulation theorems.
The instantaneous frequency of the inverter is first derived. Then it is used to closely approximate the error current by a modulated sinusoid. The error current harmonic spectrum is basically the Fourier transform of error current complex envelop. In the case of the fixed-band control, the spectrum reduces to a series of Bessel functions of the first kind whose argument is implicitly expressed in terms of the system and controller parameters, where as in the variable-band mode, the spectrum reduces to a 3-element array.
The spectral characteristics such as the carrier frequency and frequency bandwidth are derived analytically and related to line parameters; it is a development useful in inverter-network harmonic interactions. Unlike time-domain simulators, the developed models provide fast numerical solution of the harmonic spectrum as they only involve numerical computation of single arrays. Simulation results agree closely with the developed frequency-domain models in terms of frequency order, magnitude and angle.
In addition to the single-phase two-level inverter, the proposed approximations apply also to the harmonic output of certain three-phase two-level inverters where independent phase control is applicable, such as the neutral point inverter, and the full-bridge inverter in bipolar operation.
6. Future directions of research
The models detailed in this chapter can be extended in a number of ways, both in terms of improving the proposed models as well as in the application of the models in other PWM applications.
The developed models neglected the dynamics of the Phase-Locked Loop (PLL) and assumed that the inverter line current tracks a pure sinusoidal reference current. Possible extensions of the models include the effect of the harmonic current propagation through the ac network and the deterioration of the terminal voltage at the interface level and its effect on the reference current generation. As the PLL synchronizes the reference current with the terminal voltage, the propagation of harmonic currents might affect the detection of the zeros-crossings of the terminal voltage resulting in generating a distorted reference current. The hysteresis controller consequently will force the line current to track a non-sinusoidal reference which, in turn, modifies the harmonic output of the inverter.
The implementation of an LC filter at the inverter ac terminals could trigger a parallel-resonance which tends to amplify the harmonic voltages and currents in the ac network leading, in some cases, to potential harmonic instabilities. The improvement of the developed models to include the effect the filter capacitance on the harmonic performance of the inverter is an interesting improvement.
Reviews of the developed models show that hysteresis current controlled inverters can have a ‘switching function’ notation similar to those inherit with the Sinusoidal PWM inverters. The switching function is based on the error current characteristics which implicitly depend on the system and controller parameters. Such development will enable the various time- and frequency-domain algorithms developed for the harmonic assessment of linear PWM inverters to be applied to hysteresis controlled inverters.
Harmonic load flow studies of systems incorporating inverters with hysteresis current control can be formulated based on the developed models. The iterative solution of the harmonic load flow shall incorporate the harmonic magnitudes and angles obtained from the developed models for a faster convergence to the steady state solution.
7. Appendix - A
Function, satisfies, is continuous, convex and has even symmetry in. The approximation of in,,
satisfies the same properties in. Subsequently, constant is calculated such that the square error over the interval is minimized. Substituting the expressions of and into the mean-squared-error and evaluating the integrals numerically yields a function of the parameter, as. Therefore, the value of that minimizes is or. Functions and are shown in Fig. 1.