📄 power_acdrive.mdl
字号:
DataLoggingNameMode "SignalName"
}
Port {
PortNumber 5
Name "<signal5>"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
Port {
PortNumber 6
Name "<signal6>"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Constant
Name "Constant\nspeed"
Position [500, 95, 530, 115]
Orientation "left"
ForegroundColor "blue"
NamePlacement "alternate"
Value "120"
VectorParams1D on
SamplingMode "Sample based"
OutDataTypeMode "Inherit from 'Constant value'"
OutDataType "sfix(16)"
ConRadixGroup "Use specified scaling"
OutScaling "2^0"
SampleTime "inf"
FramePeriod "inf"
}
Block {
BlockType Constant
Name "Constant\ntorque"
Position [90, 93, 120, 117]
ForegroundColor "blue"
NamePlacement "alternate"
Value "0"
VectorParams1D on
SamplingMode "Sample based"
OutDataTypeMode "Inherit from 'Constant value'"
OutDataType "sfix(16)"
ConRadixGroup "Use specified scaling"
OutScaling "2^0"
SampleTime "inf"
FramePeriod "inf"
}
Block {
BlockType Goto
Name "Goto"
Position [335, 516, 380, 534]
BackgroundColor "[0.501961, 1.000000, 1.000000]"
ShowName off
GotoTag "Speed"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto1"
Position [335, 476, 380, 494]
BackgroundColor "[0.501961, 1.000000, 1.000000]"
ShowName off
GotoTag "Iabc"
TagVisibility "global"
}
Block {
BlockType Reference
Name "IGBT Inverter"
Ports [1, 0, 0, 0, 0, 3, 2]
Position [375, 226, 440, 319]
BackgroundColor "orange"
AttributesFormatString "\\n"
DialogController "PMDialogs.PMDefaultMaskDlg"
SourceBlock "powerlib/Power\nElectronics/Universal Bridge"
SourceType "Universal Bridge"
ShowPortLabels on
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
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"
converterType "Rectifier"
}
Block {
BlockType Reference
Name "Induction Motor\n50 HP / 460 V"
Ports [1, 1, 0, 0, 0, 3]
Position [90, 226, 180, 319]
Orientation "left"
BackgroundColor "yellow"
AttributesFormatString "\\n"
DialogController "PMDialogs.PMDefaultMaskDlg"
SourceBlock "powerlib/Machines/Asynchronous Machine\nSI Unit"
"s"
SourceType "Asynchronous Machine"
ShowPortLabels on
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
PresetModel "No"
MechanicalLoad "Torque Tm"
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 ]"
PolePairs "2"
InitialConditions "[ 1, 0 , 0 , 0 , 0 , 0 , 0 , 0 ]"
Units "1"
LoadFlowParameters "0"
SimulateSaturation off
Saturation "[0 0;0 0]"
}
Block {
BlockType SubSystem
Name "More Info"
Ports []
Position [480, 520, 507, 545]
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 [252, 86, 1047, 627]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Annotation {
Name "H. Le-Huy (Universite Laval, Quebec)"
Position [25, 50]
HorizontalAlignment "left"
VerticalAlignment "top"
UseDisplayTextAsClickCallback off
FontName "Arial"
FontSize 12
}
Annotation {
Name "Case study : Variable-Frequency Induction M"
"otor Drive"
Position [24, 27]
HorizontalAlignment "left"
VerticalAlignment "top"
UseDisplayTextAsClickCallback off
FontSize 14
FontWeight "bold"
}
Annotation {
Name "Circuit Description"
Position [24, 77]
HorizontalAlignment "left"
VerticalAlignment "top"
ForegroundColor "blue"
UseDisplayTextAsClickCallback off
FontSize 14
FontWeight "bold"
}
Annotation {
Name "Demonstration"
Position [24, 217]
HorizontalAlignment "left"
VerticalAlignment "top"
ForegroundColor "blue"
UseDisplayTextAsClickCallback off
FontSize 14
FontWeight "bold"
}
Annotation {
Name "The induction motor is fed by a current-con"
"trolled PWM inverter which is built using a Universal Bridge block. \nThe mot"
"or drives a mechanical load characterized by inertia J, friction coeficient B"
", and load torque TL . \nThe speed control loop"
" uses a proportional-integral controller to produce the quadrature-axis curre"
"nt reference \niq* which controls the motor torque. The motor flux is contro"
"lled by the direct-axis current reference id*.\nBlock DQ-ABC is used to conve"
"rt id* and iq* into current references ia*, ib*, and ic* for the current regu"
"lator. \nCurrent and Voltage Measurement blocks provide signals for visual"
"ization purpose. \nMotor current, speed, and torque signals are ava"
"ilable at the output of the 'Asynchronous Machine' block. "
Position [23, 98]
HorizontalAlignment "left"
VerticalAlignment "top"
UseDisplayTextAsClickCallback off
FontName "Arial"
FontSize 12
}
Annotation {
Name "Motor starting"
Position [24, 247]
HorizontalAlignment "left"
VerticalAlignment "top"
ForegroundColor "blue"
UseDisplayTextAsClickCallback off
FontName "Arial"
FontSize 12
FontWeight "bold"
}
Annotation {
Name "Start the simulation. Observe the motor cur"
"rent, voltage, and speed during the starting on the scope.\nAt the end of the"
" simulation time (3 s), the system has reached its steady-state. "
Position [24, 271]
HorizontalAlignment "left"
VerticalAlignment "top"
UseDisplayTextAsClickCallback off
FontName "Arial"
FontSize 12
}
Annotation {
Name "Response to a change in reference speed and"
" load torque"
Position [24, 327]
HorizontalAlignment "left"
VerticalAlignment "top"
ForegroundColor "blue"
UseDisplayTextAsClickCallback off
FontName "Arial"
FontSize 12
FontWeight "bold"
}
Annotation {
Name "The initial conditions state vector `xIniti"
"al' to start with wm = 120 rad/s and TL = 0 N.m has been saved in the 'power_"
"acdrive_init.mat' file.\nThis file is automatically loaded in your workspac"
"e when you start the simulation (see Model Properties).\nIn order to use the"
"se initial conditions you have to enable them. Check the Simulation/Configura"
"tion Parameters menu , \nthen select \"Data Import/Export\" and check \"Initi"
"al state\".\n\nNow, double click the two Manual Switch blocks to switch from "
" the \"Constant speed \" and \"Constant torque\" blocks to the Step blocks."
"\n(Reference speed wref changed from 120 to 160 rad/s at t = 0.2 s and load t"
"orque changed from 0 to 200 N.m at t= 1.8s).\nRestart the simulation and ob"
"serve the drive response to successive changes in speed reference and load to"
"rque. "
Position [29, 361]
HorizontalAlignment "left"
VerticalAlignment "top"
UseDisplayTextAsClickCallback off
FontName "Arial"
FontSize 12
}
}
}
Block {
BlockType Reference
Name "Reference\nspeed\nselection\n(rad/s)"
Ports [2, 1]
Position [425, 90, 465, 150]
Orientation "left"
ForegroundColor "blue"
FontName "Arial"
FontSize 12
SourceBlock "simulink/Signal\nRouting/Manual Switch"
SourceType "Manual Switch"
ShowPortLabels on
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
sw "1"
action "0"
}
Block {
BlockType Scope
Name "Scope"
Ports [4]
Position [480, 380, 525, 470]
BackgroundColor "green"
NamePlacement "alternate"
Floating off
Location [600, 71, 1110, 709]
Open off
NumInputPorts "4"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
axes4 "%<SignalLabel>"
}
TimeRange "3"
YMin "-1000~-500~0~-100"
YMax "1000~500~200~400"
DataFormat "StructureWithTime"
LimitDataPoints off
Decimation "20"
SampleTime "5e-6"
}
Block {
BlockType Scope
Name "Scope1"
Ports [6]
Position [670, 142, 715, 233]
BackgroundColor "green"
NamePlacement "alternate"
Floating off
Location [1, 56, 1025, 741]
Open off
NumInputPorts "6"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
axes4 "%<SignalLabel>"
axes5 "%<SignalLabel>"
axes6 "%<SignalLabel>"
}
TimeRange "0.1"
YMin "0~-1~0~-100~-5~-5"
YMax "1~1~200~400~5~5"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
LimitDataPoints off
Decimation "20"
SampleTime "5e-6"
}
Block {
BlockType Step
Name "Speed\nstep"
Position [500, 125, 530, 145]
Orientation "left"
ForegroundColor "blue"
Time "0.2"
Before "120"
After "160"
SampleTime "0"
}
Block {
BlockType Reference
Name "Torque\nselection\n(N.m)"
Ports [2, 1]
Position [165, 89, 200, 151]
ForegroundColor "blue"
FontName "Arial"
FontSize 12
SourceBlock "simulink/Signal\nRouting/Manual Switch"
SourceType "Manual Switch"
ShowPortLabels on
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
sw "1"
action "0"
}
Block {
BlockType Step
Name "Torque\nstep"
Position [90, 123, 120, 147]
ForegroundColor "blue"
Time "1.8"
After "200"
SampleTime "0"
}
Block {
BlockType UnitDelay
Name "Unit Delay4"
Position [295, 467, 315, 503]
NamePlacement "alternate"
ShowName off
SampleTime "Ts"
}
Block {
BlockType Reference
Name "VDC\n(780 V)"
Description "source block"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [510, 255, 530, 290]
Orientation "up"
AttributesFormatString "\\n"
DialogController "PMDialogs.PMDefaultMaskDlg"
SourceBlock "powerlib/Electrical\nSources/DC Voltage Source"
SourceType "DC Voltage Source"
ShowPortLabels on
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
Amplitude "780"
Measurements "None"
}
Block {
BlockType Reference
Name "Vab"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [0, 1, 0, 0, 0, 2]
Position [335, 383, 360, 407]
NamePlacement "alternate"
AttributesFormatString "\\n"
DialogController "PMDialogs.PMDefaultMaskDlg"
SourceBlock "powerlib/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
ShowPortLabels on
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -