1. Introduction
Recently, some nonlinear and linear controllers of the complex control systems are proved to be successful in various areas [
1,
2,
3]. Herein, permanent magnet synchronous motors (PMSMs), as one of the staple applications in the field of motor control, are widely used in high-precision controlled drive systems [
4,
5] owing to their simple structure, high power density, and excellent dynamic performance [
6], for instance electric vehicles [
7]. Therefore, high-performance control strategies are crucial for the smooth functioning of PMSMs. Conventional control methods are divided into field-oriented control (FOC) and direct torque control (DTC) methods. FOC method has high-precision and good stability; however, it is more complicated, and its response speed is slower than that of the DTC method [
8]. Currently, DTC is being widely applied as a quick-response control strategy using electromagnetic torque and flux as the control target [
9,
10,
11,
12,
13]. DTC has a simple structure, low computational complexity, and quick-response time. However, the control effect is not good owing to the limitation of flux and torque ripples [
14]. Therefore, it is necessary to overcome these limitations.
With the development of microprocessors, model predictive control has gradually been introduced into the permanent magnet synchronous motor torque control and is being developed into the model predictive DTC (MPDTC) method. This method has attracted considerable attention because it can be used to intuitively express the state of important variables and to optimise output; therefore, helping to effectively reduce ripples in the output torque [
15,
16,
17,
18,
19,
20,
21,
22]. The finite-control-set MPDTC (FCS-MPDTC) is a novel torque control strategy, which can effectively predict the state of flux and torque under a limited switching state of the voltage source inverter (VSI). This strategy selects an optimal switching state to apply on the control target, minimising ripples in the torque and flux using a cost function with a reasonable weighting factor [
17]. The cost function contains several control targets as a criterion for selecting an optimal voltage space vector (VSV), which intuitively reflects on the control cost. The optimal vector is selected via calculation in each cycle. If the range of output VSVs is limited to eight basic VSVs, there can still be large flux and torque ripples [
23]. However, if the number of VSVs is increased, the computational complexity will increase, and the same applies to the computational cost of the processor, which can hamper real-time operation performance.
DTC based on duty cycle modulation improves the steady-state characteristics of flux and torque and reduces ripples. The idea was later introduced in the design of FCS-MPDTC. The algorithm was simplified through a qualitative analysis of the extended 20 modulated VSVs [
24]. After observing the flux, predictive calculations are performed on the pre-selected VSVs and the optimal VSV is selected based on the results obtained to improve flux and torque control performance. In this method, the finite set contains 20 different VSVs, and six VSVs are used in performing evaluations in each cycle. In comparison with the conventional torque control strategy, the proposed strategy has positive effects on flux and torque control performance, computational efficiency, and phase current THD. A novel hybrid control system was proposed based on PMSM-driven predictive finite state control strategy [
25]. After ignoring the stator resistance voltage drop, the optimal VSV is determined using a cost function with the smallest number of control targets. This method simplifies the algorithm while optimising flux and torque performance. It also achieves good results in reducing the stator phase current THD. Therefore, it is necessary to improve the control performance of the target motor and reduce the computational complexity of the model prediction.
This study proposes a control strategy based on FCS-MPDTC. The effects of active VSVs modulated in a specific manner on the control target are analysed. A control switching table for selecting a pre-selected VSV included in model prediction calculation is thus designed to reduce the number of prediction vectors, which lessens the computational burden. Then, based on deviation result of the target variables with respect to the reference value, the VSV output is adjusted to increase the number of VSVs, which can be outputted to 30, thereby achieving a more accurate and stable torque control. Furthermore, measurement and calculation delays in real-time control are considered in the calculation process of the model prediction. Herein, a novel comprehensive experimental platform for dSPACE and Tyhpoon HIL 402 is used to validate the proposed control method.
The structure of this paper is as follows. A mathematical model of permanent magnet synchronous motor is discussed in
Section 2. The characteristics of conventional FCS-MPDTC are presented in
Section 3. The principle of operation of the proposed novel DTC strategy is presented in
Section 4. Verification of performance of the proposed method based on the simulations conducted is presented in
Section 5. A comprehensive experimental platform based on dSPACE and Typhoon HIL 402 is also established in
Section 5 to verify the feasibility of the proposed control method.
2. Mathematical Model of PMSM
In the stationary α-β coordinate system, the mathematical model of PMSM can be described as:
where
denotes the stator current,
denotes the stator inductance,
denotes the stator voltage,
denotes the stator resistance,
denotes the electrical angular velocity of the motor, and
denotes the stator flux.
The torque equation of PMSM can be expressed as:
where
denotes the electromagnetic torque,
denotes the pole pair of the motor,
refers to cross product,
and
denotes the direct and quadrature stator inductance,
denotes the angle between the stator flux and the rotor flux.
For the surface-mount three-phase PMSM, the stator inductance
at time
(4) can be expressed as:
where
denotes the moment of inertia,
denotes the load torque,
denotes the viscous friction coefficient of the rotor, and
indicates the mechanical angular velocity of the motor.
5. Simulation and Experiment
In order to verify the feasibility and control performance of the proposed FCS-MPDTC, relevant simulations and experiments were completed. This paper proposes an experimental approach by using a new comprehensive experimental platform. The control strategy is implemented using dSPACE DS1006 R&D controller board with ControlDesk and MATLAB/Simulink software packages and Typhoon HIL 402 with digital hardware models. The development process of the simulation and experiment is shown in
Figure 6. After the offline simulation based on MATLAB/Simulink is completed by using the developed control strategy, online operation and monitoring are implemented in the established experimental platform.
5.1. Simulation
Herein, the proposed FCS-MPDTC is simulated using MATLAB/Simulink. The parameters of PMSM and the control system are listed in
Table 7. All methods have a sampling frequency of 10 kHz.
A comparative study of conventional DTC, conventional FCS-MPDTC, and the proposed FCS-MPDTC is shown in
Figure 7. The motor was run at 600 rpm and an external load of 1.5 N·m was applied at
t = 0.2 s. For further comparative analysis, the standard deviation is introduced to measure torque and flux [
31]. The formula for evaluating the torque and flux standard deviation can be expressed as:
where
denotes the torque of the nth sampling point,
denotes the average torque,
denotes the flux amplitude of the nth sampling point,
denotes the average of the flux, and N denotes the number of sampling points.
The simulation results show that the conventional DTC torque standard deviation () and flux standard deviation are higher at steady state, i.e., 0.2761 N·m and 0.0035 Wb, respectively. For the conventional FCS-MPDTC, and are 0.0668 N·m and 0.0020 Wb, respectively, which are lower than those for the conventional DTC. However, the proposed FCS-MPDTC has the best effect. In comparison with the conventional DTC, and are reduced by 0.2269 N·m and 0.0021 Wb, respectively. Similarly, when compared to the conventional FCS-MPDTC, its and are reduced by 0.0176 N·m and 0.0006 Wb, respectively.
Additionally, the THD analysis of the A-phase stator current under different control strategies was performed at a simulation time ranging from 0.075 s to 0.175 s, as shown in
Figure 8. The FCS-MPDTC phase current THD in the proposed method is the lowest; it is 1.48% and 0.21% lower than the conventional DTC and FCS-MPDTC, respectively.
Table 8 shows a quantitative comparison of the steady-state control effects of the three control strategies. Obviously, the proposed FCS-MPDTC torque and flux ripples are significantly reduced, the phase current THD is correspondingly reduced and the motor control performance improved.
5.2. Experiment
Herein, dSPACE and Tyhpoon HIL 402 were used to build a comprehensive experimental platform for theoretical verification. The dSPACE central processing system used the DS1006 driver board; DS2004 and DS2103 were used for A/D and D/A conversion, respectively, and the control system used DS5202 as the AC speed control board. Since the development of complex power electronics and drive systems is a very time-consuming process, requiring different tools and complex steps [
32,
33,
34,
35,
36], the hardware Tyhpoon HIL 402 was chosen for the experiment. It is a test platform integrated with high-precision power electronic hardware model, which can simulate the working state of the hardware under actual working conditions and the physical simulation model can be downloaded to the target machine for hardware-in-the-loop (HIL) testing [
37]. The integrated hardware experiment platform is shown in
Figure 9. The composition of the experimental platform is in turn by the host computer, dSPACE as the controller and Typhoon HIL 402 used as the control object. In the hardware of dSPACE, a DS1006 processor board, a DS5202 FPGA base board and EV1048 signal conditioning hardware (piggy-back) are required for AC Motor Control (ACMC). The controller model designed by the user is executed on the DS1006. The ACMC Real-Time Interface (RTI) block-set is an interface between the DS1006 and the DS5202. After downloading the hardware model of the control target established in the software called Typhoon HIL Control Center to the hardware of Tyhpoon HIL 402, online HIL test can be performed. dSPACE and Tyhpoon HIL 402 can be seamlessly connected through I/O interface. Specific connection settings of the experiment platform are shown as
Figure 10. Typhoon HIL 402 has 16 analog I/O interfaces, three of which are used for the acquisition of phase current and DC voltage. In addition, it has 32 digital I/O interfaces, three of which are used for the acquisition of encoder signal and 3/6 of them are used for PWM signals. The hardware interacts with the host computer through ControlDesk and SCADA software.
Besides, the hardware digital models of the control target built in the experimental test is shown in
Figure 11. The model consists of three parts: single phase rectification, 2L-VSI and PMSM. After it is finished, it is compiled and built into an executable code for download to the target hardware. The settings for the model parameters and control parameters can be made in the relevant software of Typhoon HIL 402. The specific settings of the parameters are as follows: The DC side voltage
Va = 311 V, the stator resistance
Rs = 1.2 Ω, the stator inductance
Ls = 8.5 × 10
−3 H, the rotor flux
= 0.175 Wb, the number of motor pole pairs
p = 4 and the moment of inertia J = 8 × 10
−4 kg·m
2. Furthermore, the sampling frequency is set to 10 kHz, the dead time of the IGBT is set to 5 s, and the motor speed can be outputted and obtained using the internal 1024-pulse incremental encoder.
Figure 12 shows the state of the stator flux and the electromagnetic torque during steady-state no-load operation of the motor under three control strategies captured by ControlDesk and SCADA software, respectively. It can be observed from the figure that the conventional DTC strategy flux ranges from 0.28 Wb to 0.34 Wb, whereas the torque ranges from −2 N·m to 2.5 N·m. The conventional FCS-MPDTC strategy flux ranges from 0.29 Wb to 0.31 Wb, whereas the torque ranges from −1.8 N·m to 2.0 N·m. For the proposed FCS-MPDTC, the strategy flux ranges from 0.295 Wb to 0.31 Wb and the torque ranges from −1.2 N·m to 1.2 N·m with the smallest flux and torque ripples and the best control effect.
6. Conclusions
This study presents a novel DTC strategy based on two-step prediction, which can extend the range of output VSVs. In comparison with the conventional FCS-MPDTC, herein, there is no need to introduce a cost function. Based on the analysis of the effects of six VSVs modulated in a specific manner, only one VSV is selected to participate in the evaluation of model prediction at a time, and the pre-selected vector is adjusted and outputted to the power device based on the result of the computation. At the same time, to improve the tracking capability of magnetic flux and torque, the number of vectors that can be outputted is expanded to 30. In comparison with conventional DTC and conventional FCS-MPDTC, the proposed strategy has lower flux and torque ripples as well as lower phase current THD, which improves the steady-state performance of torque and computational efficiency. In addition, the construction and implementation of the new experimental platform can also provide a new reference for the experiment and development of power electronics and drive systems.