📄 power_brushlessdcmotor.mdl
字号:
VerticalAlignment "top"
UseDisplayTextAsClickCallback off
FontName "Arial"
FontSize 12
}
Annotation {
Name "Observe that the waveform of the current is"
" the shape of saw-teeth.That is caused by the DC bus voltage \nwhich applies "
"a constant value during 120 electrical degrees to the motor inductance. The i"
"nitial current is \nhigh and decreases during the acceleration to the nominal"
" speed. When the nominal torque is applied, the \nstator current increases to"
" maintain the nominal speed. The saw-teeth waveform is also observed in the "
"\nelectromagnetic torque signal Te. However, the motor's inertia prevents thi"
"s noise from appearing in the \nmotor's speed waveform. "
" \n\nChange the \"Flux distribution\" of the motor from trapezoidal to s"
"inusoidal and observe the waveform of the \nelectromotive force e_a.\n"
Position [19, 281]
HorizontalAlignment "left"
VerticalAlignment "top"
UseDisplayTextAsClickCallback off
FontName "Arial"
FontSize 12
}
Annotation {
Name "Olivier Tremblay, Louis-A. Dessaint (Ecole "
"de technologie superieure, Montreal)"
Position [249, 68]
UseDisplayTextAsClickCallback off
FontName "Arial"
FontSize 12
}
}
}
Block {
BlockType SubSystem
Name "Gates"
Ports [1, 1]
Position [505, 30, 585, 70]
Orientation "left"
BackgroundColor "lightBlue"
NamePlacement "alternate"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "Gates"
Location [91, 268, 905, 724]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "emf_abc\n"
Position [20, 143, 50, 157]
IconDisplay "Port number"
}
Block {
BlockType Reference
Name "Compare\nTo Zero"
Ports [1, 1]
Position [275, 59, 320, 81]
ShowName off
SourceBlock "simulink/Logic and Bit\nOperations/Compare"
"\nTo Zero"
SourceType "Compare To Zero"
ShowPortLabels on
relop ">"
LogicOutDataTypeMode "boolean"
ZeroCross off
}
Block {
BlockType Reference
Name "Compare\nTo Zero1"
Ports [1, 1]
Position [275, 99, 320, 121]
ShowName off
SourceBlock "simulink/Logic and Bit\nOperations/Compare"
"\nTo Zero"
SourceType "Compare To Zero"
ShowPortLabels on
relop "<"
LogicOutDataTypeMode "boolean"
ZeroCross off
}
Block {
BlockType Reference
Name "Compare\nTo Zero2"
Ports [1, 1]
Position [275, 139, 320, 161]
ShowName off
SourceBlock "simulink/Logic and Bit\nOperations/Compare"
"\nTo Zero"
SourceType "Compare To Zero"
ShowPortLabels on
relop ">"
LogicOutDataTypeMode "boolean"
ZeroCross off
}
Block {
BlockType Reference
Name "Compare\nTo Zero3"
Ports [1, 1]
Position [275, 179, 320, 201]
ShowName off
SourceBlock "simulink/Logic and Bit\nOperations/Compare"
"\nTo Zero"
SourceType "Compare To Zero"
ShowPortLabels on
relop "<"
LogicOutDataTypeMode "boolean"
ZeroCross off
}
Block {
BlockType Reference
Name "Compare\nTo Zero4"
Ports [1, 1]
Position [270, 219, 315, 241]
ShowName off
SourceBlock "simulink/Logic and Bit\nOperations/Compare"
"\nTo Zero"
SourceType "Compare To Zero"
ShowPortLabels on
relop ">"
LogicOutDataTypeMode "boolean"
ZeroCross off
}
Block {
BlockType Reference
Name "Compare\nTo Zero5"
Ports [1, 1]
Position [270, 259, 315, 281]
ShowName off
SourceBlock "simulink/Logic and Bit\nOperations/Compare"
"\nTo Zero"
SourceType "Compare To Zero"
ShowPortLabels on
relop "<"
LogicOutDataTypeMode "boolean"
ZeroCross off
}
Block {
BlockType Demux
Name "Demux2"
Ports [1, 3]
Position [155, 28, 160, 272]
BackgroundColor "black"
ShowName off
Outputs "3"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux3"
Ports [6, 1]
Position [420, 124, 425, 221]
ShowName off
Inputs "6"
DisplayOption "bar"
}
Block {
BlockType Outport
Name "Gates"
Position [465, 168, 495, 182]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "emf_abc\n"
SrcPort 1
DstBlock "Demux2"
DstPort 1
}
Line {
SrcBlock "Mux3"
SrcPort 1
DstBlock "Gates"
DstPort 1
}
Line {
SrcBlock "Demux2"
SrcPort 1
Points [0, 0; 75, 0]
Branch {
DstBlock "Compare\nTo Zero"
DstPort 1
}
Branch {
Points [0, 40]
DstBlock "Compare\nTo Zero1"
DstPort 1
}
}
Line {
SrcBlock "Demux2"
SrcPort 2
Points [0, 0; 75, 0]
Branch {
DstBlock "Compare\nTo Zero2"
DstPort 1
}
Branch {
Points [0, 40]
DstBlock "Compare\nTo Zero3"
DstPort 1
}
}
Line {
SrcBlock "Demux2"
SrcPort 3
Points [0, 0; 70, 0]
Branch {
DstBlock "Compare\nTo Zero4"
DstPort 1
}
Branch {
Points [0, 40]
DstBlock "Compare\nTo Zero5"
DstPort 1
}
}
Line {
SrcBlock "Compare\nTo Zero"
SrcPort 1
Points [60, 0; 0, 65]
DstBlock "Mux3"
DstPort 1
}
Line {
SrcBlock "Compare\nTo Zero1"
SrcPort 1
Points [45, 0; 0, 40]
DstBlock "Mux3"
DstPort 2
}
Line {
SrcBlock "Compare\nTo Zero2"
SrcPort 1
Points [30, 0; 0, 15]
DstBlock "Mux3"
DstPort 3
}
Line {
SrcBlock "Compare\nTo Zero3"
SrcPort 1
Points [30, 0; 0, -10]
DstBlock "Mux3"
DstPort 4
}
Line {
SrcBlock "Compare\nTo Zero4"
SrcPort 1
Points [45, 0; 0, -35]
DstBlock "Mux3"
DstPort 5
}
Line {
SrcBlock "Compare\nTo Zero5"
SrcPort 1
Points [60, 0; 0, -60]
DstBlock "Mux3"
DstPort 6
}
Annotation {
Name "This module implements the following true t"
"able\n\n emf_a | emf_b | emf_c || Q1 | Q2 | Q3 | Q4"
" | Q5 | Q6\n -----------------------------------------------------"
"-------------------------------------------------------------\n 0 "
" 0 0 0 0 0 0 "
" 0 0\n 0 -1 +1 0 0"
" 0 1 1 0\n -1 +1 "
" 0 0 1 1 0 0 0\n -1 "
" 0 +1 0 1 0 0 "
" 1 0\n +1 0 -1 1 "
" 0 0 0 0 1\n +1 -1 "
" 0 1 0 0 1 0 0\n "
" 0 +1 -1 0 0 1 "
" 0 0 1\n 0 0 0 0 "
" 0 0 0 0 0\n "
Position [559, 324]
UseDisplayTextAsClickCallback off
}
}
}
Block {
BlockType Scope
Name "N (rpm)"
Ports [1]
Position [955, 165, 985, 195]
BackgroundColor "green"
NamePlacement "alternate"
Floating off
Location [466, 394, 921, 686]
Open off
NumInputPorts "1"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "Rotor speed (rpm)"
}
TimeRange "0.2"
YMin "0"
YMax "3500"
SaveToWorkspace on
SaveName "N"
DataFormat "StructureWithTime"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType Reference
Name "Permanent Magnet\nSynchronous Machine"
Ports [1, 1, 0, 0, 0, 3]
Position [575, 128, 660, 202]
BackgroundColor "yellow"
FontSize 11
SourceBlock "powerlib/Machines/Permanent Magnet\nSynchronous"
" Machine"
SourceType "Permanent Magnet Synchronous Machine"
ShowPortLabels on
FluxDistribution "Trapezoidal"
MechanicalLoad "Torque Tm"
PresetModel "No"
ShowDetailedParameters on
Resistance "2.8750 "
Inductance "8.5e-3"
dqInductances "[8.5e-3, 8.5e-3]"
Flux "0.175"
Flat "120"
Mechanical "[ 0.8e-3, 1e-3, 4 ] "
}
Block {
BlockType Step
Name "Step"
Position [505, 95, 535, 125]
Time ".1"
After "3"
SampleTime "0"
}
Block {
BlockType Scope
Name "Te (N.m)"
Ports [1]
Position [1000, 195, 1030, 225]
BackgroundColor "green"
Floating off
Location [466, 394, 921, 686]
Open off
NumInputPorts "1"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "Rotor speed (rpm)"
}
TimeRange "0.2"
YMin "0"
YMax "3500"
SaveToWorkspace on
SaveName "N1"
DataFormat "StructureWithTime"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType Reference
Name "Universal Bridge"
Ports [1, 0, 0, 0, 0, 3, 2]
Position [355, 123, 420, 207]
Orientation "left"
ShowName off
SourceBlock "powerlib/Power\nElectronics/Universal Bridge"
SourceType "Universal Bridge"
ShowPortLabels on
Arms "3"
SnubberResistance "5000"
SnubberCapacitance "1e-6"
Device "MOSFET / Diodes"
Ron "1e-3"
Lon "0"
ForwardVoltages "[ 0 0 ]"
ForwardVoltage "0"
GTOparameters "[ 10e-6 , 20e-6 ]"
IGBTparameters "[ 1e-6 , 2e-6 ]"
Measurements "None"
converterType "Rectifier"
}
Block {
BlockType Scope
Name "Vab"
Ports [1]
Position [510, 220, 540, 250]
BackgroundColor "green"
Floating off
Location [6, 54, 1158, 835]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "Line-Line voltage Vab"
}
TimeRange "0.06"
YMin "-10000"
YMax "10000"
SaveName "ScopeData4"
DataFormat "Structure"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType Scope
Name "Vdc"
Ports [1]
Position [395, 70, 425, 100]
BackgroundColor "green"
Floating off
Location [439, 408, 863, 756]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "DC bus voltage"
}
TimeRange "0.2"
YMin "0"
YMax "500"
SaveName "ScopeData3"
DataFormat "Structure"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType Reference
Name "Voltage Measurement"
Ports [0, 1, 0, 0, 0, 2]
Position [470, 223, 495, 247]
ShowName off
SourceBlock "powerlib/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
ShowPortLabels on
PhasorSimulation off
OutputType "Complex"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Voltage Measurement1"
Ports [0, 1, 0, 0, 0, 2]
Position [340, 73, 365, 97]
ShowName off
SourceBlock "powerlib/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
ShowPortLabels on
PhasorSimulation off
OutputType "Complex"
PSBequivalent "0"
}
Block {
BlockType SubSystem
Name "iqref1"
Ports [1, 1]
Position [190, 202, 240, 238]
ShowName off
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -