mcb.getPMSMParameters
Return PMSM parameters
Description
Examples
Get parameters for a BLY171D PMSM.
pmsm = mcb.getPMSMParameters("BLY171D")pmsm =
struct with fields:
model: 'Anaheim-BLY171D-24V-4000'
sn: '001'
p: 4
Rs: 0.7500
Ld: 0.0010
Lq: 0.0010
J: 2.4019e-06
B: 1.1604e-05
Ke: 3.8000
Kt: 0.0340
I_rated: 1.8000
N_max: 10000
PositionOffset: 0.0504
QEPSlits: 1250
FluxPM: 0.0052
T_rated: 0.0566
Create a new PMSM parameter structure with default values, which you can populate with custom values for your PMSM model.
pmsm = mcb.getPMSMParameters("myPMSM")Creating new parameter structure.
pmsm =
struct with fields:
model: 'new'
sn: '005'
p: 1
Rs: 1
Ld: 1.0000e-03
Lq: 1.0000e-03
J: 1.0000e-06
B: 1.0000e-06
Ke: 1
Kt: 1
I_rated: 1
N_max: 1
PositionOffset: 1
QEPSlits: 1
FluxPM: 0.0055
T_rated: 0.0083Input Arguments
Type of PMSM, specified as a character vector or string.
If you specify a value other than the ones listed above, the function returns a structure with default parameter values.
Output Arguments
PMSM parameters, returned as a struct with the following fields:
model— Manufacturer's model number, returned as a character vectorsn— Manufacturer's serial number, returned as a character vectorp— Number of pole pairs, returned as a scalarRs— Stator resistance (in ohms), returned as a scalarLd—d-axis inductance (in henries), returned as a scalarLq—q-axis inductance (in henries), returned as a scalarJ— Rotor inertia coefficient (in kg-m2), returned as a scalarB— Viscous damping coefficient (in kg-m2/ sec), returned as a scalarKe— Back EMF constant (in volts/krpm), returned as a scalarKt— Torque constant (in Nm/amperes), returned as a scalarI_rated— Rated current (in amperes), returned as a scalarN_max— Maximum rotor speed (in rpm), returned as a scalarPositionOffset— Rotor position offset (in PU), returned as a scalarQEPSlits— Number of quadrature encoder pulse (QEP) slits, returned as a scalarFluxPM— Permanent magnet flux linkage (in webers), returned as a scalarT_rated— Rated torque (in Nm), returned as a scalar
Version History
Introduced in R2020aThe function mcb_SetPMSMMotorParameters is now named
mcb.getPMSMParameters.
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)