?? power_acdrive.mdl
字號:
Name "Current\nRegulator"
Location [251, 575, 715, 769]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "Iabc"
Position [25, 33, 55, 47]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "Iabc*"
Position [25, 128, 55, 142]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion"
Position [260, 44, 280, 66]
ShowName off
OutDataTypeMode "boolean"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion1"
Position [345, 44, 365, 66]
ShowName off
OutDataTypeMode "double"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion2"
Position [345, 94, 365, 116]
ShowName off
OutDataTypeMode "double"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion3"
Position [345, 144, 365, 166]
ShowName off
OutDataTypeMode "double"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion4"
Position [250, 94, 270, 116]
ShowName off
OutDataTypeMode "boolean"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion5"
Position [250, 144, 270, 166]
ShowName off
OutDataTypeMode "boolean"
}
Block {
BlockType Demux
Name "Demux1"
Ports [1, 3]
Position [85, 20, 90, 60]
ShowName off
Outputs "3"
}
Block {
BlockType Demux
Name "Demux2"
Ports [1, 3]
Position [85, 115, 90, 155]
ShowName off
Outputs "3"
}
Block {
BlockType Logic
Name "Logical\nOperator"
Ports [1, 1]
Position [295, 45, 325, 65]
ShowName off
Operator "NOT"
}
Block {
BlockType Logic
Name "Logical\nOperator1"
Ports [1, 1]
Position [290, 95, 320, 115]
ShowName off
Operator "NOT"
}
Block {
BlockType Logic
Name "Logical\nOperator2"
Ports [1, 1]
Position [290, 145, 320, 165]
ShowName off
Operator "NOT"
}
Block {
BlockType Mux
Name "Mux"
Ports [6, 1]
Position [400, 15, 405, 170]
ShowName off
Inputs "6"
}
Block {
BlockType Relay
Name "Relay"
Position [200, 17, 220, 43]
ShowName off
OnSwitchValue "h/2"
OffSwitchValue "-h/2"
}
Block {
BlockType Relay
Name "Relay1"
Position [200, 67, 220, 93]
ShowName off
OnSwitchValue "h/2"
OffSwitchValue "-h/2"
}
Block {
BlockType Relay
Name "Relay2"
Position [200, 117, 220, 143]
ShowName off
OnSwitchValue "h/2"
OffSwitchValue "-h/2"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [160, 19, 180, 41]
ShowName off
Inputs "-+"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [160, 69, 180, 91]
ShowName off
Inputs "-+"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [160, 119, 180, 141]
ShowName off
Inputs "-+"
}
Block {
BlockType Outport
Name "Pulses"
Position [425, 88, 455, 102]
IconDisplay "Port number"
BusOutputAsStruct off
InitialOutput "0"
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Relay"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Relay1"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 2
Points [25, 0; 0, 35]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Pulses"
DstPort 1
}
Line {
SrcBlock "Iabc"
SrcPort 1
DstBlock "Demux1"
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Relay2"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 3
Points [15, 0; 0, 70]
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Demux2"
SrcPort 3
Points [50, 0]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Demux2"
SrcPort 2
Points [45, 0; 0, -50]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Demux2"
SrcPort 1
Points [35, 0; 0, -85]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Iabc*"
SrcPort 1
DstBlock "Demux2"
DstPort 1
}
Line {
SrcBlock "Relay"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "Mux"
DstPort 1
}
Branch {
DstBlock "Data Type \nConversion"
DstPort 1
}
}
Line {
SrcBlock "Relay1"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Mux"
DstPort 3
}
Branch {
DstBlock "Data Type \nConversion4"
DstPort 1
}
}
Line {
SrcBlock "Relay2"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Mux"
DstPort 5
}
Branch {
Points [0, 25]
DstBlock "Data Type \nConversion5"
DstPort 1
}
}
Line {
SrcBlock "Data Type \nConversion"
SrcPort 1
DstBlock "Logical\nOperator"
DstPort 1
}
Line {
SrcBlock "Logical\nOperator"
SrcPort 1
DstBlock "Data Type \nConversion1"
DstPort 1
}
Line {
SrcBlock "Data Type \nConversion1"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Logical\nOperator1"
SrcPort 1
DstBlock "Data Type \nConversion2"
DstPort 1
}
Line {
SrcBlock "Data Type \nConversion2"
SrcPort 1
DstBlock "Mux"
DstPort 4
}
Line {
SrcBlock "Logical\nOperator2"
SrcPort 1
DstBlock "Data Type \nConversion3"
DstPort 1
}
Line {
SrcBlock "Data Type \nConversion3"
SrcPort 1
DstBlock "Mux"
DstPort 6
}
Line {
SrcBlock "Data Type \nConversion4"
SrcPort 1
DstBlock "Logical\nOperator1"
DstPort 1
}
Line {
SrcBlock "Data Type \nConversion5"
SrcPort 1
DstBlock "Logical\nOperator2"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Flux\nCalculation"
Ports [1, 1]
Position [395, 30, 450, 60]
Orientation "left"
NamePlacement "alternate"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskType "Flux Calcultation"
MaskInitialization "NF=0.44572610323020e-6;\nDF=[1 -0.999987154"
"86734];"
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Flux\nCalculation"
Location [24, 605, 408, 813]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "Id"
Position [320, 38, 350, 52]
Orientation "left"
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType SubSystem
Name "Discrete Tranfer Function"
Ports [1, 1]
Position [95, 20, 165, 70]
Orientation "left"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskType "First Order Low Pass Filter (Discrete)"
MaskDescription "H(s)=1/(1+T.s)"
MaskPromptString "Time constant T (s) :|Time step (s)"
MaskStyleString "edit,edit"
MaskTunableValueString "on,on"
MaskCallbackString "|"
MaskEnableString "on,on"
MaskVisibilityString "on,on"
MaskToolTipString "on,on"
MaskVarAliasString ","
MaskVariables "T=@1;Ts=@2;"
MaskInitialization " X=[0 1 2 3 4];\n Y=[-2 -2 -3 -4 -4];\n"
" str=sprintf('\\nH=1/(1+T.s)\\n T= %g s\\n\\n\\n',T);\nnum=1;\nden=[T 1];\n\n"
"% discrete transfer function\n% descending powers of z\nnumd= Ts/T;\ndend=[ 1"
" (Ts-T)/T];\n\n"
MaskDisplay "plot(X,Y);\ndisp(str);\n"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "0.1557|Ts"
MaskTabNameString ","
System {
Name "Discrete Tranfer Function"
Location [565, 312, 994, 482]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In"
Position [25, 38, 55, 52]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType DiscreteTransferFcn
Name "Discrete\nTransfer Fcn"
Position [75, 27, 135, 63]
Numerator "numd"
Denominator "dend"
SampleTime "Ts"
}
Block {
BlockType Outport
Name "Out"
Position [165, 38, 195, 52]
IconDisplay "Port number"
BusOutputAsStruct off
InitialOutput "0"
}
Line {
SrcBlock "Discrete\nTransfer Fcn"
SrcPort 1
DstBlock "Out"
DstPort 1
}
Line {
SrcBlock "In"
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -