📄 dtc.mdl
字号:
BusOutputAsStruct off
}
Line {
SrcBlock "Timer"
SrcPort 1
DstBlock " "
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "demux"
Ports [3, 4]
Position [400, 40, 465, 160]
FontName "Arial"
FontSize 12
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
Port {
PortNumber 1
Name "Stator current"
PropagatedSignals "Stator current is_a (A)"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
Port {
PortNumber 2
Name "Rotor speed"
PropagatedSignals ", Reference"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
Port {
PortNumber 3
Name "Electromagnetic Torque"
PropagatedSignals "Electromagnetic torque Te (N*m), Torque refer"
"ence (Nm)"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
Port {
PortNumber 4
Name "DC bus voltage"
PropagatedSignals "V bus (V)"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
System {
Name "demux"
Location [565, 113, 1014, 386]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "motor"
Position [20, 78, 50, 92]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "Conv."
Position [25, 163, 55, 177]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "Ctrl"
Position [25, 218, 55, 232]
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType BusSelector
Name "Bus\nSelector"
Ports [1, 3]
Position [85, 27, 90, 143]
ShowName off
DialogController "Simulink.DDGSource_Bus"
OutputSignals "Stator measurements.Stator current is_a (A)"
",Mechanical.Rotor speed (wm),Mechanical.Electromagnetic torque Te (N*m)"
Port {
PortNumber 1
Name "<Stator current is_a (A)>"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
Port {
PortNumber 2
Name "<Rotor speed (wm)>"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
Port {
PortNumber 3
Name "<Electromagnetic torque Te (N*m)>"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Block {
BlockType BusSelector
Name "Bus\nSelector1"
Ports [1, 2]
Position [85, 197, 90, 248]
ShowName off
DialogController "Simulink.DDGSource_Bus"
OutputSignals "Torque reference (Nm),Reference"
Port {
PortNumber 1
Name "<Torque reference (Nm)>"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
Port {
PortNumber 2
Name "<Reference>"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Block {
BlockType BusSelector
Name "Bus\nSelector2"
Ports [1, 1]
Position [85, 153, 90, 187]
ShowName off
DialogController "Simulink.DDGSource_Bus"
OutputSignals "V bus (V)"
Port {
PortNumber 1
Name "<V bus (V)>"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Block {
BlockType Gain
Name "Gain"
Position [215, 70, 245, 100]
ShowName off
Gain "30/pi"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [345, 76, 350, 114]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux1"
Ports [2, 1]
Position [265, 116, 270, 154]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Outport
Name "i_a"
Position [275, 38, 305, 52]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "speed"
Position [375, 88, 405, 102]
NamePlacement "alternate"
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Tem"
Position [290, 128, 320, 142]
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "v_dc"
Position [290, 163, 320, 177]
Port "4"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "motor"
SrcPort 1
DstBlock "Bus\nSelector"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "speed"
DstPort 1
}
Line {
SrcBlock "Ctrl"
SrcPort 1
DstBlock "Bus\nSelector1"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "Tem"
DstPort 1
}
Line {
Name "<Electromagnetic torque Te (N*m)>"
Labels [0, 0]
SrcBlock "Bus\nSelector"
SrcPort 3
DstBlock "Mux1"
DstPort 1
}
Line {
Name "<Rotor speed (wm)>"
Labels [0, 0]
SrcBlock "Bus\nSelector"
SrcPort 2
DstBlock "Gain"
DstPort 1
}
Line {
Name "<Stator current is_a (A)>"
Labels [0, 0]
SrcBlock "Bus\nSelector"
SrcPort 1
DstBlock "i_a"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
Name "<Torque reference (Nm)>"
Labels [0, 0]
SrcBlock "Bus\nSelector1"
SrcPort 1
Points [50, 0; 0, -65]
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "Conv."
SrcPort 1
DstBlock "Bus\nSelector2"
DstPort 1
}
Line {
Name "<V bus (V)>"
Labels [0, 0]
SrcBlock "Bus\nSelector2"
SrcPort 1
DstBlock "v_dc"
DstPort 1
}
Line {
Name "<Reference>"
Labels [0, 0]
SrcBlock "Bus\nSelector1"
SrcPort 2
Points [235, 0]
DstBlock "Mux"
DstPort 2
}
}
}
Block {
BlockType Reference
Name "powergui"
Ports []
Position [20, 255, 100, 300]
ShowName off
Priority "2"
FontSize 11
SourceBlock "powerlib/powergui"
SourceType "PSB option menu block"
ShowPortLabels on
SimulationMode "Discrete"
SampleTime "1e-6"
echomessages off
Frange "[0:2:500]"
Ylog off
Xlog on
save off
variable "ZData"
ZoomFFT on
StartTime "0.0"
cycles "1"
DisplayStyle "1"
fundamental "60"
FreqAxis off
MaxFrequency "1000"
frequencyindice "1"
frequencyindicesteady "1"
RmsSteady "1"
display off
Ts "0"
frequency "60"
methode off
}
Line {
Name "Stator current"
FontName "Arial"
FontSize 12
Labels [0, 0]
SrcBlock "demux"
SrcPort 1
DstBlock "Scope"
DstPort 1
}
Line {
Name "Rotor speed"
FontName "Arial"
FontSize 12
Labels [0, 0]
SrcBlock "demux"
SrcPort 2
DstBlock "Scope"
DstPort 2
}
Line {
Name "Electromagnetic Torque"
FontName "Arial"
FontSize 12
Labels [0, 0]
SrcBlock "demux"
SrcPort 3
DstBlock "Scope"
DstPort 3
}
Line {
Name "DC bus voltage"
FontName "Arial"
FontSize 12
Labels [0, 0]
SrcBlock "demux"
SrcPort 4
DstBlock "Scope"
DstPort 4
}
Line {
SrcBlock "DTC Induction Motor Drive"
SrcPort 1
DstBlock "demux"
DstPort 1
}
Line {
SrcBlock "DTC Induction Motor Drive"
SrcPort 2
DstBlock "demux"
DstPort 2
}
Line {
SrcBlock "DTC Induction Motor Drive"
SrcPort 3
DstBlock "demux"
DstPort 3
}
Line {
LineType "Connection"
SrcBlock "460V 60Hz"
SrcPort RConn1
DstBlock "DTC Induction Motor Drive"
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "460V 60Hz"
SrcPort RConn2
DstBlock "DTC Induction Motor Drive"
DstPort LConn2
}
Line {
LineType "Connection"
SrcBlock "460V 60Hz"
SrcPort RConn3
DstBlock "DTC Induction Motor Drive"
DstPort LConn3
}
Line {
SrcBlock "Torque reference"
SrcPort 1
DstBlock "DTC Induction Motor Drive"
DstPort 2
}
Line {
SrcBlock "Speed reference"
SrcPort 1
DstBlock "DTC Induction Motor Drive"
DstPort 1
}
Line {
SrcBlock "Machine terminal\nvoltages"
SrcPort 1
DstBlock "Scope1"
DstPort 1
}
}
}
MatData {
NumRecords 1
DataRecord {
Tag DataTag0
Data " %)30 . J T 8 ( @ % "
"\" $ ! 0 % 0 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# . , 8 ( ! % \" $ # 0"
" 0 , -S P X P !@ @ $ 4 ( 0 , ! "
" ! P V-C #@ '@\" & \" $ !0 @ ! \"@ $ "
" #@ $ & \" 0 !0 @ ! #0 $ $ "
" T !)1T)4(\"\\@1&EO9&5S #@ # & \" 0 !0 @ ! "
" ! $ $ $ #%E+3,. , 8 ( ! % \" $ "
"# 0 0 , ,2XT X P !@ @ $ 4 ( 0 , "
" ! ! P Q+C0 #@ #@ & \" 0 !0 @ ! !0 "
" $ $ 4 Q,&4M-@ X X !@ @ $ 4 ( "
"0 4 ! ! % ,C!E+38 . , 8 ( ! % "
" \" $ $ 0 0 0 ,64M-@X P !@ @ $ 4 "
" ( 0 0 ! ! ! R92TV#@ # & \" 0 !0 "
"@ ! ! $ $ $ #$P93,. , 8 ( ! % \" "
" $ # 0 0 , :6YF X !H P !@ @ ! 4 ( "
" 0 X ! X P !@ @ $ 4 ( 0 , !"
" ! P Y,# #@ # & \" 0 !0 @ ! ! $ "
" $ $ \"TY,# . , 8 ( ! % \" $ # 0 "
" 0 , ,3 P X X !@ @ $ 4 ( 0 8 ! "
" ! & ,34P92TV . , 8 ( ! % \" $ "
"\" 0 0 ( ,S X P !@ @ $ 4 ( 0 ,"
" ! ! P R,# #@ #@ & \" 0 !0 @ ! !0 "
" $ $ 4 M,3(P, X P !@ @ $ 4 ( "
" 0 0 ! ! ! Q,C P#@ # & \" 0 !0 @ !"
" @ $ $ \" #$P . , 8 ( ! % \" $"
" $ 0 0 0 ,\"XP,@X P !@ @ $ 4 ( 0 "
" , ! ! P P+C@ #@ #@ & \" 0 !0 @ ! "
" !0 $ $ 4 R,# P, X X !@ @ $ 4 ("
" 0 4 ! ! % ,35E+38 . 0 8 ( ! "
" % \" $ 0 0 0 $ %-P965D(')E9W5L871I;VX"
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -