📄 psbpmmotor.mdl
字号:
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
DstBlock "Manual Switch"
DstPort 1
}
Line {
Labels [0, 0]
SrcBlock "Saturation"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Fuzzy Logic \nController"
DstPort 1
}
Line {
SrcBlock "Fuzzy Logic \nController"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "Discrete\nPID Controller"
SrcPort 1
Points [150, 0; 0, -100]
DstBlock "Manual Switch"
DstPort 2
}
Line {
SrcBlock "Manual Switch"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType Gain
Name "Gain"
Position [725, 72, 750, 98]
ShowName off
Gain "4"
}
Block {
BlockType Gain
Name "Gain1"
Position [700, 92, 725, 118]
ShowName off
Gain "4"
}
Block {
BlockType Reference
Name "Machines\nMeasurement\nDemux"
Ports [1, 4]
Position [640, 59, 680, 131]
SourceBlock "powerlib2/Machines/Machines\nMeasurement\nDemux"
SourceType "Machine measurements"
machType "Permanent magnet synchronous"
ssm1 on
ssm2 on
ssm3 on
ssm4 on
ssm5 on
ssm6 on
sm1 on
sm2 on
sm3 on
sm4 on
sm5 on
sm6 on
sm7 on
sm8 on
sm9 on
sm10 on
sm11 on
sm115 off
sm12 off
sm13 off
sm14 off
asm1 on
asm2 on
asm3 on
asm4 on
asm5 on
asm6 on
asm7 on
asm8 on
asm9 on
asm10 on
asm11 on
pmsm1 on
pmsm2 off
pmsm3 off
pmsm4 on
pmsm5 on
pmsm6 on
lastType "4"
}
Block {
BlockType SubSystem
Name "More Info"
Ports []
Position [530, 295, 557, 320]
DropShadow on
ShowName off
TreatAsAtomicUnit off
MaskDisplay "disp('?')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "More Info"
Location [92, 172, 741, 517]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Annotation {
Name "Observe that the stator currents are quite "
"\"noisy\", which is to be expected when using PWM inverters. Also, the \nampl"
"itude of these currents decreases at t = 0.04 s, when the load is decreased. "
"The noise introduced by the PWM\ninverter is also observed in the electromagn"
"etic torque waveform Te. However, the motor's inertia prevents this\nnoise fr"
"om appearing in the motor's speed waveform. "
" "
Position [14, 271]
HorizontalAlignment "left"
VerticalAlignment "top"
FontName "Arial"
FontSize 12
}
Annotation {
Name "A three-phase motor rated 1.1 kW, 220 V, 30"
"00 rpm is fed by a PWM inverter. The PWM inverter is built \nentirely with st"
"andard Simulink blocks. Its output goes through Controlled Voltage Source blo"
"cks before \nbeing applied to the PMSM block's stator windings. The load "
"torque applied to the machine's shaft is \noriginally set to its nomi"
"nal value (3 N.m) and steps down to 1 N.m at t = 0.04 s. "
" \n\nTwo control loops are used. The inner loop regul"
"ates the motor's stator currents. The outer loop controls \nthe motor's sp"
"eed. "
" "
Position [16, 125]
HorizontalAlignment "left"
VerticalAlignment "top"
FontName "Arial"
FontSize 12
}
Annotation {
Name "This demonstration illustrates use of the P"
"MSM in a closed-loop\nspeed and current control on a 1.1 kW, 3000 rpm indust"
"rial motor "
Position [14, 17]
HorizontalAlignment "left"
VerticalAlignment "top"
FontSize 14
FontWeight "bold"
}
Annotation {
Name "Circuit Description"
Position [14, 102]
HorizontalAlignment "left"
VerticalAlignment "top"
ForegroundColor "blue"
FontSize 14
FontWeight "bold"
}
Annotation {
Name "Demonstration"
Position [14, 242]
HorizontalAlignment "left"
VerticalAlignment "top"
ForegroundColor "blue"
FontSize 14
FontWeight "bold"
}
Annotation {
Name "Louis-A. Dessaint and R. Champagne (蒫ole"
" de Technologie Superieure, Montr閍l)"
Position [14, 65]
HorizontalAlignment "left"
VerticalAlignment "top"
FontSize 12
}
}
}
Block {
BlockType SubSystem
Name "PWM inv."
Ports [2, 3]
Position [360, 54, 405, 116]
TreatAsAtomicUnit off
System {
Name "PWM inv."
Location [171, 435, 555, 632]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "iabc"
Position [25, 43, 55, 57]
}
Block {
BlockType Inport
Name "iref"
Position [25, 133, 55, 147]
Port "2"
}
Block {
BlockType Reference
Name "Bus Bar 2"
Tag "PoWeRsYsTeMbLoCk"
Ports [2, 1]
Position [300, 55, 305, 90]
BackgroundColor "black"
ShowName off
SourceBlock "powerlib2/Connectors/Bus Bar (vert)"
SourceType "Bus Bar"
entrees "2"
sorties "1"
PSBOutputType "1111111111111111111111111111111111111111111"
"1111111111111111111111111111111111111111111111"
}
Block {
BlockType Demux
Name "Demux2"
Ports [1, 3]
Position [80, 25, 85, 75]
BackgroundColor "black"
ShowName off
Outputs "3"
}
Block {
BlockType Demux
Name "Demux3"
Ports [1, 3]
Position [80, 115, 85, 165]
BackgroundColor "black"
ShowName off
Outputs "3"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [205, 40, 225, 60]
ShowName off
Inputs "+-"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [205, 90, 225, 110]
ShowName off
Inputs "+-"
}
Block {
BlockType SubSystem
Name "compar"
Ports [2, 1]
Position [150, 27, 175, 58]
TreatAsAtomicUnit off
System {
Name "compar"
Location [491, 64, 768, 213]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "ia"
Position [5, 25, 25, 45]
}
Block {
BlockType Inport
Name "iar"
Position [5, 85, 25, 105]
Port "2"
}
Block {
BlockType Relay
Name "Relay1"
Position [190, 57, 215, 73]
OnSwitchValue "0.25"
OffSwitchValue "-0.25"
OnOutputValue "155"
OffOutputValue "-155"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [145, 55, 165, 75]
Inputs "-+"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn"
Position [65, 24, 90, 46]
Denominator "[50e-6 1]"
}
Block {
BlockType Outport
Name "va"
Position [245, 55, 265, 75]
InitialOutput "0"
}
Line {
SrcBlock "iar"
SrcPort 1
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Relay1"
DstPort 1
}
Line {
SrcBlock "Relay1"
SrcPort 1
DstBlock "va"
DstPort 1
}
Line {
SrcBlock "ia"
SrcPort 1
DstBlock "Transfer Fcn"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "compar1"
Ports [2, 1]
Position [150, 76, 175, 109]
TreatAsAtomicUnit off
System {
Name "compar1"
Location [460, 112, 736, 229]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "ib"
Position [25, 10, 45, 30]
}
Block {
BlockType Inport
Name "ibr"
Position [30, 65, 50, 85]
Port "2"
}
Block {
BlockType Relay
Name "Relay1"
Position [185, 37, 210, 53]
OnSwitchValue "0.25"
OffSwitchValue "-0.25"
OnOutputValue "155"
OffOutputValue "-155"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [140, 35, 160, 55]
Inputs "-+"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn"
Position [75, 14, 100, 36]
Denominator "[50e-6 1]"
}
Block {
BlockType Outport
Name "vb"
Position [240, 35, 260, 55]
InitialOutput "0"
}
Line {
SrcBlock "ibr"
SrcPort 1
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Relay1"
DstPort 1
}
Line {
SrcBlock "Relay1"
SrcPort 1
DstBlock "vb"
DstPort 1
}
Line {
SrcBlock "ib"
SrcPort 1
DstBlock "Transfer Fcn"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "compar2"
Ports [2, 1]
Position [150, 125, 175, 165]
TreatAsAtomicUnit off
System {
Name "compar2"
Location [260, 68, 541, 211]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "ic"
Position [10, 25, 30, 45]
}
Block {
BlockType Inport
Name "icr"
Position [10, 75, 30, 95]
Port "2"
}
Block {
BlockType Relay
Name "Relay1"
Position [190, 57, 215, 73]
OnSwitchValue "0.25"
OffSwitchValue "-0.25"
OnOutputValue "155"
OffOutputValue "-155"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [145, 55, 165, 75]
Inputs "-+"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn"
Position [65, 24, 90, 46]
Denominator "[50e-6 1]"
}
Block {
BlockType Outport
Name "vc"
Position [245, 55, 265, 75]
InitialOutput "0"
}
Line {
SrcBlock "icr"
SrcPort 1
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Relay1"
DstPort 1
}
Line {
SrcBlock "Relay1"
SrcPort 1
DstBlock "vc"
DstPort 1
}
Line {
SrcBlock "ic"
SrcPort 1
DstBlock "Transfer Fcn"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "vab"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 2]
Position [250, 32, 275, 63]
SourceBlock "powerlib2/Electrical\nSources/Controlled Vo"
"ltage Source"
SourceType "Controlled Voltage Source"
initsrc on
srctyp "AC"
iv "0"
iph "0"
ifreq "0"
mesure "None"
PSBOutputType "11"
}
Block {
BlockType Reference
Name "vbc"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 2]
Position [250, 82, 275, 113]
SourceBlock "powerlib2/Electrical\nSources/Controlled Vo"
"ltage Source"
SourceType "Controlled Voltage Source"
initsrc on
srctyp "AC"
iv "0"
iph "0"
ifreq "0"
mesure "None"
PSBOutputType "11"
}
Block {
BlockType Outport
Name "va"
Position [330, 33, 360, 47]
InitialOutput "0"
}
Block {
BlockType Outport
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -