📄 imvecv_hz.mdl
字号:
}
Block {
BlockType SubSystem
Name "plots1"
Ports []
Position [147, 35, 215, 101]
ForegroundColor "orange"
DropShadow on
ShowName off
OpenFcn "imvecV_Hzplt"
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
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 [81, 508, 528, 696]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
}
}
Block {
BlockType Scope
Name "torques"
Ports [1]
Position [855, 61, 890, 109]
ForegroundColor "green"
NamePlacement "alternate"
Floating off
Location [509, 57, 973, 372]
Open on
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "Torque [pu]"
}
List {
ListType SelectedSignals
axes1 ""
}
Grid "on"
TimeRange "4"
YMin "-2"
YMax "1.5"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "8000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "vt"
Ports [2]
Position [460, 23, 495, 72]
ForegroundColor "green"
NamePlacement "alternate"
Floating off
Location [646, 94, 1003, 374]
Open on
NumInputPorts "2"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "Voltage & frequency"
axes2 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
}
Grid "on"
TimeRange "4"
YMin "0~0"
YMax "1.5~1"
SaveToWorkspace off
SaveName "ScopeData"
DataFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "8000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Step
Name "w1"
Position [25, 177, 60, 213]
ForegroundColor "red"
Time "3"
Before "1"
After "0.5"
SampleTime "0"
VectorParams1D on
Port {
PortNumber 1
Name "wc"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
}
Block {
BlockType Gain
Name "wo"
Position [625, 334, 660, 366]
Gain "2*pi*60"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
Port {
PortNumber 1
Name "thetas"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
}
Block {
BlockType Outport
Name "Te"
Position [705, 173, 735, 187]
ForegroundColor "green"
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "wm"
Position [1005, 153, 1035, 167]
ForegroundColor "green"
Port "2"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "ia"
Position [880, 323, 910, 337]
ForegroundColor "green"
Port "3"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "vs"
Position [425, 73, 455, 87]
ForegroundColor "green"
Port "4"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
DstBlock "Mux"
DstPort 2
}
Line {
Name "Is_mag"
Labels [0, 1]
SrcBlock "mag"
SrcPort 1
Points [20, 0; 0, 40]
DstBlock "Mux7"
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "1/2H"
DstPort 1
}
Line {
SrcBlock "1/2H"
SrcPort 1
DstBlock "Integrator2"
DstPort 1
}
Line {
Name "thetas"
Labels [0, 0]
SrcBlock "wo"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "Bm"
SrcPort 1
Points [-85, 0]
DstBlock "Sum2"
DstPort 3
}
Line {
Name "Te"
SrcBlock "IM"
SrcPort 1
Points [20, 0]
Branch {
Labels [1, 0]
DstBlock "Sum2"
DstPort 2
}
Branch {
Points [0, -65]
DstBlock "Mux6"
DstPort 2
}
Branch {
DstBlock "Te"
DstPort 1
}
}
Line {
SrcBlock "Mux6"
SrcPort 1
DstBlock "torques"
DstPort 1
}
Line {
Name "Tl"
Labels [0, 0]
SrcBlock "Step load"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Mux6"
DstPort 1
}
Branch {
DstBlock "Sum2"
DstPort 1
}
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "ias"
DstPort 1
}
Line {
SrcBlock "Integrator3"
SrcPort 1
DstBlock "wo"
DstPort 1
}
Line {
SrcBlock "Mux7"
SrcPort 1
DstBlock "currents"
DstPort 1
}
Line {
Name "ias"
Labels [0, 0]
SrcBlock "ias"
SrcPort 1
Points [15, 0]
Branch {
Points [0, -30]
DstBlock "Mux7"
DstPort 2
}
Branch {
DstBlock "ia"
DstPort 1
}
}
Line {
SrcBlock "IM"
SrcPort 2
Points [20, 0]
Branch {
DstBlock "mag"
DstPort 1
}
Branch {
Points [0, 85]
DstBlock "Demux"
DstPort 1
}
}
Line {
SrcBlock "Sum4"
SrcPort 1
DstBlock "Speed controller"
DstPort 1
}
Line {
SrcBlock "Mux8"
SrcPort 1
DstBlock "SPEED"
DstPort 1
}
Line {
Name "vqs"
Labels [1, 0]
SrcBlock "Ground"
SrcPort 1
DstBlock "Mux9"
DstPort 2
}
Line {
Name "ws"
Labels [0, 0]
SrcBlock "Sum3"
SrcPort 1
Points [20, 0]
Branch {
Points [160, 0]
Branch {
Points [-20, 0; 0, 155]
DstBlock "Integrator3"
DstPort 1
}
Branch {
DstBlock "IM"
DstPort 2
}
}
Branch {
Points [0, -70]
Branch {
DstBlock "Saturation"
DstPort 1
}
Branch {
Points [0, -90]
DstBlock "vt"
DstPort 1
}
}
}
Line {
SrcBlock "Speed controller"
SrcPort 1
DstBlock "Sum3"
DstPort 1
}
Line {
Name "wm"
Labels [1, 0]
SrcBlock "Integrator2"
SrcPort 1
Points [75, 0]
Branch {
Points [0, 35]
Branch {
DstBlock "Bm"
DstPort 1
}
Branch {
Points [0, 190; -540, 0; 0, -140]
Branch {
DstBlock "IM"
DstPort 3
}
Branch {
Points [-135, 0]
Branch {
Points [-170, 0]
Branch {
DstBlock "Sum4"
DstPort 2
}
Branch {
Points [0, 50]
DstBlock "Mux8"
DstPort 1
}
}
Branch {
DstBlock "Sum3"
DstPort 2
}
}
}
}
Branch {
DstBlock "wm"
DstPort 1
}
}
Line {
Name "wc"
Labels [1, 0]
SrcBlock "w1"
SrcPort 1
Points [35, 0]
Branch {
DstBlock "Sum4"
DstPort 1
}
Branch {
Labels [2, 0]
Points [0, 135]
DstBlock "Mux8"
DstPort 2
}
}
Line {
Name "vt"
Labels [0, 0]
SrcBlock "Mux9"
SrcPort 1
DstBlock "IM"
DstPort 1
}
Line {
Name "vds"
SrcBlock "Saturation"
SrcPort 1
Points [5, 0]
Branch {
Points [0, -45]
Branch {
Points [0, -20]
DstBlock "vt"
DstPort 2
}
Branch {
DstBlock "vs"
DstPort 1
}
}
Branch {
DstBlock "Mux9"
DstPort 1
}
}
Annotation {
Position [729, 229]
Text "is"
}
Annotation {
Position [759, 132]
Text "Tl"
}
Annotation {
Position [272, 189]
Text "wr"
}
Annotation {
Position [161, 189]
Text "we"
}
Annotation {
Position [372, 252]
Text "wm"
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -