Design of a Continuous Signal Generator Based on Sliding Mode Control of Three-Phase AC-DC Power Converters

: In recent years, hundreds of technical papers have been published which describe the use of sliding mode control (SMC) techniques for power electronic equipment and electrical drives. SMC with discontinuous control actions has the potential to circumvent parameter variation e ﬀ ects with low implementation complexity. The problem of controlling time-varying DC loads has been studied in literature if three-phase input voltage sources are available. The conventional approach implies the design of a three-phase AC / DC converter with a constant output voltage. Then, an additional DC / DC converter is utilized as an additional stage in the output of the converter to generate the required voltage for the load. A controllable AC / DC converter is always used to have a high quality of the consumed power. The aim of this study is to design a controlled continuous signal generator based on the sliding mode control of a three-phase AC-DC power converter, which yields the production of continuous variations of the output DC voltage. A sliding mode current tracking system is designed with reference phase currents proportional to the source voltage. The proportionality time-varying gain is selected such that the output voltage is equal to the desired time function. The proposed new topology also o ﬀ ers the capability to get rid of the additional DC / DC power converter and produces the desired time-varying control function in the output of AC / DC power converter. The e ﬀ ectiveness of the proposed control design is demonstrated through a wide range of MATLAB / Simulink simulations.


Introduction
Sliding mode control (SMC) has high order reduction property, good dynamic performance, low sensitivity to disturbances, and plant parameter variations, allowing SMC to handle nonlinear systems with uncertain dynamics and disturbances. Additionally, SMC is decoupled into independent lower dimensional subsystems, simplifying feedback control design. These properties allow SMC to be used in a wide range of applications such as automotive control, robotics, aviation, power systems, power electronics, and electric motors [1][2][3][4][5].
Power electronic converters are controlled by switching electrical components, which can produce two dissimilar values at the gating terminals [6,7]. Their controlled variables may take values from a two valued discrete set. Moreover, linearization is not required [1,2,8,9]. Hence, SMC is a preferred method to realize the control of power converter devices. f (t) should be bounded. Therefore, the problem can be described as fixing the switching sequence such that: The power efficiency can be maximized if each input phase current of the power converter is proportional to the corresponding phase voltage with a positive gain. Therefore, the objective of this paper is to design a new control algorithm such that the input phase currents track preselected reference inputs and the positive gain of the proportionality is selected as a time varying function. Accordingly, the output voltage is equal to the desired function . Figure 1 shows the three-phase PWM AC/DC voltage source converter scheme. , , are the balanced three-phase AC input voltages;

Circuit Model of the Three-Phase PWM AC/DC Voltage Source Converter Scheme
is dc-link current; is a resistive load connected to the DC side; is the load current; , , are the three-phase AC input currents; is the dclink capacitance is dc-link voltage; and represent the grid-side resistance and inductance, respectively. The balanced three-phase AC input currents are given by: (2) (3) (4) where , , are the AC side phase voltages of the converter. The balanced three-phase AC voltages are given by: The power efficiency can be maximized if each input phase current of the power converter is proportional to the corresponding phase voltage with a positive gain. Therefore, the objective of this paper is to design a new control algorithm such that the input phase currents track preselected reference inputs and the positive gain of the proportionality is selected as a time varying function. Accordingly, the output voltage is equal to the desired function f (t). Figure 1 shows the three-phase PWM AC/DC voltage source converter scheme. e a , e b , e c are the balanced three-phase AC input voltages; i dc is dc-link current; R L is a resistive load connected to the DC side; i L is the load current; i a , i b , i c are the three-phase AC input currents; C dc is the dc-link capacitance v dc is dc-link voltage; R g and L g represent the grid-side resistance and inductance, respectively.

Circuit Model of the Three-Phase PWM AC/DC Voltage Source Converter Scheme
The balanced three-phase AC input currents are given by: where v an , v bn , v cn are the AC side phase voltages of the converter. The balanced three-phase AC voltages are given by: e a = E 0 sin(ωt) (5) Energies 2019, 12, 4468

of 15
Here, ω is the AC power source angular frequency and E 0 is the amplitude of the phase voltages.
, then Equations (2)-(4) can be re-written in a compact form: Define the switching function S of each switch as: As a result, the voltage vector v s can be given in terms of the switching functions S = By substituting Equation (10) into (8), the AC input current equations can be given by: In conclusion, the output voltage can be given by:

Sliding Mode Current-Tracking Control
As previously indicated, a sliding mode-based current tracking system is designed such that sinusoidal reference inputs are tracked by phase currents proportional to input AC voltages. Rewriting Equation (11) as: where, matrix Γ 0 is given by: Since the sum of the three-phase currents is zero, only three state variables should be controlled in a system with a three-dimensional control vector S: Two phase currents and output voltage. However, because matrix Г 0 is singular, the conventional sliding mode approach cannot be directly applied. Therefore, a tracking system for two phase currents only is first designed. As a result, the sliding mode should be enforced on the intersection of two surfaces σ a = L g i are f − i a and σ b = L g i bre f − i b , or in a vector form: σ ab = L g i abre f − i ab (15) Excluding the phase current i c = −i a − i b yields: where Γ is a 2 × 3 matrix given by: The ideal tracking system is based on the Lyapanov function: . V has to be negative definite and calculated on the system trajectory when selecting discontinuous control: where F(.) is state function, which does not depend on control. α, β, and γ are given by: If v dc/L is large enough, F(.) can be suppressed with control S given by: such that . V = σ ab T F(.) − (u dc /L) |α| + β + γ < 0. As a result,σ ab tends to zero and σ ab becomes zero after a finite time interval [17][18][19]. Consequently, sliding mode occurs with i ab = i abre f . Therefore, the current tracking system is developed with sinusoidal current references proportional to the input AC voltages as: Calculate the equivalent control [2]: The three phase input currents can also be expressed as: The sliding mode equation can be obtained by substituting Equations (24) and (25) into (17): After sliding mode occurs (i ab = K(t)e ab ): Energies 2019, 12, 4468 It can be shown that the output voltage v dc is given by: If y = v 2 dc , then the gain K should satisfy the differential equation Assume that f is the voltage reference andŷ = f 2 , then the equation can be simulated in the controller, ∆y =ŷ − y (31) Equation (32) shows that ∆y → 0 and the output voltage tends to be the reference input v dc → f . Assume that 3 2 It means that and K is always positive if R g K(0) > ε. This corresponds to a power factor equal to 1 (i abc = Ke abc ) for a high enough amplitude of the input source voltage. It is important that L . K in (29) will be negative for high enough values of K. Hence, the gain K is bounded.
Remark: The implementation of the proposed controller in embedded systems requires the online measurement of the dc voltage at the capacitor and the possibility of realizing fast enough oscillations on the switching electronic elements. This part of the problem can be solved using available fast dedicated microcontrollers devices. Notice that the accuracy of the produced signal is a function of the relative relationship between the switching devices operation frequency and the main frequency components of the desired signals. Evidently, the exact reconstruction of the desired signal cannot be acquired. Nevertheless, the studies regarding discrete implementation of sliding mode has shown that the accuracy of the sliding mode realization is proportional to the square power of the sampling period if the explicit discretization is considered. For more details on the implementation issues, please see references [20][21][22][23]. Remark: The proposed control strategy offers an alternative to some other sliding mode controllers designs considering adaptive pulse width modulation [24], sub-optimal regulation [25], and multitype restrictive [26] approaches which have been applied on DC-DC power converters to obtain arbitrary signals. However, not one of them has been tested on the AC-DC device.

Simulation Results
In order to evaluate the proposed sliding mode control design procedure several computer simulations have been conducted using MATLAB/Simulink software. The control algorithm is represented in the following flow diagram ( Figure 2 Different generated signals have confirmed the abilities of the proposed continuous waveform generators. The simulation was performed for power converter governed by Equation (10) with control (21) and different desired functions f(t) in the converter output. The differential equation for time varying gain K(t) in Equation (29).

Sinusoidal Waveform Generation
The first signal is a pure sinusoidal waveform, which corresponds to a traditional signal used in diverse signal generators. The selected reference waveform is: The results of the simulation are shown in Figure 3.
(a) Different generated signals have confirmed the abilities of the proposed continuous waveform generators.
The simulation was performed for power converter governed by Equation (10) with control (21) and different desired functions f(t) in the converter output. The differential equation for time varying gain K(t) in Equation (29).

Sinusoidal Waveform Generation
The first signal is a pure sinusoidal waveform, which corresponds to a traditional signal used in diverse signal generators. The selected reference waveform is: The results of the simulation are shown in Figure 3. Different generated signals have confirmed the abilities of the proposed continuous waveform generators.
The simulation was performed for power converter governed by Equation (10) with control (21) and different desired functions f(t) in the converter output. The differential equation for time varying gain K(t) in Equation (29).

Sinusoidal Waveform Generation
The first signal is a pure sinusoidal waveform, which corresponds to a traditional signal used in diverse signal generators. The selected reference waveform is: The results of the simulation are shown in Figure 3.     The time dependence of the current ˆs i also shows the expected modulation with the frequency of the desired output current, which is 15 Hz ( Figure 5). The time dependence of the currentî s also shows the expected modulation with the frequency of the desired output current, which is 15 Hz ( Figure 5). The phase relations between the input currents hold both in the transient and the steady state periods. In the period between 0.0 and 0.1 s, the current decreases exponentially to the steady state, which is detected after 0.1 s. A phase shift of 2/3 is evidenced, which also confirms the efficiency of the suggested controller. Notice that the simultaneous dependence of K with respect to the reference waveform as well as its derivative does not relate it to the reference voltage form. The gain variation is continuous but not necessarily differentiable, considering the gain structure estimated in this study.

Variable Frequency Sinusoidal Waveform Generation
The second proposed reference signal is a composite sinusoidal waveform, which corresponds to a class of simplified chirp signal. Such waveforms can be used for testing the spectral response of diverse systems for calibration purposes. The selected composite sinusoidal reference waveform is: Once more, the selected bias constants mean a positive waveform. The selected transition times between the sinusoidal forms can design a continuous composite waveform with a bounded The phase relations between the input currents hold both in the transient and the steady state periods. In the period between 0.0 and 0.1 s, the current decreases exponentially to the steady state, which is detected after 0.1 s. A phase shift of 2/3 is evidenced, which also confirms the efficiency of the suggested controller. Notice that the simultaneous dependence of K with respect to the reference waveform as well as its derivative does not relate it to the reference voltage form. The gain variation is continuous but not necessarily differentiable, considering the gain structure estimated in this study.

Variable Frequency Sinusoidal Waveform Generation
The second proposed reference signal is a composite sinusoidal waveform, which corresponds to a class of simplified chirp signal. Such waveforms can be used for testing the spectral response of diverse systems for calibration purposes. The selected composite sinusoidal reference waveform is: Once more, the selected bias constants mean a positive waveform. The selected transition times between the sinusoidal forms can design a continuous composite waveform with a bounded derivative. The simulation results are shown in Figure 6. The input currents agree with the variation of the sinusoidal frequency by the application of the suggested first sliding mode controller with the corresponding modulated sinusoidal shape in all three branches (Figure 7). The input currents agree with the variation of the sinusoidal frequency by the application of the suggested first sliding mode controller with the corresponding modulated sinusoidal shape in all three branches (Figure 7).
When looking at the time variation of the gain K for the controller, notice that the simultaneous dependence of K with respect to the reference waveform, as well as its derivative does not relate it to the reference voltage form. The second waveform considered in this study produces a smoother variation of the gain K. The gain variation is continuous considering the gain structure estimated in this study (Figure 8).  When looking at the time variation of the gain K for the controller, notice that the simultaneous dependence of K with respect to the reference waveform, as well as its derivative does not relate it to the reference voltage form. The second waveform considered in this study produces a smoother  When looking at the time variation of the gain K for the controller, notice that the simultaneous dependence of K with respect to the reference waveform, as well as its derivative does not relate it to the reference voltage form. The second waveform considered in this study produces a smoother variation of the gain K. The gain variation is continuous considering the gain structure estimated in this study (Figure 8).

Triangular Waveform Generation
The third suggested reference signal is a triangular signal, which is also a common signal used in the calibration of diverse devices. Notice that this signal has a bounded but not continuous derivative. Consequently, the suggested controllers are applicable ( Figure 9).

Triangular Waveform Generation
The third suggested reference signal is a triangular signal, which is also a common signal used in the calibration of diverse devices. Notice that this signal has a bounded but not continuous derivative. Consequently, the suggested controllers are applicable ( Figure 9). For the class of triangular signal, the controller succeeded at reconstructing the suggested reference signal as shown in Figure 9a. Consequentially, the tracking error of the reference voltage is reduced to less than 0.05% over a period of 0.08 s (Figure 9b).
The time variation of the gain for the controller with the reference triangular signal appears in Figure 10. The gain variation function is continuous. For the class of triangular signal, the controller succeeded at reconstructing the suggested reference signal as shown in Figure 9a. Consequentially, the tracking error of the reference voltage is reduced to less than 0.05% over a period of 0.08 s (Figure 9b).
The time variation of the gain K for the controller with the reference triangular signal appears in Figure 10. The gain variation function is continuous. Even if the exact sliding motion can be acquired if and only if the switches in the power converter oscillate at the infinite frequency, the current available technology allows to oscillate at such high frequencies ensuring the existence of the practical sliding motion. On the other hand, the required high frequency oscillations of the sliding mode may produce heath losses which could damage the switching circuit. In all the presented cases, chattering phenomenon should mentioned always when applying sliding mode control. The set of chattering suppression methods has been developed in the framework of sliding mode control theory. They are surveyed in [27]. The harmonics cancellation principle is the most efficient for power converters and can be applied for our case. The design idea consists in using several parallel converters with controlled phases such that high order harmonics can be cancelled.

Conclusions
This paper has presented the control design procedure to directly control DC loads using a threephase voltage source without a rectifier. It consists of two steps. First, the current tracking problem is solved with reference currents proportional to phase voltages. Then, the time varying proportionality coefficient is selected such that the output voltage is equal to the desired time function. It has been shown that the proportionality gain should satisfy the first order differential equation, which is implemented in the controller. The behavior of the system with a positive coefficient is equivalent to having a unity power factor. Stability of the complete system (the power converter and controller dynamics) was also proved. A wide range of computer simulations were provided to demonstrate efficiency of the proposed control design for different types of sinusoidal and triangular functions as voltage reference inputs.  Even if the exact sliding motion can be acquired if and only if the switches in the power converter oscillate at the infinite frequency, the current available technology allows to oscillate at such high frequencies ensuring the existence of the practical sliding motion. On the other hand, the required high frequency oscillations of the sliding mode may produce heath losses which could damage the switching circuit. In all the presented cases, chattering phenomenon should mentioned always when applying sliding mode control. The set of chattering suppression methods has been developed in the framework of sliding mode control theory. They are surveyed in [27]. The harmonics cancellation principle is the most efficient for power converters and can be applied for our case. The design idea consists in using several parallel converters with controlled phases such that high order harmonics can be cancelled.

Conclusions
This paper has presented the control design procedure to directly control DC loads using a three-phase voltage source without a rectifier. It consists of two steps. First, the current tracking problem is solved with reference currents proportional to phase voltages. Then, the time varying proportionality coefficient is selected such that the output voltage is equal to the desired time function. It has been shown that the proportionality gain should satisfy the first order differential equation, which is implemented in the controller. The behavior of the system with a positive coefficient is equivalent to having a unity power factor. Stability of the complete system (the power converter and controller dynamics) was also proved. A wide range of computer simulations were provided to demonstrate efficiency of the proposed control design for different types of sinusoidal and triangular functions as voltage reference inputs.