📄 smvecstart.mdl
字号:
ShowName off
Operator "mod"
}
Block {
BlockType SubSystem
Name "More Info"
Ports []
Position [625, 251, 680, 302]
BackgroundColor "yellow"
DropShadow on
ShowName off
FontSize 14
FontWeight "bold"
TreatAsAtomicUnit off
MaskDisplay "disp('?')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "More Info"
Location [92, 603, 480, 692]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Annotation {
Name " "
Position [171, 75]
}
Annotation {
Name "This demo simulates the STARTING of a synch"
"ronous motor\n"
Position [186, 34]
FontName "Arial"
FontSize 12
FontWeight "bold"
}
}
}
Block {
BlockType Mux
Name "Mux6"
Ports [2, 1]
Position [485, 46, 490, 99]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType SubSystem
Name "SM"
Ports [3, 3]
Position [190, 108, 345, 262]
ForegroundColor "blue"
ShowName off
FontSize 12
FontWeight "bold"
TreatAsAtomicUnit off
MaskDisplay "plot(-1.5,-1.5,1.5,1.5,cos(0:.01:7),sin(0:.01:7"
"),[-.5 -1 1 .5],[-.866 -1.2 -1.2 -.866] )\ndisp('SYNCHRONOUS\\nMACHINE')"
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "none"
MaskIconUnits "autoscale"
Port {
PortNumber 1
Name "Te"
PropagatedSignals "Te"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
System {
Name "SM"
Location [467, 326, 934, 685]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "67"
Block {
BlockType Inport
Name "vs"
Position [25, 113, 55, 127]
}
Block {
BlockType Inport
Name "vf"
Position [30, 283, 60, 297]
Port "2"
}
Block {
BlockType Inport
Name "wm"
Position [25, 63, 55, 77]
Port "3"
}
Block {
BlockType Clock
Name "Clock"
Position [390, 325, 410, 345]
Orientation "left"
ShowName off
Decimation "10"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 3]
Position [455, 97, 460, 233]
BackgroundColor "black"
ShowName off
Outputs "3"
Port {
PortNumber 2
Name "ik"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
Port {
PortNumber 3
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 "Dot Product1"
Ports [2, 1]
Position [580, 21, 610, 59]
ShowName off
SourceBlock "simulink/Math\nOperations/Dot Product"
SourceType "Dot Product"
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 "Gain"
Position [200, 235, 230, 265]
Orientation "left"
ShowName off
Gain "Ra"
}
Block {
BlockType Gain
Name "Gain4"
Position [180, 105, 205, 135]
ShowName off
Gain "wo"
}
Block {
BlockType Gain
Name "Gain5"
Position [175, 380, 205, 410]
ShowName off
Gain "-wo"
}
Block {
BlockType Gain
Name "Gain6"
Position [180, 275, 205, 305]
ShowName off
Gain "wo"
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [235, 105, 265, 135]
ShowName off
InitialCondition "[0 0]"
}
Block {
BlockType Integrator
Name "Integrator1"
Ports [1, 1]
Position [235, 380, 265, 410]
ShowName off
InitialCondition "[0 0]"
}
Block {
BlockType Integrator
Name "Integrator2"
Ports [1, 1]
Position [235, 275, 265, 305]
ShowName off
Port {
PortNumber 1
Name "ff"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Gain
Name "Inverse\ninductance"
Position [350, 127, 425, 203]
Gain "L_1"
Multiplication "Matrix(K*u)"
}
Block {
BlockType Mux
Name "Mux2"
Ports [3, 1]
Position [320, 96, 325, 234]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [90, 47, 120, 78]
ShowName off
}
Block {
BlockType Gain
Name "R1"
Position [385, 288, 445, 322]
Orientation "left"
Gain "Rf-Rfd"
}
Block {
BlockType Gain
Name "R2"
Position [375, 347, 450, 383]
Orientation "left"
Gain "Rf"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [135, 280, 155, 300]
ShowName off
IconShape "round"
Inputs "|+-"
}
Block {
BlockType Sum
Name "Sum1"
Ports [3, 1]
Position [135, 110, 155, 130]
ShowName off
IconShape "round"
Inputs "-+-"
}
Block {
BlockType Switch
Name "Switch"
Position [315, 293, 355, 377]
Orientation "left"
Threshold "5"
}
Block {
BlockType Gain
Name "damper\nreistances"
Position [185, 450, 235, 490]
Orientation "left"
Gain "[Rkd 0;0 Rkq]"
Multiplication "Matrix(K*u)"
}
Block {
BlockType Gain
Name "rot"
Position [180, 15, 210, 45]
Orientation "left"
Gain "[0 -1;1 0]"
Multiplication "Matrix(K*u)"
}
Block {
BlockType Gain
Name "rot1"
Position [380, 15, 410, 45]
Gain "[0 -1;1 0]"
Multiplication "Matrix(K*u)"
}
Block {
BlockType Outport
Name "Te"
Position [635, 33, 665, 47]
}
Block {
BlockType Outport
Name "if"
Position [630, 203, 660, 217]
Port "2"
}
Block {
BlockType Outport
Name "ia"
Position [630, 243, 660, 257]
Port "3"
}
Line {
SrcBlock "Product"
SrcPort 1
Points [20, 0]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "rot"
SrcPort 1
Points [-105, 0; 0, 25]
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "wm"
SrcPort 1
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Gain5"
SrcPort 1
DstBlock "Integrator1"
DstPort 1
}
Line {
SrcBlock "damper\nreistances"
SrcPort 1
Points [-40, 0; 0, -75]
DstBlock "Gain5"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Mux2"
DstPort 1
}
Branch {
Points [0, -90]
Branch {
DstBlock "rot"
DstPort 1
}
Branch {
DstBlock "rot1"
DstPort 1
}
}
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Gain4"
DstPort 1
}
Line {
SrcBlock "Gain4"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "vs"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [-50, 0]
DstBlock "Sum1"
DstPort 3
}
Line {
SrcBlock "Gain6"
SrcPort 1
DstBlock "Integrator2"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Gain6"
DstPort 1
}
Line {
SrcBlock "vf"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "rot1"
SrcPort 1
DstBlock "Dot Product1"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [60, 0]
Branch {
Points [0, 130]
Branch {
DstBlock "Gain"
DstPort 1
}
Branch {
DstBlock "ia"
DstPort 1
}
}
Branch {
Points [0, -70]
DstBlock "Dot Product1"
DstPort 2
}
}
Line {
Name "Te"
Labels [0, 0]
SrcBlock "Dot Product1"
SrcPort 1
DstBlock "Te"
DstPort 1
}
Line {
SrcBlock "Mux2"
SrcPort 1
DstBlock "Inverse\ninductance"
DstPort 1
}
Line {
SrcBlock "Inverse\ninductance"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "R2"
SrcPort 1
DstBlock "Switch"
DstPort 3
}
Line {
SrcBlock "R1"
SrcPort 1
DstBlock "Switch"
DstPort 1
}
Line {
SrcBlock "Clock"
SrcPort 1
DstBlock "Switch"
DstPort 2
}
Line {
SrcBlock "Switch"
SrcPort 1
Points [-165, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Integrator1"
SrcPort 1
Points [25, 0; 0, -230]
DstBlock "Mux2"
DstPort 2
}
Line {
Name "ff"
Labels [0, 0]
SrcBlock "Integrator2"
SrcPort 1
Points [10, 0; 0, -80]
DstBlock "Mux2"
DstPort 3
}
Line {
Name "if"
Labels [0, 0]
SrcBlock "Demux"
SrcPort 3
Points [45, 0]
Branch {
DstBlock "if"
DstPort 1
}
Branch {
Points [0, 95]
Branch {
Points [0, 60]
DstBlock "R2"
DstPort 1
}
Branch {
DstBlock "R1"
DstPort 1
}
}
}
Line {
Name "ik"
Labels [0, 0]
SrcBlock "Demux"
SrcPort 2
Points [25, 0; 0, 305]
DstBlock "damper\nreistances"
DstPort 1
}
Annotation {
Name "DAMPERS"
Position [208, 427]
ForegroundColor "red"
FontSize 12
}
Annotation {
Name "ARMATURE"
Position [208, 156]
ForegroundColor "red"
FontSize 12
}
Annotation {
Name "fa"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -