mcb.getInverterParameters
Return inverter parameters
Description
returns a inverter = mcb.getInverterParameters(inverter_type)struct of parameters for an inverter of type
inverter_type.
Examples
Get parameters for the DRV8312-C2-KIT inverter.
inverter = mcb.getInverterParameters("DRV8312-C2-KIT")inverter =
struct with fields:
model: 'DRV8312-C2-KIT'
sn: 'INV_XXXX'
V_dc: 24
I_trip: 9.7000
Rds_on: 0.0800
Rshunt: 0.0100
CtSensAOffset: 2052
CtSensBOffset: 2043
ADCGain: 1
EnableLogic: 1
invertingAmp: -1
ISenseVref: 3.3000
ISenseVoltPerAmp: 0.1908
ISenseMax: 8.6478
R_board: 0.0833
CtSensOffsetMax: 2500
CtSensOffsetMin: 1500Create a new inverter parameter structure with default values, which you can populate with custom values for your inverter model.
inverter = mcb.getInverterParameters("myInverter")Creating new inverter parameter structure.
inverter =
struct with fields:
model: 'new'
sn: 'INV_XXXX'
V_dc: 1
I_max: 1
I_trip: 1
Rds_on: 1.0000e-03
Rshunt: 1.0000e-03
CtSensAOffset: 2048
CtSensBOffset: 2048
ADCGain: 1
EnableLogic: 1
invertingAmp: 1
ISenseVref: 3.3000
ISenseVoltPerAmp: 1
ISenseMax: 1.6500
R_board: 0.0013
CtSensOffsetMax: 2500
CtSensOffsetMin: 1500Input Arguments
Type of inverter, 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
Inverter parameters, returned as a struct with the following possible fields:
model— Manufacturer's model number, returned as a character vectorsn— Manufacturer's serial number, returned as a character vectorV_dc— DC link voltage (in volts), returned as a scalarI_trip— Maximum current for trip (in amperes), returned as a scalarRds_on— On-resistance (in ohms), returned as a scalarRshunt— Shunt resistance (in ohms), returned as a scalarR_board— Per-phase board resistance seen by motor (in ohms), returned as a scalarCtSensAOffset— ADC offset for phase A, returned as a scalarCtSensBOffset— ADC offset for phase B, returned as a scalarCtSensCOffset— ADC offset for phase C, returned as a scalarCtSensOffsetMax— Maximum limit of automatically calibrated ADC offsets for current sensor, returned as a scalarCtSensOffsetMin— Minimum limit of automatically calibrated ADC offsets for current sensor, returned as a scalarADCGain— ADC gain factor scaled by SPI, returned as a scalarEnableLogic— Type of inverter, returned as one of the following:1 — Active high-enabled inverter
0 — Active low-enabled inverter
invertingAmp— Convention for current entering motor, returned as one of the following:1 — Current entering motor sensed as positive by current sense amplifier
-1 — Current entering motor sensed as negative by current sense amplifier
ISenseVref— Reference voltage of current sensor circuit (in volts), returned as a scalarISenseVoltPerAmp— Current sensor voltage output per ampere of current (in V/A), returned as a scalarISenseMax— Maximum peak-neutral current that can be measured by current sensor (in amperes), returned as a scalar
Version History
Introduced in R2020aThe function mcb_SetInverterParameters is now named
mcb.getInverterParameters.
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)