📄 m6_6_7.mdl
字号:
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
}
Block {
BlockType Switch
Criteria "u2 >= Threshold"
Threshold "0"
ShowAdditionalParam off
InputSameDT on
OutDataTypeMode "Inherit via internal rule"
RndMeth "Floor"
SaturateOnIntegerOverflow on
ZeroCross on
}
Block {
BlockType Terminator
}
Block {
BlockType TransferFcn
Numerator "[1]"
Denominator "[1 2 1]"
AbsoluteTolerance "auto"
Realization "auto"
}
Block {
BlockType Trigonometry
Operator "sin"
OutputSignalType "auto"
}
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "Helvetica"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "m4_6_7"
Location [129, 237, 1020, 677]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Reference
Name "ACR"
Ports [1, 1]
Position [175, 287, 200, 323]
SourceBlock "powerlib_extras/Discrete \nControl Blocks/Discr"
"ete\nPI Controller"
SourceType "Discrete PI Controller"
Kp "1.2"
Ki "1"
Par_Limits "[1e6 -1e6]"
Init "0"
Ts "50e-6"
}
Block {
BlockType Reference
Name "ASR"
Ports [1, 1]
Position [100, 286, 120, 324]
SourceBlock "powerlib_extras/Discrete \nControl Blocks/Discr"
"ete\nPI Controller"
SourceType "Discrete PI Controller"
Kp "1.2"
Ki "1"
Par_Limits "[200 -200]"
Init "0"
Ts "50e-6"
}
Block {
BlockType BusCreator
Name "Bus\nCreator"
Ports [2, 1]
Position [770, 46, 775, 84]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Reference
Name "Bus Bar (thin vert)2"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 3]
Position [95, 45, 100, 145]
ShowName off
SourceBlock "powerlib2/Connectors/Bus Bar (thin vert)"
SourceType "Bus Bar"
input "1"
output "3"
PSBOutputType "11111111111111111111111111111111111111111111111"
"1111111111111111111111111111111111111"
}
Block {
BlockType Demux
Name "Demux1"
Ports [1, 3]
Position [700, 142, 710, 258]
BackgroundColor "black"
ShowName off
Outputs "3"
}
Block {
BlockType Reference
Name "Ground (output)"
Tag "PoWeRsYsTeMbLoCk"
Ports [0, 1]
Position [29, 120, 61, 150]
Orientation "up"
ShowName off
SourceBlock "powerlib2/Connectors/Ground (output)"
SourceType "Ground"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "L connector1"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 0, 1]
Position [435, 45, 455, 65]
Orientation "up"
ShowName off
SourceBlock "powerlib2/Connectors/L connector"
SourceType "Bus Bar"
}
Block {
BlockType Reference
Name "L connector2"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 0, 1]
Position [410, 130, 430, 150]
Orientation "down"
NamePlacement "alternate"
ShowName off
SourceBlock "powerlib2/Connectors/L connector"
SourceType "Bus Bar"
}
Block {
BlockType Reference
Name "L connector3"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 0, 1]
Position [365, 145, 385, 165]
Orientation "down"
NamePlacement "alternate"
ShowName off
SourceBlock "powerlib2/Connectors/L connector"
SourceType "Bus Bar"
}
Block {
BlockType Reference
Name "PWM 发生器"
Ports [1, 1]
Position [325, 229, 405, 271]
SourceBlock "powerlib_extras/Control \nBlocks/PWM Generator"
SourceType "PWM Generator"
GeneratorMode "Double 3-arm bridges (12 pulses)"
Fc "1080"
Internal on
mIndex "0.4"
Freq "60"
Phase "0"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [65, 295, 85, 315]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [295, 270, 315, 290]
Orientation "up"
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [135, 295, 155, 315]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Constant
Name "TL "
Position [505, 128, 530, 152]
Value "50"
}
Block {
BlockType Reference
Name "Va"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1]
Position [125, 42, 145, 78]
SourceBlock "powerlib2/Electrical\nSources/AC Voltage Source"
SourceType "AC Voltage Source"
A "220"
P "0"
F "50"
stime "0"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "Vb"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1]
Position [155, 72, 175, 108]
SourceBlock "powerlib2/Electrical\nSources/AC Voltage Source"
SourceType "AC Voltage Source"
A "220"
P "-120"
F "50"
stime "0"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "Vc"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1]
Position [120, 112, 140, 148]
SourceBlock "powerlib2/Electrical\nSources/AC Voltage Source"
SourceType "AC Voltage Source"
A "220"
P "120"
F "50"
stime "0"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "Voltage Measurement"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [2, 1]
Position [547, 300, 578, 325]
Orientation "down"
NamePlacement "alternate"
SourceBlock "powerlib2/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
PhasorSimulation off
OutputType "Magnitude"
PSBOutputType "0"
PSBequivalent "0"
}
Block {
BlockType Gain
Name "电流反馈"
Position [380, 350, 410, 380]
Orientation "left"
NamePlacement "alternate"
Gain "0.75"
}
Block {
BlockType Reference
Name "二极管桥"
Tag "PoWeRsYsTeMbLoCk"
Ports [2, 1]
Position [537, 195, 568, 215]
Orientation "up"
SourceBlock "powerlib2/Power\nElectronics/Universal Bridge"
SourceType "Universal Bridge"
arms "1"
confi "ABC as output terminals"
injcc "500"
cf "inf"
device "Diodes"
Ron "1e-3"
Lon "0"
VFs "[ 0 0 ]"
Vf "0"
gtoparameters "[ 10e-6 , 20e-6 ]"
igbtparameters "[ 1e-6 , 2e-6 ]"
mesure "None"
PSBOutputType "111"
}
Block {
BlockType Reference
Name "二极管整流桥"
Tag "PoWeRsYsTeMbLoCk"
Ports [3, 2]
Position [275, 52, 340, 128]
SourceBlock "powerlib2/Power\nElectronics/Universal Bridge"
SourceType "Universal Bridge"
arms "3"
confi "ABC as input terminals"
injcc "50000"
cf "inf"
device "Diodes"
Ron "1e-3"
Lon "0"
VFs "[ 0 0 ]"
Vf "0"
gtoparameters "[ 10e-6 , 20e-6 ]"
igbtparameters "[ 1e-6 , 2e-6 ]"
mesure "None"
PSBOutputType "111"
}
Block {
BlockType Gain
Name "反相器"
Position [265, 290, 295, 320]
ShowName off
Gain "-0.01"
}
Block {
BlockType Constant
Name "给定信号"
Position [15, 290, 45, 320]
Value "150"
}
Block {
BlockType Reference
Name "可控开关"
Tag "PoWeRsYsTeMbLoCk"
Ports [2, 2]
Position [420, 206, 470, 264]
SourceBlock "powerlib2/Power\nElectronics/Universal Bridge"
SourceType "Universal Bridge"
arms "1"
confi "ABC as input terminals"
injcc "1e5"
cf "inf"
device "IGBT / Diodes"
Ron "1e-3"
Lon "0"
VFs "[ 0 0 ]"
Vf "0"
gtoparameters "[ 10e-6 , 20e-6 ]"
igbtparameters "[ 1e-6 , 2e-6 ]"
mesure "None"
PSBOutputType "111"
}
Block {
BlockType Reference
Name "励磁电源"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1]
Position [565, 15, 600, 45]
Orientation "left"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -