📄 dcpid.mdl
字号:
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"
}
}
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 "DCPID"
Location [2, 82, 1014, 717]
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 " 晶闸管整流桥"
Tag "PoWeRsYsTeMbLoCk"
Ports [4, 2]
Position [285, 76, 405, 194]
SourceBlock "powerlib2/Power\nElectronics/Universal Bridge"
SourceType "Universal Bridge"
arms "3"
confi "ABC as input terminals"
injcc "50000"
cf "inf"
device "Thyristors"
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 "A"
Tag "PoWeRsYsTeMbLoCk"
Description "source block"
Ports [1, 1]
Position [170, 76, 205, 104]
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 "B"
Tag "PoWeRsYsTeMbLoCk"
Description "source block"
Ports [1, 1]
Position [150, 106, 185, 134]
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 BusCreator
Name "Bus\nCreator"
Ports [3, 1]
Position [865, 86, 870, 174]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType BusSelector
Name "Bus\nSelector"
Ports [1, 3]
Position [705, 87, 710, 173]
ShowName off
OutputSignals "w,Ia,If"
Port {
PortNumber 1
Name "<w>"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
Port {
PortNumber 2
Name "<Ia>"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
Port {
PortNumber 3
Name "<If>"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Reference
Name "Bus Bar 3"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 3]
Position [110, 71, 115, 169]
ShowName off
SourceBlock "powerlib2/Connectors/Bus Bar (thin vert)"
SourceType "Bus Bar"
input "1"
output "3"
PSBOutputType "11111111111111111111111111111111111111111111111"
"1111111111111111111111111111111111111"
}
Block {
BlockType Reference
Name "C"
Tag "PoWeRsYsTeMbLoCk"
Description "source block"
Ports [1, 1]
Position [140, 136, 175, 164]
SourceBlock "powerlib2/Electrical\nSources/AC Voltage Source"
SourceType "AC Voltage Source"
A "220"
P "-240"
F "50"
stime "0"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "DC Machine"
Ports [3, 3]
Position [540, 67, 615, 143]
SourceBlock "powerlib2/Machines/DC Machine"
SourceType "DC machine"
RLa "[ 0.6 0.012]"
RLf "[ 240 120]"
Laf "1.8"
J "1"
Bm "0"
Tf "0"
w0 "1"
PSBOutputType "110"
Port {
PortNumber 3
Name "Ia"
PropagatedSignals "w, Ia, If, Te"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Reference
Name "DC Voltage Source"
Tag "PoWeRsYsTeMbLoCk"
Description "source block"
Ports [1, 1]
Position [545, 13, 600, 47]
Orientation "left"
SourceBlock "powerlib2/Electrical\nSources/DC Voltage Source"
SourceType "DC Voltage Source"
V "220"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Gain
Name "Gain"
Position [405, 375, 435, 405]
Gain "-1"
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1]
Position [810, 26, 815, 64]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Reference
Name "PID Controller"
Ports [1, 1]
Position [225, 375, 255, 405]
SourceBlock "simulink_extras/Additional\nLinear/PID Controll"
"er"
SourceType "PID Controller"
P "100"
I "0"
D "0"
}
Block {
BlockType Saturate
Name "Saturation"
Position [295, 375, 325, 405]
UpperLimit "120"
LowerLimit "0"
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [910, 95, 945, 165]
Location [5, 60, 1029, 741]
Open off
NumInputPorts "1"
TickLabels "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "1"
YMin "-50"
YMax "600"
DataFormat "StructureWithTime"
MaxDataPoints "5000000"
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [5, 1]
Position [285, 215, 340, 315]
TreatAsAtomicUnit off
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Subsystem"
Location [384, 237, 797, 470]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Ua"
Position [35, 58, 65, 72]
}
Block {
BlockType Inport
Name "Ub"
Position [35, 93, 65, 107]
Port "2"
}
Block {
BlockType Inport
Name "Uc"
Position [35, 128, 65, 142]
Port "3"
}
Block {
BlockType Inport
Name "In2"
Position [35, 168, 65, 182]
Port "4"
}
Block {
BlockType Inport
Name "Uct"
Position [35, 28, 65, 42]
NamePlacement "alternate"
Port "5"
}
Block {
BlockType Reference
Name "Synchronized\n6-Pulse Generator"
Ports [5, 1]
Position [210, 21, 305, 189]
SourceBlock "powerlib_extras/Control \nBlocks/Synchroniz"
"ed\n6-Pulse Generator"
SourceType "Synchronized 6-pulse generator"
freq "50"
pwidth "10"
Double_Pulse off
}
Block {
BlockType Reference
Name "Vab"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [2, 1]
Position [160, 58, 185, 82]
SourceBlock "powerlib2/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
PhasorSimulation off
OutputType "Magnitude"
PSBOutputType "0"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Vbc"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [2, 1]
Position [125, 93, 150, 117]
SourceBlock "powerlib2/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
PhasorSimulation off
OutputType "Magnitude"
PSBOutputType "0"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Vca"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [2, 1]
Position [160, 128, 185, 152]
SourceBlock "powerlib2/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
PhasorSimulation off
OutputType "Magnitude"
PSBOutputType "0"
PSBequivalent "1"
}
Block {
BlockType Outport
Name "Out1"
Position [360, 98, 390, 112]
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -