📄 double_spwm.mdl
字号:
Name "Bus\nSelector1"
Ports [1, 1]
Position [865, 406, 870, 444]
Orientation "left"
NamePlacement "alternate"
ShowName off
DialogController "Simulink.DDGSource_Bus"
OutputSignals "Rotor measurements.Rotor current ir_a (A),Rotor"
" measurements.Rotor current ir_b (A),Rotor measurements.Rotor current ir_c (A"
")"
MuxedOutput on
}
Block {
BlockType BusSelector
Name "Bus\nSelector2"
Ports [1, 1]
Position [865, 371, 870, 409]
Orientation "left"
NamePlacement "alternate"
ShowName off
DialogController "Simulink.DDGSource_Bus"
OutputSignals "Mechanical.Rotor speed (wm)"
Port {
PortNumber 1
Name "<Rotor speed (wm)>"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Block {
BlockType Reference
Name "C"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [554, 255, 596, 285]
Orientation "up"
NamePlacement "alternate"
AttributesFormatString "\\n"
SourceBlock "powerlib/Elements/Parallel RLC Branch"
SourceType "Parallel RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
RConnTagsString "__new0"
Resistance "inf"
Inductance "inf"
Capacitance "5000e-06"
Measurements "None"
}
Block {
BlockType Goto
Name "Goto"
Position [700, 391, 745, 409]
Orientation "left"
BackgroundColor "[0.501961, 1.000000, 1.000000]"
NamePlacement "alternate"
ShowName off
DialogController "Simulink.DDGSource"
GotoTag "Speed"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto1"
Position [700, 431, 745, 449]
Orientation "left"
BackgroundColor "[0.501961, 1.000000, 1.000000]"
NamePlacement "alternate"
ShowName off
DialogController "Simulink.DDGSource"
GotoTag "Iabc"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto2"
Position [670, 346, 705, 364]
ForegroundColor "darkGreen"
ShowName off
DialogController "Simulink.DDGSource"
GotoTag "Vab"
TagVisibility "global"
}
Block {
BlockType Reference
Name "IGBT Inverter"
Ports [1, 0, 0, 0, 0, 3, 2]
Position [635, 216, 700, 309]
Orientation "left"
BackgroundColor "orange"
NamePlacement "alternate"
AttributesFormatString "\\n"
SourceBlock "powerlib/Power\nElectronics/Universal Bridge"
SourceType "Universal Bridge"
ShowPortLabels on
Arms "3"
SnubberResistance "1000"
SnubberCapacitance "inf"
Device "IGBT / Diodes"
Ron "1e-3"
Lon "0"
ForwardVoltages "[ 0.8 0.8 ]"
ForwardVoltage ".8"
GTOparameters "[ 1e-6 , 1e-6 ]"
IGBTparameters "[ 1e-6 , 2e-6 ]"
Measurements "None"
}
Block {
BlockType Reference
Name "Induction Motor\n50 HP / 460 V"
Ports [1, 1, 0, 0, 0, 3]
Position [780, 216, 870, 309]
BackgroundColor "yellow"
NamePlacement "alternate"
AttributesFormatString "\\n"
SourceBlock "powerlib/Machines/Asynchronous Machine\nSI Unit"
"s"
SourceType "Asynchronous Machine"
ShowPortLabels on
PresetModel "No"
ShowDetailedParameters on
RotorType "Squirrel-cage"
ReferenceFrame "Stationary"
NominalParameters "[ 50*746, 460, 60 ]"
Stator "[ 0.087 0.8e-3 ]"
Rotor "[ 0.228 0.8e-3 ]"
Lm "34.7e-3"
Mechanical "[1.662 0.1 2 ]"
InitialConditions "[ 1, 0 , 0 , 0 , 0 , 0 , 0 , 0 ]"
Units "1"
LoadFlowParameters "0"
}
Block {
BlockType Reference
Name "L"
Ports [0, 0, 0, 0, 0, 3, 3]
Position [215, 229, 300, 301]
Orientation "left"
NamePlacement "alternate"
AttributesFormatString "\\n"
SourceBlock "powerlib/Elements/Three-Phase\nSeries RLC Branc"
"h"
SourceType "Three-Phase Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "A|B|C"
RConnTagsString "A|B|C"
Resistance "0.1e-3"
Inductance "20e-6"
Capacitance "inf"
Measurements "Branch voltages and currents"
}
Block {
BlockType Reference
Name "L1"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [510, 223, 550, 247]
AttributesFormatString "\\n"
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
Resistance "0"
Inductance "200e-6"
Capacitance "inf"
Measurements "None"
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [770, 320, 815, 370]
Orientation "left"
BackgroundColor "green"
Location [5, 54, 1029, 748]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "2.5"
YMin "6.77626e-020"
YMax "0.00085"
SaveName "ScopeData30"
DataFormat "StructureWithTime"
LimitDataPoints off
Decimation "20"
SampleTime "5e-6"
}
Block {
BlockType Step
Name "Torque\nstep"
Position [730, 133, 760, 157]
ForegroundColor "blue"
Time "1.8"
After "200"
SampleTime "0"
}
Block {
BlockType UnitDelay
Name "Unit Delay3"
Position [785, 383, 805, 417]
Orientation "left"
ShowName off
SampleTime "Ts"
}
Block {
BlockType UnitDelay
Name "Unit Delay4"
Position [785, 422, 805, 458]
Orientation "left"
ShowName off
SampleTime "Ts"
}
Block {
BlockType Reference
Name "Vab"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [0, 1, 0, 0, 0, 2]
Position [610, 343, 635, 367]
NamePlacement "alternate"
AttributesFormatString "\\n"
SourceBlock "powerlib/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
ShowPortLabels on
PhasorSimulation off
OutputType "Magnitude"
PSBequivalent "0"
Port {
PortNumber 1
Name "Vab (V)"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Block {
BlockType SubSystem
Name "control1"
Ports [0, 1]
Position [320, 123, 360, 187]
NamePlacement "alternate"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "control1"
Location [612, 167, 877, 335]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType From
Name "From1"
Position [180, 74, 240, 96]
Orientation "left"
ForegroundColor "darkGreen"
NamePlacement "alternate"
ShowName off
DialogController "Simulink.DDGSource"
CloseFcn "tagdialog Close"
GotoTag "Iabc_B2"
}
Block {
BlockType From
Name "From2"
Position [180, 114, 240, 136]
Orientation "left"
ForegroundColor "darkGreen"
NamePlacement "alternate"
ShowName off
DialogController "Simulink.DDGSource"
CloseFcn "tagdialog Close"
GotoTag "Vab"
}
Block {
BlockType From
Name "From4"
Position [180, 34, 240, 56]
Orientation "left"
ForegroundColor "darkGreen"
NamePlacement "alternate"
ShowName off
DialogController "Simulink.DDGSource"
CloseFcn "tagdialog Close"
GotoTag "Vabc_B1"
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [3, 1]
Position [80, 27, 135, 143]
Orientation "left"
NamePlacement "alternate"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Subsystem"
Location [2, 82, 1014, 721]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 48, 55, 62]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "In2"
Position [25, 98, 55, 112]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "In3"
Position [25, 148, 55, 162]
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Memory
Name "Memory1"
Position [235, 90, 265, 120]
}
Block {
BlockType Mux
Name "Mux"
Ports [6, 1]
Position [185, 40, 190, 170]
ShowName off
Inputs "6"
DisplayOption "bar"
}
Block {
BlockType SubSystem
Name "Subsystem2"
Ports [3, 6]
Position [80, 27, 130, 178]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Subsystem2"
Location [2, 82, 1014, 704]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 108, 55, 122]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "In2"
Position [25, 133, 55, 147]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "In3"
Position [25, 158, 55, 172]
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Saturate
Name "-1<Id<+1"
Position [485, 260, 515, 290]
UpperLimit "1.2"
LowerLimit "-1.2"
}
Block {
BlockType SubSystem
Name "2r/2s"
Ports [3, 2]
Position [865, 134, 910, 206]
ShowName off
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "2r/2s"
Location [340, 361, 815, 619]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "um"
Position [35, 48, 65, 62]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "theal"
Position [25, 138, 55, 152]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "ut"
Position [35, 218, 65, 232]
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Sum
Name "Add"
Ports [2, 1]
Position [350, 52, 380, 83]
ShowName off
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -