📄 tiaosu_5.mdl
字号:
Frequency "50"
SampleTime "0"
Measurements "None"
}
Block {
BlockType Reference
Name "C"
Description "source block"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [255, 188, 275, 212]
AttributesFormatString "\\n"
SourceBlock "powerlib/Electrical\nSources/AC Voltage Source"
SourceType "AC Voltage Source"
Amplitude "220*sqrt(2)"
Phase "240"
Frequency "50"
SampleTime "0"
Measurements "None"
}
Block {
BlockType Constant
Name "Constant"
Position [580, 75, 610, 105]
Value "0"
}
Block {
BlockType Constant
Name "Constant2"
Position [30, 265, 60, 295]
Value "150"
}
Block {
BlockType Constant
Name "Constant3"
Position [210, 320, 240, 350]
}
Block {
BlockType SubSystem
Name "DC Machine"
Ports [1, 1, 0, 0, 0, 2, 2]
Position [650, 102, 735, 198]
AttributesFormatString "\\n"
AncestorBlock "powerlib/Machines/DC Machine"
LoadFcn "find_system(gcs,'FollowLinks', 'on', 'LookUnder"
"Masks', 'all');"
TreatAsAtomicUnit off
MaskType "DC machine"
MaskDescription "This block implements a separately excited DC m"
"achine. Access is provided to the field connections so that the machine can "
"be used as a shunt-connected or a series-connected DC machine."
MaskHelp "web(psbhelp)"
MaskPromptString "Armature resistance and inductance [Ra (ohms) L"
"a (H) ]|Field resistance and inductance [Rf (ohms) Lf (H) ]|Field-armature mu"
"tual inductance Laf (H) :|Total inertia J (kg.m^2)|Viscous friction coefficie"
"nt Bm (N.m.s)|Coulomb friction torque Tf (N.m)|Initial speed (rad/s) :"
MaskStyleString "edit,edit,edit,edit,edit,edit,edit"
MaskTunableValueString "off,off,off,off,off,off,off"
MaskCallbackString "||||||"
MaskEnableString "on,on,on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on,on,on"
MaskToolTipString "on,on,on,on,on,on,on"
MaskVarAliasString ",,,,,,"
MaskVariables "RLa=@1;RLf=@2;Laf=@3;J=@4;Bm=@5;Tf=@6;w0=@7;"
MaskInitialization "Ra=RLa(1); La=RLa(2);\n\nRf=RLf(1); Lf=RLf(2);"
"\n\n"
MaskDisplay "plot(-80,-80,80,80,[0,9,18,24,29,30,29,24,18,9,"
"0,-9,-18,-24,-29,-30,-29,-24,-18,-9,0],[30,29,24,18,9,0,-9,-18,-24,-29,-30,-2"
"9,-24,-18,-9,0,9,18,24,29,30],[-29,-35,-35,-29],[-8,-8,8,8],[29,35,35,29],[-8"
",-8,8,8],[-35,-55],[0,0],[35,55],[0,0],[-78,-50,-50,-49,-45,-39,-33,-26,-21,-"
"18,-17,-19,-22,-22,-26,-27,-25,-22,-16,-9,-3,2,6,6,4,1,1,-3,-4,-2,2,7,14,20,2"
"6,29,30,28,24,24,21,20,21,25,31,37,44,49,50,50,50,78]*.7,[58,58,57.2,49.2,42."
"8,38.8,38,39.6,44.4,51.6,59.6,67.6,72.4,72.4,65.2,57.2,49.2,42.8,38.8,38,39.6"
",44.4,51.6,59.6,67.6,72.4,72.4,65.2,57.2,49.2,42.8,38.8,38,39.6,44.4,51.6,59."
"6,67.6,72.4,72.4,65.2,57.2,49.2,42.8,38.8,38,39.6,44.4,51.6,58,58,58]*.6-85 )"
";\n\ndisp('dc')\n\ncolor('blue');\n\nplot([-50,-10,-10],[50,50,30]);\n\nplot("
"[50,10,10],[50,50,30]);\n\n"
MaskIconFrame off
MaskIconOpaque off
MaskIconRotate "port"
MaskIconUnits "autoscale"
MaskValueString "[ 0.6 0.012]|[ 240 120]|1.8|1|0|0|1"
System {
Name "DC Machine"
Location [177, 294, 711, 649]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "TL"
Position [135, 138, 165, 152]
ForegroundColor "blue"
NamePlacement "alternate"
}
Block {
BlockType Reference
Name "FCEM"
Tag "PoWeRsYsTeMbLoCk"
Description "source block"
Ports [1, 0, 0, 0, 0, 1, 1]
Position [372, 80, 408, 125]
Orientation "up"
SourceBlock "powerlib/Electrical\nSources/Controlled Vol"
"tage Source"
SourceType "Controlled Voltage Source"
Initialize on
SourceType "AC"
Amplitude "0"
Phase "0"
Frequency "0"
Measurements "None"
}
Block {
BlockType SubSystem
Name "Mechanics"
Ports [3, 2]
Position [245, 135, 305, 195]
TreatAsAtomicUnit off
System {
Name "Mechanics"
Location [413, 163, 1093, 531]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "TL"
Position [145, 55, 165, 75]
ForegroundColor "gray"
}
Block {
BlockType Inport
Name "ia"
Position [80, 88, 110, 102]
Port "2"
}
Block {
BlockType Inport
Name "if"
Position [25, 298, 55, 312]
Port "3"
Port {
PortNumber 1
Name "If"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Reference
Name "Coulomb (Tf) &\nViscous ( Bm*w) \nFrict"
"ion Torques"
Ports [1, 1]
Position [375, 154, 400, 176]
Orientation "left"
SourceBlock "simulink/Discontinuities/Coulomb &\nVis"
"cous Friction"
SourceType "Coulombic and Viscous Friction"
offset "Tf"
gain "Bm"
}
Block {
BlockType Gain
Name "Gain2"
Position [370, 90, 400, 120]
ShowName off
Gain "1/J"
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [420, 83, 450, 127]
NamePlacement "alternate"
InitialCondition "w0"
ZeroCross off
Port {
PortNumber 1
Name "w"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Mux
Name "Mux"
Ports [4, 1]
Position [580, 241, 600, 319]
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [115, 221, 140, 254]
Orientation "left"
ShowName off
Port {
PortNumber 1
Name "E fcem"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [250, 87, 275, 118]
ShowName off
Port {
PortNumber 1
Name "Te"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [240, 42, 260, 73]
ShowName off
}
Block {
BlockType Signum
Name "Sign"
Position [365, 25, 390, 45]
Orientation "left"
ZeroCross off
}
Block {
BlockType Sum
Name "Sum"
Ports [3, 1]
Position [330, 71, 350, 139]
ShowName off
Inputs "-+-"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn2"
Position [100, 285, 155, 325]
ShowName off
Numerator "[Laf]"
Denominator "[20e-6 1]"
}
Block {
BlockType Outport
Name "FCEM"
Position [25, 233, 55, 247]
Orientation "left"
}
Block {
BlockType Outport
Name "m"
Position [625, 273, 655, 287]
Port "2"
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "m"
DstPort 1
}
Line {
Name "E fcem"
Labels [0, 0]
SrcBlock "Product"
SrcPort 1
DstBlock "FCEM"
DstPort 1
}
Line {
SrcBlock "ia"
SrcPort 1
Points [85, 0; 15, 0]
Branch {
Labels [-1, 1]
Points [0, 175]
DstBlock "Mux"
DstPort 2
}
Branch {
DstBlock "Product1"
DstPort 1
}
}
Line {
Name "If"
Labels [0, 0]
SrcBlock "if"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Labels [-1, 1]
Points [0, 35; 140, 0; 0, -50]
DstBlock "Mux"
DstPort 3
}
Branch {
DstBlock "Transfer Fcn2"
DstPort 1
}
}
Line {
SrcBlock "Product2"
SrcPort 1
Points [50, 0]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "TL"
SrcPort 1
DstBlock "Product2"
DstPort 2
}
Line {
SrcBlock "Sign"
SrcPort 1
Points [-135, 0]
DstBlock "Product2"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
Name "w"
FontSize 12
SrcBlock "Integrator"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [0, 60]
Branch {
DstBlock "Coulomb (Tf) &\nViscous ( Bm*w) \nF"
"riction Torques"
DstPort 1
}
Branch {
Labels [-1, 0]
Points [0, 65]
DstBlock "Product"
DstPort 1
}
}
Branch {
Labels [-1, 1]
Points [30, 0; 0, 145]
DstBlock "Mux"
DstPort 1
}
Branch {
Points [0, -70]
DstBlock "Sign"
DstPort 1
}
}
Line {
Name "Te"
FontSize 12
Labels [2, 1]
SrcBlock "Product1"
SrcPort 1
Points [0, 0; 25, 0]
Branch {
DstBlock "Sum"
DstPort 2
}
Branch {
Labels [-1, 1]
Points [0, 205]
DstBlock "Mux"
DstPort 4
}
}
Line {
SrcBlock "Transfer Fcn2"
SrcPort 1
Points [5, 0; 0, -60]
Branch {
Points [0, -135]
DstBlock "Product1"
DstPort 2
}
Branch {
DstBlock "Product"
DstPort 2
}
}
Line {
SrcBlock "Coulomb (Tf) &\nViscous ( Bm*w) \nFrict"
"ion Torques"
SrcPort 1
Points [-55, 0]
DstBlock "Sum"
DstPort 3
}
}
}
Block {
BlockType Reference
Name "Ra La"
Tag "PoWeRsYsTeMbLoCk"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [235, 26, 305, 54]
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
PortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
Resistance "Ra"
Inductance "La"
Capacitance "inf"
Measurements "None"
}
Block {
BlockType Reference
Name "Rf Lf"
Tag "PoWeRsYsTeMbLoCk"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [240, 246, 310, 274]
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
PortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
Resistance "Rf"
Inductance "Lf"
Capacitance "inf"
Measurements "None"
}
Block {
BlockType Reference
Name "avoid\n isolated\nnetwork"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [97, 90, 103, 230]
Orientation "down"
BackgroundColor "yellow"
NamePlacement "alternate"
SourceBlock "powerlib/Electrical\nSources/DC Voltage Sou"
"rce/DCVoltageSource"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -