📄 dc_motor_v3001_s_1.mdl
字号:
Name "Constant"
Position [120, 185, 150, 215]
Value "1.4142"
}
Block {
BlockType Constant
Name "Constant1"
Position [100, 475, 130, 505]
Value "14550*9.8*0.02"
}
Block {
BlockType Gain
Name "Gain"
Position [455, 150, 485, 180]
Gain "3.429*5.29*0.9/0.5"
}
Block {
BlockType Gain
Name "Gain1"
Position [305, 425, 335, 455]
Gain "3.6*3.6*0.5*2.5*3.5/21.15"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [320, 151, 365, 184]
InputSameDT off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [195, 426, 240, 459]
InputSameDT off
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [725, 194, 755, 226]
Location [5, 65, 1029, 731]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
YMin "-50000"
YMax "900000"
SaveName "ScopeData4"
DataFormat "StructureWithTime"
LimitDataPoints off
MaxDataPoints "10000"
}
Block {
BlockType Scope
Name "Scope3"
Ports [1]
Position [605, 99, 635, 131]
Location [5, 65, 1029, 731]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
YMin "-50000"
YMax "850000"
SaveName "ScopeData3"
DataFormat "StructureWithTime"
LimitDataPoints off
MaxDataPoints "10000"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [390, 155, 410, 175]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [3, 1]
Position [545, 221, 565, 299]
ShowName off
Inputs "|+--"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Outport
Name "force"
Position [695, 253, 725, 267]
}
Block {
BlockType Outport
Name "force1"
Position [480, 63, 510, 77]
Port "2"
}
Line {
SrcBlock "If"
SrcPort 1
DstBlock "CM( If )"
DstPort 1
}
Line {
SrcBlock "ia"
SrcPort 1
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "v"
SrcPort 1
Points [15, 0; 10, 0]
Branch {
Points [0, -5]
DstBlock "Product1"
DstPort 1
}
Branch {
Points [0, 10]
DstBlock "Product1"
DstPort 2
}
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [20, 0; 0, -5]
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [35, 0]
Branch {
Points [5, 0]
DstBlock "Sum1"
DstPort 1
}
Branch {
Points [0, -50]
DstBlock "Scope3"
DstPort 1
}
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [95, 0; 0, -170]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [95, 0]
Branch {
DstBlock "force"
DstPort 1
}
Branch {
Points [0, -50]
DstBlock "Scope1"
DstPort 1
}
}
Line {
SrcBlock "CM( If )"
SrcPort 1
Points [145, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [0, -25]
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Product"
SrcPort 1
Points [0, -5]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Gain"
DstPort 1
}
Branch {
Points [0, -95]
DstBlock "force1"
DstPort 1
}
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points "[0, -5; 65, 0; 0, 15; 50, 0; 0, 10; 265, 0;"
" 0, -220]"
DstBlock "Sum1"
DstPort 3
}
}
}
Line {
SrcBlock "Subsystem"
SrcPort 1
Points [0, 5]
DstBlock "Sum"
DstPort 2
}
Line {
Name "PWM"
Labels [0, 0]
SrcBlock "Chopper"
SrcPort 1
Points [5, 0; 70, 0]
Branch {
Points [35, 0]
Branch {
Points [5, 0; 0, 80]
DstBlock "Subsystem"
DstPort 3
}
Branch {
Points [255, 0]
Branch {
Points [0, -30]
DstBlock "Switch"
DstPort 2
}
Branch {
Points [0, 5]
Branch {
Points [0, 50]
DstBlock "Sum"
DstPort 1
}
Branch {
DstBlock "To Workspace6"
DstPort 1
}
}
}
}
Branch {
Points [0, 180]
Branch {
Points [0, 160]
DstBlock "Switch1"
DstPort 2
}
Branch {
Labels [3, 0]
Points [670, 0; 0, -40]
DstBlock "Scope1"
DstPort 4
}
}
}
Line {
SrcBlock "Er"
SrcPort 1
Points [0, -60]
DstBlock "Sum"
DstPort 3
}
Line {
Name "voltage"
Labels [0, 0]
SrcBlock "Sum"
SrcPort 1
Points [10, 0; 0, -5; 10, 0]
Branch {
DstBlock "Product"
DstPort 2
}
Branch {
Labels [2, 0]
Points [0, 60]
DstBlock "Scope1"
DstPort 3
}
}
Line {
SrcBlock "Constant3"
SrcPort 1
Points [40, 0; 0, 10]
DstBlock "Switch"
DstPort 1
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [40, 0; 0, -20]
DstBlock "Switch"
DstPort 3
}
Line {
SrcBlock "Switch"
SrcPort 1
Points [0, 45; -105, 0; 0, 20]
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
Points [20, 0]
Branch {
Points [0, 545]
DstBlock "Scope4"
DstPort 1
}
Branch {
DstBlock "Saturation"
DstPort 1
}
}
Line {
Name "ia"
Labels [0, 0]
SrcBlock "Integrator"
SrcPort 1
Points [10, 0]
Branch {
Points [65, 0; 0, 15]
Branch {
Labels [1, 0]
Points [220, 0]
Branch {
Points [25, 0]
DstBlock "Scope1"
DstPort 1
}
Branch {
Points [0, 255]
DstBlock "To Workspace"
DstPort 1
}
}
Branch {
Points [0, 355; -555, 0; 0, -65]
Branch {
Points [0, -125]
Branch {
Points [0, -90]
DstBlock "Er"
DstPort 1
}
Branch {
Points [-90, 0]
DstBlock "force"
DstPort 1
}
}
Branch {
DstBlock "Switch1"
DstPort 3
}
}
}
Branch {
Points [0, 430; -705, 0]
DstBlock "Chopper"
DstPort 1
}
}
Line {
Name "Force"
Labels [0, 0]
SrcBlock "force"
SrcPort 1
Points [10, 0; 0, 295; 230, 0]
Branch {
DstBlock "Gain2"
DstPort 1
}
Branch {
Labels [4, 0]
Points [0, 90; 380, 0; 0, -170; 60, 0]
Branch {
Points [40, 0]
Branch {
DstBlock "Scope1"
DstPort 5
}
Branch {
Points [0, -130]
DstBlock "XY Graph"
DstPort 2
}
}
Branch {
Points [0, 325]
DstBlock "To Workspace3"
DstPort 1
}
}
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Integrator1"
DstPort 1
}
Branch {
Points [0, 255]
DstBlock "Scope2"
DstPort 1
}
}
Line {
SrcBlock "Integrator1"
SrcPort 1
Points [80, 0]
Branch {
Points [0, -155]
DstBlock "Gain4"
DstPort 1
}
Branch {
Points [105, 0; 0, 195; -545, 0; 0, -195]
Branch {
Points [0, -185]
DstBlock "Subsystem"
DstPort 2
}
Branch {
Points [-120, 0]
DstBlock "force"
DstPort 2
}
}
}
Line {
SrcBlock "Constant2"
SrcPort 1
Points [80, 0]
DstBlock "Switch1"
DstPort 1
}
Line {
Name "if"
Labels [0, 0]
SrcBlock "Switch1"
SrcPort 1
Points [10, 0]
Branch {
Points [0, -55; -75, 0; 0, -25]
Branch {
Points [0, -220]
DstBlock "Subsystem"
DstPort 1
}
Branch {
Points [0, -240; -145, 0]
DstBlock "force"
DstPort 3
}
}
Branch {
Labels [4, 0]
Points [0, 20; 530, 0; 0, -170; 130, 0]
Branch {
DstBlock "Scope1"
DstPort 6
}
Branch {
Points [0, 185]
DstBlock "To Workspace1"
DstPort 1
}
}
}
Line {
Name "v"
Labels [0, 0]
SrcBlock "Gain4"
SrcPort 1
Points [25, 0]
Branch {
Points [35, 0]
Branch {
DstBlock "Scope1"
DstPort 2
}
Branch {
Points [0, -70]
DstBlock "XY Graph"
DstPort 1
}
}
Branch {
Points [0, 165]
DstBlock "To Workspace5"
DstPort 1
}
}
Line {
Name "s"
Labels [0, 0; 2, 0]
SrcBlock "Constant4"
SrcPort 1
Points [0, 30]
DstBlock "Scope3"
DstPort 1
}
Line {
SrcBlock "Clock"
SrcPort 1
DstBlock "To Workspace4"
DstPort 1
}
Line {
SrcBlock "force"
SrcPort 2
Points [735, 0; 0, 440]
DstBlock "To Workspace2"
DstPort 1
}
Line {
SrcBlock "Saturation"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -