📄 smvecstart.mdl
字号:
Position [297, 104]
}
Annotation {
Name "fk"
Position [285, 384]
}
Annotation {
Name "ia"
Position [480, 110]
}
Annotation {
Name "FIELD"
Position [203, 322]
ForegroundColor "red"
FontSize 12
}
Annotation {
Name "DQ MODEL OF THE SYNCHRONOUS MACHINE"
Position [390, 521]
ForegroundColor "red"
FontSize 14
FontWeight "bold"
}
Annotation {
Name "Flux bus"
Position [326, 80]
}
Annotation {
Name "Current bus"
Position [458, 79]
}
}
}
Block {
BlockType SubSystem
Name "SubSystem"
Ports []
Position [414, 421, 694, 444]
BackgroundColor "yellow"
DropShadow on
ShowName off
OpenFcn "edit(which('smvecstartdef.m'))"
FontSize 12
FontWeight "bold"
TreatAsAtomicUnit off
MaskDisplay "disp('Double click this block to modify the par"
"ameters');"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "SubSystem"
Location [152, 182, 650, 482]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
}
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [135, 325, 155, 345]
NamePlacement "alternate"
ShowName off
IconShape "round"
Inputs "-+|"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [95, 40, 125, 75]
Port {
PortNumber 1
Name "Tl"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Sum
Name "Sum2"
Ports [3, 1]
Position [425, 125, 445, 145]
ShowName off
IconShape "round"
Inputs "-+-"
}
Block {
BlockType Step
Name "Tlf"
Position [30, 77, 65, 113]
Time "10"
Before "0.0"
After "0.8"
SampleTime "0"
}
Block {
BlockType Step
Name "Tli"
Position [30, 32, 65, 68]
Time "0"
After "0.2"
SampleTime "0"
}
Block {
BlockType Scope
Name "d&iq"
Ports [1]
Position [430, 213, 460, 257]
Location [8, 136, 490, 399]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "d- & q-axis currents"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "12"
YMax "4"
DataFormat "StructureWithTime"
MaxDataPoints "12000"
}
Block {
BlockType Scope
Name "delta"
Ports [1]
Position [545, 268, 575, 312]
Location [495, 471, 1072, 706]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "Torque angle [deg]"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "12"
YMin "0"
YMax "375"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
MaxDataPoints "12000"
}
Block {
BlockType Constant
Name "frequency"
Position [85, 320, 115, 350]
NamePlacement "alternate"
}
Block {
BlockType Scope
Name "if1"
Ports [1]
Position [375, 163, 405, 207]
NamePlacement "alternate"
Location [508, 392, 1147, 654]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "Field current"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "12"
YMin "-2"
YMax "3"
DataFormat "StructureWithTime"
MaxDataPoints "12000"
}
Block {
BlockType Constant
Name "pi/3"
Position [390, 295, 420, 325]
ShowName off
Value "2*pi"
}
Block {
BlockType SubSystem
Name "plots1"
Ports []
Position [622, 335, 690, 401]
ForegroundColor "orange"
DropShadow on
ShowName off
OpenFcn "close all,figure(1),plot(t,Te,'-b'),grid,title("
"'TORQUE versus TIME'),figure(2),plot(t,wm,'-g'),grid,title('SPEED versus TIME"
"'),figure(3),plot(t,iff,'-r'),grid,title('FIELD CURRENT versus TIME')"
FontWeight "bold"
TreatAsAtomicUnit off
MaskDisplay "plot(-1.5,-1.5,1.5,1.5,cos(0:.01:7),sin(0:.01:7"
") )\ndisp('PLOTS')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "plots1"
Location [83, 506, 530, 694]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
}
}
Block {
BlockType Gain
Name "rad2deg"
Position [500, 274, 525, 306]
ShowName off
Gain "180/pi"
}
Block {
BlockType Scope
Name "speed"
Ports [1]
Position [635, 113, 665, 157]
NamePlacement "alternate"
Location [536, 599, 1089, 833]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "12"
YMin "0"
YMax "1.4"
DataFormat "StructureWithTime"
MaxDataPoints "12000"
}
Block {
BlockType Scope
Name "torques"
Ports [1]
Position [550, 51, 585, 99]
NamePlacement "alternate"
Location [498, 132, 1129, 407]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "torque"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "12"
YMin "-1"
YMax "2.5"
DataFormat "StructureWithTime"
MaxDataPoints "12000"
}
Block {
BlockType Step
Name "va"
Position [80, 362, 115, 398]
Time "0"
After "V"
SampleTime "0"
Port {
PortNumber 1
Name "vs"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Step
Name "vf"
Position [80, 168, 115, 202]
Time "5"
After "0.02"
SampleTime "0"
Port {
PortNumber 1
Name "vf"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Gain
Name "wo"
Position [175, 319, 210, 351]
ShowName off
Gain "wo"
}
Block {
BlockType Outport
Name "Te"
Position [450, 93, 480, 107]
}
Block {
BlockType Outport
Name "iff"
Position [375, 208, 405, 222]
Port "2"
}
Block {
BlockType Outport
Name "wm"
Position [635, 168, 665, 182]
Port "3"
}
Line {
SrcBlock "Mux6"
SrcPort 1
DstBlock "torques"
DstPort 1
}
Line {
Name "vf"
Labels [0, 0]
SrcBlock "vf"
SrcPort 1
DstBlock "SM"
DstPort 2
}
Line {
SrcBlock "From1"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "SM"
DstPort 3
}
Branch {
DstBlock "Sum"
DstPort 1
}
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "1/2H"
DstPort 1
}
Line {
SrcBlock "1/2H"
SrcPort 1
DstBlock "Integrator2"
DstPort 1
}
Line {
Name "Te"
SrcBlock "SM"
SrcPort 1
Points [45, 0]
Branch {
Points [0, 0]
DstBlock "Sum2"
DstPort 2
}
Branch {
Points [0, -35]
Branch {
Labels [-1, 1]
Points [0, -15]
DstBlock "Mux6"
DstPort 2
}
Branch {
DstBlock "Te"
DstPort 1
}
}
}
Line {
SrcBlock "Bm"
SrcPort 1
Points [-75, 0]
DstBlock "Sum2"
DstPort 3
}
Line {
Name "wm"
Labels [0, 1]
SrcBlock "Integrator2"
SrcPort 1
Points [25, 0]
Branch {
DstBlock "speed"
DstPort 1
}
Branch {
DstBlock "Goto"
DstPort 1
}
Branch {
Points [0, 40]
Branch {
DstBlock "Bm"
DstPort 1
}
Branch {
DstBlock "wm"
DstPort 1
}
}
}
Line {
Name "vs"
Labels [2, 0]
SrcBlock "Armature\nvoltage"
SrcPort 1
Points [20, 0; 0, 75; -350, 0; 0, -300]
DstBlock "SM"
DstPort 1
}
Line {
SrcBlock "SM"
SrcPort 3
DstBlock "d&iq"
DstPort 1
}
Line {
Name "vs"
Labels [0, 0]
SrcBlock "va"
SrcPort 1
DstBlock "Armature\nvoltage"
DstPort 2
}
Line {
SrcBlock "Tli"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Tlf"
SrcPort 1
Points [10, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
Name "Tl"
Labels [0, 0]
SrcBlock "Sum1"
SrcPort 1
Points [305, 0]
Branch {
DstBlock "Mux6"
DstPort 1
}
Branch {
DstBlock "Sum2"
DstPort 1
}
}
Line {
Name "delta"
SrcBlock "Integrator3"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Armature\nvoltage"
DstPort 1
}
Branch {
Points [0, -55]
DstBlock "Math\nFunction"
DstPort 1
}
}
Line {
SrcBlock "frequency"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "wo"
DstPort 1
}
Line {
SrcBlock "wo"
SrcPort 1
DstBlock "Integrator3"
DstPort 1
}
Line {
SrcBlock "SM"
SrcPort 2
Points [5, 0]
Branch {
DstBlock "if1"
DstPort 1
}
Branch {
Points [0, 30]
DstBlock "iff"
DstPort 1
}
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
DstBlock "rad2deg"
DstPort 1
}
Line {
SrcBlock "pi/3"
SrcPort 1
Points [10, 0]
DstBlock "Math\nFunction"
DstPort 2
}
Line {
SrcBlock "rad2deg"
SrcPort 1
DstBlock "delta"
DstPort 1
}
Annotation {
Name "STARTING OF A SYNCHRONOUS MOTOR"
Position [292, 20]
ForegroundColor "blue"
FontSize 14
FontWeight "bold"
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -