📄 dtc3.mdl
字号:
MaskDisplay "plot(-1.5,-1.5,1.5,1.5,[-1.2 0 1.2 -1.2],[-1.2 "
"1.3 -1.2 -1.2] )\ndisp('Switching\\nTable')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "fsw"
Location [81, 465, 513, 607]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Annotation {
Name "Script files"
Position [213, 22]
FontSize 12
FontWeight "bold"
}
Annotation {
Name "This collection of demonstrations is design"
"ed to illustrate the use of MATLAB \nfor the simulation of the steady-state"
" characteristics of ac machines under\nbalanced and unbalanced conditions of "
"operation. \n"
Position [15, 40]
HorizontalAlignment "left"
VerticalAlignment "top"
FontSize 11
}
}
}
Block {
BlockType SubSystem
Name "info"
Ports []
Position [294, 554, 415, 667]
ForegroundColor "darkGreen"
DropShadow on
ShowName off
FontName "Arial"
FontSize 12
FontWeight "bold"
TreatAsAtomicUnit off
MaskDisplay "plot(-1.5,-1.5,1.5,1.5,cos(0:.01:7),sin(0:.01:7"
") )\ndisp('Info')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "info"
Location [29, 535, 659, 662]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "103"
Annotation {
Name "Direct torque control of an induction motor"
"drive"
Position [288, 17]
ForegroundColor "blue"
FontSize 12
FontWeight "bold"
}
Annotation {
Name "The induction motor operates initially at n"
"o load at a speed and a stator flux level specified in a callback of the \nmo"
"del properties. The mechanical load torque is initially set at Tl = 0 and the"
" electromagnetic torque \nTe is set to zero by having stator and rotor space "
"vectors colinear (check the IC's of the flux integrators).\nBefore running, d"
"ouble click the Switching Table block."
Position [10, 40]
HorizontalAlignment "left"
VerticalAlignment "top"
FontSize 12
}
}
}
Block {
BlockType Constant
Name "one1"
Position [845, 225, 875, 255]
ShowName off
Value "0"
}
Block {
BlockType SubSystem
Name "plots1"
Ports []
Position [883, 562, 1227, 628]
DropShadow on
ShowName off
OpenFcn "dtc3a\n \n \n "
FontName "Arial"
FontSize 24
FontWeight "bold"
TreatAsAtomicUnit off
MaskDisplay "disp('To encoder-less operation')"
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 SubSystem
Name "plots2"
Ports []
Position [507, 567, 796, 631]
DropShadow on
ShowName off
OpenFcn "dtc3p\n \n \n "
FontName "Arial"
FontSize 24
FontWeight "bold"
TreatAsAtomicUnit off
MaskDisplay "disp('To the basics of DTC')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "plots2"
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 SubSystem
Name "space vector"
Ports []
Position [1310, 549, 1419, 643]
ForegroundColor "orange"
DropShadow on
ShowName off
OpenFcn "close all,figure(1),plot(fs(:,1),fs(:,2),'-r',f"
"r(:,1),fr(:,2),'-b'),axis equal,grid,title('FLUX SPACE VECTOR TRAJECTORY'),te"
"xt(.8,-.85,'rotor flux','color','b'),text(-1,-.85,'stator flux','color','r')"
FontName "Arial"
FontSize 12
FontWeight "bold"
TreatAsAtomicUnit off
MaskDisplay "plot(-1.5,-1.5,1.5,1.5,cos(0:.01:7),sin(0:.01:7"
") )\ndisp('SPACE\\nVECTOR')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "space vector"
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 "speed"
Ports [1]
Position [1400, 181, 1435, 229]
NamePlacement "alternate"
Location [591, 128, 1130, 447]
Open on
NumInputPorts "1"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "speed"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "2"
YMin "0.475"
YMax "0.9"
SaveName "ScopeData2"
DataFormat "StructureWithTime"
LimitDataPoints off
MaxDataPoints "20000"
Decimation "20"
}
Block {
BlockType Scope
Name "torque"
Ports [1]
Position [1245, 65, 1280, 115]
NamePlacement "alternate"
Location [594, 510, 1131, 824]
Open on
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "torque"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "2"
YMin "-2.25"
YMax "1.25"
SaveName "ScopeData3"
DataFormat "StructureWithTime"
LimitDataPoints off
MaxDataPoints "20000"
Decimation "20"
}
Block {
BlockType Step
Name "wm"
Position [50, 167, 85, 203]
ForegroundColor "red"
Time ".25"
Before "wmo"
After ".5"
SampleTime "0"
}
Block {
BlockType Constant
Name "xx"
Position [45, 530, 75, 560]
NamePlacement "alternate"
ShowName off
Value ".5"
}
Line {
SrcBlock "DTC"
SrcPort 1
DstBlock "3/2"
DstPort 1
}
Line {
SrcBlock "F_ref"
SrcPort 1
DstBlock "DTC"
DstPort 1
}
Line {
SrcBlock "3/2"
SrcPort 1
DstBlock "dc"
DstPort 1
}
Line {
SrcBlock "IM"
SrcPort 3
Points [25, 0]
Branch {
Points [0, 150]
Branch {
DstBlock "To Workspace2"
DstPort 1
}
Branch {
Points [-645, 0; 0, -175]
DstBlock "DTC"
DstPort 3
}
}
Branch {
DstBlock "frs"
DstPort 1
}
}
Line {
SrcBlock "one1"
SrcPort 1
DstBlock "IM"
DstPort 2
}
Line {
Name "Te"
Labels [0, 0]
SrcBlock "IM"
SrcPort 1
Points [-5, 0; 105, 0]
Branch {
DstBlock "Mechanical \nsystem"
DstPort 1
}
Branch {
Labels [-1, 0]
Points [0, 275; -780, 0]
DstBlock "Sum"
DstPort 2
}
Branch {
Points [0, -105]
DstBlock "Mux"
DstPort 1
}
}
Line {
Name "wm"
Labels [0, 0]
SrcBlock "Mechanical \nsystem"
SrcPort 1
Points [0, 0; 25, 0]
Branch {
DstBlock "speed"
DstPort 1
}
Branch {
Points [0, 155]
Branch {
Points [-485, 0; 0, -65]
DstBlock "IM"
DstPort 3
}
Branch {
Labels [-1, 0]
Points [0, 170; -1190, 0]
DstBlock "Sum4"
DstPort 2
}
}
}
Line {
SrcBlock "IM"
SrcPort 2
Points [25, 0; 0, -125]
DstBlock "currents"
DstPort 1
}
Line {
SrcBlock "wm"
SrcPort 1
DstBlock "Sum4"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "DTC"
DstPort 2
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "torque"
DstPort 1
}
Line {
SrcBlock "Sum4"
SrcPort 1
DstBlock "P_control"
DstPort 1
}
Line {
Name "Te*"
Labels [0, 1]
SrcBlock "P_control"
SrcPort 1
DstBlock "Saturation"
DstPort 1
}
Line {
SrcBlock "IM"
SrcPort 4
Points [5, 0]
Branch {
DstBlock "To Workspace1"
DstPort 1
}
Branch {
Points [0, 40]
DstBlock "fr"
DstPort 1
}
}
Line {
SrcBlock "dc"
SrcPort 1
DstBlock "IM"
DstPort 1
}
Line {
SrcBlock "Signal\nGenerator"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "xx"
SrcPort 1
Points [40, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Transport\nDelay"
DstPort 1
}
Line {
SrcBlock "Transport\nDelay"
SrcPort 1
Points [920, 0; 0, -260]
Branch {
DstBlock "Mux"
DstPort 2
}
Branch {
DstBlock "Mechanical \nsystem"
DstPort 2
}
}
Line {
SrcBlock "Saturation"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Annotation {
Name "Direct Torque Control of an Induction Motor Dri"
"ve"
Position [867, 693]
ForegroundColor "red"
FontName "Arial"
FontSize 36
FontWeight "bold"
}
Annotation {
Name "Flux reference"
Position [101, 92]
FontName "Arial"
FontSize 14
FontWeight "bold"
}
Annotation {
Name "Speed reference"
Position [102, 233]
FontName "Arial"
FontSize 14
FontWeight "bold"
}
Annotation {
Name "Te"
Position [1142, 172]
}
Annotation {
Name "Tl"
Position [1189, 236]
}
Annotation {
Name "Pulsating \nload"
Position [87, 433]
FontName "Arial"
FontSize 14
FontWeight "bold"
}
Annotation {
Name "P_controller"
Position [260, 242]
FontName "Arial"
FontSize 14
FontWeight "bold"
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -