📄 bib_mas.mdl
字号:
Amplitude "1"
Frequency "2*pi*f"
Phase "-2*pi/3"
SampleTime "-1"
}
Block {
BlockType Sin
Name "Sine Wave2"
Position [75, 165, 95, 185]
Amplitude "1"
Frequency "2*pi*f"
Phase "2*pi/3"
SampleTime "-1"
}
Block {
BlockType Outport
Name "fca"
Position [200, 75, 220, 95]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "fcb"
Position [200, 115, 220, 135]
Port "2"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "fcc"
Position [205, 165, 225, 185]
Port "3"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Sine Wave"
SrcPort 1
DstBlock "Relay1"
DstPort 1
}
Line {
SrcBlock "Relay1"
SrcPort 1
DstBlock "fca"
DstPort 1
}
Line {
SrcBlock "Relay3"
SrcPort 1
DstBlock "fcc"
DstPort 1
}
Line {
SrcBlock "Sine Wave2"
SrcPort 1
DstBlock "Relay3"
DstPort 1
}
Line {
SrcBlock "Sine Wave1"
SrcPort 1
DstBlock "Relay2"
DstPort 1
}
Line {
SrcBlock "Relay2"
SrcPort 1
DstBlock "fcb"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Commande par\nHysteresis"
Ports [3, 3, 0, 0, 0]
Position [485, 122, 565, 188]
ForegroundColor "green"
ShowPortLabels on
MaskType "TRIGGER"
MaskPromptString "Largeur de la demie fenetre di:"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskInitialization "di=@1"
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "2"
System {
Name "Commande par\nHysteresis"
Location [193, 160, 473, 372]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "Er_a"
Position [50, 50, 70, 70]
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Inport
Name "Er_b"
Position [50, 90, 70, 110]
Port "2"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Inport
Name "Er_c"
Position [50, 135, 70, 155]
Port "3"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Relay
Name "Relay"
Position [110, 50, 140, 70]
OnSwitchValue "di"
OffSwitchValue "-di"
OnOutputValue "1"
OffOutputValue "-1"
}
Block {
BlockType Relay
Name "Relay1"
Position [110, 90, 140, 110]
OnSwitchValue "di"
OffSwitchValue "-di"
OnOutputValue "1"
OffOutputValue "-1"
}
Block {
BlockType Relay
Name "Relay2"
Position [110, 135, 140, 155]
OnSwitchValue "di"
OffSwitchValue "-di"
OnOutputValue "1"
OffOutputValue "-1"
}
Block {
BlockType Outport
Name "fca"
Position [175, 50, 195, 70]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "fcb"
Position [175, 90, 195, 110]
Port "2"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "fcc"
Position [175, 135, 195, 155]
Port "3"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Relay"
SrcPort 1
DstBlock "fca"
DstPort 1
}
Line {
SrcBlock "Er_a"
SrcPort 1
DstBlock "Relay"
DstPort 1
}
Line {
SrcBlock "Er_b"
SrcPort 1
DstBlock "Relay1"
DstPort 1
}
Line {
SrcBlock "Relay1"
SrcPort 1
DstBlock "fcb"
DstPort 1
}
Line {
SrcBlock "Relay2"
SrcPort 1
DstBlock "fcc"
DstPort 1
}
Line {
SrcBlock "Er_c"
SrcPort 1
DstBlock "Relay2"
DstPort 1
}
Annotation {
Position [142, 197]
VerticalAlignment "top"
Text "Correction par hyteresis"
FontName "Times New Roman"
FontSize 16
FontWeight "bold"
}
}
}
Block {
BlockType SubSystem
Name "Commande scalaire\nElaboration des consignes\n"
Ports [2, 3, 0, 0, 0]
Position [490, 234, 565, 356]
ForegroundColor "green"
ShowPortLabels on
MaskType "Commande scalaire"
MaskPromptString "Constante de temps rotorique:|Courant magnetisa"
"nt (flux_r/M):"
MaskStyleString "edit,edit"
MaskTunableValueString "on,on"
MaskCallbackString "|"
MaskEnableString "on,on"
MaskVisibilityString "on,on"
MaskVariables "tr=@1;Im=@2;"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "0.14|5"
System {
Name "Commande scalaire\nElaboration des consignes"
"\n"
Location [149, 320, 773, 746]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "wr"
Position [55, 110, 75, 130]
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Inport
Name "teta_s"
Position [155, 155, 175, 175]
Port "2"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Fcn
Name "Fcn4"
Position [275, 85, 315, 105]
Expr "u[1]*cos(u[2])"
}
Block {
BlockType Fcn
Name "Fcn5"
Position [275, 135, 315, 155]
Expr "u[1]*cos(u[2]-2*pi/3)"
}
Block {
BlockType Fcn
Name "Fcn6"
Position [275, 185, 315, 205]
Expr "u[1]*cos(u[2]+2*pi/3)"
}
Block {
BlockType Fcn
Name "Fcn7"
Position [135, 110, 175, 130]
ShowName off
Expr "Im*sqrt(1+(tr*u[1])^2)"
}
Block {
BlockType Mux
Name "Mux1"
Ports [2, 1, 0, 0, 0]
Position [215, 95, 240, 190]
Inputs "2"
DisplayOption "none"
}
Block {
BlockType Outport
Name "ia_cons"
Position [350, 88, 380, 102]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "ib_cons"
Position [345, 135, 365, 155]
Port "2"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "ic_cons"
Position [345, 185, 365, 205]
Port "3"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Mux1"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Fcn5"
DstPort 1
}
Branch {
Points [0, -50]
DstBlock "Fcn4"
DstPort 1
}
Branch {
Points [0, 50]
DstBlock "Fcn6"
DstPort 1
}
}
Line {
SrcBlock "Fcn4"
SrcPort 1
DstBlock "ia_cons"
DstPort 1
}
Line {
SrcBlock "teta_s"
SrcPort 1
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "Fcn5"
SrcPort 1
DstBlock "ib_cons"
DstPort 1
}
Line {
SrcBlock "Fcn6"
SrcPort 1
DstBlock "ic_cons"
DstPort 1
}
Line {
SrcBlock "Fcn7"
SrcPort 1
DstBlock "Mux1"
DstPort 1
}
Line {
SrcBlock "wr"
SrcPort 1
DstBlock "Fcn7"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Commande vectorielle\nsimplifiee\nElaboration d"
"es consignes\n"
Ports [2, 3, 0, 0, 0]
Position [610, 259, 685, 381]
ForegroundColor "green"
ShowPortLabels on
MaskType "Commande scalaire"
MaskPromptString "Constante de temps rotorique:|Courant magnetisa"
"nt (flux_r/M):"
MaskStyleString "edit,edit"
MaskTunableValueString "on,on"
MaskCallbackString "|"
MaskEnableString "on,on"
MaskVisibilityString "on,on"
MaskVariables "tr=@1;Im=@2;"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "0.14|5"
System {
Name "Commande vectorielle\nsimplifiee\nElaboration"
" des consignes\n"
Location [141, 164, 765, 590]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "wr"
Position [55, 105, 75, 125]
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Inport
Name "teta_s"
Position [155, 135, 175, 155]
Port "2"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Fcn
Name "Fcn4"
Position [275, 85, 315, 105]
Expr "u[1]*cos(u[2]+u[3])"
}
Block {
BlockType Fcn
Name "Fcn5"
Position [275, 135, 315, 155]
Expr "u[1]*cos(u[2]+u[3]-2*pi/3)"
}
Block {
BlockType Fcn
Name "Fcn6"
Position [275, 185, 315, 205]
Expr "u[1]*cos(u[2]+u[3]+2*pi/3)"
}
Block {
BlockType Fcn
Name "Fcn7"
Position [135, 105, 175, 125]
ShowName off
Expr "Im*sqrt(1+(tr*u[1])^2)"
}
Block {
BlockType Fcn
Name "Fcn8"
Position [125, 175, 165, 195]
ShowName off
Expr "atan(tr*u[1])"
}
Block {
BlockType Mux
Name "Mux1"
Ports [3, 1, 0, 0, 0]
Position [215, 97, 240, 193]
Inputs "3"
DisplayOption "none"
}
Block {
BlockType Outport
Name "ia_cons"
Position [350, 88, 380, 102]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "ib_cons"
Position [345, 135, 365, 155]
Port "2"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "ic_cons"
Position [345, 185, 365, 205]
Port "3"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Mux1"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Fcn5"
DstPort 1
}
Branch {
Points [0, -50]
DstBlock "Fcn4"
DstPort 1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -