B.1 Definition of Predictive Torque Control Simulation Parameters

The values of all the parameters required by the model blocks of the simulation are written in a m-file, whose contents are presented in Code B.1. The sampling time for the PTC is defined in line 4 of the code. The parameters for the discrete PI speed controller are given between lines 6 and 8. Lines 10 to 18 are used to define the machine parameters. The nominal stator flux (sf_nom) in line 17 is used as the stator flux reference for the predictive controller (block 3 in Figure B.1), whereas the nominal torque (T_nom) in line 18 fixes the limits for the saturator inside the PI controller. The DC link voltage of the inverter is set in line 20. A number of auxiliary constants introduced in (8.14) and (8.15) are defined between lines 22 and 27. The equivalents of these variables to those defined in Section 8.2 are the following: ts = τs, tr = τr, sigma = σ, kr = kr, r_sigma = Rσ, t_sigma = tσ. The weighting parameter lambda of the PTC is calculated in line 29 according to (8.28). Finally, the voltage vectors of the inverter and the corresponding switching states are defined between lines 31 and 41.

The most important configuration parameters of the simulation are presented in Table B.1. The remaining configuration parameters are set by default.

Table B.1 Suggested simulation configuration parameters

Parameter Value
Start time 0.0 [s]
Stop time 3.0 [s]
Solver type Fixed step
Solver ode 5 (Dormand–Prince)
Fixed-step ...

Get Predictive Control of Power Converters and Electrical Drives now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.