📄 machine_asynchrone.mdl
字号:
RTWFileNameOpts "Auto"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
}
Block {
BlockType Sum
IconShape "rectangular"
Inputs "++"
InputSameDT on
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
Block {
BlockType ToWorkspace
VariableName "simulink_output"
MaxDataPoints "1000"
Decimation "1"
SampleTime "0"
FixptAsFi off
}
Block {
BlockType TransferFcn
Numerator "[1]"
Denominator "[1 2 1]"
AbsoluteTolerance "auto"
Realization "auto"
}
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "Helvetica"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "machine_asynchrone"
Location [2, 82, 1014, 722]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType ToWorkspace
Name "Ce"
Position [345, 180, 360, 200]
VariableName "Ce"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType Clock
Name "Clock"
Position [175, 300, 195, 320]
Decimation "10"
}
Block {
BlockType ToWorkspace
Name "Ia"
Position [520, 245, 535, 265]
VariableName "Ia"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "Ids"
Position [350, 220, 365, 240]
VariableName "Ids"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "Iqs"
Position [345, 260, 360, 280]
VariableName "Iqs"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType SubSystem
Name "MAS_AT"
Ports [4, 6]
Position [230, 52, 285, 288]
NamePlacement "alternate"
FontName "Arial"
FontSize 12
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskPromptString "r閟istance statorique|r閟istance rotorique|indu"
"ctance cyclique du stator|inductance cyclique du rotor|inductance mutuelle cy"
"clique|nombre de paires de p鬺es|moment d'inertie|coefficient de frottement"
MaskStyleString "edit,edit,edit,edit,edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on,on,on,on,on"
MaskCallbackString "|||||||"
MaskEnableString "on,on,on,on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on,on,on,on"
MaskToolTipString "on,on,on,on,on,on,on,on"
MaskVarAliasString ",,,,,,,"
MaskVariables "Rs=@1;Rr=@2;Ls=@3;Lr=@4;M=@5;p=@6;J=@7;fr=@8;"
MaskDisplay "disp('\\n\\n\\n\\n\\n\\n')"
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "0.63|0.4|0.097|0.091|0.091|2|0.22|0.001"
MaskTabNameString ",,,,,,,"
System {
Name "MAS_AT"
Location [11, 82, 782, 529]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Vds"
Position [15, 80, 35, 100]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "Vqs"
Position [15, 440, 35, 460]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "ws"
Position [25, 250, 45, 270]
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "Cr"
Position [680, 325, 700, 345]
Port "4"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Reference
Name "Dot Product1"
Ports [2, 1]
Position [170, 213, 185, 237]
NamePlacement "alternate"
ShowName off
SourceBlock "simulink/Math\nOperations/Dot Product"
SourceType "Dot Product"
InputSameDT on
OutputDataTypeScalingMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
LockScale off
RndMeth "Floor"
DoSatur off
}
Block {
BlockType Reference
Name "Dot Product2"
Ports [2, 1]
Position [115, 393, 130, 417]
NamePlacement "alternate"
ShowName off
SourceBlock "simulink/Math\nOperations/Dot Product"
SourceType "Dot Product"
InputSameDT on
OutputDataTypeScalingMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
LockScale off
RndMeth "Floor"
DoSatur off
}
Block {
BlockType Reference
Name "Dot Product3"
Ports [2, 1]
Position [195, 333, 210, 357]
NamePlacement "alternate"
ShowName off
SourceBlock "simulink/Math\nOperations/Dot Product"
SourceType "Dot Product"
InputSameDT on
OutputDataTypeScalingMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
LockScale off
RndMeth "Floor"
DoSatur off
}
Block {
BlockType Reference
Name "Dot Product4"
Ports [2, 1]
Position [280, 203, 295, 227]
NamePlacement "alternate"
ShowName off
SourceBlock "simulink/Math\nOperations/Dot Product"
SourceType "Dot Product"
InputSameDT on
OutputDataTypeScalingMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
LockScale off
RndMeth "Floor"
DoSatur off
}
Block {
BlockType Reference
Name "Dot Product5"
Ports [2, 1]
Position [100, 143, 115, 167]
NamePlacement "alternate"
ShowName off
SourceBlock "simulink/Math\nOperations/Dot Product"
SourceType "Dot Product"
InputSameDT on
OutputDataTypeScalingMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
LockScale off
RndMeth "Floor"
DoSatur off
}
Block {
BlockType Reference
Name "Dot Product6"
Ports [2, 1]
Position [280, 333, 295, 357]
NamePlacement "alternate"
ShowName off
SourceBlock "simulink/Math\nOperations/Dot Product"
SourceType "Dot Product"
InputSameDT on
OutputDataTypeScalingMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
LockScale off
RndMeth "Floor"
DoSatur off
}
Block {
BlockType Reference
Name "Dot Product7"
Ports [2, 1]
Position [620, 243, 635, 267]
NamePlacement "alternate"
ShowName off
SourceBlock "simulink/Math\nOperations/Dot Product"
SourceType "Dot Product"
InputSameDT on
OutputDataTypeScalingMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
LockScale off
RndMeth "Floor"
DoSatur off
}
Block {
BlockType Reference
Name "Dot Product8"
Ports [2, 1]
Position [620, 303, 635, 327]
NamePlacement "alternate"
ShowName off
SourceBlock "simulink/Math\nOperations/Dot Product"
SourceType "Dot Product"
InputSameDT on
OutputDataTypeScalingMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
LockScale off
RndMeth "Floor"
DoSatur off
}
Block {
BlockType From
Name "From1"
Position [15, 195, 60, 215]
BackgroundColor "[0.000000, 1.000000, 1.000000]"
ShowName off
DialogController "Simulink.DDGSource"
CloseFcn "tagdialog Close"
GotoTag "Qdr"
}
Block {
BlockType From
Name "From2"
Position [15, 350, 60, 370]
BackgroundColor "[0.000000, 1.000000, 1.000000]"
ShowName off
DialogController "Simulink.DDGSource"
CloseFcn "tagdialog Close"
GotoTag "Qqr"
}
Block {
BlockType From
Name "From3"
Position [15, 285, 60, 305]
BackgroundColor "[0.000000, 1.000000, 1.000000]"
ShowName off
DialogController "Simulink.DDGSource"
CloseFcn "tagdialog Close"
GotoTag "wr"
}
Block {
BlockType From
Name "From4"
Position [15, 400, 60, 420]
BackgroundColor "[0.000000, 1.000000, 1.000000]"
ShowName off
DialogController "Simulink.DDGSource"
CloseFcn "tagdialog Close"
GotoTag "Ids"
}
Block {
BlockType From
Name "From5"
Position [15, 140, 60, 160]
BackgroundColor "[0.000000, 1.000000, 1.000000]"
ShowName off
DialogController "Simulink.DDGSource"
CloseFcn "tagdialog Close"
GotoTag "Iqs"
}
Block {
BlockType Goto
Name "Goto"
Position [455, 61, 500, 79]
BackgroundColor "[0.501961, 1.000000, 1.000000]"
ShowName off
DialogController "Simulink.DDGSource"
GotoTag "Ids"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto1"
Position [480, 151, 525, 169]
BackgroundColor "[0.501961, 1.000000, 1.000000]"
ShowName off
DialogController "Simulink.DDGSource"
GotoTag "Qdr"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto2"
Position [885, 221, 930, 239]
BackgroundColor "[0.501961, 1.000000, 1.000000]"
ShowName off
DialogController "Simulink.DDGSource"
GotoTag "wr"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto3"
Position [485, 471, 530, 489]
BackgroundColor "[0.501961, 1.000000, 1.000000]"
ShowName off
DialogController "Simulink.DDGSource"
GotoTag "Iqs"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto4"
Position [470, 406, 515, 424]
BackgroundColor "[0.501961, 1.000000, 1.000000]"
ShowName off
DialogController "Simulink.DDGSource"
GotoTag "Qqr"
TagVisibility "global"
}
Block {
BlockType Gain
Name "K10"
Position [685, 270, 715, 300]
ShowName off
Gain "3*p*M/(2*Lr)"
}
Block {
BlockType Gain
Name "K11"
Position [855, 265, 885, 295]
Orientation "up"
ShowName off
Gain "p"
}
Block {
BlockType Gain
Name "K2"
Position [105, 75, 135, 105]
ShowName off
Gain "1/((1-(M^2/(Ls*Lr)))*Ls)"
}
Block {
BlockType Gain
Name "K3"
Position [150, 160, 180, 190]
Orientation "up"
ShowName off
Gain "(M/((1-(M^2/(Ls*Lr)))*Ls*Lr))/(Lr/Rr)"
}
Block {
BlockType Gain
Name "K4"
Position [115, 235, 145, 265]
Orientation "up"
ShowName off
Gain "M/((1-(M^2/(Ls*Lr)))*Ls*Lr)"
}
Block {
BlockType Gain
Name "K5"
Position [80, 435, 110, 465]
ShowName off
Gain "1/((1-(M^2/(Ls*Lr)))*Ls)"
}
Block {
BlockType Gain
Name "K6"
Position [115, 310, 145, 335]
Orientation "down"
ShowName off
Gain "M/((1-(M^2/(Ls*Lr)))*Ls*Lr)"
}
Block {
BlockType Gain
Name "K7"
Position [390, 370, 420, 400]
ShowName off
Gain "M/(Lr/Rr)"
}
Block {
BlockType Gain
Name "K8"
Position [390, 140, 420, 170]
ShowName off
Gain "M/(Lr/Rr)"
}
Block {
BlockType Gain
Name "K9"
Position [170, 375, 200, 405]
Orientation "down"
ShowName off
Gain "(M/((1-(M^2/(Ls*Lr)))*Ls*Lr))/(Lr/Rr)"
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [1030, 554, 1045, 576]
NamePlacement "alternate"
ShowName off
RndMeth "Floor"
}
Block {
BlockType Sum
Name "Sum1"
Ports [4, 1]
Position [210, 82, 220, 128]
NamePlacement "alternate"
ShowName off
Inputs "++++"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [200, 280, 210, 300]
NamePlacement "alternate"
ShowName off
Inputs "+-"
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [445, 340, 455, 360]
NamePlacement "alternate"
ShowName off
Inputs "-+"
}
Block {
BlockType Sum
Name "Sum4"
Ports [4, 1]
Position [235, 412, 245, 458]
NamePlacement "alternate"
ShowName off
Inputs "-+-+"
}
Block {
BlockType Sum
Name "Sum6"
Ports [2, 1]
Position [440, 200, 450, 220]
NamePlacement "alternate"
ShowName off
}
Block {
BlockType Sum
Name "Sum7"
Ports [2, 1]
Position [660, 275, 670, 295]
NamePlacement "alternate"
ShowName off
Inputs "+-"
}
Block {
BlockType Sum
Name "Sum8"
Ports [2, 1]
Position [745, 320, 755, 340]
NamePlacement "alternate"
ShowName off
Inputs "+-"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -