📄 untitled3.mdl
字号:
StateMustResolveToSignalObject off
RTWStateStorageClass "Auto"
}
Block {
BlockType ZeroOrderHold
SampleTime "1"
}
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "Arial"
FontSize 10
FontWeight "normal"
FontAngle "normal"
UseDisplayTextAsClickCallback off
}
LineDefaults {
FontName "Arial"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "untitled3"
Location [2, 82, 1270, 753]
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 Reference
Name "DC Voltage Source"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [100, 335, 120, 370]
Orientation "up"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Electrical\nSources/DC Voltage Source"
SourceType "DC Voltage Source"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
Amplitude "380"
Measurements "None"
}
Block {
BlockType Display
Name "Display"
Ports [1]
Position [1010, 480, 1115, 510]
Decimation "1"
Lockdown off
}
Block {
BlockType Display
Name "Display1"
Ports [1]
Position [355, 230, 445, 260]
Decimation "1"
Lockdown off
}
Block {
BlockType Display
Name "Display2"
Ports [1]
Position [930, 180, 1020, 210]
Decimation "1"
Lockdown off
}
Block {
BlockType Display
Name "Display3"
Ports [1]
Position [885, 540, 990, 570]
Decimation "1"
Lockdown off
}
Block {
BlockType Reference
Name "Induction\nmachine"
Ports [1, 1, 0, 0, 0, 3]
Position [690, 339, 755, 406]
NamePlacement "alternate"
AttributesFormatString "\\n"
DialogController "POWERSYS.PowerSysDialog"
FontSize 12
SourceBlock "powerlib/Machines/Asynchronous Machine\nSI Unit"
"s"
SourceType "Asynchronous Machine"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
PresetModel "No"
MechanicalLoad "Torque Tm"
ShowDetailedParameters on
RotorType "Squirrel-cage"
ReferenceFrame "Stationary"
NominalParameters "[2500,380,50]"
Stator "[0.435,0.006]"
Rotor "[0.816,0.006]"
Lm "0.08931"
Mechanical "[0.089,0.02,2]"
PolePairs "2"
InitialConditions "[1,0,0,0,0,0,0,0]"
Units "1"
LoadFlowParameters "0"
SimulateSaturation off
Saturation "[0 0;0 0]"
}
Block {
BlockType Reference
Name "Inverter_3ph"
Ports [1, 0, 0, 0, 0, 3, 2]
Position [200, 293, 260, 377]
Orientation "left"
NamePlacement "alternate"
ShowName off
AttributesFormatString "\\n"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Power\nElectronics/Universal Bridge"
SourceType "Universal Bridge"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
Arms "3"
SnubberResistance "10e3"
SnubberCapacitance "inf"
Device "IGBT / Diodes"
Ron "1e-3"
Lon "0"
ForwardVoltages "[1.4,1.4]"
ForwardVoltage "0"
GTOparameters "[10e-6,20e-6]"
IGBTparameters "[1e-6,2e-6]"
Measurements "All voltages and currents"
converterType "Inverter"
}
Block {
BlockType SubSystem
Name "Load torque"
Ports [0, 1]
Position [405, 82, 470, 98]
NamePlacement "alternate"
FontSize 12
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "Load torque"
Location [433, 421, 699, 532]
Open off
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"
Block {
BlockType Reference
Name "Timer"
Ports [0, 1]
Position [55, 21, 100, 59]
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib_extras/Control \nBlocks/Timer"
SourceType "Timer"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
t "[0 0.1 0.3]"
e "[20 10 20]"
}
Block {
BlockType Outport
Name " "
Position [135, 33, 165, 47]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Timer"
SrcPort 1
DstBlock " "
DstPort 1
}
}
}
Block {
BlockType Reference
Name "Machines\nMeasurement\nDemux"
Ports [1, 2]
Position [785, 397, 830, 453]
NamePlacement "alternate"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Machines/Machines\nMeasurement\nDemux"
SourceType "Machine measurements"
ShowPortLabels "FromPortIcon"
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 "Asynchronous"
ssm1 on
ssm2 on
ssm3 on
ssm4 on
ssm5 on
ssm6 on
sm1 off
sm2 off
sm3 off
sm4 off
sm5 off
sm6 off
sm7 off
sm8 on
sm9 off
sm10 off
sm11 off
sm115 off
sm12 off
sm13 off
sm14 off
asm1 off
asm2 off
asm3 off
asm4 off
asm5 off
asm6 off
asm7 off
asm8 off
asm9 on
asm10 on
asm11 off
pmsm1 on
pmsm2 on
pmsm3 on
pmsm4 off
pmsm5 on
pmsm6 on
pmsm7 on
lastType "1"
}
Block {
BlockType Reference
Name "Measures"
Ports [0, 2, 0, 0, 0, 4, 3]
Position [400, 319, 480, 401]
NamePlacement "alternate"
FontSize 12
SourceBlock "electricdrivelib/AC drives/DTC Induction Motor "
"Drive/Measures"
SourceType "SubSystem"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
}
Block {
BlockType Gain
Name "Rad/s2Rpm"
Position [820, 290, 850, 320]
Orientation "up"
Gain "30/pi"
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [780, 99, 810, 131]
Floating off
Location [5, 52, 1285, 769]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "0.06"
YMin "-4.16334e-017"
YMax "0.575"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope2"
Ports [1]
Position [695, 449, 725, 481]
Floating off
Location [5, 52, 1285, 769]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-25"
YMax "475"
SaveName "ScopeData2"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope3"
Ports [1]
Position [965, 399, 995, 431]
Floating off
Location [3, 595, 504, 797]
Open on
NumInputPorts "1"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "0.2"
YMax "25"
DataFormat "StructureWithTime"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope4"
Ports [1]
Position [700, 244, 730, 276]
Floating off
Location [5, 52, 1285, 769]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData5"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope5"
Ports [1]
Position [650, 409, 680, 441]
Floating off
Location [5, 52, 1285, 769]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "2"
YMin "458.34"
YMax "458.49"
SaveName "ScopeData8"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope6"
Ports [1]
Position [470, 209, 500, 241]
Floating off
Location [5, 52, 1285, 769]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "0.06"
YMin "-4.16334e-017"
YMax "0.575"
SaveName "ScopeData11"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType SubSystem
Name "Speed Controller"
Ports [2, 2]
Position [215, 95, 315, 195]
FontSize 12
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
MaskType "Speed controller"
MaskDescription "This block implements a PI speed regulator."
MaskHelp "\n"
MaskPromptString "Regulation type|Base speed (rpm)|Speed referenc"
"e ramp (rpm/s) [deceleration,acceleration]|Proportional gain|Integral gain|Sp"
"eed measurement - low-pass filter cutoff frequency (Hz)|Controller output tor"
"que saturation (N.m) [negative,positive]|Motor pairs of poles|Machine nominal"
" flux (Wb)|Controller sampling time (s)"
MaskStyleString "popup(Speed regulation|Torque regulation),edit,"
"edit,edit,edit,edit,edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on,on,on,on,on,on,on"
MaskCallbackString "|||||||||"
MaskEnableString "on,on,on,on,on,on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on,on,on,on,on,on"
MaskToolTipString "on,on,on,on,on,on,on,on,on,on"
MaskVarAliasString ",,,,,,,,,"
MaskVariables "SwK=@1;bs=&2;ramp=@3;kp=@4;ki=@5;fc=@6;ctrl_sat"
"=@7;p=@8;nf=@9;Tsc=@10;"
MaskInitialization "[X1,X1m,X2,X2m,X3,X4,Y1,Y1m,Y2,Y2m,Y3,Y4,color1"
",color2]=spsdrivelogo;"
MaskDisplay "patch([X1 X1m],[Y1 Y1m],color1);\npatch(X3,Y3,c"
"olor2);\nplot([X1 X1m X2 X2m X3 X4],[Y1 Y1m Y2 Y2m Y3 Y4]);"
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "none"
MaskIconUnits "normalized"
MaskValueString "Speed regulation|1800|[-900,900]|10|200|100|[-1"
"200,1200]|2|0.8|140e-6"
MaskTabNameString ",,,,,,,,,"
System {
Name "Speed Controller"
Location [99, 218, 1111, 595]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -