📄 vc.mdl
字号:
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "宋体"
FontSize 14
FontWeight "normal"
FontAngle "normal"
UseDisplayTextAsClickCallback off
}
LineDefaults {
FontName "Arial"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "vc"
Location [2, 78, 1022, 717]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Reference
Name "460V 60Hz"
Ports [0, 0, 0, 0, 0, 0, 3]
Position [235, 149, 315, 221]
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Electrical\nSources/Three-Phase Source"
SourceType "Three-Phase Source"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
Voltage "460"
PhaseAngle "0"
Frequency "60"
InternalConnection "Yg"
SpecifyImpedance off
Resistance "0.02"
Inductance "0.05e-3"
ShortCircuitLevel "100e6"
BaseVoltage "25e3"
XRratio "7"
}
Block {
BlockType Reference
Name "Field-Oriented Control\nInduction Motor Drive"
Ports [2, 4, 0, 0, 0, 3]
Position [395, 100, 515, 220]
UserDataPersistent on
FontName "Arial"
SourceBlock "electricdrivelib/AC drives/Field-Oriented Contr"
"ol\nInduction Motor Drive"
SourceType "Field-Oriented Control Induction Motor Drive"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
AverageValue off
MechanicalLoad "Torque Tm"
}
Block {
BlockType SubSystem
Name "Load torque"
Ports [0, 1]
Position [200, 122, 265, 138]
NamePlacement "alternate"
FontSize 12
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "Load torque"
Location [435, 453, 680, 511]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Reference
Name "Timer"
Ports [0, 1]
Position [55, 21, 100, 59]
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib_extras/Control \nBlocks/Timer"
SourceType "Timer"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
t "[0 0.5 1.5]"
e "[0 792 -792]"
}
Block {
BlockType Outport
Name " "
Position [135, 33, 165, 47]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Timer"
SrcPort 1
DstBlock " "
DstPort 1
}
}
}
Block {
BlockType Reference
Name "Machine terminal\nvoltages"
Ports [0, 1]
Position [675, 256, 715, 294]
SourceBlock "powerlib/Measurements/Multimeter"
SourceType "MultimeterPSB"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
PhasorSimulation off
OutputType "Complex"
sel "1"
L "32"
Gain "0"
yselected "{}"
PSBOutputType "1"
PSBequivalent "0"
AxesSetting "[0,0.1,-100,100]"
Display "0"
SavedBlockNames "-11"
}
Block {
BlockType SubSystem
Name "More Info"
Ports []
Position [790, 325, 817, 350]
DropShadow on
OpenFcn "showdemo(bdroot(gcb))"
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
MaskDisplay "disp('?')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "More Info"
Location [182, 118, 1031, 705]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Annotation {
Name "Demonstration of a Space Vector PWM DTC Ind"
"uction Motor Drive during speed regulation."
Position [368, 22]
VerticalAlignment "top"
FontSize 14
FontWeight "bold"
}
Annotation {
Name "Circuit Description"
Position [24, 87]
HorizontalAlignment "left"
VerticalAlignment "top"
ForegroundColor "blue"
FontSize 14
FontWeight "bold"
}
Annotation {
Name "Demonstration"
Position [24, 307]
HorizontalAlignment "left"
VerticalAlignment "top"
ForegroundColor "blue"
FontSize 14
FontWeight "bold"
}
Annotation {
Name "This circuit uses a modified version of the"
" AC4 block of the SimPowerSystems electric drives library. It models a direct"
" torque control (DTC) \ninduction motor drive with space vector pulse width m"
"odulation. The particularity of this modified version is that the DTC is no l"
"onger based \non hysteresis regulation that implies switching at variable fre"
"quency but on a fixed frequency PMW inverter. As in AC4 it uses a braking \nc"
"hopper for a 200HP AC motor.\n\nThe induction motor is fed by a PWM voltage s"
"ource inverter which is built using a Universal Bridge Block. The speed contr"
"ol loop uses a\nproportional-integral controller to produce the flux and torq"
"ue references for the DTC block. The DTC block computes the motor torque and "
"\nflux estimates and compares them to their respective reference. The torque "
"and flux are then controlled by independant PI regulators that \ncompute a re"
"ference voltage vector. The voltage source inverter is then controlled by the"
" space vector modulation method in order to output\nthe desired reference vol"
"tage.\n \nMotor current, speed, and torque signals are available at the outpu"
"t of the block. "
Position [38, 113]
HorizontalAlignment "left"
VerticalAlignment "top"
FontName "Arial"
FontSize 12
}
Annotation {
Name "C.Semaille, O. Tremblay, L.-A. Dessaint (Ec"
"ole de technologie superieure, Montreal)"
Position [369, 53]
FontName "Arial"
FontSize 12
}
Annotation {
Name "Start the simulation. You can observe the m"
"otor stator current, the rotor speed, the electromagnetic torque and the DC b"
"us voltage on the scope. \nThe speed set point and the torque set point are a"
"lso shown.\n\nAt time t = 0 s, the speed set point is 500 rpm. Observe that t"
"he speed follows precisely the acceleration ramp. \n\nAt t = 0.5 s, the full "
"load torque is applied to the motor shaft while the motor speed is still ramp"
"ing to its final value. This forces the electromagnetic\ntorque to increase t"
"o the user-defined maximum value (1200 N.m) and then to stabilize at 820 N.m "
"once the speed ramping is completed and the\nmotor has reached 500 rpm.\n \nA"
"t t = 1 s, the speed set point is changed to 0 rpm. The speed decreases down "
"to 0 rpm by following precisely the deceleration ramp even though \nthe mecha"
"nical load is inverted abruptly, passing from 792 N.m to - 792 N.m, at t = 1."
"5 s. Shortly after, the motor speed stabilizes at 0 rpm.\n\nFinally, note how"
" well the DC bus voltage is regulated during the whole simulation period."
Position [38, 338]
HorizontalAlignment "left"
VerticalAlignment "top"
FontName "Arial"
FontSize 12
}
Annotation {
Name "Notes"
Position [29, 547]
HorizontalAlignment "left"
VerticalAlignment "top"
ForegroundColor "blue"
FontSize 14
FontWeight "bold"
}
Annotation {
Name "The power system has been discretised with "
"a 2us time step. The speed controller uses a 140 us sample and the DTC contro"
"ller uses a 20 us\nsample time in order to simulate a microcontroller contro"
"l device. The inverter switching frequency is set to 5 kHz."
Position [43, 573]
HorizontalAlignment "left"
VerticalAlignment "top"
FontName "Arial"
FontSize 12
}
}
}
Block {
BlockType Scope
Name "Scope"
Ports [4]
Position [765, 98, 820, 222]
Floating off
Location [5, 34, 1033, 753]
Open off
NumInputPorts "4"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
axes4 "%<SignalLabel>"
}
TimeRange "3"
YMin "-500~0~-1250~612.5"
YMax "600~500~1250~647.5"
DataFormat "StructureWithTime"
LimitDataPoints off
Decimation "25"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [775, 257, 820, 293]
ShowName off
Floating off
Location [572, 445, 896, 684]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-700"
YMax "700"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope2"
Ports [1]
Position [560, 242, 615, 288]
Floating off
Location [5, 34, 1033, 753]
Open off
NumInputPorts "1"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "3"
YMin "-500"
YMax "600"
SaveName "ScopeData2"
DataFormat "StructureWithTime"
LimitDataPoints off
Decimation "25"
SampleTime "0"
}
Block {
BlockType SubSystem
Name "Speed reference"
Ports [0, 1]
Position [115, 101, 180, 119]
NamePlacement "alternate"
FontSize 12
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "Speed reference"
Location [666, 484, 879, 511]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Reference
Name "Timer"
Ports [0, 1]
Position [45, 16, 90, 54]
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib_extras/Control \nBlocks/Timer"
SourceType "Timer"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
t "[0 1]"
e "[500 0]"
}
Block {
BlockType Outport
Name " "
Position [160, 28, 190, 42]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Timer"
SrcPort 1
DstBlock " "
DstPort 1
}
}
}
Block {
BlockType Terminator
Name "Terminator_1"
Position [460, 255, 470, 265]
ShowName off
}
Block {
BlockType Reference
Name "Voltage Measurement"
Ports [0, 1, 0, 0, 0, 2]
Position [420, 248, 445, 272]
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
PhasorSimulation off
OutputType "Complex"
PSBequivalent "0"
}
Block {
BlockType SubSystem
Name "demux"
Ports [3, 4]
Position [550, 100, 615, 220]
FontName "Arial"
FontSize 12
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -