📄 henzhuanjusvpwm.mdl
字号:
DstPort 3
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Gain5"
DstPort 1
}
Line {
SrcBlock "Gain3"
SrcPort 1
Points [55, 0]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Gain4"
SrcPort 1
Points [10, 0; 0, -60]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Gain6"
DstPort 1
}
}
}
Block {
BlockType Outport
Name "Out1"
Position [275, 48, 305, 62]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "S-Function"
DstPort 1
}
Line {
SrcBlock "Subsystem6"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Subsystem6"
SrcPort 2
Points [30, 0; 0, -15]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Subsystem6"
DstPort 1
}
Line {
SrcBlock "S-Function"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In2"
SrcPort 1
DstBlock "Subsystem6"
DstPort 2
}
Line {
SrcBlock "In3"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "In4"
SrcPort 1
DstBlock "Subsystem6"
DstPort 3
}
}
}
Block {
BlockType Sum
Name "Add1"
Ports [2, 1]
Position [535, 32, 565, 63]
ShowName off
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add2"
Ports [2, 1]
Position [100, 240, 125, 260]
ShowName off
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add3"
Ports [2, 1]
Position [315, 372, 345, 403]
Orientation "left"
ShowName off
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Constant
Name "Constant"
Position [15, 225, 45, 255]
ShowName off
Value "1420"
}
Block {
BlockType Constant
Name "Constant1"
Position [45, 125, 75, 155]
ShowName off
Value "1.42"
}
Block {
BlockType Constant
Name "Constant2"
Position [310, 190, 340, 220]
ShowName off
Value "100*pi"
}
Block {
BlockType Demux
Name "Demux1"
Ports [1, 8]
Position [725, 102, 730, 303]
BackgroundColor "black"
ShowName off
Outputs "8"
}
Block {
BlockType Demux
Name "Demux2"
Ports [1, 3]
Position [250, 491, 255, 529]
BackgroundColor "black"
ShowName off
Outputs "3"
DisplayOption "bar"
}
Block {
BlockType Demux
Name "Demux3"
Ports [1, 3]
Position [310, 576, 315, 614]
BackgroundColor "black"
ShowName off
Outputs "3"
DisplayOption "bar"
}
Block {
BlockType Gain
Name "Gain"
Position [275, 237, 305, 263]
ShowName off
Gain "Lr/(Np*Lm)"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain1"
Position [300, 127, 330, 153]
ShowName off
Gain "1/Lm"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain2"
Position [65, 226, 80, 254]
ShowName off
Gain "pi/15"
}
Block {
BlockType Gain
Name "Gain3"
Position [120, 362, 150, 388]
Orientation "left"
ShowName off
Gain "2*pi*2/60"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain4"
Position [770, 171, 835, 209]
ShowName off
Gain "60/(pi*4)"
}
Block {
BlockType Mux
Name "Mux1"
Ports [3, 1]
Position [885, 217, 890, 233]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux2"
Ports [3, 1]
Position [705, 29, 710, 81]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [830, 422, 860, 453]
ShowName off
Inputs "**"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [325, 227, 355, 258]
ShowName off
Inputs "/*"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product3"
Ports [2, 1]
Position [830, 477, 860, 508]
ShowName off
Inputs "**"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Saturate
Name "Saturation"
Position [200, 235, 230, 265]
ShowName off
UpperLimit "600"
LowerLimit "-600"
}
Block {
BlockType Step
Name "Step1"
Position [490, 25, 520, 55]
Time "1.5"
After "5"
SampleTime "0"
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [4, 2]
Position [385, 129, 430, 211]
ShowName off
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Subsystem"
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 "im1"
Position [30, 58, 60, 72]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "it1"
Position [20, 143, 50, 157]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "fer2"
Position [15, 278, 45, 292]
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "w1"
Position [20, 193, 50, 207]
Port "4"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Derivative
Name "Derivative"
Position [140, 90, 170, 120]
ShowName off
}
Block {
BlockType Derivative
Name "Derivative1"
Position [155, 380, 185, 410]
ShowName off
}
Block {
BlockType Gain
Name "Gain"
Position [250, 41, 405, 89]
ShowName off
Gain "r1+(Lm^2*r2/Lr^2)"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain1"
Position [180, 160, 220, 190]
ShowName off
Gain "Lp"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain2"
Position [130, 270, 170, 300]
ShowName off
Gain "Lm*r2/Lr^2"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain3"
Position [250, 338, 280, 362]
ShowName off
Gain "r1"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain4"
Position [235, 380, 275, 410]
ShowName off
Gain "Lp"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain5"
Position [185, 90, 225, 120]
ShowName off
Gain "Lp"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain6"
Position [135, 420, 175, 450]
ShowName off
Gain "Lm/Lr"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain7"
Position [185, 480, 225, 510]
ShowName off
Gain "Lp"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [210, 427, 240, 458]
ShowName off
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [120, 157, 150, 188]
ShowName off
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [250, 487, 280, 518]
ShowName off
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Subtract"
Ports [4, 1]
Position [505, 95, 535, 150]
ShowName off
Inputs "++--"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Subtract1"
Ports [4, 1]
Position [360, 359, 390, 456]
ShowName off
Inputs "++++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "um1"
Position [690, 118, 720, 132]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "ut1"
Position [670, 403, 700, 417]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "im1"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [35, 0]
Branch {
DstBlock "Gain"
DstPort 1
}
Branch {
Points [0, 40]
DstBlock "Derivative"
DstPort 1
}
}
Branch {
Points [0, 430]
DstBlock "Gain7"
DstPort 1
}
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [80, 0]
DstBlock "Subtract"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -