📄 im_dtc.mdl
字号:
SrcBlock "Gain"
SrcPort 1
Points [-50, 0]
DstBlock "Sum"
DstPort 3
}
Line {
SrcBlock "vr"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [-50, 0]
DstBlock "Sum1"
DstPort 3
}
Line {
Name "ir"
Labels [3, 0]
SrcBlock "flux-current1"
SrcPort 2
Points [10, 0; 0, 225]
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [30, 0; 15, 0]
Branch {
DstBlock "flux-current1"
DstPort 1
}
Branch {
Points [0, -45]
Branch {
Points [0, -45]
DstBlock "rot"
DstPort 1
}
Branch {
DstBlock "fs"
DstPort 1
}
}
}
Line {
Labels [2, 0]
SrcBlock "Integrator1"
SrcPort 1
Points [45, 0; 0, -85]
Branch {
Points [0, -75]
DstBlock "flux-current1"
DstPort 2
}
Branch {
DstBlock "rot1"
DstPort 1
}
Branch {
DstBlock "fr"
DstPort 1
}
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [20, 0]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "rot1"
SrcPort 1
Points [-90, 0; 0, 20]
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
Points [20, 0]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "rot"
SrcPort 1
Points [0, 0; -85, 0]
Branch {
Points [0, 20]
DstBlock "Product"
DstPort 1
}
Branch {
Points [0, -25]
DstBlock "Dot Product1"
DstPort 1
}
}
Line {
SrcBlock "Sum4"
SrcPort 1
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Integrator1"
DstPort 1
}
Line {
SrcBlock "flux-current1"
SrcPort 1
Points [35, 0]
Branch {
Points [0, 95]
Branch {
DstBlock "Gain"
DstPort 1
}
Branch {
DstBlock "is"
DstPort 1
}
}
Branch {
Points [0, -95]
DstBlock "Dot Product1"
DstPort 2
}
}
Line {
Name "Te"
Labels [0, 0]
SrcBlock "Dot Product1"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "vs"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "wk"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
DstBlock "Product"
DstPort 2
}
Branch {
Points [0, 215]
DstBlock "Sum4"
DstPort 1
}
}
Line {
SrcBlock "wmec"
SrcPort 1
DstBlock "Gain3"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
DstBlock "Te"
DstPort 1
}
Line {
SrcBlock "Gain3"
SrcPort 1
DstBlock "Sum4"
DstPort 2
}
Annotation {
Name "ROTOR"
Position [243, 307]
ForegroundColor "red"
FontSize 12
}
Annotation {
Name "STATOR"
Position [238, 96]
ForegroundColor "red"
FontSize 12
}
Annotation {
Name "fs"
Position [337, 89]
}
Annotation {
Name "fr"
Position [335, 304]
}
Annotation {
Name "is"
Position [490, 130]
}
Annotation {
Name "INDUCTION MACHINE SUBSYSTEM IN ARBITRARY RE"
"FERENCE FRAME"
Position [352, 451]
ForegroundColor "blue"
FontSize 12
FontWeight "bold"
}
Annotation {
Name "ir"
Position [489, 216]
}
}
}
Block {
BlockType SubSystem
Name "Mechanical \nsystem"
Ports [2, 1]
Position [1495, 161, 1595, 259]
NamePlacement "alternate"
ShowName off
FontName "Arial"
FontSize 12
FontWeight "bold"
TreatAsAtomicUnit off
MaskPromptString "Moment of inertia [Kg.m^2]|Torque-speed coeffic"
"ient"
MaskStyleString "edit,edit"
MaskTunableValueString "on,on"
MaskCallbackString "|"
MaskEnableString "on,on"
MaskVisibilityString "on,on"
MaskToolTipString "on,on"
MaskVarAliasString ","
MaskVariables "J=@1;Bm=@2;"
MaskDisplay "disp('MECHANICAL\\nSYSTEM')"
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "0.025|1e-5"
Port {
PortNumber 1
Name "wm"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
System {
Name "Mechanical \nsystem"
Location [779, 127, 1110, 253]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "Te"
Position [15, 48, 45, 62]
}
Block {
BlockType Inport
Name "Tl"
Position [15, 13, 45, 27]
Port "2"
}
Block {
BlockType Gain
Name "1/2H"
Position [115, 37, 175, 73]
ShowName off
Gain "1/J"
}
Block {
BlockType Gain
Name "Bm"
Position [145, 80, 175, 110]
Orientation "left"
ShowName off
Gain "Bm"
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [195, 38, 225, 72]
ShowName off
InitialCondition "wmo"
}
Block {
BlockType Sum
Name "Sum"
Ports [3, 1]
Position [70, 45, 90, 65]
ShowName off
IconShape "round"
Inputs "-+-"
}
Block {
BlockType Outport
Name "wm"
Position [270, 48, 300, 62]
}
Line {
SrcBlock "Tl"
SrcPort 1
Points [30, 0]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Te"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "wm"
DstPort 1
}
Branch {
Points [0, 40]
DstBlock "Bm"
DstPort 1
}
}
Line {
SrcBlock "Bm"
SrcPort 1
Points [-60, 0]
DstBlock "Sum"
DstPort 3
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "1/2H"
DstPort 1
}
Line {
SrcBlock "1/2H"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
}
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [1460, 63, 1465, 127]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux3"
Ports [3, 1]
Position [865, 152, 870, 228]
BackgroundColor "black"
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Gain
Name "P_control"
Position [225, 159, 285, 221]
ShowName off
Gain "4"
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 Gain
Name "P_control1"
Position [1645, 189, 1690, 231]
ShowName off
Gain "30/pi"
}
Block {
BlockType Saturate
Name "Saturation"
Position [310, 166, 355, 214]
ShowName off
UpperLimit "30"
LowerLimit "-30"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [380, 175, 410, 205]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [1805, 415, 1835, 445]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum4"
Ports [2, 1]
Position [170, 180, 190, 200]
ShowName off
IconShape "round"
Inputs "|+-"
}
Block {
BlockType ToWorkspace
Name "To Workspace1"
Position [1375, 288, 1405, 322]
ShowName off
VariableName "fr"
MaxDataPoints "inf"
Decimation "2"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace2"
Position [1370, 398, 1400, 432]
ShowName off
VariableName "fs"
MaxDataPoints "inf"
Decimation "2"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType Step
Name "Tr"
Position [1345, 462, 1380, 498]
ForegroundColor "red"
Time ".3"
After "12"
SampleTime "0"
}
Block {
BlockType Scope
Name "angle"
Ports [1]
Position [1915, 491, 1950, 539]
NamePlacement "alternate"
Location [50, 474, 589, 762]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "Rotor flux angle [rad]"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "0.4"
YMin "-3.5"
YMax "3.5"
SaveToWorkspace on
SaveName "an"
DataFormat "Array"
LimitDataPoints off
MaxDataPoints "20000"
Decimation "20"
}
Block {
BlockType Scope
Name "currents"
Ports [1]
Position [1365, 76, 1400, 124]
NamePlacement "alternate"
Location [65, 443, 604, 762]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "currents"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "1"
DataFormat "StructureWithTime"
LimitDataPoints off
MaxDataPoints "20000"
Decimation "20"
}
Block {
BlockType Scope
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -