?? dcmotordoublecloseloopthyristorcontrol直流電動機雙閉環晶閘管調速.mdl
字號:
BlockType Gain
Name "Gain"
Position [570, 265, 600, 295]
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "Ground"
Ports [0, 0, 0, 0, 0, 1]
Position [14, 155, 36, 180]
Orientation "down"
ShowName off
SourceBlock "powerlib/Elements/Ground"
SourceType "Ground"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
}
Block {
BlockType Reference
Name "L"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [415, 56, 485, 84]
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
Resistance "0"
Inductance "5e-3"
Capacitance "inf"
Setx0 off
InitialVoltage "0"
SetiL0 off
InitialCurrent "0"
Measurements "None"
}
Block {
BlockType Step
Name "Load"
Position [485, 15, 515, 45]
Time "4"
Before "10"
After "20"
SampleTime "0"
}
Block {
BlockType Step
Name "Reference Speed"
Position [380, 450, 410, 480]
Time "2"
Before "100"
After "200"
SampleTime "0"
}
Block {
BlockType Reference
Name "Speed Controller"
Ports [1, 1]
Position [530, 442, 575, 488]
SourceBlock "powerlib_extras/Discrete \nControl Blocks/Discr"
"ete\nPI Controller"
SourceType "Discrete PI Controller"
ShowPortLabels on
Kp "20"
Ki "60"
Par_Limits "[200 0]"
Init "0"
Ts "50e-6"
}
Block {
BlockType Scope
Name "Speed torque"
Ports [4]
Position [800, 34, 830, 66]
Location [48, 162, 922, 767]
Open on
NumInputPorts "4"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
axes4 "%<SignalLabel>"
}
TimeRange "5"
YMin "25~0~1~0"
YMax "175~225~1~400"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [465, 355, 485, 375]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
Port {
PortNumber 1
Name "alfa"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [470, 455, 490, 475]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [630, 400, 650, 420]
Orientation "left"
NamePlacement "alternate"
ShowName off
IconShape "round"
Inputs "|-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "Synchronized\n6-Pulse Generator"
Ports [5, 1]
Position [320, 244, 395, 316]
SourceBlock "powerlib_extras/Control \nBlocks/Synchronized\n"
"6-Pulse Generator"
SourceType "Synchronized 6-pulse generator"
ShowPortLabels on
freq "50"
pwidth "10"
Double_Pulse off
}
Block {
BlockType Scope
Name "Ua"
Ports [1]
Position [680, 234, 710, 266]
Location [121, 167, 625, 543]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-25"
YMax "400"
DataFormat "StructureWithTime"
}
Block {
BlockType SubSystem
Name "Uab"
Ports [0, 1, 0, 0, 0, 2]
Position [210, 228, 235, 252]
AncestorBlock "powerlib/Measurements/Voltage Measurement"
CopyFcn "powericon('psbloadfunction',gcb,'Measurement Bl"
"ock','UpdateGotoTag');"
PreSaveFcn "if strcmp('inactive',get_param(gcb,'linkstatus'"
"));\n \nset_param(gcb,'Links"
"tatus','restore') \nend "
" "
OpenFcn "power_openblockproxy();"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskType "Voltage Measurement"
MaskDescription "Ideal voltage measurement."
MaskHelp "web(psbhelp);"
MaskPromptString "Phasor simulation|Output signal :|Equivalent ci"
"rcuit"
MaskStyleString "checkbox,popup(Complex|Real-Imag|Magnitude-Angl"
"e|Magnitude),edit"
MaskTunableValueString "on,on,on"
MaskCallbackString "||"
MaskEnableString "off,off,off"
MaskVisibilityString "off,on,off"
MaskToolTipString "on,on,on"
MaskVarAliasString ",,"
MaskVariables "PhasorSimulation=@1;OutputType=@2;PSBequivalent"
"=@3;"
MaskInitialization "block = gcb;\npowericon('psbloadfunction',block"
",'Measurement Block','Initialize');\npowericon('MeasurementBlockInit',block);"
"\npower_initmask();"
MaskSelfModifiable on
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "port"
MaskIconUnits "autoscale"
MaskValueString "off|Complex|1"
MaskTabNameString ",,"
System {
Name "Uab"
Location [206, 474, 503, 673]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType PMComponent
Name "VoltageMeasurement"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [80, 21, 145, 49]
PhysicalDomain "powersysdomain"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "+"
RConnTagsString "-"
MaskType "InnerPowersysBlock"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType Reference
Name "model"
Ports [1, 1]
Position [125, 118, 160, 152]
SourceBlock "powerlib_models/Continuous/Measurement"
SourceType "SubSystem"
ShowPortLabels on
}
Block {
BlockType SubSystem
Name "source"
Ports [0, 1]
Position [25, 124, 95, 146]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskInitialization "Parent = get_param(gcb,'Parent'); "
" "
" \npss = get_param(Parent,'UserData'); "
" \nif isemp"
"ty(pss) "
" \n A=0;B=0;C=0;D=0;x0=0;Rswi"
"tch=0;TypeSwitch=0;Ts=1;YSwitchCurrent=-1; "
" \nelse "
" "
" \n A=pss.A;B=pss.B;C=pss.C;D=pss.D;x0=pss.x0;Rswitch=pss.Rswitch;TypeS"
"witch=pss.TypeSwitch;Ts=0;YSwitchCurrent=pss.YSwitchCurrent;\nend "
" "
" "
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "source"
Location [447, 248, 1089, 654]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Mux
Name "MasterMux"
Ports [2, 1]
Position [315, 106, 340, 144]
NamePlacement "alternate"
Inputs "[-1 6]"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [140, 67, 170, 163]
Inputs "[6 5]"
}
Block {
BlockType Mux
Name "MuxSwitch"
Ports [1, 1]
Position [235, 126, 265, 214]
Inputs "1"
}
Block {
BlockType Mux
Name "MuxVf"
Ports [1, 1]
Position [265, 256, 295, 344]
Orientation "left"
Inputs "1"
}
Block {
BlockType Selector
Name "SelectorVf"
Ports [1, 1]
Position [225, 287, 245, 313]
Orientation "left"
InputPortWidth "6"
}
Block {
BlockType "S-Function"
Name "State-Space"
Ports [1, 1]
Position [375, 103, 455, 147]
FunctionName "sfun_psbcontc"
Parameters "A,B,C,D,x0,Rswitch,YSwitchCurrent"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType Terminator
Name "T"
Position [195, 335, 215, 355]
Orientation "down"
NamePlacement "alternate"
}
Block {
BlockType SubSystem
Name "electrical sources"
Ports [0, 1]
Position [50, 102, 75, 128]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "electrical sources"
Location [49, 463, 473, 721]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Mux
Name "Mux"
Ports [5, 1]
Position [170, 96, 175, 184]
Inputs "5"
DisplayOption "bar"
}
Block {
BlockType From
Name "from1"
Position [20, 30, 75, 60]
GotoTag "tp071662"
}
Block {
BlockType From
Name "from2"
Position [20, 65, 75, 95]
GotoTag "tp071664"
}
Block {
BlockType From
Name "from3"
Position [20, 100, 75, 130]
GotoTag "tp071665"
}
Block {
BlockType From
Name "from4"
Position [20, 135, 75, 165]
GotoTag "tp071667"
}
Block {
BlockType From
Name "from5"
Position [20, 170, 75, 200]
GotoTag "tp245429"
}
Block {
BlockType Outport
Name "Out"
Position [200, 128, 225, 152]
IconDisplay "Port number"
BusOutputAsStruct off
InitialOutput "0"
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Out"
DstPort 1
}
Line {
SrcBlock "from1"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "from2"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "from3"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "from4"
SrcPort 1
DstBlock "Mux"
DstPort 4
}
Line {
SrcBlock "from5"
SrcPort 1
DstBlock "Mux"
DstPort 5
}
}
}
Block {
BlockType SubSystem
Name "thyristor (logical)"
Ports [1, 3]
Position [340, 229, 435, 261]
Orientation "left"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "thyristor (logical)"
Location [25, 502, 539, 757]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -