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.
웹사이트 선택
번역된 콘텐츠를 보고 지역별 이벤트와 혜택을 살펴보려면 웹사이트를 선택하십시오. 현재 계신 지역에 따라 다음 웹사이트를 권장합니다:
또한 다음 목록에서 웹사이트를 선택하실 수도 있습니다.
사이트 성능 최적화 방법
최고의 사이트 성능을 위해 중국 사이트(중국어 또는 영어)를 선택하십시오. 현재 계신 지역에서는 다른 국가의 MathWorks 사이트 방문이 최적화되지 않았습니다.
미주
- América Latina (Español)
- Canada (English)
- United States (English)
유럽
- 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)