📄 dianjishiliangkongzhi.mdl
字号:
Position [615, 73, 645, 87]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Outport
Name "Ut1"
Position [620, 248, 650, 262]
Port "2"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "Ub"
SrcPort 1
Points [35, 0]
Branch {
DstBlock "Add1"
DstPort 1
}
Branch {
Points [0, 45]
DstBlock "Add2"
DstPort 1
}
}
Line {
SrcBlock "Uc"
SrcPort 1
Points [35, 0; 15, 0]
Branch {
Points [0, -20]
DstBlock "Add1"
DstPort 2
}
Branch {
Points [0, 25]
DstBlock "Add2"
DstPort 2
}
}
Line {
SrcBlock "Add1"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [0, -100]
DstBlock "Add"
DstPort 2
}
Line {
SrcBlock "Add"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [10, 0]
Branch {
Points [25, 0]
DstBlock "Product"
DstPort 1
}
Branch {
Points [0, 245]
DstBlock "Product3"
DstPort 1
}
}
Line {
SrcBlock "Product"
SrcPort 1
Points [20, 0; 0, 25]
DstBlock "Add3"
DstPort 1
}
Line {
SrcBlock "Add3"
SrcPort 1
DstBlock "Um1"
DstPort 1
}
Line {
SrcBlock "Add2"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [160, 0]
Branch {
Points [0, 40]
DstBlock "Product2"
DstPort 1
}
Branch {
Points [0, -65]
DstBlock "Product1"
DstPort 2
}
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [25, 0; 0, -30]
DstBlock "Add3"
DstPort 2
}
Line {
SrcBlock "Theta"
SrcPort 1
Points [10, 0; 0, -5]
Branch {
Points [0, -25]
DstBlock "Trigonometric\nFunction"
DstPort 1
}
Branch {
Points [0, 30]
DstBlock "Trigonometric\nFunction1"
DstPort 1
}
}
Line {
SrcBlock "Trigonometric\nFunction"
SrcPort 1
Points [95, 0]
Branch {
DstBlock "Product2"
DstPort 2
}
Branch {
Points [0, -175; 165, 0]
DstBlock "Product"
DstPort 2
}
}
Line {
SrcBlock "Trigonometric\nFunction1"
SrcPort 1
Points [115, 0]
Branch {
DstBlock "Product3"
DstPort 2
}
Branch {
Points [0, -190]
DstBlock "Product1"
DstPort 1
}
}
Line {
SrcBlock "Product2"
SrcPort 1
Points [45, 0; 0, 10]
DstBlock "Add4"
DstPort 1
}
Line {
SrcBlock "Product3"
SrcPort 1
Points [45, 0; 0, -30]
DstBlock "Add4"
DstPort 2
}
Line {
SrcBlock "Add4"
SrcPort 1
DstBlock "Ut1"
DstPort 1
}
Line {
SrcBlock "Ua"
SrcPort 1
DstBlock "Add"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "denxiaozhiliudanji"
Ports [3, 5]
Position [365, 41, 460, 169]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
System {
Name "denxiaozhiliudanji"
Location [187, 222, 1050, 674]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "im1"
Position [15, 163, 45, 177]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "it1"
Position [15, 238, 45, 252]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Ti"
Position [20, 323, 50, 337]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Gain
Name "30/pi"
Position [575, 310, 605, 340]
Gain "60/2/pi"
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add"
Ports [2, 1]
Position [550, 117, 580, 148]
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add1"
Ports [2, 1]
Position [325, 307, 355, 338]
Inputs "+-"
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add2"
Ports [2, 1]
Position [205, 112, 235, 143]
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Constant
Name "Constant"
Position [80, 105, 110, 135]
Value "0.001"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [615, 120, 645, 150]
}
Block {
BlockType Gain
Name "Lm*R2/Lr"
Position [125, 60, 155, 90]
Gain "Lm*R2/Lr"
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
SaturateOnIntegerOverflow off
}
Block {
BlockType Math
Name "Math\nFunction"
Ports [1, 1]
Position [255, 115, 285, 145]
Operator "reciprocal"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [210, 222, 240, 253]
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [335, 107, 365, 138]
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
SaturateOnIntegerOverflow off
}
Block {
BlockType Saturate
Name "Saturation"
Position [260, 225, 290, 255]
UpperLimit "40"
LowerLimit "-40"
}
Block {
BlockType Saturate
Name "Saturation1"
Position [675, 240, 700, 270]
UpperLimit "inf"
LowerLimit "0"
}
Block {
BlockType Saturate
Name "Saturation2"
Position [675, 310, 700, 340]
UpperLimit "inf"
LowerLimit "0"
}
Block {
BlockType Saturate
Name "Saturation3"
Position [350, 225, 375, 255]
UpperLimit "inf"
LowerLimit "0"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn"
Position [110, 152, 170, 188]
Numerator "[Lm]"
Denominator "[Lr/R2 1]"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn1"
Position [375, 307, 435, 343]
Denominator "[J/np 0]"
}
Block {
BlockType Gain
Name "np*Lm/Lr"
Position [140, 230, 170, 260]
Gain "np*Lm/Lr"
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "Theta"
Position [735, 128, 765, 142]
IconDisplay "Port number"
}
Block {
BlockType Outport
Name "n"
Position [735, 318, 765, 332]
Port "2"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Outport
Name "Te"
Position [410, 233, 440, 247]
Port "3"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Outport
Name "kesi"
Position [410, 163, 440, 177]
Port "4"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Outport
Name "wr"
Position [735, 248, 765, 262]
Port "5"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "Add2"
SrcPort 1
DstBlock "Math\nFunction"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Add2"
DstPort 1
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Add"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -