Frequency-Domain Modeling of Harmonic Interactions in Voltage-Source Inverters with Closed-Loop Control

Power electronic converters, together with their loads, sources, and controls, form a coupled system that includes many nonlinear interactions, for instance due to pulse-width modulation (PWM) and feedback control. In this paper we develop a complete, nonlinear modeling approach for voltage-source inverters in the frequency domain, taking into account the harmonic components introduced into the system from the inputs and from the nonlinear digital PWM. The most important contribution is a method for analyzing how these harmonics propagate through the nonlinear system in steady state. To enable this, an analytic model of PWM with arbitrary, multiple-frequency input is necessary. A revised model of Asymmetrical regularly-sampled double-edge PWM (AD-PWM) is proposed and its incorporation into the system model regarding sampling effects is discussed. The resulting nonlinear equation system is numerically and simultaneously solved, yielding the spectra of all relevant signals in the converter. The results are validated with time-domain simulations and with measurements, proving the effectiveness of the proposed approach.


Introduction
The accurate assessment of current and voltage harmonics of power electronic systems is studied to meet a variety of design goals, including determination of dc-link capacitor size and lifetime [1,2], compliance with grid codes [3], avoidance of the excitation of resonances [4], and design of active power filters [5,6]. Power electronic systems, for example the voltage-source inverter (VSI) with its passive components and control (Figure 1), form closely coupled relationships that result in a nonlinear closed-loop system. The analysis of the algebraic equation system in the frequency domain is a complex process but supports a deeper understanding of the behavior of the system. By direct solution of the equation system, the system harmonics can be assessed.

1.
A constant dc-link voltage, i.e., no interaction of dc side and ac side 2.
A single frequency modulator input signal, i.e., no interaction with the control loop 3.
Ideal switching of the power electronics, i.e., no dead time and lossless switches To calculate the ac-side voltage spectrum under the influence of a variable dc-link voltage, a convolution of the switching function spectrum and the dc-link voltage spectrum can be performed. As shown by McGrath et al. [2], the dc-link current spectrum can be calculated in a similar way by using a convolution of the switching function spectrum and the ac-side current spectrum.
Subsequently, modifications to the double Fourier method as well as alternative methods evolved, characterizing the PWM output spectrum [10]. Special emphasis was given to incorporating modulator input signals that contain multiple frequency components [5,[11][12][13] and dc-link voltage oscillations [14,15]. Because the interaction of the signals within the power stage of the plant and the influence of the closed-loop control system are not examined, the research question arises of how to integrate these interactions.
A common approach for modeling and analyzing PWM converters is the averaging method, introduced by Wester,Ćuk, and Middlebrook [16][17][18] and extended by Erickson and Maksimovic [19][20][21] and Hiti [22]. The averaging method is useful in developing linearized small-signal models and is commonly implemented in impedance-based models and stability analysis [23]. Corradini et al. [24] utilized this method in describing the digital control of power converters, introducing small-signal delays to consider sampling effects of the PWM and the digital control. Almér and Jönsson [25] developed a dynamic phasor model of a dc-dc converter with closed-loop control applying averaging and truncation of the high-frequency components. By applying small-signal assumptions, Yue et al. [26] modeled frequency components that are unsynchronized with and close to the sampling frequency and cause undesirable beat-frequency components due to aliasing.
The averaging and linearization methods truncate the high frequency components caused by the modulation and switching process. Modeling errors can result when the switching-band and the base-band components overlap and sampling effects like aliasing occur. A need for research was identified to develop a frequency-domain method that models a power electronic system including its harmonic interactions. These interactions concern the mutual dependencies between the continuous signals of the power stage, the digital signals of the control, and the influence of nonlinear effects such as modulation, sampling, and aliasing.
This article deals with the prediction of the harmonic spectrum in a converter system in the frequency domain. A special focus arises from the description of the interactions that arise in the closed control loop. We want to convey a deeper understanding of the harmonic interactions and as a result present a modeling method that enables the calculation of the spectra including their nonlinear interactions. Some modeling aspects are well known (converter model, linear components, ADC, and PI control) and they are included here for completeness of the model. The complexity and novelty of this paper lies in the PWM model's correct consideration of the sampling process and the interactions of the subsystems. This stands in contrast to the prevailing models found in the presented literature, which either model the components with their input-to-output behavior neglecting the closed-loop interactions or with a linearized behavior.
The control is developed for the example of a VSI with closed-loop current control. The influence of quantization is excluded in the models. The approach to describe the spectrum of PWM published by Song and Sarwate [11] is utilized. A review of their results for AD-PWM revealed deviations from measurement results. Therefore, we present a revised derivation of the switching spectrum for AD-PWM. The method applies for hard-switched converters using a fixed switching frequency in the linear modulation range. Furthermore, the incorporation of the PWM model into the total system model as a hybrid of discrete-time and continuous-time signals is presented with special emphasis on the consideration of sampling effects. The resulting models are evaluated with band-limited Fourier coefficients for an example case in steady state and compared with time-domain simulations and experimental results. The work presented here is a part of the author's dissertation [27].

Models of Individual Components and Effects
The example system used in this paper ( Figure 1) consists of a dc source, a three-phase two-level VSI, and an RL-load. The closed-loop control of the load currents provide the ac-side voltage setpoints for the VSI, which are divided by half the measured dc-link voltage and transformed into gate signals by a pulse-width modulation (PWM) process. The influence of the dc source (e.g., a rectifier) is modeled by a current source i rec . This enables the incorporation of the harmonic behavior of a rectifier but neglects the influence of the dc-link voltage on the rectifier. A digital control system is assumed, because of its widespread application and to discuss the effects on the modeling approach with both discrete-time and continuous-time signals being present in the system. Analog sensors measure the required voltage and current values, which are then sampled and held by an ADC. In order to meet the control goal determined by the input setpoint signals, the control outputs duty cycles that are proportional to the required ac-side voltages. Applying a PWM to the duty cycles generates the gate signals, which control the power semiconductors. In the following sections the models of the individual components of the system are introduced.

Switching Power Converter
The VSI in Figure 1 consists of three half bridges. Assuming ideal switching behavior (loss-less switching and no dead time), each half bridge of phase ν ∈ {1, 2, 3} is represented by a single-pole double-throw switch with the switching function s ν , resulting in the equivalent circuit of the electrical subsystem in Figure 2. The switching function is used to provide the algebraic connection between the ac-side voltages u acν and the dc-side voltage u dc , with and between the ac-side currents i acν and the dc-side current i dc , with Transforming the equations to the frequency domain yields a convolution of the spectra, with where * denotes the convolution operator.

Load and Source Models
The load and source models provide the mathematical model for the connection between the voltages and currents on either side of the converter. In the common modeling case of linear passive components, the ac-side impedance representing a grid filter, a motor stray inductance or a passive load, and the dc-link capacitor are modeled as linear devices. For a symmetrical ac-side impedance, the frequency-domain expression of the ac side is where R ac is the ac-side resistance and L ac is the ac-side inductance. The voltage-stiff dc link of a VSI consists of a large capacitance C dc . Its frequency-domain representation results in Please note that without a further resistive component in the dc-link, (6) contains a singularity, which results in a degree of freedom for U dc (0) in the model.

Analog-to-Digital Conversion and Filtering
In order to provide feedback of the currents and voltages to the control system, the signals are sensed using analog sensors and then converted into digital signals. The block diagram of the measurement system that is used to track a continuous-time signal is depicted in Figure 3. The spectrum of the signal X( f ) represents I acν or U dc . The analog sensors are represented by a first-order low-pass filter with a cut-off frequency f cut ,

ΔΣ modulator Decimator
In this paper, a ∆Σ converter is used as ADC, which is assumed to have a sufficiently high oversampling ratio. Therefore, its influence is low and H ∆Σ ( f ) ≈ 1.
A decimator is used to reduce the quantization noise of the sampled signal. The decimator has the additional tasks of preventing aliasing and downsampling to the controller frequency while the signal's word size is increased. The decimation is often performed by sinc filters of order K > 1 [28], which are described by a transfer function of where f ∆Σ is the sampling frequency of the ∆Σ modulator. The output of the digital filter is sampled with the sampling frequency of the control f s . The sampling process is represented by a multiplication of the continuous signal x(t) with a sequence of Dirac pulses δ, which results in a continuous-time representation of a sampled signal x s (t), with Transformation of (9) into the Fourier domain results in where X s ( f ) is known as the Discrete-time Fourier transform (DTFT), which differs from the Continuous-time Fourier transform (CTFT) X( f ). This model of the sampler enables the consideration of sampling effects such as aliasing. Moreover, the sampling process is commonly synchronized with the PWM period, minimizing the influence of switching harmonics in the sensed signals [29]. This effect is included in this modeling approach and a time-shift between the PWM signal and the sampling points can easily be considered in (9) and (10). Finally, the sampled signals are held in the control system for one control period, which is modeled with a zero-order hold (ZOH) block, with The spectrum of the resulting sampled and low-pass filtered signal is written with an apostrophe X s ( f ) to distinguish it from the original spectrum X( f ).

Control System
In this paper PI current control in the rotating reference frame is used as an example control system. The control system is shown in Figure 4. The inputs are the sampled ac-side currents i s,ac and dc-link voltage u s,dc and the current setpoints i s,sp . The outputs of the current control are the setpoint voltages in 123 coordinates u s,sp , which function as inputs of the duty-cycle calculation. The outputs of the complete control block are the duty-cycle commands for the PWM process d s .

Current Control
The current control is implemented in the rotating reference frame by applying the Park transformation to the input signals. The transformation consists of the Clarke transformation and a rotation matrix. The measured ac-side current spectra are first transformed into current spectra in αβ coordinates, with Then a rotation into the dq reference frame is performed, which leads to a frequency shift in the current spectra [30]. For this it is assumed that the rotating angle θ(t) has a constant gradient with where f 0 is the fundamental frequency. The current spectra in dq coordinates result in The current controller determines the setpoint voltages of the VSI in dq coordinates under the influence of the setpoint signals I s,sp,d , I s,sp,q , with A disturbance compensation of the cross-coupling of the dq axes is taken into account on the counterdiagonal of the matrix. The linear PI controllers are described by a transfer function where K P is the proportional gain and T I is the integrator time constant. In the case of backward Euler, the transfer function of the integrator H I ( f ) is described by The dc component of the controller's transfer function has infinite gain, with H I ( f → 0) → ∞ and the dc components of the sampled dq currents equals the setpoint values. Consequently, the dc components of the setpoint voltages U s,sp,d (0) and U s,sp,q (0) cannot be calculated by (14). Their solutions result instead from the complete equation system that incorporates the interaction of the control with the physical model of the VSI and its load.
Finally, the setpoint voltages are transformed back into 123 coordinates, with

Duty-Cycle Calculation
The duty cycle is calculated by dividing the setpoint voltage of phase ν by half the measured dc-link voltage. The duty cycle that was calculated in sampling step k is committed to the modulator within the control cycle and is applied to the switching pattern in the next control step k + 1, with The inverse convolution in the frequency domain is used to achieve the equivalent operation of the division in the time domain. Because the dc-link voltage is the state variable of an energy storage it is required that u dc (t) > 0, ∀t and 1/u dc (t) is a slowly growing signal. This means that the requirements for the existence of the inverse convolution are fulfilled.
Lastly, the computational delay is taken into account by the delay block (z −1 ) in Figure 4. The calculation of the duty cycle thus results in where the delay is considered with

Model for PWM with Harmonic Input
The switching function is determined in the PWM process. In order to include the PWM process in a frequency-domain model that considers the interaction between the control and the electrical system, an expression of the switching function spectrum as an explicit nonlinear function g of the duty-cycle spectrum is needed. This can be found in the model by Song and Sarwate [11], which originates from a time-domain representation of the pulse pattern using the Heaviside function and is further developed into a frequency-domain representation.
A model for naturally-sampled double-edge PWM (ND-PWM) is derived by Song and Sarwate with where and D * n ( f ) denotes the Fourier transform of the duty cycle signal raised to the power of n: AD-PWM is characterized by a low total harmonic distortion level, compared to other discrete type PWM methods [9]. Due to its discrete-time property, it is easier to implement this modulation method on digital control systems in contrast to natural sampling [11]. A review of results for AD-PWM presented by Song and Sarwate ( [11], (56)) revealed differences in comparison to simulation results from a validated time-domain model. A revised derivation of the analytical model for AD-PWM results in the switching function spectrum of For AD-PWM, the duty cycle of the PWM is adjusted at two sampling points per PWM cycle. Hence, the duty cycles of the two halves of a pulse differ from each other and the pulse appears asymmetrically spaced from the center of the PWM period. In comparison to Song and Sarwate ( [11], (56)), the revised equation includes the representation of the two sampling points. The derivation of (26) is presented in the Appendix A. A numerical evaluation of (26) follows in Section 4.2 with a comparison with a time-domain simulation and measurement results.
The internal structure of regularly-sampled PWM can be divided into a sampler, a ZOH, and a representation of naturally-sampled PWM. From this, two compositions of the frequency-domain model describing regularly-sampled PWM result, as demonstrated in Figure 5. Subfigure (a) represents the model described by (26), in which the input is the Fourier transform of the continuous-time duty cycle D( f ). The description of the sampler and the ZOH can be separated from the PWM model without loss of generality, using the Fourier transform of the discrete-time duty cycle D s ( f ) as the input of a model of naturally-sampled double-edge PWM. This method is utilized to calculate the switching function spectrum depicted in subfigure (b). Therefore, regularly-sampled PWM is equivalent to naturally-sampled PWM when applying a "distorted" duty cycle spectrum D s ( f ).
When considering feedback control, the digital controller outputs a discrete-time duty-cycle with a spectrum D s ( f ) (Figure 4), which interacts with the signals of the PWM and the plant. As stated earlier, the regularly-sampled PWM model (Figure 5a) requires an input spectrum D( f ) of the continuous-time duty-cycle d(t). However, as demonstrated in Figure 6a, a naturally-sampled PWM model may be applied to express regularly-sampled PWM under the condition that the input is the spectrum of the discrete-time signal D s ( f ). Because the DTFT of the input is not band-limited, the consideration of a large spectrum is required to achieve high quality results using this model.
Naturally-sampled PWM model b) Regularly-sampled PWM model An alternative method is presented in Figure 6b: The DTFT of the duty-cycle is converted into a CTFT, which is subsequently applied to the AD-PWM model. The benefit of this method is that input of the PWM model (dashed box in Figure 6b) is a band-limited signal and thus the consideration of a smaller spectrum is required to achieve the same quality as the method in Figure 6a. For further clarification, a numerical comparison is provided in this section. The conversion is performed by application of the inverse transfer function of the ZOH and the inversion of the sampling process. Since D s ( f ) is the DTFT of a band-limited signal, the sampling process is inverted by a rectangular filter with A numerical comparison of the models in Figure 6a,b follows in Section 4.3.

System Model for Interactions
All equations needed to describe the overall converter system form an algebraic nonlinear equation system where X( f ) are the spectra of the system's signals and U( f ) are the spectra of the inputs. As a simplification, the total equation system was numerically evaluated for the steady state. This enables the representation of the periodic time-domain signals x(t) by a complex Fourier series. Furthermore, the Fourier series was band-limited to a maximum order of k max so that a signal x(t) was approximated by where X 1,k ∈ C is the complex Fourier coefficient of order k that represents the k-th harmonic of the fundamental frequency f 0 . The coefficients of the band-limited Fourier series form a discrete and finite spectrum that can be collected in a vector representation Therefore, all input signals and system signals are represented by a vector of the length l = 2 k max + 1.
The calculation of all spectra requires the simultaneous solution of the nonlinear equation system. The equation system chosen for the following numerical evaluation describes N = 13 signals, collected in a vector X = [ I ac1 , I ac2 , I ac3 , U dc , D s,1 , D s,2 , D s,3 , I s,d , I s,q , U s,sp,α , U s,sp,β , U s,sp,d , U s,sp,q ] T .
The size of the vector is N · l, which are given by the input signals. All other signals are described as dependent variables and are not written explicitly in the equation system. However, it is possible to calculate them directly using the signals present in X. The input signals of the system are the dc-side disturbance current, the dc component of the dc-link voltage, and the current setpoint in dq coordinates. Thus the input vector U contains the spectra of the ac-current setpoints I s,sp,d , I s,sp,q , the rectifier current I rec , and the dc component of the dc-link voltage U dc (0).
Further approximations are necessary to enable a numerical evaluation: • The infinite summation in (26) is limited to −m max ≤ m ≤ m max and −n max ≤ n ≤ n max .

•
The convolution of two vectors can be represented by a multiplication of the convolution matrix of one of the vectors with the second vector. The inverse convolution in (20) is calculated by a multiplication of U s,sp,ν with the inverse of the convolution matrix C(.) of U dc . The complete convolution matrix has the size (2 l − 1) × l. To enable the inversion of the matrix, a truncated form of the convolution matrix is used that is square with l × l. This form corresponds to the Matlab function conv when applying the option same. The truncated convolution matrix of a vector X is defined as The numerical solution was executed in Matlab by applying the trust-region algorithm of the Matlab function fsolve. This algorithm was selected since it allows for the incorporation of the Jacobian matrix and a sparsity pattern. Unlike the complicated analytical derivation of the Jacobian, the analysis of a dependency between two variables is straightforward. This enables the formulation of a sparsity matrix, which indicates all partial derivatives of the input variables unequal to zero. Knowledge of the sparsity matrix enables the solver to accelerate the solution process by calculating only nonzero derivatives. In this particular case, less than 15% of the matrix elements were nonzero. By applying the sparsity pattern, the number of function calls for the numerical calculation of the Jacobian was halved.
A vector of initial values X 0 is required for the iterative solution process, which is provided by a simple fundamental frequency model. It calculates the fundamental frequency components for ac quantities and the dc component of dc quantities, with all remaining components set to zero.

Experimental System
The left photo in Figure 7 shows the interior part of the experimental system, where the IGBT modules (IFS150V12PT4) and the dc link are visible in the center. One IGBT module was used in the experiments as a VSI and the second module was switched off and used as a diode bridge rectifier.
The VSI control was implemented on a system-on-chip unit Xilinx Zynq 7000. It contains an FPGA and an ARM Cortex-A9 double-core processor. The FPGA comprises the measurement data collection from the ∆Σ modulators Analog Devices AD7401A. The digital filters (decimators) were implemented as Sinc3 filters and were implemented on the FPGA. The FPGA also incorporates the low-level control of the power converters, whereas the high level control was implemented in the processor. The voltage differential probe measuring the dc-link voltage (Tektronix P5200) and the line-to-line voltage (Testec TT-SI-9001) were connected directly to the terminals of the IGBT module. The ac-side current was measured in phase 1 using a current probe (Agilent N2782B). The dc-side current and the rectifier current were measured with Rogowski coils (PEM CWT03LF), thus the dc component was excluded in the presented results. The gate signals of the top and bottom IGBTs of phase 1 were measured at the input terminals of the gate driver (Testec TT-SI-9001).
The data acquisition was performed using an eight channel oscilloscope Teledyne Lecroy HDO8108, which is depicted on the right side of Figure 7. By using a high sampling rate of 250 MS/s, 20 MHz analog input filters for the channels, and a 12 bit quantization, a good time and amplitude resolution of the measured waveforms was provided. The measured waveforms were postprocessed in Matlab to calculate the spectra.

Results for AD-PWM Model
To validate the correct derivation of (26), the equation was numerically evaluated for an example case with a duty cycle spectrum that contains frequency components at the fundamental frequency and at the fifth harmonic. The equivalent time-domain waveform is with a fundamental frequency of f 0 = 50 Hz. The sampling frequency of the ZOH is f s = 4 kHz and the carrier frequency is f sw = 2 kHz. The first graph of Figure 8 shows the amplitude spectrum resulting from the application of (26) for the first 100 harmonics of f 0 . The indexes of summation in the evaluation of (26) were limited to −m max ≤ m ≤ m max and 1 ≤ n ≤ n max , with m max = 3 and n max = 15. The second graph shows the spectrum from a time-domain simulation in Simulink, resulting from a Fast Fourier transform (FFT) of the results calculated in Matlab. The third graph depicts the difference of spectra with black bars, with where TD and FD identify the time-domain simulation and the frequency-domain calculation, respectively. The differences in the spectra are much lower than 10 −3 . Because the spectral difference is shown for the complex spectra, the validation also ensures that the phase information is correct. The fourth graph of Figure 8 presents the amplitude spectra |S MEAS ( f )| resulting from measurement of the gate-driver signals, further validating the proposed model.

Results for AD-PWM Model with DTFT Input
A numerical comparison of the two models presented in Figure 6a,b was performed, using the model by Song and Sarwate ([11], (61)) for ND-PWM and the proposed model for AD-PWM in (26). The input is the spectrum of the sampled duty cycle, as shown in Figure 9. It comprises a fundamental frequency component with an amplitude of |D ,1 | = 0.7 and a seventh harmonic component with an amplitude of |D ,7 | = 0.1. The carrier to fundamental ratio is f sw / f d0 = 3000/50 = 60.
The amplitude spectrum of the switching function is shown in the graphs on the left side of Figure 10, while varying the parameters m max and n max . The first graph compares the frequency-domain model with a time-domain model for m max = 1, n max = 7, k max = 150. Large deviations between the complex spectra are visible in the second graph. Increasing m max and n max leads only to a minor reduction of the deviations, because of the low number of harmonics k max considered in the duty-cycle spectrum (third and fourth graph). With these parameters, the second and third sideband groups depicted in Figure 9 are neglected, resulting in a faulty calculation of the first carrier group for the switching function spectrum.
The method demonstrated in Figure 6b converts the DTFT of the duty-cycle first into a CTFT, removing the high-frequency components shown in Figure 9 before application to the AD-PWM model. The right side of Figure 10 presents the evaluation of this model for the same parameters as for the ND-PWM model. Even though the modeling approach seems to be more complex, a high accuracy is reached for relatively low numbers of k max . Due to the rectangular filter, the duty-cycle components requiring consideration in the PWM model are limited to f c /2. This numerical example demonstrates that model b) requires a lower number of harmonics k max in the duty-cycle to reach the same accuracy as the AD-PWM model, which is crucial for the numerical solution process of the overall system.

Results for the VSI Model
The evaluation of the VSI model was conducted for an example case with the parameters listed in Table 1. The PI controller was designed using the technical optimum. Harmonic components were introduced by the nonreactive dc current source with frequencies of n · 6 · f g , n ∈ N as an example of a three-phase diode rectifier fed from a symmetrical 400 V grid.
The frequency-domain model was evaluated with k max = 70, m max = 1, and n max = 7. The magnitude spectra are depicted in Figure 11, comparing the results from the frequency-domain model to results from a time-domain simulation. As shown in Figure 1, the spectrum I rec and the dc-component of the dc-link voltage in the frequency-domain model are input signals of the frequency-domain model and were selected to be the same values as in the time-domain simulation. Low-frequency components were introduced into the duty cycle spectrum through the control loop of the ac-side currents and the feedback of the dc-link voltage. These components are a product of the disturbance current of the diode rectifier, which are propagated to the sensed dc-link voltage and the sensed ac-side currents. Because the PWM process is nonlinear, the harmonic components of the duty cycle spectrum create additional base-band and side-band harmonics in the switching function spectrum.
The results of the two models have a high rate of conformity, which is demonstrated by the low deviations of the complex spectra shown in Figure 12. Minor deviations visible around the switching frequency can be explained by the low number of considered harmonics, as demonstrated by the previous examination shown in Figure 10. For instance, the components in the duty cycle spectrum around the first carrier-sideband group would cancel out with components of the second carrier-sideband group, indicating that an improvement of the method to enable a higher number of considered harmonics is desirable.
A comparison of the frequency-domain results with measurement results is presented in Figure 13, confirming the pattern of the calculated spectra. The VSI was fed from a three-phase diode rectifier and the spectrum I rec and the dc-component of the dc-link voltage were used as input signals for the frequency-domain model. The deviations between the frequency-domain model and measurements are higher in comparison to the deviations from the simulation results, indicating the influence of neglected effects in the models such as converter dead time.

Conclusions
The control PWM signals and the electrical system of a VSI form a closed-loop system. A system model was developed in the frequency-domain that incorporates the interaction of the closed-loop control, the PWM process, and the power electronic devices as ideal switches. Although past methods in the literature demonstrate unidirectional descriptions for the individual parts of the converter system, the approach posed here includes their mutual dependencies and nonlinear interactions. The overall nonlinear equation system was numerically and simultaneously solved. The analysis showed how the propagation of harmonic components through the control loop alters the mutually coupled spectra of the duty cycle and the switching function.
A PWM model that considers multiple-frequency duty cycles is necessary to cover these interactions. This paper demonstrates the derivation of a revised analytic frequency-domain model for AD-PWM that is valid for multiple-frequency input signals. Low deviations between the numerical results from this model and those of time-domain simulations, as well as those of measurements, support the proposed equations. This paper illustrated the approximation of a regularly-sampled PWM model with a continuous-time input signal by a naturally-sampled PWM model that is extended with a sample-and-hold unit at its input. For the case of discrete-time input signals, an inverse sample-and-hold process in combination with a regularly-sampled PWM can be applied. It was demonstrated that a smaller number of considered harmonics is required for this approach to achieve the same accuracy as a naturally-sampled PWM model.
Application of the presented method is recommended when the interaction of the harmonic components cannot be neglected and when the base band harmonics and the switching band harmonics cannot be clearly separated. Due to the detailed system description, the computational effort is generally high and increases further with the number of considered harmonics and the number of system variables. An enhancement of the computational speed is desirable, when large numbers of considered harmonics and multiple nonlinear effects are present. For this, further development of the system description and an extensive study of solvers and an analytical Jacobian matrix are recommended.

Conflicts of Interest:
The authors declare no conflict of interest.

Abbreviations
The following abbreviations are used in this manuscript:

Appendix A
This appendix provides the derivation of a frequency-domain expression for AD-PWM in (26) as a revision of the model presented in [11]. When using double-edge PWM, the placement of both edges within the switching period depends on the duty cycle. Sampling the duty cycle at the beginning and the center of the carrier period results in AD-PWM. Its analysis can be simplified by regarding the rising edge as a trailing-edge PWM (TE-PWM) signal and the falling edge as a leading-edge PWM (LE-PWM) signal [31]. This approach is illustrated in Figure A1, where the AD-PWM process is depicted for one switching period and a positive duty cycle. Subfigure a shows the comparison of a sampled duty cycle (red dashed line) with a triangular carrier signal (black solid line). The duty cycle is sampled and held at the beginning of the switching period for the leading edge (LE) and at the center of the period for the trailing edge (TE). The resulting output can be composed of: (1) A rectangular signal s c with constant duty cycle of 50 % (Subfigure d): In accordance with Song and Sarwate [11], the signal s c (t) is defined as a rectangular wave s c (t) = 1 for mT sw ≤ t < (m + 1/2)T sw −1 for (m + 1/2)T sw ≤ t < (m + 1)T sw , where m ∈ Z, T sw = 1/ f sw , and t is the time. The signal in (Subfigure d) is right-shifted by T sw /4.
(2) A rectangular signal s dLE that is determined by the LE (Subfigure e): Its rising edge results from a comparison of the duty-cycle sampled at the beginning of the switching period d[mT sw ]/2 with a LE carrier signal (Subfigure b). The original duty cycle is plotted in light red and the halved value is depicted in red. The carrier signal is left-shifted by T sw /4 (original carrier depicted in gray and shifted carrier in black). The falling edge of s dLE is fixed to T sw /4 + mT sw .
(3) A rectangular signal s dTE that is determined by the TE (Subfigure f): Its falling edge results from a comparison of the duty-cycle sampled at the center of the switching period d[(m + 1/2)T sw ]/2 with a TE carrier signal that is right-shifted by T sw /4 (Subfigure c). The rising edge of s dTE is fixed to 3T sw /4 + mT sw .
Their superposition yields the switching function for AD-PWM, with Similarly, the LE component results in