📄 njhk_8_8.mdl
字号:
SourceBlock "powerlib/Elements/Ground"
SourceType "Ground"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
}
Block {
BlockType Reference
Name "Ground4"
Ports [0, 0, 0, 0, 0, 1]
Position [814, 310, 836, 335]
Orientation "down"
ShowName off
SourceBlock "powerlib/Elements/Ground"
SourceType "Ground"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
}
Block {
BlockType Reference
Name "Ground5"
Ports [0, 0, 0, 0, 0, 1]
Position [844, 310, 866, 335]
Orientation "down"
ShowName off
SourceBlock "powerlib/Elements/Ground"
SourceType "Ground"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
}
Block {
BlockType SubSystem
Name "I_Pi_Ref_Cal"
Ports [3, 1]
Position [595, 390, 725, 460]
Orientation "left"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
Port {
PortNumber 1
Name "I_Pi_Ref"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
System {
Name "I_Pi_Ref_Cal"
Location [2, 82, 1014, 721]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "V_Pi_Out"
Position [320, 203, 350, 217]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "V_in"
Position [320, 278, 350, 292]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "V_avg"
Position [325, 358, 355, 372]
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType ZeroOrderHold
Name "50KHz"
Position [445, 270, 480, 300]
SampleTime "2e-5"
}
Block {
BlockType Fcn
Name "Fcn"
Position [430, 350, 490, 380]
Expr "1/(u*u)"
}
Block {
BlockType Product
Name "Product"
Ports [3, 1]
Position [640, 230, 680, 340]
Inputs "3"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "I_Pi_Ref"
Position [760, 278, 790, 292]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "V_in"
SrcPort 1
DstBlock "50KHz"
DstPort 1
}
Line {
SrcBlock "V_Pi_Out"
SrcPort 1
Points [235, 0; 0, 40]
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "50KHz"
SrcPort 1
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "V_avg"
SrcPort 1
DstBlock "Fcn"
DstPort 1
}
Line {
SrcBlock "Fcn"
SrcPort 1
Points [95, 0; 0, -45]
DstBlock "Product"
DstPort 3
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "I_Pi_Ref"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "L=500uH"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [350, 106, 420, 134]
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
Resistance "0"
Inductance "0.5e-3"
Capacitance "inf"
Measurements "None"
}
Block {
BlockType Reference
Name "M2"
Ports [0, 1, 0, 0, 0, 2]
Position [900, 134, 925, 161]
SourceBlock "powerlib/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
ShowPortLabels on
PhasorSimulation off
OutputType "Complex"
PSBequivalent "0"
Port {
PortNumber 1
Name "V_PFC_Out"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Block {
BlockType Reference
Name "Mosfet"
Ports [1, 1, 0, 0, 0, 1, 1]
Position [532, 200, 583, 255]
Orientation "down"
NamePlacement "alternate"
SourceBlock "powerlib/Power\nElectronics/Mosfet"
SourceType "Mosfet"
ShowPortLabels on
Ron "0.001"
Lon "1e-6"
Rd ".001"
IC "0"
Rs "1e5"
Cs "inf"
Measurements on
}
Block {
BlockType SubSystem
Name "PFC_I_Control"
Ports [2, 1]
Position [420, 387, 530, 438]
Orientation "left"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskPromptString "Kpi|Kii|Ksati ( Kii / Kpi )"
MaskStyleString "edit,edit,edit"
MaskTunableValueString "on,on,on"
MaskCallbackString "||"
MaskEnableString "on,on,on"
MaskVisibilityString "on,on,on"
MaskToolTipString "on,on,on"
MaskVarAliasString ",,"
MaskVariables "Kpi=@1;Kii=@2;Ksati=@3;"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "0.17|0.0648|0.38"
MaskTabNameString ",,"
System {
Name "PFC_I_Control"
Location [2, 82, 1014, 721]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "I_L"
Position [230, 258, 260, 272]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "I_Pi_Ref"
Position [230, 188, 260, 202]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType ZeroOrderHold
Name "50KHz"
Position [315, 180, 350, 210]
SampleTime "2e-5"
}
Block {
BlockType Sum
Name "Add"
Ports [3, 1]
Position [635, 259, 670, 351]
Inputs "+++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add1"
Ports [2, 1]
Position [815, 258, 840, 322]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "K0i"
Position [530, 180, 560, 210]
Gain "Kpi"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "K1i"
Position [525, 260, 555, 290]
Gain "Kii"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Ksati"
Position [525, 320, 555, 350]
Gain "Ksati"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Saturate
Name "Saturation"
Position [350, 320, 380, 350]
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [405, 180, 435, 210]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [440, 320, 470, 350]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType UnitDelay
Name "Unit Delay"
Position [705, 288, 740, 322]
}
Block {
BlockType Outport
Name "I_Pi_Out"
Position [460, 448, 490, 462]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "50KHz"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [0, 0; 35, 0]
Branch {
DstBlock "K0i"
DstPort 1
}
Branch {
Points [0, 80]
DstBlock "K1i"
DstPort 1
}
}
Line {
SrcBlock "K0i"
SrcPort 1
Points [205, 0; 0, 80]
DstBlock "Add1"
DstPort 1
}
Line {
SrcBlock "K1i"
SrcPort 1
DstBlock "Add"
DstPort 1
}
Line {
SrcBlock "Ksati"
SrcPort 1
DstBlock "Add"
DstPort 3
}
Line {
SrcBlock "Add"
SrcPort 1
DstBlock "Unit Delay"
DstPort 1
}
Line {
SrcBlock "Unit Delay"
SrcPort 1
Points [0, 0; 25, 0]
Branch {
Points [0, 80; -180, 0; 0, -80]
DstBlock "Add"
DstPort 2
}
Branch {
DstBlock "Add1"
DstPort 2
}
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Ksati"
DstPort 1
}
Line {
SrcBlock "Saturation"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
DstBlock "Sum1"
DstPort 1
}
Branch {
Points [0, 120]
DstBlock "I_Pi_Out"
DstPort 1
}
}
Line {
SrcBlock "Add1"
SrcPort 1
Points [40, 0; 0, 125; -430, 0]
Branch {
Points [-150, 0; 0, -80]
DstBlock "Saturation"
DstPort 1
}
Branch {
DstBlock "Sum1"
DstPort 2
}
}
Line {
SrcBlock "I_Pi_Ref"
SrcPort 1
DstBlock "50KHz"
DstPort 1
}
Line {
SrcBlock "I_L"
SrcPort 1
Points [155, 0]
DstBlock "Sum"
DstPort 2
}
}
}
Block {
BlockType SubSystem
Name "PFC_V_Control"
Ports [1, 1]
Position [830, 376, 935, 424]
Orientation "left"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskPromptString "Kpv|Kiv|Ksatv ( Kiv / Kpv )"
MaskStyleString "edit,edit,edit"
MaskTunableValueString "on,on,on"
MaskCallbackString "||"
MaskEnableString "on,on,on"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -