Open-access Design Guide for Integral CCS-MPC Applied to a Surface Permanent Magnet Synchronous Motor with HiL Implementation

ABSTRACT

This paper presents a design guide for applying an integral convex control set modelbased predictive control (CCS-MPC) in a surface permanent magnet synchronous machine (SPMSM). The proposed CCS-MPC has an intrinsic integral action that eliminates the need of an external disturbance estimator for disturbance rejection. In the control design, this work presents a relation between the openloop cost function weighting factor and the closed-loop bandwidth factor, which could be used to improve the controller design. Several tests are performed in the hardware-in-the-loop experimental, as sinusoidal and step reference tracking. Experimental frequency responses are also provided.

KEYWORDS
CCS-MPC; Integral control; SPMSM

I. INTRODUCTION

Model-based predictive control (MPC) has been extensively researched in power electronics and motor control applications over the last decade [1]-[5]. The interest in MPC arises from its flexibility and capabilities as a control strategy [6].

There are two main approaches to applying MPC in power electronics, distinguished by how the control action is described. When the control action is limited to a finite set of switch states, it is referred to as Finite Control Set (FCS) MPC. Conversely, if the control action is modulated and considered a real value, it is known as Convex Control Set (CCS) MPC [7].

Both common formulations of MPC face difficulties when integral action is required, especially if the control is not informed about the steady-state control action [8]. Several formulations have been proposed to incorporate integral action in different scenarios.

The standard method for implementing an integrator effect in MPC is to augment the state-space model and redefine the states based on their variations [9]. However, this approach is limited to tracking DC references and is highly sensitive to noise [8].

In the context of motor control, both CCS and FCS-MPC commonly use a load estimator and feedforward control. This estimator can exploit certain properties of the MPC formulation [10] or be a state observer with an augmented model [11]. These methods are designed independently of the control and can influence the designed dynamics.

In other MPC application contexts, a possible solution is to consider previous samples, compare the actual values with the expected steady-state values, and add the difference to the control action [12]. This approach is similar to Dynamic Matrix Control (DMC) [13], but it requires storing past samples and typically works only for DC references. Another solution is to include the accumulated error penalization in the MPC cost function [14]. This makes the MPC formulation more complex and results in a non-zero cost function at the minimum. However, it allows for AC reference tracking and does not depend on an external disturbance estimator, thus preserving the closed-loop response.

Therefore, this paper specifically studies this latter MPC formulation in the context of motor control. This formulation involves a significant number of weighting factors, which complicates the control design and can degrade the closed-loop performance. Additionally, applying this control to a permanent magnet synchronous motor (PMSM) has unique challenges due to the nonlinear nature of the motor model. Hence, this paper presents a design guide for this type of MPC applied to surface PMSM. This work builds on previous studies [5], [15]–[17], and is a direct extension of a paper originally published in the 2023 IEEE 8th Southern Power Electronics Conference and 17th Brazilian Power Electronics Conference (SPEC/COBEP) [18], which is a continuation of the paper published in the 2019 IEEE 5th Southern Power Electronics Conference and 15th Brazilian Power Electronics Conference (SPEC/COBEP) [16]. The novelty of this paper lies in the clear design guide presented, the detailed results and analysis, and the introduction of a normalization step in the application of this controller. The results of this paper are evaluated using Hardware in the Loop (HiL) with a Typhoon HIL setup.

Section II presents the PMSM modeling. Section III presents the MPC formulation. Section IV presents the proposed design guide. Section V provides an application example of the proposed design guide. Section VI describes the methods used to obtain the results. Section VII presents the results. Finally, Section VIII concludes the work.

II. SURFACE PMSM AND INVERTER MODELING

This section presents the motor and the inverter modeling.

A. Motor model in continuous-time

The PMSM is a continuous nonlinear system. We consider these hypotheses to obtain a mathematical model: saturation and hysteresis can be neglected; Coulumb Friction and cogging torque can be neglected; the motor is symmetrical; the dq transformation can be used to represent the motor. Therefore, in dq-coordinates for electrical variables, the surface PMSM dynamical behavior is given by:

x ˙ ( t ) = A c ( x ( t ) ) x ( t ) + B c u ( t ) + E c d ( t ) y ( t ) = C c x ( t ) (1)

whereas

x ( t ) = [ i d s ( t ) i q s ( t ) w e ( t ) ] T , (2)
u ( t ) = [ v d s ( t ) U q s ( t ) ] T , (3)
y ( t ) = [ i d s ( t ) w e ( t ) ] T , (4)
d ( t ) = τ l ( t ) (5)

being ids the direct axis current [A], iqs the quadrature axis current [A], vds the direct axis voltage [V], vqs the quadrature axis voltage [V], ωe the electrical angular speed [rad/s], τl the load torque [Nm], and being

A c ( x ( t ) ) = [ − R s L s w e ( t ) 0 − w e ( t ) − R s L s − Λ p m L s 3 N p 2 Λ p m 8 J m − D m J m 0 ] , (6)
B c = [ 1 L s 0 0 0 1 L s 0 ] T , (7)
C c = [ 1 0 0 0 0 1 ] T , (8)
E c = [ 0 0 1 J m ] T , (9)

being Dm the friction coefficient [Nms], Jm the moment of inertia [kgm2], Rs the stator resistance [Ω], Ls the equivalent phase inductance [H], Np the poles number, and Λpm the permanent magnetic flux [Wb].

B. Motor operation limits

In the steady-state, the motor behavior follows

V ^ s = Λ p m w e , s s + ( R s + j w e , s s L s ) I ^ s (10)

where V^s is the peak steady-state voltage phasor, I^s=Id is the peak steady-state current phasor, and we,ss is the steady-state electrical speed. The Vs and I^s=Iq+jId phasors are referred to back-electromotive force phasor and j=−1.

Assuming the maximum torque per ampere operation (MTPA), for the surface PMSM, we have that Id=0, which implies I^s=Iq=Is,max. Therefore, all the current is applied in torque generation, and the motor behavior follows that

| V s , max | 2 = ( ω e , s s Λ p m + R s I s , max ) 2 + ( ω e , s s L s I s , max ) 2 . (11)

Condition (11) implies a situation where maximum speed is achieved under full load.

Assuming the limit field weakening condition, we have that Iq≈0, which implies

| V s , max | 2 ≈ ( w e , s s Λ p m 2 − w e , s s L s I d 2 ) 2 + ( R s I d ) 2 . (12)

Condition (12) presents the relation between Id and we,ss. Therefore, we can obtain the machine absolute maximum speed from the minimum Id possible. Also, from a given speed, we can calculate the Id needed to reach that speed. In such case, we get:

I d ≈ − U x − L s Λ p m w , s s 2 R 2 + ( w e , s s L s ) 2 (13)

with

U x = [ ( L s V s , max ) 2 − ( R s Λ p m ) 2 ] w 2 , s s + ( R s V s , max ) 2 . (14)

C. Motor model in discrete-time

To further apply MPC, we need to obtain a discrete-time model of the PMSM.

Therefore, it is necessary to linearize the continuous model around an operation point. For the application in MPC, a zero-order linearization is enough. Thus, we define we(t)=we,op as a constant value defined by the controller design.

Next, a discretization method is required. We prefer exact discretization, also known as zero-order hold (ZOH), as it provides more detailed information for the MPC. Typically, in motor control applications, the controller design uses first-order Euler discretization. However, this approximation omits the effect of the applied voltages on the speed in the subsequent control step. Exact discretization retains this information. The downside is that the model is limited to the operating point for which this discretization is applied. To perform exact discretization, we need to apply:

A = e A c ( x o p ) T s ∈ ℝ n × n (15)
B = A − 1 ( x o p ) ( A – I n ) B c ∈ ℝ n × n u (16)
C = C c ∈ ℝ n y × n (17)

where Ts is the sampling time and In is an identity matrix of order n (open-loop process order), and nu is the number of inputs and ny is the number of outputs.

D. Inverter model

We model the inverter considering ideal switches. Therefore, the three-phase voltages produced by the inverter are described by:

[ v a s ( t ) v b s ( t ) v c s ( t ) ] = U d c ( t ) 3 [ 2 − 1 − 1 − 1 2 − 1 − 1 − 1 2 ] [ γ a s ( t ) γ b s ( t ) γ c s ( t ) ] (18)

where γas,γbs and γcs are the switches command and Udc is the dc-link voltage.

The dc-link current is given by:

i d c ( t ) = i r e c t ( t ) – ( i a s ( t ) γ a s ( t ) + i b s ( t ) γ b s ( t ) + i b s ( t ) γ b s ( t ) ) (19)

where irect(t) is the bus supply current. Therefore, the dc-link dynamic is given by:

d v d c ( t ) d t = i d c ( t ) C d c (20)

where the Cdc is the dc-link capacitance.

If sinusoidal pulse-width modulation (SPWM) is used, overmodulation may be necessary to reach the motor limit conditions.

III. INTEGRAL CCS-MPC TO LINEAR PROCESSES

When designing an MPC, we first obtain an open-loop prediction model of the process. We then propose a cost functional that indicates what aspects the control should penalize. Finally, we determine the control action by minimizing the cost functional subject to the prediction model and any other constraints.

In this paper, we use a State-Space MPC without constraint treatment. This means the open-loop prediction model of the process is based on a state-space open-loop model of the process. This prediction model contains information about N future steps, where N is the prediction horizon. Furthermore, the only constraint considered in the control design is the prediction model itself. The cost functional penalizes the tracking error, the control action, and the accumulated error of outputs. This third term is uncommon in predictive controls, but it enhances the control wide-band tracking capability, giving the control integral action. Therefore, we call this control as Integral Convex Control Set MPC (ICCS-MPC). Consequently, the cost functional is given by

J ( u ^ s e q ) = ( y ^ s e q – y ^ s e q ) T W y ( y ^ s e q − y ^ s e q ) + u ^ s e q T W u u ^ s e q + z ^ s e q T W z z ^ s e q (21)

whereas the prediction model can be written as:

y ^ s e q ( u ^ s e q ) = H u ^ s e q + Q x ( k ) ∈ ℝ N n y × 1 (22)

with the future reference sequence being

y ^ s e q ( k + N | k ) = [ y ^ ( k + 1 | k ) y ^ ( k + 2 | k ) ⋮ y ^ ( k + N | k ) ] ∈ ℝ N n y × 1 (23)
u ^ s e q ( k + N − 1 | k ) = [ u ( k ) u ^ ( k + 1 | k ) ⋮ u ^ ( k + N − 1 | k ) ] ∈ ℝ N n u × 1 (24)
H = [ C B 0 ⋯ 0 C A B C B ⋯ 0 ⋮ ⋮ ⋱ ⋮ C A N − 1 B C A N − 2 B ⋯ C B ] ∈ ℝ N n y × N n u (25)
Q = [ C A C A 2 ⋯ C A N ] T ∈ ℝ N n y × N n (26)
y ^ s e q = [ y ^ r ( k + 1 | k ) y ^ r ( k + 2 | k ) ⋮ y ^ r ( k + N | k ) ] ∈ ℝ N n y × 1 (27)

and the predicted accumulative error sequence given by

z ^ s e q = [ z ^ ( k + 1 | k ) z ^ ( k + 2 | k ) ⋮ z ^ ( k + N | k ) ] ∈ ℝ N n y × 1 (28)

whereas

z ^ ( k + 1 ) = z ( k ) + y ^ r ( k + 1 ) – y ^ ( k + 1 ) , (29)

and Wy∈ℝNny×Nny, Wu∈ℝNnu×Nnu and Wz∈ℝNny×Nny are the matrices that consider multiple tracking penalties wy, wu and wz for the error of the predicted output signals y^ in relation to the future reference signals yr, the sequence of predicted control actions u^ and the predicted accumulated error z^, respectively. We assume the same penalty exists for the same variable in any future step. Also, we assume that Wy, Wu and Wz are diagonal matrices. However, the penalty can be different for different outputs in y^, for example.

By minimizing (21) subject to (22) with respect to the variable u^seq and selecting the terms of u^seq at instant k, we obtain the control action u(k). We apply only the terms at instant k from the sequence and recalculate the entire sequence at the next sampling time. This procedure, known as receding horizon, defines the control as MPC. In the case we are analyzing, the control action is given by [14]

u ( k ) = K x x ( k ) – K z z ( k ) + K r y ^ s e q ∈ ℝ n u × 1 (30)

with

K x = K [ Q T W y H + ( T N Q ) T W z T N Q ] T ∈ ℝ n u × n K z = K ( W z T N H ) T ∈ ℝ n u × n y K r = K ( W y T H + T N T W z T N H ) T ∈ ℝ n u × n y N K = I o [ H T W y H + W u + ( T N H ) T W z T N H ] − 1 ∈ ℝ n u × n u N
I o = [ I N 0 ⋯ 0 ] ∈ ℝ n u × n u N T N = [ I y 0 ⋯ 0 I y I y ⋯ 0 :: ⋮ ⋱ ⋮ I y I y I y I y ] ∈ ℝ N n y × N n y I y = [ 1 0 ⋯ 0 0 1 ⋯ 0 :: ⋮ ⋱ ⋮ 0 0 0 1 ] ∈ ℝ n y × n y

and 0 are matrices of zeros from the respective order.

The control law from (30) has three clear different components: the first penalizes the process states, being a feedback state action; the second penalizes the accumulative error, being an integral action; and, the third penalizes (or filters) the reference, being a feedforward-like action. Figure 1 presents a block-diagram for control action calculation.

FIGURE 1
ICCS-MPC block-diagram. The omitted operators in the connectors are additions.

IV. DESIGN RULES FOR ICCS-MPC TO SPMSM

The MPC strategy proposed in Section III has several terms to choose for designing the cost functional. Therefore, choosing those terms implies what is optimal in the control design. A wrong choice can yield the closed-loop system to a "bad" performance from a human being perspective or even to instability. Thus, in this section, we present a design guide to apply the control strategy from Section III in a surface PMSM.

We can now particularize the control design considering the model shown in Section II. Therefore, we have:

x ( k ) = [ i d s ( k ) i q s ( k ) w e ( k ) ] T , (31)
y ( k ) = [ i d s ( k ) w e ( k ) ] T , (32)
u ( k ) = [ U d s ( k ) U q s ( k ) ] T , (33)
y r ( k ) = [ i d s , r ( k ) w e , r ( k ) ] T , (34)
z ( k ) = [ i d s , z ( k ) w e , z ( k ) ] T . (35)

Besides the prediction horizon N, the tuning parameters are:

w y = d i a g ( [ ρ i d s ρ w e ] ) (36)
w u = d i a g ( [ ρ v d s ρ v q s ] ) (37)
w z = d i a g ( [ ρ i d s , z ρ w e , z ] ) . (38)

The following subsections present rules for designing the control.

A. Linearized model

The first step is to obtain the linearization model, in a speed operation point. We suggest linearizing about the middle of the maximum motor speed.

B. Normalization

We define the weighting factor of control action as:

W u = ( C B ) T w u ( C B ) (39)

being wu the normalized weighting factor of control action, given by

w u = d i a g ( [ ρ v d s ρ v q s ] ) . (40)

For wz=0, wy=Iy, and wu=Iy we normalize the cost function, being the same penalization for the control action and the tracking error [19]. Hence, we can use the other weighting factors on the same scale. It is important to note that wu matrix is not necessarily diagonal due to the normalization.

C. Adjusting tracking penalization

For the control application in the PMSM, the control designer just needs to guarantee ρwe≥ρids to ensure priority in the speed tracking. The control will work if ρwe is a slightly smaller than ρids, but choosing ρwe much smaller than pide will cause instability in the closed-loop control. For simplicity, we can just maintain wy=Iy.

D. Adjusting accumulative error penalization

In this case, it is better to ensure the integral penalization in the smaller value that attends the steady-state tracking. It is better, as well, if ids,z penalization is higher than the we,z penalization. The control designer can start with both ρidsiz and ρwe,z in low values and rising then or he could start wz=Iy and reduce pwez for example.

E. Adjusting control action penalization

The most important adjustment after normalization is the control action penalization. These parameters regulate the controller bandwidth, controlling the energy expended on the plant. Consequently, high values for puds and puqs will slow the dynamic response of the closed-loop system. Conversely, low values for puds and puqs will accelerate the closed-loop dynamics. However, with normalization, choosing Wu=Iy will result in a considerably fast response. Even Wu=100Iy will yield a fast closed-loop response if the other parameters are close to unity.

Penalization can be the same for vds and vqs, but usually, the penalization for vds can be considerably lower to ensure a fast ids response. The control designer can set puds=10, for example.

One way to choose puqs is by analyzing the expected closed-loop frequency response of the speed to its reference. The control designer can adjust puqs by an order of magnitude and analyze the changes in bandwidth.

Some responses seen in simulation are faster than what is achievable in practice. Analyzing the obtained gains is also important since high gains can cause variable overflow in a microcontroller. This will be clarified in Section V.

V. CONTROL DESIGN EXAMPLE

This section presents an example for designing the control for a PMSM.

The PMSM parameters and rated values are presented in Table 1. We suppose inverter operation in the non-over-modulated region to focus on the control performance with linear control action. Therefore, the maximum values for the motor can not be achieved.

TABLE 1
Motor Parameters and Rated Values

The first step is to obtain the discrete linearized model. We linearize around 240 rad/s (electrical) since this operating point is in the middle of the speed range in the MTPA region (the lower limit is 0 and the upper limit is approximately 480 rad/s, equivalent to 20 rad/s mechanical or 200 rpm).

Next, we normalize the control penalization, define N = 2, and evaluate the motor closed-loop response for ids,r=0 A, considering wy=Iy, wu=100Iy (this condition is chosen because tuning at unity makes the control action significantly affected by commutation noise), and wz≈0. We gradually increase ρidsiz and ρwez until steady-state tracking is achieved for ids,r and we,r, with ρids.z=1 and ρwe.z=0.01.

Finally, we define three controllers for testing: Controller 0 (ρvqs=103), Controller 1 (ρvqs=104), and Controller 2 (ρvqs=105), and evaluate the motor response for these three tunings. In all cases, we maintain puds=102 since the ids correction involves lower voltage values than the speed correction, and the control should have more freedom to correct the ids error. Controllers with puqs<103 are significantly affected by commutation noise.

VI. METHODS

The experimental results are obtained using Hardware-in-the-Loop (HiL) simulation on a real-time simulator platform from Typhoon HIL, model HIL404. The motor and the inverter are embedded in the Typhoon HIL platform and are emulated in real time with a resolution of 1.0 µs. Figure 2 shows the schematic used in the HiL implementation.

FIGURE 2
Schematic of the implementation

The designed controllers (Controller 0, Controller 1 and Controller 2 presented in Section V) are implemented in the microcontroller STM32F767ZI using development board NUCLEO-F767ZI. The microcontroller has an ARM-m7 core, native floating point unit and 216 MHz CPU. Figure 3 shows the experimental setup.

FIGURE 3
Experimental setup

The results were selected to evaluate the controllers performance in different scenarios: conventional speed tracking, with ramp references and disturbance rejection; incremental step references, with power tracking analysis; sinusoidal references, to ac tracking analysis; experimental Bode diagram, to observe the control bandpass width. This last result was obtained using a Rohde&Schwarz RTB2004 oscilloscope.

All the data was collect using Typhoon HIL SCADA software, at 100 µs sampling rate.

VII. RESULTS AND DISCUSSION

This section presents the results and discussion regarding the controllers designed in the previous sections. Additionally, it explores the application of ICCS-MPC in comparison to FCS-MPC, highlighting their relative performance. Furthermore, it provides an analysis of the computational cost associated with each approach.

A. Results and discussion involving designed controllers for speed tracking

Figure 4 presents the speed dynamic response for the three designed controllers. A load torque of 20 Nm is applied to the motor at 0.5 s and removed at 1.25 s. In all cases, the closed-loop speed can track the reference, except in maximum speed and load, due to the voltage limit. Controllers 0 and 1 have faster disturbance rejection than Controller 2 which is visibly slower, as expected from the control design. As expected, Controller 0 is more sensitive to the inverter noise than the others since it has the lowest puqs. The high variance in Controller 0 voltage is significantly influential, causing it to remain nearly saturated most of the time, oscillating between saturation states. This substantial variance also leads to noisier currents compared to those observed in other responses. Despite these fluctuations, ids,r tracking is successfully achieved as anticipated under the given design conditions. As there is no feedback linearization decoupling in this controller, some impact is seen on the ids dynamics during the transitions. We stand out that the control naturally penalizes the cross-coupling dynamic with the feedback action (Kx gain). Controller 1 is also susceptible to noise but with significantly lower intensity than Controller 0. Controller 2 has high noise rejection but it has a slower speed dynamic response and slower disturbance rejection.

FIGURE 4
Speed Tracking Test with load disturbance rejection for different controllers, presenting mechanical speed, dq-voltages and dq-currents for each case

In Fig. 5, we see an increasing step test to all controllers. The full load (20 Nm) is inserted at 1.5 s. The iqs behavior (which is proportional to the electromagnetic torque) clearly shows this load insertion and all the controllers' responses to provide enough current. Due to the high noise sensitivity, Controller 0 has encounters difficulty of high-speed reference tracking as it frequently enters saturation regions. Controllers 1 and 2 can reject disturbances even in the high-speed references. However, Controller 1 saturates more frequently than Controller 2, which only approximates itself from voltage saturation near the actual voltage limit of the non-overmodulated motor-inverter system. In all cases, we see the reduction in vds value to maintain ids in the null reference, which guarantees the MTPA condition. Therefore, in the maximum speed and load condition, the machine operates in the rating condition. Controller 2 is the best to provide steady-state operation at full power. However, this same controller had the worst disturbance rejection, and the slower transient response at each speed step. Besides this transient response can be considered satisfactory.

FIGURE 5
Speed Tracking with sequence of step references and full-load for different controllers, presenting mechanical speed, dq-voltages and dq-currents for each case

Figure 6 presents the speed tracking for a sinusoidal reference of 10 Hz. This test is performed to evaluate the transient response of the controllers. Controller 0 and Controller 1 were capable to allow the motor tracking of the 10 Hz sinusoidal reference. Therefore, these controllers have at least 10 Hz bandwidth. However, like in the other tests, Controller 0 has high noise sensitivity, and it has even vds peaks besides vqs constant saturation. Controller 1 has similar performance with less noise sensitivity. It indicates that Controller 1 has more attenuation than Controller 0 at high frequencies, which indicates latter's larger bandwidth. Controller 2 was not capable to allow speed tracking at 10 Hz reference. Therefore, this controller has a reduced bandwidth when compared with Controller 0 and Controller 1. This condition justifies Controller 2 high noise rejection since we can suppose high attenuation at high frequencies.

FIGURE 6
Sinusoidal Speed Tracking Test for evaluating different controllers bandwidth, presenting mechanical speed, dq-voltages and dq-currents for each case
FIGURE 7
Experimental Closed-loop Bode Diagram for Controllers 0 and 1 (both with more than 10 Hz cut-off frequency)
FIGURE 8
Torque per speed characteristic for different controllers
FIGURE 9
Current in function of the time and Power spectrum density (PSD) for the same current in steady-state for maximum speed with the load torque applied, in the same speed tracking test presented in Fig. 4 for each controller
FIGURE 10
Three-phase currents for speed tracking test from Fig. 4 for Controller 2

B. Bandwidth Analysis

Figure 7 presents the experimental Bode Diagram for Controllers 0 and 1. We are unable to perform Controller 2 frequency analysis due to its low bandwidth. These Bode Diagrams are formulated considering the speed as output and the speed reference as input, for ids,r=0. In Fig. 7, Controller 0 allows about 100 Hz tracking bandwidth, with a small resonance about 70 Hz. The phase tends to 270° in high frequencies. Controller 1 allows about 40 Hz bandwidth. The closed-loop starts with phase delays from values lower than 10 Hz. It is seen some anomalies close to 1 kHz due sampling problems at these frequencies.

These experimental closed-loop Bode Diagrams show the speed tracking capabilities of the closed-loop systems, in relation to the speed reference. However, they do not show directly the noise influence over the control action. They show clearly that Controller 0 has a larger bandwidth than the others, still it should have high attenuation at high frequencies, considering that these are high frequencies of speed references. In fact, Controller 2 has a smaller bandwidth and it has low noise sensitivity from other signals. Controller 0 and Controller 1 have a larger bandwidth than Controller 2 but they are significantly more affected by the inverter noise. This sensitivity is not expected from the Bode Diagram analysis in a first view, but this frequency analysis is not a sufficient index to explain this noise sensitivity. What the bode-diagram says is that there is a direct relation between the puqs tuning (open-loop weighting) and the closed-loop speed bandwidth, which is a important relation for the control design. With this single parameter, it is possible to evaluate the closed-loop bandwidth frequency. However, as the bandwidth increases, so does the noise sensitivity, which is not directly reflected in the closed-loop frequency response.

C. Torque Analysis

Figure 8 presents the torque-speed relation for the test observed in Fig. 5, from 7 rad/s (when the load torque is inserted). It shows that the steady-state torque has a considerably larger ripple when Controller 0 is applied due to the noise sensitivity of this controller. Even the transitions, which are faster, require high torque quantities, close to the power limits. The motor can provide these requirements in lower speeds since they are more distant to the motor power limit. In high speeds, the transitions are slower, because the motor can not provide the required torque due to the power limit. It characterizes the PMSM nonlinear behavior. Controller 1 has a lower torque requirement for transitions than Controller 0. However, it has also high torque demands (closed to the rated torque) and, at high speeds, the torque transitions are reduced. Controller 2 has smoother transitions that require a small extra-torque. Also, the steady-state torque has small ripple for Controller 2. The relation of torque-speed for this controller is practically flat. All the controllers have a torque reduction when the maximum speed is reached and the power limit is saturated. However, Controller 2 has a higher average torque since it has lower noise. This condition explains why it rejects better the disturbance in the high speeds in the test observed in Fig. 5.Another factor seen in Fig. 5 is the presence of the iqs spikes. These spikes are directly correlated with the torque transients seen in the Fig. 8.

Considering the exposed, a controller tuned with puqs between the values used for Controller 1 and Controller 2 could be ideal for this specific application, likely providing a bandwidth of about 10 Hz. Among the proposed controllers, Controller 2 can be considered the best due to its lower noise sensitivity and better torque-per-speed ratio, despite having a lower bandwidth than the others. If a larger bandwidth is required, Controller 1 is preferable over Controller 0, as Controller 0 operates near saturation almost all the time due to its aggressive characteristics.

D. Current analysis

Figure 9 presents current in function of the time and Power Spectrum Density (PSD) for the same current in steady-state for maximum speed with the load torque applied, in the same speed tracking test presented in Fig. 4 for each controller.

We observe that all controllers provide quasi-sinusoidal currents in the time domain by Fig. 9. Considering all PSD results, presented in Fig. 9, we see the main power centered on the fundamental frequency. The spectral analysis reveals an absence of significant power density at other frequencies in the spectrum, indicating that the current exhibits high quality with minimal harmonic distortion. The low harmonic distortion is also seen the THD (Total Harmonic Distortion) result presented in each PSD result. The presented current distortion has more influence from the VSI usage than the controller by itself since even in the more aggressive configuration the THD is small.

Figure 10 presents the complete three-phase currents for the test presented in Fig. 4 for Controller 0. In Fig. 10, we see that the three-phase currents are separated by 120 electrical degrees. In the detail, we see these currents respected the sinusoidal form when there is load torque and/or a speed transition as expected. It is also noticed current frequency variates with the motor speed, since it is a PMSM.

E. Computational cost results and discussion

Based on tested measurements, the complete interrupt routine requires 60 µs out of the total 100 µs sampling period. Most of this time is consumed by the dq-transformation and ADC operations. Specifically, the ICCS-MPC computation accounts for only 7.76 µs, which represents a significantly smaller fraction of the total sampling period.

F. Discussion on Using ICCS-MPC over FCS-MPC

In power electronics, two primary MPC actuation strategies are widely used. The first involves modulation, characteristic of CCS-MPC. The second directly switches states without modulation, known as FCS-MPC.

The key differences between modulated and unmodulated control strategies define the distinctions between FCS-MPC and the proposed ICCS-MPC. For additional details, see [16], [20], and [7]. In particular, [16] provides a direct comparison of FCS-MPC, FCS-MPC using the ICCS-MPC cost function, and ICCS-MPC itself for N=1, applied to a RL-load. The following discussion summarizes these differences.

1) Advantages and Challenges of Modulated Control

Modulated control, such as CCS-MPC, offers several benefits, such as:

  • It maintains a fixed switching frequency, a critical parameter in converter and control system design.

  • The fixed frequency simplifies inverter design, enabling accurate estimation of current attenuation relative to the motor bandwidth, and facilitates dc-link and filter design.

  • Sampling time and control bandwidth can be aligned, typically limiting the control bandwidth to one-quarter of the switching frequency to comply with the Nyquist-Shannon sampling theorem.

  • In microcontroller (MCU) implementations, the use of PWM peripherals ensures synchronization between interrupt timings and ADC operations.

  • The fixed switching frequency ensures consistent noise characteristics that can be mitigated with higher switching frequencies.

  • Modulated control typically produces smoother current profiles and reduces torque ripple compared to unmodulated strategies.

Despite these advantages, the use of a fixed frequency introduces constant-frequency noise, which, while predictable, requires careful design to manage effectively.

2) Advantages and Challenges of Unmodulated Control

Unmodulated control, such as FCS-MPC, has distinct characteristics:

  • It does not operate at a fixed switching frequency, resulting in a variable range of action.

  • In digital control systems, the maximum effective switching frequency is limited to half the interrupt rate [4].

  • For small motors with low inductance, this variability can result in greater current distortion and torque ripple compared to modulated approaches at the same interrupt rate [16], [20].

  • Lower switching frequencies reduce commutation losses, which is a significant advantage in some applications.

  • Filter design becomes more complex as it cannot target a single frequency. Consequently, high-order filters may be required for effective attenuation [21].

  • Implementing FCS-MPC in an MCU requires direct digital outputs for switch driving, which can complicate ADC synchronization and current measurement, particularly for small PMSM applications.

3) Philosophical and Computational Considerations

From a design and computational perspective, the differences between ICCS-MPC and FCS-MPC are significant. For example:

  • FCS-MPC provides greater flexibility in cost function design and directly incorporates motor nonlinearities. However, this flexibility is constrained by the exponential increase in computational complexity as the prediction horizon increases.

  • ICCS-MPC leverages a fixed switching frequency, enabling higher control bandwidth for the same interrupt period and improving current quality and torque ripple performance.

  • The computational cost of ICCS-MPC is comparable to that of a PI controller, as it primarily involves matrix operations. In contrast, FCS-MPC requires evaluating multiple future states, leading to significant computational overhead as the prediction horizon increases.

  • ICCS-MPC inherently compensates for constant disturbances in direct speed control applications, a capability not present in FCS-MPC without external compensators.

4) Summary of Advantages of ICCS-MPC Over FCS-MPC

The proposed ICCS-MPC offers the following advantages:

  • A fixed switching frequency, ensuring predictable and stable system behavior.

  • Improved current quality and reduced torque ripple.

  • Removal of steady-state errors in direct speed control.

  • Simplified implementation on MCUs due to synchronization between ADC and PWM peripherals.

  • Lower computational cost for equivalent prediction horizons.

VIII. CONCLUSION

This work presented the application of an integral convex control set MPC (ICCS-MPC) applied to a surface PMSM. We presented a design guide for ICCS-MPC application since it has a considerably high quantity of weighting factors. We reduced the tuning parameters to one main normalized parameter ρuqs. The results show the relation between this parameter and the closed-loop bandwidth of the machine speed. Three controllers were tested and dynamic tests were presented with all the controllers. We see the high influence of the noise sensitivity in these controllers and conclude that the controller with the smaller variance in control action can be considered better for this motor application.

ACKNOWLEDGMENTS

This work was supported by Fundação de Amparo à Pesquisa e Inovação do Estado de Santa Catarina (FAPESC) – Termo de Outorga 2023TR001509.

The authors also thank the finnancial support from CAPES/PROAP/AUXPE DS 1928/2023, Process no. 88881.898694/2023-01 - Programa de Pos-Graduação em Engenharia Elétrica PPGEEL/UDESC, and from CNPq by Process 310447/2021-6.

PLAGIARISM POLICY

This article was submitted to the similarity system provided by Crossref and powered by iThenticate – Similarity Check.

REFERENCES

*

Corresponding author - e-mail: arthur.bartsch@ifsc.edu.br

Associate Editor

Editor-in-Chief

Publication Dates

  • Publication in this collection
    11 Aug 2025
  • Date of issue
    2025

History

  • Received
    31 July 2024
  • Accepted
    06 Jan 2025
  • Published
    12 Feb 2025
location_on
Associação Brasileira de Eletrônica de Potência (SOBRAEP) Universidade Federal de Viçosa - UFV, Departamento de Engenharia Elétrica - DEL, Gerência de Especialistas em Sistemas Elétricos de Potência - GESEP, Av. P.H. Rolfs, Campus Universitário, S/nº Cep: 36570-900, +55(31) 3612-6400 - Viçosa - MG - Brazil
E-mail: editor@sobraep.org.br
rss_feed Stay informed of issues for this journal through your RSS reader
Go to top