📄 huyusvpwm_sample1.mdl
字号:
Name "Gain2"
Position [155, 110, 185, 140]
Gain "0.5"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain3"
Position [155, 195, 185, 225]
Gain "0.5"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType MultiPortSwitch
Name "Multiport\nSwitch"
Ports [7, 1]
Position [705, 40, 750, 170]
Inputs "6"
InputSameDT off
SaturateOnIntegerOverflow off
}
Block {
BlockType MultiPortSwitch
Name "Multiport\nSwitch1"
Ports [7, 1]
Position [710, 215, 755, 345]
Inputs "6"
InputSameDT off
SaturateOnIntegerOverflow off
}
Block {
BlockType MultiPortSwitch
Name "Multiport\nSwitch2"
Ports [7, 1]
Position [710, 400, 755, 530]
Inputs "6"
InputSameDT off
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Subtract1"
Ports [3, 1]
Position [155, 260, 215, 400]
Inputs "--+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Subtract2"
Ports [2, 1]
Position [365, 205, 425, 345]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Subtract3"
Ports [2, 1]
Position [460, 100, 515, 220]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "Tcm1"
Position [840, 98, 870, 112]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Tcm2"
Position [845, 273, 875, 287]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Tcm3"
Position [845, 458, 875, 472]
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "T2"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [0, -205]
DstBlock "Gain2"
DstPort 1
}
Branch {
DstBlock "Subtract1"
DstPort 2
}
}
Line {
SrcBlock "T"
SrcPort 1
DstBlock "Subtract1"
DstPort 3
}
Line {
SrcBlock "T1"
SrcPort 1
Points [25, 0; 15, 0]
Branch {
Points [0, -30]
DstBlock "Gain3"
DstPort 1
}
Branch {
Points [0, 45]
DstBlock "Subtract1"
DstPort 1
}
}
Line {
SrcBlock "Gain3"
SrcPort 1
Points [40, 0; 0, 30]
DstBlock "Subtract2"
DstPort 1
}
Line {
SrcBlock "Subtract1"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [25, 0; 0, -5]
Branch {
Points [0, -15]
DstBlock "Subtract2"
DstPort 2
}
Branch {
Points [0, 60; 335, 0; 0, -5]
Branch {
Points [0, -60]
Branch {
Points [0, -80]
Branch {
Points [0, -135]
Branch {
Points [0, -20]
DstBlock "Multiport\nSwitch"
DstPort 3
}
Branch {
DstBlock "Multiport\nSwitch"
DstPort 4
}
}
Branch {
DstBlock "Multiport\nSwitch1"
DstPort 2
}
}
Branch {
DstBlock "Multiport\nSwitch1"
DstPort 6
}
}
Branch {
Points [0, 100]
Branch {
Points [0, 5]
DstBlock "Multiport\nSwitch2"
DstPort 5
}
Branch {
Points [0, 45]
DstBlock "Multiport\nSwitch2"
DstPort 7
}
}
}
}
Line {
SrcBlock "Subtract2"
SrcPort 1
Points [10, 0]
Branch {
Points [0, -85]
DstBlock "Subtract3"
DstPort 2
}
Branch {
Points [140, 0]
Branch {
Points [0, -110]
Branch {
Points [0, -100]
DstBlock "Multiport\nSwitch"
DstPort 2
}
Branch {
DstBlock "Multiport\nSwitch"
DstPort 7
}
}
Branch {
Points [0, 5]
Branch {
DstBlock "Multiport\nSwitch1"
DstPort 4
}
Branch {
Points [0, 15]
Branch {
Points [0, 5]
DstBlock "Multiport\nSwitch1"
DstPort 5
}
Branch {
Points [0, 145]
Branch {
Points [0, 5]
DstBlock "Multiport\nSwitch2"
DstPort 3
}
Branch {
Points [0, 65]
DstBlock "Multiport\nSwitch2"
DstPort 6
}
}
}
}
}
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [255, 0]
DstBlock "Subtract3"
DstPort 1
}
Line {
SrcBlock "N"
SrcPort 1
Points [585, 0]
Branch {
DstBlock "Multiport\nSwitch"
DstPort 1
}
Branch {
Points [0, 175]
Branch {
Points [0, 185]
DstBlock "Multiport\nSwitch2"
DstPort 1
}
Branch {
DstBlock "Multiport\nSwitch1"
DstPort 1
}
}
}
Line {
SrcBlock "Multiport\nSwitch"
SrcPort 1
DstBlock "Tcm1"
DstPort 1
}
Line {
SrcBlock "Multiport\nSwitch1"
SrcPort 1
DstBlock "Tcm2"
DstPort 1
}
Line {
SrcBlock "Multiport\nSwitch2"
SrcPort 1
DstBlock "Tcm3"
DstPort 1
}
Line {
SrcBlock "Subtract3"
SrcPort 1
Points [0, -15; 85, 0]
Branch {
Points [0, -20]
DstBlock "Multiport\nSwitch"
DstPort 5
}
Branch {
DstBlock "Multiport\nSwitch"
DstPort 6
}
Branch {
Points [0, 115]
Branch {
DstBlock "Multiport\nSwitch1"
DstPort 3
}
Branch {
Points [0, 80]
Branch {
DstBlock "Multiport\nSwitch1"
DstPort 7
}
Branch {
Points [0, 85]
Branch {
DstBlock "Multiport\nSwitch2"
DstPort 2
}
Branch {
Points [0, 40]
DstBlock "Multiport\nSwitch2"
DstPort 4
}
}
}
}
}
Annotation {
Name "Ta"
Position [510, 382]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "Tb"
Position [531, 265]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "Tc"
Position [535, 149]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "b"
Position [674, 58]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "a"
Position [673, 76]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "a"
Position [673, 94]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "c"
Position [675, 113]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "c"
Position [674, 136]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "b"
Position [675, 155]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "a"
Position [680, 232]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "c"
Position [679, 253]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "b"
Position [678, 269]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "b"
Position [678, 290]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "a"
Position [677, 313]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "c"
Position [678, 333]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "c"
Position [677, 415]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "b"
Position [679, 437]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "c"
Position [677, 458]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "a"
Position [676, 475]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "b"
Position [679, 492]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "a"
Position [679, 515]
UseDisplayTextAsClickCallback off
}
}
}
Block {
BlockType SubSystem
Name "X.Y.Z"
Ports [4, 3]
Position [225, 206, 290, 349]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "X.Y.Z"
Location [6, 82, 1018, 713]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "T"
Position [30, 308, 60, 322]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Ualfa"
Position [30, 28, 60, 42]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Ubeta"
Position [25, 238, 55, 252]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Udc"
Position [25, 383, 55, 397]
Port "4"
IconDisplay "Port number"
}
Block {
BlockType Product
Name "Divide"
Ports [3, 1]
Position [485, 34, 525, 106]
Inputs "**/"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Divide1"
Ports [3, 1]
Position [490, 159, 530, 231]
Inputs "**/"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Divide2"
Ports [3, 1]
Position [495, 309, 535, 381]
Inputs "**/"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain"
Position [200, 125, 230, 155]
Gain "0.577"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain1"
Position [200, 30, 230, 60]
Gain "1.732"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain2"
Position [570, 180, 600, 210]
Gain "1.5"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain3"
Position [575, 330, 605, 360]
Gain "1.5"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -