Design and Implementation of Input AC Filters and Predictive Control for Matrix-Converter Based PMSM Drive Systems

: Matrix converters have many advantages, including high-efﬁciency, single-stage AC/AC energy conversion, bidirectional power ﬂow, a near-unity input power factor, sinusoidal three-phase input currents, and sinusoidal three-phase output currents. However, matrix converters have 360 Hz voltage pulsations at the virtual DC-bus, which produce input harmonic currents and output harmonic currents, which cause unsatisfactory responses. To solve the problem of the input harmonic currents, a systematic design of an input three-phase current modulation method and an input three-phase AC ﬁlter that uses two different design methods are proposed. In addition, to improve dynamic responses, two predictive speed controllers are investigated and compared, and a predictive current controller is studied to reduce the output harmonic currents. A digital signal processor and an FPGA are used to execute the control algorithms. Several experimental results validate the theoretical analysis and show that the proposed methods effectively improve the power quality of the PMSM drive system and its input power-source quality.


Introduction
Matrix converters have simple and compact power circuits, which provide bidirectional power flow, sinusoidal input currents, sinusoidal output currents, a unity input power factor, and regeneration capabilities [1]. Recently, matrix converters have gained a lot of attention from researchers, and several have focused on improving the input currents for matrix converters. For example, Lei et al. proposed a damping control of matrix converter via modifying input reference currents by injecting damping signals. By using this method, the oscillations in input currents could be suppressed directly [2]. Sahoo et al. systematically designed an input filter for matrix converters by using an analytical estimation of root-mean-square current ripples. A step-by-step procedure was shown to determine the inductance parameter and capacitance parameter from the specifications of allowable total harmonic distortion in the input currents and voltages. In addition, a resistance parameter was determined to ensure that the filter had a minimum ohmic loss and a reasonable damping factor [3]. Orser et al. investigated using input filter capacitors as an energy storage device when the matrix converter was ridden through [4]. Dasgupta proposed a filter design for direct matrix converters, which focused on dynamic performance and reliable commutation [5]. Kume et al. studied an integrated filter, which reduced commonmode currents, and provided near sinusoidal output voltages. By using that integrated filter, the traditional R-L-C filter was eliminated [6]. Liu et al. investigated a modeling analysis and parameters design of an LC-filter. Those experimental results showed that the LC-filter-integrated quasi-Z-source network provided the necessary functions. As a result, the traditional input filter was eliminated [7].
In this paper, we propose two different approaches for designing the input R-L-C filter of a matrix converter. First, we use a step-by-step procedure to determine the inductance parameter, capacitance parameter, and resistance parameter. This proposed method has some advantages when it is compared to previous papers [3,4]. In the previously published paper [3], three equations with three coupling coefficients were used. As a result, a numeric solution obtained by using a computer simulation was required. To solve this problem, in this paper, we propose three equations in the first method. Each equation is related to only one or two parameters. As a result, the capacitance parameter, inductance parameter, and resistance can be directly solved by using the three equations and simple algebra. In addition, we use a transfer function to determine the required parameters of the R-L-C filter in the second method. After that, we compare the advantages and disadvantages of these two methods. Finally, experimental results demonstrate the effectiveness of the two different filter designs.
Besides dealing with input harmonic currents, the performance of the motor is important as well. Several researchers have concentrated on modulation methods and controller design of matrix converter-based permanent magnet synchronous motor (PMSM) drive systems. For example, Deng et al. proposed a direct torque control for matrix converterbased PMSM drive systems with minimized common-mode voltages [8]. Zhang et al. proposed a modified PI controller and a proportional resonant (PR) controller for matrix converters and then compared their steady-state tracking performance. However, the output of the matrix converter was connected to a three-phase resistor but not a three-phase AC motor [9]. Mubarok et al. implemented a matrix-converter-based IPMSM position control system, in which a model-free predictive current controller was used [10]. Siami et al. proposed a simplified finite control for matrix converter-based PMSM drive systems. By using that simplified method, the computation of the digital signal processor (DSP) was reduced [11]. Xia et al. investigated direct torque control of matrix converter-based PMSM drives by using duty cycles to reduce 30% of torque pulsations [12]. Khiem et al. proposed improving matrix converter-based PMSM drive systems by using an online detection and fault-tolerant switching strategy [13]. Friedli et al. compared the detailed performance of a three-phase AC-AC matrix converter-based PMM drive system and a DC-link voltage back-to-back converter-based PMSM drive system [14]. Furthermore, Di et al. investigated a novel predictive control method with an optimal switching sequence for a two-stage matrix converter [15]. Li et al. implemented a finite set model predictive control strategy for an indirect matrix converter [16]. Di et al. proposed a continuous control (predictive model control) strategy for an indirect matrix converter [17]. Dendouga designed second-order sliding-mode controllers for a direct matrix converter-based PMSM drive system [18]. Bu et al. designed output filters for a GaN-based matrix converter drive system [19]. Feng et al. investigated an improved model predictive control for matrix converters [20]. Orcioni et al. proposed a driving technique for a direct matrix converter based on a sigma-delta modulation technique [21]. Tuyen et al. implemented the space-vector modulation for an indirect matrix converter [22]. He et al. proposed a step-by-step design for a low-pass input filter for a single-stage converter [23].
However, these previous papers, which focused on matrix converter-based PMSM drive systems, only investigated one-step predictive control [10][11][12][13]. The main reason is that the DSP of a matrix converter-based drive system has to execute a four-step commutation, current-loop control, speed-loop control, and coordinate transformation. To fill this research gap, in our paper, an FPGA is used to execute the four-step commutation. In addition, a DSP is used to execute predictive current-control, one-step predictive speed-control, as well as two-step speed-control. Compared to traditional one-step predictive speed-control, the proposed two-step predictive speed-control provides more flexibility in determining the control input of the PMSM drive system and also has fewer steady-state errors than the one-step predictive control. To the authors' best knowledge, this comparison of the two methods to design the three-phase input filter of the matrix converter and the comparison of the two-step predictive speed-loop control and one-step predictive speed-loop control for a matrix converter PMSM drive system are original and have not been investigated by previously published papers . These two methods and their comparison are the main contributions of this paper. Figure 1a shows the main circuit of the matrix converter. The indirect control of the matrix converter in this paper includes a three-phase input current control and a virtual inverter voltage control, which is shown in Figure 1b. The details are discussed as follows:

Indirect Matrix-Converter Control
Energies 2022, 15, x FOR PEER REVIEW 3 of 28 speed-loop control for a matrix converter PMSM drive system are original and have not been investigated by previously published papers . These two methods and their comparison are the main contributions of this paper. Figure 1a shows the main circuit of the matrix converter. The indirect control of the matrix converter in this paper includes a three-phase input current control and a virtual inverter voltage control, which is shown in Figure 1b. The details are discussed as follows: The relationship between input voltage and output voltage of the matrix converter in Figure 1a can be shown as the following:

Indirect Matrix-Converter Control
In addition, the switching states of the nine switches in Figure 1a and the equivalent switching states of the relative switches of the virtual AC/DC converter and inverter in Figure 1b are shown as follows:  The relationship between input voltage and output voltage of the matrix converter in Figure 1a can be shown as the following:

Three-Phase Input Current Control
In addition, the switching states of the nine switches in Figure 1a and the equivalent switching states of the relative switches of the virtual AC/DC converter and inverter in Figure 1b are shown as follows:

Three-Phase Input Current Control
The desired three-phase input currents are shown as follows: and, where i A , i B , and i C are input three-phase currents from the input three-phase voltage source, I m is the amplitude of the input three-phase currents, and ω g is the angular frequency of the input three-phase voltages or currents. Figure 2 illustrates the space vector of the input current vector, which includes six sections based on the α-axis and β-axis coordinates. First, we assume the input current vector is I re f and is between I 1 and I 6 , which is shown in Figure 2. Then, the input current vector I re f is expressed as follows: and, where I 0 is the zero current vector; I 1 and I 6 are the active current vectors; t µ , t v , and t 0 are the time intervals of I 1 ,, and I 0 individually; and d u , d v , and d 0 are the duty cycles of the current vectors I 1 , I 6 , and I 0 individually. In Figure 2, we can see that when the switches R 1 and R 6 from Figure 1 are turned on, the switching state of I 1 (A, C) is created. The other switching states can be expressed in the same way. Table 1 shows the relationship between the input current vectors and the switching states of the virtual AC/DC converter. and, i , and C i are input three-phase currents from the input three-phase voltage source, m I is the amplitude of the input three-phase currents, and g  is the angular frequency of the input three-phase voltages or currents. Figure 2 illustrates the space vector of the input current vector, which includes six sections based on the  -axis and  -axis coordinates. First, we assume the input current vector is and, where 0 I is the zero current vector;   Table 1. Relationship between input current vectors and switches.

Output Voltage Control of Virtual Inverter
The desired three-phase output voltages are shown as follows: and where v a , v b , and v c are output three-phase voltages, and ω o is the angular frequency of the output three-phase voltages of the virtual inverter. Figure 3 shows the eight space vectors of the output voltage vectors based on the α-axis and β-axis coordinates. In Figure 3, when the output voltage vector is v re f and is located between V 1 and V 2 , then the output voltage vector v re f is shown as follows: where V 0 is the zero voltage vector; V 1 and V 2 are the active voltage vectors; t 1 , t 2 , and t 0 are the time intervals of V 1 , V 2 , and V 0 ; and d 1 , d 2 , and d 0 are the duty cycles of the voltage vectors V 1 , V 2 , and V 0 . The duty cycle of the zero vector is as follows: Energies 2022, 15, x FOR PEER REVIEW 6 of 28 I II III Figure 3. Output voltage vectors of virtual inverter.

Input Filter Design
A systematic design procedure of the input filter for a matrix converter is described below.

Method 1
Several papers have investigated the optimal design method of input filters for AC/AC matrix converters [24]. In this paper, by using this systematic design procedure, the parameter 1  is used to determine the ratio of the input harmonic currents to the input fundamental currents. Then, the parameter 2  is used to determine the ratio of the input harmonic voltages to the input rms voltages. Finally, the 3  is used to determine the ratio of the power loss of the R-L-C filter to the rated output power of the matrix converter. The details are discussed as follows.
Step 1: Determine the input current harmonics In the first step, the input harmonic currents are determined. Then, the input rms value of the fundamental currents of the matrix converter, which also includes Figure 1a, can be calculated as follows [3]: The switching state of V 1 (1, 0, 0) means that when the switch of the virtual inverter E 1 turns on, E 2 turns off, and when E 4 turns on, E 3 turns off, and when E 6 turns on, E 5 turns off, all of which can be seen in Figure 1b. The other switching states can be expressed in the same way.

Input Filter Design
A systematic design procedure of the input filter for a matrix converter is described below.

Method 1
Several papers have investigated the optimal design method of input filters for AC/AC matrix converters [24]. In this paper, by using this systematic design procedure, the parameter λ 1 is used to determine the ratio of the input harmonic currents to the input fundamental currents. Then, the parameter λ 2 is used to determine the ratio of the input harmonic voltages to the input rms voltages. Finally, the λ 3 is used to determine the ratio of the power loss of the R-L-C filter to the rated output power of the matrix converter. The details are discussed as follows.
Step 1: Determine the input current harmonics In the first step, the input harmonic currents are determined. Then, the input rms value of the fundamental currents of the matrix converter, which also includes i A , i B , and i C , shown in Figure 1a, can be calculated as follows [3]: where I in1_RMS is the input rms value of the fundamental currents of the matrix converter, m I is the modulation index of the input current vectors of the matrix converter, m V is the voltage modulation index of the virtual inverter, I o1_RMS is the output rms value of the fundamental current of the matrix converter that includes i a , i b , and i c shown in Figure 2a, and φ o is the phase angle between the output voltages and output currents. In Equation (13), the output rms currents of the fundamental currents of the matrix converter, I o1_RMS , can be expressed as follows: where P o is the rated output power of the matrix converter and V g_RMS is the rms value of the fundamental voltages of the input voltage sources. After that, the value of parameter λ 1 can be determined by the designer and is shown as follows: where I gSW_RMS is the rms value of the switching harmonic currents of the input currents, which includes i A , i B , and i C , and I in1_RMS is the input rms value of the fundamental currents of the input currents of the matrix converter. From Equation (15), we can obtain: The ratio of the rms value of the switching harmonic currents of the input currents to the switching harmonic currents of the matrix converter, I insw_RMS , which is related to I in1_RMS , can be determined by the designer. Finally, the relationship between the input harmonic currents and output harmonic currents of the R-L-C filter can be shown as follows [6]: where ω s is the switching frequency, and L f , C f , and R d are the inductance, capacitance, and resistance of the R-L-C filter. In this paper, the parameters of L f and R d are directly obtained from Equations (17) and (21) by using an analytic method without a computer.
Step 2: Determine the input harmonic voltages In the second step, the input harmonic voltages are determined. First, the ratio between the input harmonic voltages, V in_ripple , and the input rms line voltages, V in_line_rms , is described as follows: where V in_ripple is the input harmonic voltages and V in_line_rms is the input rms line voltages. After that, the capacitance of the input R-L-C filter, C f , is shown as follows [7]: where D is the turned-on duty cycles of each switch in the matrix converter.
Step 3: Determine the ratio of the filter power loss to the rated output power First, the λ 3 is determined by the designer to obtain the ratio of the filter power loss to the rated output power as follows: After doing some mathematical processes, one can obtain the following equation [6]: As a result, from Equations (16) and (21), one can obtain the unique solution of the L f , which is the inductance of the R-L-C filter and the R d , which is the resistance of the R-L-C filter. The single-phase equivalent R-L-C filter is shown in Figure 4, which includes the switching RMS voltages, the fundamental RMS voltages, the switching RMS currents, and the fundamental RMS currents. R-L-C filter. The single-phase equivalent R-L-C filter is shown in Figure 4, which includes the switching RMS voltages, the fundamental RMS voltages, the switching RMS currents, and the fundamental RMS currents.

Method 2
The second method uses a frequency domain to design the R-L-C filter. The details are described below.
Generally speaking, the R-L-C filter resonant frequency is less than 1/3 of the switching frequency of the matrix converter, and over 20 times greater than the fundamental frequency. The relationship is as follows: where g f is the frequency of the input voltage source, res f is the resonant frequency of the filter, and s f is the switching frequency of the matrix converter. The capacitor f C of the filter causes a phase shift between the input currents and input voltages. Therefore, the capacitor f C has to be smaller than the allowed maximum capacitor that causes the allowed maximum phase angle max  . This relationship is expressed as follows [24]: and, where max f C is the allowed maximum capacitor, and max  is the allowed maximum phase angle. The resonant frequency is then defined as:

Method 2
The second method uses a frequency domain to design the R-L-C filter. The details are described below.
Generally speaking, the R-L-C filter resonant frequency is less than 1/3 of the switching frequency of the matrix converter, and over 20 times greater than the fundamental frequency. The relationship is as follows: where f g is the frequency of the input voltage source, f res is the resonant frequency of the filter, and f s is the switching frequency of the matrix converter. The capacitor C f of the filter causes a phase shift between the input currents and input voltages. Therefore, the capacitor C f has to be smaller than the allowed maximum capacitor that causes the allowed maximum phase angle θ max . This relationship is expressed as follows [24]: and, where C f max is the allowed maximum capacitor, and θ max is the allowed maximum phase angle. The resonant frequency is then defined as: From Equation (25), one can derive the following equation: In this paper, the resistance is in parallel with the inductance. The transfer function of the second-order system is shown in Figure 5a and is as follows: In Equation (27), the related parameters are as follows: and, where ω res is the resonant frequency in rad/s, Q res is the quality factor, and ξ is the damping ratio. Figure 5b illustrates the relationship of magnitude and frequency in a Bode diagram, and Figure 5c illustrates the relationship of the phase angle and frequency in a Bode diagram for a typical R-L-C filter. Although the first method requires more complicated computation processes, it obtains the parameters of the R-L-C filter via the THD of the real currents and voltages. The second method quickly determines the parameters of the R-L-C filter; however, it is difficult to estimate the THD of the input current. The major reason is that the second method focuses on frequency-domain responses but not harmonic current or voltage constraints.
where res  is the resonant frequency in rad/s, res Q is the quality factor, and  is the damping ratio. Figure 5b illustrates the relationship of magnitude and frequency in a Bode diagram, and Figure 5c illustrates the relationship of the phase angle and frequency in a Bode diagram for a typical R-L-C filter. Although the first method requires more complicated computation processes, it obtains the parameters of the R-L-C filter via the THD of the real currents and voltages. The second method quickly determines the parameters of the R-L-C filter; however, it is difficult to estimate the THD of the input current. The major reason is that the second method focuses on frequency-domain responses but not harmonic current or voltage constraints.

One-Step Predictive Speed Controller Design
The discrete form of the dynamic speed equation for a PMSM is shown as follows [25]: where P is the pole number, m  is the flux linkage from the permanent magnet of each

One-Step Predictive Speed Controller Design
The discrete form of the dynamic speed equation for a PMSM is shown as follows [25]: whereω m (k + 1) is the predictive speed at the (k + 1)th sampling interval, T s is the sampling interval of the speed-loop control, J m is the inertia, B m is the viscous coefficient, and T e is the electromagnetic torque. The electromagnetic torque is calculated as follows: where P is the pole number, λ m is the flux linkage from the permanent magnet of each pole on the rotor, K T is the torque constant, and i q (k) is the q-axis current. To simplify the dynamic speed equation of the PMSM, Equation (31) can be rewritten as follows: and, From Equation (33), one can derive the following equation: Subtracting (36) from (33), one can obtain: and then the estimated speed of the (k + 1)th interval is: Then the performance index is defined as follows [25]: where ω m (k + 1) is the predictive speed at the (k + 1)th sampling interval and q is the weighting factor. By taking ∂i q (k) = 0, one can obtain the following: Finally, the q-axis current command can be shown as follows: From Equations (40) and (41), one can obtain the block diagram of the one-step predictive speed control which is shown in Figure 6. In this paper, a more complicated two-step predictive speed control has been investigated and compared to the one-step predictive speed control, which is discussed in Equation (31) to (41). The particulars of the two-step predictive speed controller are as follows: Subtracting (36) from (33), one can obtain: and then the estimated speed of the (k + 1)th interval is: Then the performance index is defined as follows [25]: where ( ) Finally, the q-axis current command can be shown as follows: From Equations (40) and (41), one can obtain the block diagram of the one-step predictive speed control which is shown in Figure 6. In this paper, a more complicated twostep predictive speed control has been investigated and compared to the one-step predictive speed control, which is discussed in Equation (31) to (41). The particulars of the twostep predictive speed controller are as follows: One-step predictive speed controller

Two-Step Predictive Speed Controller Design
For a deeper investigation, a two-step predictive speed controller is also investigated in this paper. When we discuss the two-step predictive speed controller, the predictive speed ˆ( 1) m k  + and the predictive speed ˆ(

Two-Step Predictive Speed Controller Design
For a deeper investigation, a two-step predictive speed controller is also investigated in this paper. When we discuss the two-step predictive speed controller, the predictive speedω m (k + 1) and the predictive speedω m (k + 2) are both considered.
First, from Equation (38), the predictive speedω m (k + 1) is developed. Then, one can develop the predictive speedω m (k + 2) as follows: Then, the estimated (k + 2)th speed is as follows: Combing Equations (42) and (43), we can derive the following equation: with, and, Next, the performance index is defined as follows: where Y sm * , η, and ∆U sm are defined as follows: In Equation (48), Y sm * is the vector that includes the first-step speed command and the second-step speed command. The weighting matrix η is: where η is the weighting matrix and η w is the weighting factor for the first and second q-axis predictive difference-currents. The control input currents at sampling intervals k and k + 1 are: where ∆U sm are the control input currents at sampling intervals k and k + 1. After that, by taking the partial difference, one can obtain the following equation: From (51), the optimal predictive control input can be expressed as follows: The relative results are as follows: and, Substituting (53), (54), and (55) into (52), one can derive the following equations: and, and, Next, the q-axis current command at the k-th sampling interval is as follows: By using the same method, the (k + 1)th q-axis current command is shown in the following equation: The output q-axis current command sends out only one value for each sampling interval. As a result, we can combine Equations (62) and (63). Then, the final q-axis current using the two-step predictive speed controller is defined as follows: From Equation (56) to (64), we can obtain the block diagram of the two-step predictive speed control. Figure 7 shows the block diagram of two-step predictive speed control system.

Predictive Current Controller Design
The predictive current controller is developed by using a similar method as the predictive speed controller. First, the differential equations of the d-axis and q-axis currents are as follows: ( ) By inserting these two zero-order hold devices into the d-q axis currents and then taking the z-transformation, we obtain the following equation:

Predictive Current Controller Design
The predictive current controller is developed by using a similar method as the predictive speed controller. First, the differential equations of the d-axis and q-axis currents are as follows: and, d dt By inserting these two zero-order hold devices into the d-q axis currents and then taking the z-transformation, we obtain the following equation: The parameters a d , a q , b d , and b q are as follows: and, Next, we can define the control input u d (k) and u q (k) as the following two equations: and, Substituting Equations (72) and (73) into (67), we can obtain a new and simplified state-variable presentation equation as follows: where x d (k) is the new state variable of i d (k), and x q (k) is the new state variable of i q (k). Equation (74) can then be rewritten as the new state-variable vector presentation as the following equations: and, and, The new output equation of the state-variable vector presentation is as follows: Then, we can define the difference of the state variable as follows: where ∆X cm (k) is the difference of the state variables, and ∆U cm (k) is the difference of the output variables. After that, we can define the augmented state variables as follows: with: and, Next, we can define the output Y m (k + 1) of the augmented model as follows: The performance index of the current-loop controllers is defined as follows [26]: where q is the weighting factor. By taking the differential of the performance index to ∆U cm (k), and then by assuming the result to be zero, one can derive the following optimal difference control input ∆U * cm (k) as follows: From Equation (88), the ∆v * d (k) and ∆v * q (k) can be expressed as the following equations: and, Finally, from Equations (89) and (90), we can develop the block diagrams of the d-axis current controller and the q-axis current controller as in Figure 8a, The performance index of the current-loop controllers is defined as follows [26]: where q is the weighting factor. By taking the differential of the performance index to

Implementation
A digital signal processor (DSP), type SH 7237 (manufactured by Renesas Electronics Corporation, Tokyo, Japan), and an FPGA, type 10M16SAU16917G (manufactured by Intel Corporation, Santa Clara, CA, USA), were used to execute the control algorithms. The sampling interval of the speed-loop was 1 ms, and the sampling interval of the current-  . Figure 9a shows the software and hardware block diagrams of the control system. Figure 9b shows the circuits for a matrix converter, including a clamped circuit, some drivers, a matrix converter, an AC/DC power supply, and a control circuit.

Implementation
A digital signal processor (DSP), type SH 7237 (manufactured by Renesas Electronics Corporation, Tokyo, Japan), and an FPGA, type 10M16SAU16917G (manufactured by Intel Corporation, Santa Clara, CA, USA), were used to execute the control algorithms. The sampling interval of the speed-loop was 1 ms, and the sampling interval of the current-loop was 100 µs. The switching frequency of the matrix converter was 10 kHz. The PMSM was an 8-pole motor, which had a 2000 r/min rated speed, 9.55 N·m of rated torque, 9 A of rated current, 0.58 Ω of stator resistance, 1.3 mH of d-axis inductance, 1.7 mH of q-axis inductance, 0.003 N·m·s/rad of inertia, and a 1.14 N·m/A torque constant. The three-phase input filter of method 1 had the following parameters: R d = 15 Ω, L f = 1.5 mH, and C f = 6.8 µF. In addition, the three-phase input filter of method 2 had the following parameters: R d = 22 Ω, L f = 1.5 mH, and C f = 4.7 µF. Figure 9a shows the software and hardware block diagrams of the control system. Figure 9b shows the circuits for a matrix converter, including a clamped circuit, some drivers, a matrix converter, an AC/DC power supply, and a control circuit.

Implementation
A digital signal processor (DSP), type SH 7237 (manufactured by Renesas Electronics Corporation, Tokyo, Japan), and an FPGA, type 10M16SAU16917G (manufactured by Intel Corporation, Santa Clara, CA, USA), were used to execute the control algorithms. The sampling interval of the speed-loop was 1 ms, and the sampling interval of the currentloop was 100 s  . The switching frequency of the matrix converter was 10 kHz. The  Figure 9a shows the software and hardware block diagrams of the control system. Figure 9b shows the circuits for a matrix converter, including a clamped circuit, some drivers, a matrix converter, an AC/DC power supply, and a control circuit.

Experimental Results
Several experimental results are shown here. Figure 10a demonstrates the measured input A-phase current of the matrix converter without using an input filter. The input Aphase current is close to a square-wave high-frequency PWM current, which has a 132.14% THD. Two simplified three-phase input AC filter design methods were proposed without using computer simulations. Figure 10c demonstrates the measured A-phase current using the proposed method 1 of the three-phase input AC filter, in which the parameters include 1  = 0.11, 2  = 0.019, and 3  = 0.0006. The measured A-phase current is nearly a sinusoidal waveform with a 9.55% THD. Figure 10e demonstrates the measured A-phase current using the proposed method 2 input three-phase AC filter, in which the parameters include res  = 12,570 rad/s, res Q = 1.23, and  = 0.4. The A-phase current using method 2 includes a 12.08% THD. As we can observe, the current without using an input filter has the highest THD. The major reason is that the high-frequency PWM current creates a lot of harmonic currents. The proposed method 1 of the three-phase input AC filter design provides lower THD than the proposed method 2. The major reason is that method 1 focuses on harmonic currents and voltages; method 2, however, focuses on frequency responses. Figure 11a demonstrates the measured output currents of the a-phase matrix converter using a PI current controller, which produces an 11.91% THD. Figure 11c demonstrates the measured output currents of the a-phase matrix converter using a predictive current controller, which has a 9.25% THD, which is lower than the THD of the PI current controller. Figure 12a illustrates the measured 300 r/min step-input speed responses by using a PI controller, a one-step predictive speed controller, and a two-step predictive speed controller. The PI controller is designed by pole assignment with two major poles  Figure 12b illustrates the load dis-

Experimental Results
Several experimental results are shown here. Figure 10a demonstrates the measured input A-phase current of the matrix converter without using an input filter. The input Aphase current is close to a square-wave high-frequency PWM current, which has a 132.14% THD. Two simplified three-phase input AC filter design methods were proposed without using computer simulations. Figure 10c demonstrates the measured A-phase current using the proposed method 1 of the three-phase input AC filter, in which the parameters include λ 1 = 0.11, λ 2 = 0.019, and λ 3 = 0.0006. The measured A-phase current is nearly a sinusoidal waveform with a 9.55% THD. Figure 10e demonstrates the measured A-phase current using the proposed method 2 input three-phase AC filter, in which the parameters include ω res = 12,570 rad/s, Q res = 1.23, and ξ = 0.4. The A-phase current using method 2 includes a 12.08% THD. As we can observe, the current without using an input filter has the highest THD. The major reason is that the high-frequency PWM current creates a lot of harmonic currents. The proposed method 1 of the three-phase input AC filter design provides lower THD than the proposed method 2. The major reason is that method 1 focuses on harmonic currents and voltages; method 2, however, focuses on frequency responses. Figure 11a demonstrates the measured output currents of the a-phase matrix converter using a PI current controller, which produces an 11.91% THD. Figure 11c demonstrates the measured output currents of the a-phase matrix converter using a predictive current controller, which has a 9.25% THD, which is lower than the THD of the PI current controller. Figure 12a illustrates the measured 300 r/min step-input speed responses by using a PI controller, a one-step predictive speed controller, and a two-step predictive speed controller. The PI controller is designed by pole assignment with two major poles P 1 = −10.6 + j7.5 and P 2 = −10.6 − j7.5. As we can observe, the PI controller provides the highest overshoot among the three different speed controllers. The one-step predictive speed controller, which chooses a weighting factor q = 0.25, has the quickest transient response when compared to the two-step predictive speed controller and the PI controller. The two-step predictive speed controller, which chooses a weighting factor η = 0.25 0 0 0.25 and ρ = 0.5, has the lowest overshoot but the slowest transient response when compared to the PI controller and the one-step predictive speed controller. Figure 12b illustrates the load disturbance responses at 300 r/min with a 2 N·m external load. The one-step predictive controller provides the smallest speed drop and the fastest recovery time relative to the PI controller and the two-step predictive controller. However, the two-step predictive controller provides fewer steady-state errors than the PI controller and the one-step predictive speed controller. Figure 13a demonstrates the measured q-axis current response by using the PI controller, which has a higher overshoot and slower response than the one-step predictive current controller. Figure 13b demonstrates the measured q-axis current response by using the one-step predictive controller. As can be observed, the one-step predictive current controller performs better than the PI controller again, including faster transient responses and lower overshoot. Table 2 shows the comparison of the input harmonic currents. Method 1 has fewer input harmonic currents than method 2. Table 3 shows the comparison of the speed responses. The one-step predictive speed controller provides quicker transient responses and quicker recovery time. However, the two-step predictive speed controller provides fewer speed drops and smaller overshoots than any other controller.
controller and the two-step predictive controller. However, the two-step predictive controller provides fewer steady-state errors than the PI controller and the one-step predictive speed controller. Figure 13a demonstrates the measured q-axis current response by using the PI controller, which has a higher overshoot and slower response than the one-step predictive current controller. Figure 13b demonstrates the measured q-axis current response by using the one-step predictive controller. As can be observed, the one-step predictive current controller performs better than the PI controller again, including faster transient responses and lower overshoot. Table 2 shows the comparison of the input harmonic currents. Method 1 has fewer input harmonic currents than method 2. Table 3 shows the comparison of the speed responses. The one-step predictive speed controller provides quicker transient responses and quicker recovery time. However, the two-step predictive speed controller provides fewer speed drops and smaller overshoots than any other controller.    Harmonic order 0 (d) Figure 11. Measured a-phase output currents of matrix-converter using different current controllers.     Table 3. Comparison of speed responses.

Two-Step Predictive
Step speed command 300 r/min

Conclusions
In this paper, two different design methods, which are simpler than the traditional numeric methods, using a computer for a three-phase input AC filter for matrix-converter PMSM-drive systems, are investigated and compared. The first method requires only analytic processes, which is simpler than the traditional numeric method using a computer. The second method uses frequency responses to determine the R-L-C parameters of the AC filter. In addition, a two-step predictive speed controller and a one-step predictive speed controller are investigated to improve the dynamic responses of speed-loop control systems. Moreover, a predictive current controller is designed to provide smaller harmonic currents than a PI current controller. Experimental results show that the proposed methods can effectively improve the performance of matrix converter-based PMSM drive systems, including obvious improvements in the input AC harmonic currents, output AC harmonic currents, and dynamic responses.

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