📄 csd_double_pwm_inverter.mdl
字号:
FontAngle "normal"
}
LineDefaults {
FontName "Arial"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "yhj_double_pwm_inverter"
Location [2, 78, 1278, 1003]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Constant
Name "Constant"
Position [900, 460, 930, 490]
Value "-10"
VectorParams1D on
SamplingMode "Sample based"
OutDataTypeMode "Inherit from 'Constant value'"
OutDataType "sfix(16)"
ConRadixGroup "Use specified scaling"
OutScaling "2^0"
SampleTime "inf"
FramePeriod "inf"
}
Block {
BlockType Reference
Name "Current Measurement"
Ports [0, 1, 0, 0, 0, 1, 1]
Position [345, 148, 370, 172]
DialogController "PMDialogs.PMDefaultMaskDlg"
SourceBlock "powerlib/Measurements/Current Measurement"
SourceType "Current Measurement"
ShowPortLabels on
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
PhasorSimulation off
OutputType "Complex"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Current Measurement1"
Ports [0, 1, 0, 0, 0, 1, 1]
Position [305, 528, 330, 552]
DialogController "PMDialogs.PMDefaultMaskDlg"
SourceBlock "powerlib/Measurements/Current Measurement"
SourceType "Current Measurement"
ShowPortLabels on
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
PhasorSimulation off
OutputType "Complex"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Current Measurement2"
Ports [0, 1, 0, 0, 0, 1, 1]
Position [895, 563, 920, 587]
DialogController "PMDialogs.PMDefaultMaskDlg"
SourceBlock "powerlib/Measurements/Current Measurement"
SourceType "Current Measurement"
ShowPortLabels on
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
PhasorSimulation off
OutputType "Complex"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Discrete\nPWM Generator"
Ports [0, 1]
Position [240, 32, 310, 98]
DialogController "PMDialogs.PMDefaultMaskDlg"
SourceBlock "powerlib_extras/Discrete \nControl Blocks/Discr"
"ete\nPWM Generator"
SourceType "Discrete PWM Generator"
ShowPortLabels on
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
GeneratorMode "3-arm bridge (6 pulses)"
Fc "1000"
Ts "Ts"
Internal on
mIndex "0.95"
Freq "50"
Phase "0"
}
Block {
BlockType Reference
Name "Discrete\nPWM Generator1"
Ports [0, 1]
Position [755, 77, 825, 143]
Orientation "left"
DialogController "PMDialogs.PMDefaultMaskDlg"
SourceBlock "powerlib_extras/Discrete \nControl Blocks/Discr"
"ete\nPWM Generator"
SourceType "Discrete PWM Generator"
ShowPortLabels on
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
GeneratorMode "3-arm bridge (6 pulses)"
Fc "1000"
Ts "Ts"
Internal on
mIndex "0.95"
Freq "50"
Phase "0"
}
Block {
BlockType Reference
Name "Discrete\nPWM Generator3"
Ports [0, 1]
Position [715, 457, 785, 523]
Orientation "left"
DialogController "PMDialogs.PMDefaultMaskDlg"
SourceBlock "powerlib_extras/Discrete \nControl Blocks/Discr"
"ete\nPWM Generator"
SourceType "Discrete PWM Generator"
ShowPortLabels on
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
GeneratorMode "3-arm bridge (6 pulses)"
Fc "1080"
Ts "Ts"
Internal on
mIndex "0.85"
Freq "50"
Phase "0"
}
Block {
BlockType Reference
Name "Ground"
Ports [0, 0, 0, 0, 0, 1]
Position [59, 245, 81, 270]
Orientation "down"
ShowName off
DialogController "PMDialogs.PMDefaultMaskDlg"
SourceBlock "powerlib/Elements/Ground"
SourceType "Ground"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
}
Block {
BlockType Reference
Name "Ground1"
Ports [0, 0, 0, 0, 0, 1]
Position [314, 335, 336, 360]
Orientation "down"
ShowName off
DialogController "PMDialogs.PMDefaultMaskDlg"
SourceBlock "powerlib/Elements/Ground"
SourceType "Ground"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
}
Block {
BlockType Reference
Name "Ground2"
Ports [0, 0, 0, 0, 0, 1]
Position [864, 805, 886, 830]
Orientation "down"
ShowName off
DialogController "PMDialogs.PMDefaultMaskDlg"
SourceBlock "powerlib/Elements/Ground"
SourceType "Ground"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
}
Block {
BlockType Reference
Name "Ground3"
Ports [0, 0, 0, 0, 0, 1]
Position [274, 710, 296, 735]
Orientation "down"
ShowName off
DialogController "PMDialogs.PMDefaultMaskDlg"
SourceBlock "powerlib/Elements/Ground"
SourceType "Ground"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
}
Block {
BlockType Reference
Name "Machines\nMeasurement\nDemux"
Ports [1, 3]
Position [1100, 544, 1150, 616]
NamePlacement "alternate"
DialogController "PMDialogs.PMDefaultMaskDlg"
SourceBlock "powerlib/Machines/Machines\nMeasurement\nDemux"
SourceType "Machine measurements"
ShowPortLabels on
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
machType "Permanent magnet synchronous"
ssm1 on
ssm2 on
ssm3 on
ssm4 on
ssm5 on
ssm6 on
sm1 off
sm2 on
sm3 off
sm4 off
sm5 off
sm6 on
sm7 off
sm8 on
sm9 off
sm10 off
sm11 off
sm115 off
sm12 off
sm13 off
sm14 off
asm1 on
asm2 on
asm3 on
asm4 on
asm5 on
asm6 on
asm7 on
asm8 on
asm9 on
asm10 on
asm11 on
pmsm1 off
pmsm2 on
pmsm3 on
pmsm4 off
pmsm5 on
pmsm6 off
pmsm7 off
lastType "1"
}
Block {
BlockType Reference
Name "Parallel RLC Branch"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [514, 180, 566, 235]
Orientation "down"
NamePlacement "alternate"
AttributesFormatString "\\n"
DialogController "PMDialogs.PMDefaultMaskDlg"
SourceBlock "powerlib/Elements/Parallel RLC Branch"
SourceType "Parallel RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
RConnTagsString "__new0"
BranchType "RC"
Resistance "100"
Inductance "1.0"
SetiL0 off
InitialCurrent "0"
Capacitance "5000e-6"
Setx0 off
InitialVoltage "0"
Measurements "None"
}
Block {
BlockType Reference
Name "Parallel RLC Branch1"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [519, 560, 571, 615]
Orientation "down"
NamePlacement "alternate"
AttributesFormatString "\\n"
DialogController "PMDialogs.PMDefaultMaskDlg"
SourceBlock "powerlib/Elements/Parallel RLC Branch"
SourceType "Parallel RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
RConnTagsString "__new0"
BranchType "C"
Resistance "1.0"
Inductance "1.0"
SetiL0 off
InitialCurrent "0"
Capacitance "5000e-6"
Setx0 off
InitialVoltage "0"
Measurements "None"
}
Block {
BlockType Reference
Name "Permanent Magnet\nSynchronous Machine"
Ports [1, 1, 0, 0, 0, 3]
Position [975, 543, 1060, 617]
DialogController "PMDialogs.PMDefaultMaskDlg"
FontSize 11
SourceBlock "powerlib/Machines/Permanent Magnet\nSynchronous"
" Machine"
SourceType "Permanent Magnet Synchronous Machine"
ShowPortLabels on
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
FluxDistribution "Sinusoidal"
MechanicalLoad "Torque Tm"
PresetModel "No"
ShowDetailedParameters on
Resistance "2.8750 "
Inductance "8.5e-3"
dqInductances "[8.5e-3, 8.5e-3]"
Flux "0.175"
Flat "120"
Mechanical "[0.8e-3 1e-3 4]"
PolePairs "4"
}
Block {
BlockType Scope
Name "Scope1"
Ports [2]
Position [410, 306, 440, 339]
Floating off
Location [18, 112, 1170, 889]
Open off
NumInputPorts "2"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -