Model { Name "bib_mas" Version 5.0 SaveDefaultBlockParams on SampleTimeColors off LibraryLinkDisplay "none" WideLines off ShowLineDimensions off ShowPortDataTypes off ShowLoopsOnError on IgnoreBidirectionalLines off ShowStorageClass off ExecutionOrder off RecordCoverage off CovPath "/" CovSaveName "covdata" CovMetricSettings "dw" CovNameIncrementing off CovHtmlReporting on covSaveCumulativeToWorkspaceVar on CovSaveSingleToWorkspaceVar on CovCumulativeVarName "covCumulativeData" CovCumulativeReport off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" MinMaxOverflowArchiveMode "Overwrite" BlockNameDataTip off BlockParametersDataTip on BlockDescriptionStringDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off
Created "Sat Dec 22 18:41:07 2001" UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>" LastModifiedBy "ucc" ModifiedDateFormat "%<Auto>"
LastModifiedDate "Sun May 13 23:47:15 2007" ModelVersionFormat "1.%<AutoIncrement:13>" ConfigurationManager "none" SimParamPage "Solver" LinearizationMsg "none" Profile off ParamWorkspaceSource "MATLABWorkspace" AccelSystemTargetFile "accel.tlc" AccelTemplateMakefile "accel_default_tmf" AccelMakeCommand "make_rtw" TryForcingSFcnDF off ExtModeMexFile "ext_comm" ExtModeBatchMode off ExtModeTrigType "manual" ExtModeTrigMode "oneshot" ExtModeTrigPort "1" ExtModeTrigElement "any" ExtModeTrigDuration 1000 ExtModeTrigHoldOff 0 ExtModeTrigDelay 0 ExtModeTrigDirection "rising" ExtModeTrigLevel 0
ExtModeArchiveMode "off" ExtModeAutoIncOneShot off ExtModeIncDirWhenArm off ExtModeAddSuffixToVar off ExtModeWriteAllDataToWs off ExtModeArmWhenConnect off ExtModeSkipDownloadWhenConnect off ExtModeLogAll on ExtModeAutoUpdateStatusClock on BufferReuse on RTWExpressionDepthLimit 5 SimulationMode "normal" Solver "ode45" SolverMode "Auto" StartTime "0.0" StopTime "999999" MaxOrder 5 MaxStep "10" MinStep "auto" MaxNumMinSteps "-1" InitialStep "auto" FixedStep "auto" RelTol "1e-3" AbsTol "1e-3" OutputOption "RefineOutputTimes" OutputTimes "[]" Refine "1" LoadExternalInput off ExternalInput "[t, u]" LoadInitialState off InitialState "xInitial" SaveTime off TimeSaveName "tout" SaveState off StateSaveName "xout" SaveOutput off OutputSaveName "yout" SaveFinalState off FinalStateName "xFinal" SaveFormat "Array" Decimation "1" LimitDataPoints off MaxDataPoints "1000" SignalLoggingName "sigsOut" ConsistencyChecking "none" ArrayBoundsChecking "none" AlgebraicLoopMsg "warning" BlockPriorityViolationMsg "warning" MinStepSizeMsg "warning" InheritedTsInSrcMsg "warning" DiscreteInheritContinuousMsg "warning" MultiTaskRateTransMsg "error" SingleTaskRateTransMsg "none" CheckForMatrixSingularity "none" IntegerOverflowMsg "warning" Int32ToFloatConvMsg "warning" ParameterDowncastMsg "error" ParameterOverflowMsg "error" ParameterPrecisionLossMsg "warning" UnderSpecifiedDataTypeMsg "none"
UnnecessaryDatatypeConvMsg "none" VectorMatrixConversionMsg "none" InvalidFcnCallConnMsg "error" SignalLabelMismatchMsg "none" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" SfunCompatibilityCheckMsg "none" RTWInlineParameters off BlockReductionOpt on BooleanDataType off ConditionallyExecuteInputs on ParameterPooling on OptimizeBlockIOStorage on ZeroCross on AssertionControl "UseLocalSettings" ProdHWDeviceType "Microprocessor" ProdHWWordLengths "8,16,32,32" RTWSystemTargetFile "grt.tlc" RTWTemplateMakefile "grt_default_tmf" RTWMakeCommand "make_rtw" RTWGenerateCodeOnly off RTWRetainRTWFile off TLCProfiler off TLCDebug off TLCCoverage off TLCAssertion off BlockDefaults { Orientation "right" ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on } BlockParameterDefaults { Block { BlockType Clock DisplayTime off } Block { BlockType ComplexToRealImag Output "Real and imag" } Block { BlockType Constant Value "1" VectorParams1D on ShowAdditionalParam off
OutDataTypeMode "Inherit from 'Constant value'" OutDataType "sfix(16)"
ConRadixGroup "Use specified scaling" OutScaling "2^0"
}
Block {
} Block { BlockType Fcn Expr "sin(u[1])" } Block { BlockType Gain Gain "1" Multiplication "Element-wise(K.*u)" ShowAdditionalParam off
ParameterDataTypeMode "Same as input" ParameterDataType "sfix(16)"
ParameterScalingMode "Best Precision: Matrix-wise" ParameterScaling "2^0"
OutDataTypeMode "Same as input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on } Block { BlockType Inport Port "1" PortDimensions "-1" SampleTime "-1" ShowAdditionalParam off LatchInput off DataType "auto" OutDataType "sfix(16)" OutScaling "2^0" SignalType "auto" SamplingMode "auto" Interpolate on } Block { BlockType Integrator ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" ZeroCross on } Block { BlockType Lookup InputValues "[-4:5]" OutputValues " rand(1,10)-0.5" ShowAdditionalParam off LookUpMeth "Interpolation-Extrapolation" OutDataTypeMode "Same as input"
OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on
} Block { BlockType MATLABFcn MATLABFcn "sin" OutputDimensions "-1" OutputSignalType "auto" Output1D on } Block { BlockType Mux Inputs "4" DisplayOption "none" } Block { BlockType Outport Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Product Inputs "2" Multiplication "Element-wise(.*)" ShowAdditionalParam off InputSameDT on
OutDataTypeMode "Same as first input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on } Block { BlockType RealImagToComplex Input "Real and imag" ConstantPart "0" } Block { BlockType Relay OnSwitchValue "eps" OffSwitchValue "eps" OnOutputValue "1" OffOutputValue "0" ShowAdditionalParam off
OutputDataTypeScalingMode "All ports same datatype" OutDataType "sfix(16)"
OutScaling "2^0"
ConRadixGroup "Use specified scaling" ZeroCross on } Block { BlockType Saturate UpperLimit "0.5" LowerLimit "-0.5" LinearizeAsGain on ZeroCross on } Block { BlockType Sin
Amplitude "1" Bias "0" Frequency "1" Phase "0" Samples "10" Offset "0" SampleTime "-1" VectorParams1D on } Block { BlockType SubSystem ShowPortLabels on Permissions "ReadWrite" RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" SimViewingDevice off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" } Block { BlockType Sum IconShape "rectangular" Inputs "++" ShowAdditionalParam off InputSameDT on
OutDataTypeMode "Same as first input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on } 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 "bib_mas"
Location [-23, 107, 766, 653] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" ReportName "simulink-default.rpt" Block { BlockType SubSystem Name "Commande\nMLI" Ports [3, 4] Position [580, 14, 680, 86] ForegroundColor "green" TreatAsAtomicUnit off MaskType "MLI"
MaskPromptString "Fréquence de la porteuse f:(en Hz)|Amplitude d" "e la porteuse Umaxp:"
MaskStyleString "edit,edit" MaskTunableValueString "on,on" MaskCallbackString "|" MaskEnableString "on,on" MaskVisibilityString "on,on" MaskToolTipString "on,on" MaskVarAliasString "," MaskInitialization "f=@1;Um=@2;" MaskIconFrame on MaskIconOpaque off MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "15000|10" System { Name "Commande\nMLI" Location [6, 74, 630, 500] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport
Name "mod a"
Position [165, 135, 185, 155] } Block { BlockType Inport Name "mod b" Position [165, 185, 185, 205] Port "2" } Block { BlockType Inport Name "mod c\n"
Position [165, 240, 185, 260]
Port "3"
}
Block {
BlockType SubSystem
Name "Porteuse triangulaire\nFréquence f\nAmplitu" "de Umaxp" Ports [0, 1] Position [189, 65, 251, 105] Orientation "down" ShowPortLabels off TreatAsAtomicUnit off
MaskType "Repeating table"
MaskDescription "Repeating table.\nEnter values of time and " "output for first cycle."
MaskHelp "Repeats cycle given in table. Time values s" "hould be monotonically increasing."
MaskPromptString "Time values:|Output values:" MaskStyleString "edit,edit" MaskTunableValueString "on,on" MaskCallbackString "|" MaskEnableString "on,on" MaskVisibilityString "on,on" MaskToolTipString "on,on" MaskVarAliasString ","
MaskInitialization "period = max(@1); t = @1; y = @2;" MaskDisplay "plot([t,t+period,t+2*period],[y,y,y])" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "[0 1/(4*f) 3/(4*f) 1/f]|[0 Um -Um 0]" System {
Name "Porteuse triangulaire\nFréquence f\nAmpli" "tude Umaxp" Location [5, 40, 315, 196] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Clock Name "Clock" Position [45, 60, 65, 80] Decimation "10" } Block { BlockType Fcn Name "Fcn1" Position [110, 60, 150, 80] Expr "rem(u[1],period)" } Block { BlockType Lookup
Position [210, 58, 250, 82] InputValues "t" OutputValues "y" } Block { BlockType Outport Name "out_1" Position [285, 60, 305, 80] } Line {
SrcBlock "Look Up Table"
SrcPort 1 DstBlock "out_1" DstPort 1 } Line { SrcBlock "Clock" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { SrcBlock "Fcn1" SrcPort 1
DstBlock "Look Up Table"
DstPort 1 } } } Block { BlockType Relay Name "Relay" Position [340, 129, 365, 151] } Block { BlockType Relay Name "Relay1" Position [340, 180, 365, 200] } Block { BlockType Relay Name "Relay2" Position [340, 235, 365, 255] } Block { BlockType Sum Name "Sum3" Ports [2, 1] Position [265, 130, 285, 150] Inputs "-+" } Block { BlockType Sum Name "Sum4" Ports [2, 1] Position [265, 180, 285, 200] Inputs "-+" } Block { BlockType Sum
Name "Sum5" Ports [2, 1] Position [265, 235, 285, 255] Inputs "-+" } Block { BlockType Outport Name "fca" Position [420, 130, 440, 150] } Block { BlockType Outport Name "fcb" Position [425, 180, 445, 200] Port "2" } Block { BlockType Outport Name "fcc" Position [425, 235, 445, 255] Port "3" } Block { BlockType Outport
Name "U porteuse"
Position [430, 300, 450, 320] Port "4" } Line { SrcBlock "Sum5" SrcPort 1 DstBlock "Relay2" DstPort 1 } Line { SrcBlock "Sum4" SrcPort 1 DstBlock "Relay1" DstPort 1 } Line { SrcBlock "Sum3" SrcPort 1 DstBlock "Relay" DstPort 1 } Line { SrcBlock "Relay" SrcPort 1 DstBlock "fca" DstPort 1 } Line {
SrcBlock "mod a"
SrcPort 1 DstBlock "Sum3" DstPort 2 } Line { SrcBlock "mod b"
SrcPort 1 DstBlock "Sum4" DstPort 2 } Line { SrcBlock "Relay1" SrcPort 1 DstBlock "fcb" DstPort 1 } Line { SrcBlock "mod c\n" SrcPort 1 DstBlock "Sum5" DstPort 2 } Line { SrcBlock "Relay2" SrcPort 1 DstBlock "fcc" DstPort 1 } Line {
SrcBlock "Porteuse triangulaire\nFréquence f\nAmplitu" "de Umaxp" SrcPort 1 Points [0, 25] Branch { DstBlock "Sum3" DstPort 1 } Branch { Points [0, 50] Branch { DstBlock "Sum4" DstPort 1 } Branch { Points [0, 55] Branch { DstBlock "Sum5" DstPort 1 } Branch { Points [0, 70]
DstBlock "U porteuse"
DstPort 1 } } } } Annotation {
Name "Commande MLI"
Position [352, 337]
VerticalAlignment "top"
FontName "Times New Roman"
FontSize 16
FontWeight "bold" }
}
Block {
BlockType SubSystem
Name "Commande \npleine onde\n"
Ports [0, 3]
Position [485, 20, 555, 80] ForegroundColor "green"
TreatAsAtomicUnit off
MaskType "Commande pleine onde" MaskPromptString "Fréquence f (en Hertz)" MaskStyleString "edit" MaskTunableValueString "on" MaskEnableString "on" MaskVisibilityString "on" MaskToolTipString "on" MaskVariables "f=@1;" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "50" System {
Name "Commande \npleine onde\n"
Location [121, 76, 376, 389] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Relay Name "Relay1" Position [125, 75, 155, 95] } Block { BlockType Relay Name "Relay2" Position [125, 115, 155, 135] } Block { BlockType Relay Name "Relay3" Position [125, 165, 155, 185] } Block { BlockType Sin
Name "Sine Wave"
Position [75, 75, 95, 95]
Frequency "2*pi*f" }
Block {
BlockType Sin
Name "Sine Wave1"
Position [75, 115, 95, 135]
Frequency "2*pi*f" Phase "-2*pi/3"
}
Block {
BlockType Sin
Name "Sine Wave2"
Position [75, 165, 95, 185] Frequency "2*pi*f" Phase "2*pi/3" } Block { BlockType Outport Name "fca" Position [200, 75, 220, 95] } Block { BlockType Outport Name "fcb" Position [200, 115, 220, 135] Port "2" } Block { BlockType Outport Name "fcc" Position [205, 165, 225, 185] Port "3" } 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\nHystérésis"
Ports [3, 3]
Position [485, 122, 565, 188] ForegroundColor "green"
TreatAsAtomicUnit off
MaskType "TRIGGER"
MaskPromptString "Largeur de la demie fenêtre di:" MaskStyleString "edit" MaskTunableValueString "on" MaskEnableString "on" MaskVisibilityString "on" MaskToolTipString "on" MaskInitialization "di=@1" MaskIconFrame on MaskIconOpaque off MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "2" System {
Name "Commande par\nHystérésis"
Location [193, 160, 473, 372] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "Er_a" Position [50, 50, 70, 70] } Block { BlockType Inport Name "Er_b" Position [50, 90, 70, 110] Port "2" } Block { BlockType Inport Name "Er_c" Position [50, 135, 70, 155] Port "3" } Block { BlockType Relay Name "Relay" Position [110, 50, 140, 70] OnSwitchValue "di" OffSwitchValue "-di" OffOutputValue "-1" }
Block { BlockType Relay Name "Relay1" Position [110, 90, 140, 110] OnSwitchValue "di" OffSwitchValue "-di" OffOutputValue "-1" } Block { BlockType Relay Name "Relay2" Position [110, 135, 140, 155] OnSwitchValue "di" OffSwitchValue "-di" OffOutputValue "-1" } Block { BlockType Outport Name "fca" Position [175, 50, 195, 70] } Block { BlockType Outport Name "fcb" Position [175, 90, 195, 110] Port "2" } Block { BlockType Outport Name "fcc" Position [175, 135, 195, 155] Port "3" } 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 {
Name "Correction par hytérésis"
Position [142, 197]
VerticalAlignment "top"
FontName "Times New Roman"
FontSize 16 FontWeight "bold" } } } Block { BlockType SubSystem
Name "Commande scalaire\nElaboration des consignes\n"
Ports [2, 3]
Position [490, 234, 565, 356] ForegroundColor "green"
TreatAsAtomicUnit off
MaskType "Commande scalaire"
MaskPromptString "Constante de temps rotorique:|Courant magnétisa" "nt (flux_r/M):" MaskStyleString "edit,edit" MaskTunableValueString "on,on" MaskCallbackString "|" MaskEnableString "on,on" MaskVisibilityString "on,on" MaskToolTipString "on,on" MaskVarAliasString "," 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 "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "wr" Position [55, 110, 75, 130] }
Block { BlockType Inport Name "téta_s" Position [155, 155, 175, 175] Port "2" } 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] Position [215, 95, 240, 190] Inputs "2" } Block { BlockType Outport Name "ia_cons" Position [350, 88, 380, 102] } Block { BlockType Outport Name "ib_cons" Position [345, 135, 365, 155] Port "2" } Block { BlockType Outport Name "ic_cons" Position [345, 185, 365, 205] Port "3" } 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 "téta_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\nsimplifiée\nElaboration d" "es consignes\n"
Ports [2, 3]
Position [610, 259, 685, 381] ForegroundColor "green"
MaskType "Commande scalaire"
MaskPromptString "Constante de temps rotorique:|Courant magnétisa" "nt (flux_r/M):" MaskStyleString "edit,edit" MaskTunableValueString "on,on" MaskCallbackString "|" MaskEnableString "on,on" MaskVisibilityString "on,on" MaskToolTipString "on,on" MaskVarAliasString "," MaskVariables "tr=@1;Im=@2;" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "0.14|5" System {
Name "Commande vectorielle\nsimplifiée\nElaboration" " des consignes\n" Location [141, 164, 765, 590] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "wr" Position [55, 105, 75, 125] } Block { BlockType Inport Name "téta_s" Position [155, 135, 175, 155] Port "2" } 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] Position [215, 97, 240, 193] Inputs "3" } Block { BlockType Outport Name "ia_cons" Position [350, 88, 380, 102] } Block { BlockType Outport Name "ib_cons" Position [345, 135, 365, 155] Port "2" } Block { BlockType Outport Name "ic_cons" Position [345, 185, 365, 205] Port "3" } 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 "téta_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 Points [15, 0] Branch { DstBlock "Fcn7" DstPort 1 } Branch { Points [0, 75; 15, 0] DstBlock "Fcn8" DstPort 1 } } Line { SrcBlock "Fcn8" SrcPort 1 Points [30, 0] DstBlock "Mux1" DstPort 3 } } } Block { BlockType SubSystem Name "Correcteur\ndouble" Ports [2, 2] Position [395, 27, 465, 83] ForegroundColor "green" TreatAsAtomicUnit off
MaskType "PI limité"
MaskDescription "PI limité K(1+to*p)/to*p"
MaskHelp "Implements a limited integrator with \\nan expr" "ession of the form:\\n\\nif(x<=lb and u<0) or (x>=ub and u>0)\\n\\txdot=0\\ne" "lse\\n\\txdot=u."
MaskPromptString "K:|to:|Sat min:|sat max:|Initial condition" MaskStyleString "edit,edit,edit,edit,edit" MaskTunableValueString "on,on,on,on,on" MaskCallbackString "||||" MaskEnableString "on,on,on,on,on" MaskVisibilityString "on,on,on,on,on" MaskToolTipString "on,on,on,on,on" MaskVarAliasString ",,,,"
MaskInitialization "K =@1; to = @2; min = @3; max = @4; xi = @5;" MaskDisplay "disp('PI\\nlimité ')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "6|0.5e-3|-10|10|0" System { Name "Correcteur\ndouble" Location [288, 188, 523, 457] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "in_1" Position [125, 50, 145, 70] Orientation "left" } Block { BlockType Inport Name "in_2" Position [125, 110, 145, 130] Orientation "left" Port "2" } Block { BlockType SubSystem
Name "PI LIMITE"
Ports [1, 1] Position [45, 40, 95, 80] Orientation "left" ShowPortLabels off TreatAsAtomicUnit off System {
Name "PI LIMITE" Location [2, 50, 596, 335] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100"
Block { BlockType Inport Name "entrée" Position [65, 130, 85, 150] } Block { BlockType Fcn Name "Fcn" Position [205, 121, 235, 149] ShowName off
Expr "u[2]*((((u[1]>min)+(u[2]>=0))>0) * (((u" "[1]<max)+(u[2]<=0))>0))" } Block { BlockType Gain Name "Gain" Position [305, 113, 330, 157] ShowName off Gain "1/to" } Block { BlockType Gain Name "Gain1" Position [265, 160, 285, 180] ShowName off Gain "K" } Block { BlockType Gain Name "Gain2" Position [265, 125, 285, 145] ShowName off Gain "K" } Block { BlockType Integrator Name "Integrator" Ports [1, 1] Position [345, 126, 390, 144] ShowName off InitialCondition "xi" } Block { BlockType Mux Name "Mux" Ports [2, 1] Position [145, 116, 175, 149] ShowName off Inputs "2" } Block { BlockType Saturate Name "Saturation\nmin\nmax" Position [455, 141, 500, 169] UpperLimit "max" LowerLimit "min" } Block { BlockType Sum Name "Sum"
Ports [2, 1] Position [405, 115, 425, 190] ShowName off } Block { BlockType Outport Name "sortie" Position [550, 145, 570, 165] } Line { SrcBlock "Saturation\nmin\nmax" SrcPort 1 DstBlock "sortie" DstPort 1 } Line { SrcBlock "Mux" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "entrée" SrcPort 1 Points [15, 0] Branch { DstBlock "Mux" DstPort 2 } Branch { Points [15, 0; 0, 30] DstBlock "Gain1" DstPort 1 } } Line { SrcBlock "Integrator" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 DstBlock "Sum" DstPort 2 } Line { SrcBlock "Sum" SrcPort 1 Points [10, 0] Branch { DstBlock "Saturation\nmin\nmax" DstPort 1
} Branch { Points [0, -65; -320, 0; 0, 35] DstBlock "Mux" DstPort 1 } } Line { SrcBlock "Fcn" SrcPort 1 DstBlock "Gain2" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 DstBlock "Gain" DstPort 1 } Annotation {
Name "Correcteur PI avec limitation" Position [262, 202]
VerticalAlignment "top"
FontName "Times New Roman"
FontSize 16 FontWeight "bold" } } } Block { BlockType SubSystem
Name "PI LIMITE1"
Ports [1, 1] Position [45, 100, 95, 140] Orientation "left" ShowPortLabels off TreatAsAtomicUnit off System {
Name "PI LIMITE1" Location [4, 42, 628, 275] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "In_1" Position [20, 130, 40, 150] } Block { BlockType Fcn Name "Fcn" Position [145, 119, 245, 151]
Expr "u[2]*((((u[1]>min)+(u[2]>=0))>0) * (((u" "[1]<max)+(u[2]<=0))>0))"
} Block { BlockType Gain Name "Gain" Position [305, 113, 330, 157] Gain "1/to" } Block { BlockType Gain Name "Gain1" Position [265, 160, 285, 180] Gain "K" } Block { BlockType Gain Name "Gain2" Position [265, 125, 285, 145] Gain "K" } Block { BlockType Integrator Name "Integrator" Ports [1, 1] Position [345, 126, 390, 144] InitialCondition "xi" } Block { BlockType Mux Name "Mux" Ports [2, 1] Position [85, 116, 115, 149] Inputs "2" } Block { BlockType Saturate Name "Saturation" Position [455, 141, 500, 169] UpperLimit "max" LowerLimit "min" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [405, 115, 425, 190] } Block { BlockType Outport Name "Out_1" Position [550, 145, 570, 165] } Line { SrcBlock "Gain2" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Fcn" SrcPort 1
DstBlock "Gain2" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [10, 0] Branch { DstBlock "Saturation" DstPort 1 } Branch { Points [0, -65; -380, 0; 0, 35] DstBlock "Mux" DstPort 1 } } Line { SrcBlock "Gain1" SrcPort 1 DstBlock "Sum" DstPort 2 } Line { SrcBlock "Integrator" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "In_1" SrcPort 1 Points [10, 0] Branch { DstBlock "Mux" DstPort 2 } Branch { Points [0, 30] DstBlock "Gain1" DstPort 1 } } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Mux" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Saturation" SrcPort 1 DstBlock "Out_1" DstPort 1
} } } Block { BlockType Outport Name "out_1" Position [15, 50, 35, 70] Orientation "left" } Block { BlockType Outport Name "out_2" Position [15, 110, 35, 130] Orientation "left" Port "2" } Line {
SrcBlock "PI LIMITE"
SrcPort 1 DstBlock "out_1" DstPort 1 } Line { SrcBlock "in_1" SrcPort 1
DstBlock "PI LIMITE"
DstPort 1
} Line {
SrcBlock "PI LIMITE1"
SrcPort 1 DstBlock "out_2" DstPort 1 } Line { SrcBlock "in_2" SrcPort 1
DstBlock "PI LIMITE1"
DstPort 1 } } } Block { BlockType SubSystem Name "Mas_modèle dq" Ports [5, 12] Position [35, 20, 130, 150] TreatAsAtomicUnit off MaskType "MAS"
MaskDescription "Toutes les inductances sont des inductances cyc" "liques . Systême SI"
MaskPromptString "Mutuelle : M =|Inductance rotor : Lr =|Sigma*L" "s : ls =|Cste de temps rotor : tr =|Résistance stator : Rs =|Nombre de pair" "es de poles:|Moment d'inertie : J ="
MaskStyleString "edit,edit,edit,edit,edit,edit,edit" MaskTunableValueString "on,on,on,on,on,on,on" MaskCallbackString "||||||" MaskEnableString "on,on,on,on,on,on,on" MaskVisibilityString "on,on,on,on,on,on,on" MaskToolTipString "on,on,on,on,on,on,on"
MaskVarAliasString ",,,,,," MaskVariables "M=@1;Lr=@2;ls=@3;tr=@4;Rs=@5;p=@6;J=@7;" MaskIconFrame on MaskIconOpaque off MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "58e-3|23e-3|14e-3|140e-3|0.85|2|50e-3" System { Name "Mas_modèle dq" Location [14, 74, 638, 500] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "Va" Position [75, 130, 95, 150] } Block { BlockType Inport Name "Vb" Position [75, 175, 95, 195] Port "2" } Block { BlockType Inport Name "Vc" Position [75, 220, 95, 240] Port "3" } Block { BlockType Inport Name "Cr" Position [195, 240, 215, 260] Orientation "up" Port "4" } Block { BlockType Inport Name "ws" Position [20, 300, 40, 320] Port "5" } Block { BlockType SubSystem
Name "INV PARK"
Ports [3, 3] Position [390, 137, 425, 173] ShowPortLabels off TreatAsAtomicUnit off MaskDisplay "disp('PARK-1')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none"
MaskIconUnits "autoscale" System {
Name "INV PARK"
Location [4, 42, 628, 468] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "in_1" Position [175, 95, 195, 115] } Block { BlockType Inport Name "in_2" Position [140, 120, 160, 140] Port "2" } Block { BlockType Inport Name "in_3" Position [170, 170, 190, 190] Port "3" } Block { BlockType Constant Name "Composante\nhomopolaire" Position [100, 145, 120, 165] Value "0" } Block { BlockType Fcn Name "Fcn4" Position [275, 85, 315, 105] Expr "((u[1]*cos(u[4]))-(u[2]*sin(u[4]))+(u[3" "]))" } Block { BlockType Fcn Name "Fcn5" Position [275, 135, 315, 155] Expr "((u[1]*cos(u[4]-2*pi/3))-(u[2]*sin(u[4]" "-2*pi/3))+(u[3]))" } Block { BlockType Fcn Name "Fcn6" Position [275, 185, 315, 205] Expr "((u[1]*cos(u[4]-4*pi/3))-(u[2]*sin(u[4]" "-4*pi/3))+(u[3]))" } Block { BlockType Mux Name "Mux1"
Ports [4, 1] Position [225, 95, 250, 190] } Block { BlockType Outport Name "out_1" Position [340, 85, 360, 105] } Block { BlockType Outport Name "out_2" Position [345, 135, 365, 155] Port "2" } Block { BlockType Outport Name "out_3" Position [345, 185, 365, 205] Port "3" } Line { SrcBlock "Mux1" SrcPort 1 Points [0, 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 "out_1" DstPort 1 } Line { SrcBlock "in_1" SrcPort 1 DstBlock "Mux1" DstPort 1 } Line { SrcBlock "in_2" SrcPort 1 DstBlock "Mux1" DstPort 2 } Line { SrcBlock "Fcn5" SrcPort 1
DstBlock "out_2" DstPort 1 } Line { SrcBlock "in_3" SrcPort 1 DstBlock "Mux1" DstPort 4 } Line { SrcBlock "Fcn6" SrcPort 1 DstBlock "out_3" DstPort 1 } Line { SrcBlock "Composante\nhomopolaire" SrcPort 1 DstBlock "Mux1" DstPort 3 } } } Block { BlockType Integrator Name "Integrator" Ports [1, 1] Position [75, 300, 95, 320] } Block { BlockType SubSystem Name "M A S\n" Ports [4, 7] Position [220, 113, 280, 197] ShowPortLabels off TreatAsAtomicUnit off System { Name "M A S\n" Location [134, 70, 758, 496] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "ws" Position [40, 80, 60, 100] } Block { BlockType Inport Name "vds" Position [40, 130, 60, 150] Port "2" } Block {
BlockType Inport Name "vqs" Position [45, 305, 65, 325] Port "3" } Block { BlockType Inport Name "cr" Position [597, 255, 623, 275] Orientation "up" Port "4" } Block { BlockType Product Name "*1\n" Ports [2, 1] Position [185, 185, 215, 205] Orientation "left" FontName "Arial" FontSize 8 } Block { BlockType Product Name "*2" Ports [2, 1] Position [475, 145, 500, 165] FontName "Arial" FontSize 8 } Block { BlockType Product Name "*3" Ports [2, 1] Position [185, 245, 215, 265] Orientation "left" FontName "Arial" FontSize 8 } Block { BlockType Product Name "*4" Ports [2, 1] Position [100, 270, 135, 290] Orientation "down" FontName "Arial" FontSize 8 } Block { BlockType Product Name "*5" Ports [2, 1] Position [117, 165, 148, 185] Orientation "up" FontName "Arial" FontSize 8 } Block { BlockType Product Name "*6" Ports [2, 1]
Position [460, 290, 485, 310] FontName "Arial" FontSize 8 } Block { BlockType Product Name "1" Ports [2, 1] Position [429, 200, 456, 220] Orientation "down" FontName "Arial" FontSize 8 } Block { BlockType Product Name "2" Ports [2, 1] Position [434, 245, 461, 265] Orientation "up" FontName "Arial" FontSize 8 } Block { BlockType Gain Name "Gain2" Position [365, 82, 400, 108] Orientation "left" FontName "Arial" FontSize 8 Gain "M/Lr" } Block { BlockType Gain Name "Gain3" Position [370, 347, 410, 373] Orientation "left" FontName "Arial" FontSize 8 Gain "M/Lr" } Block { BlockType Gain Name "Gain6" Position [555, 206, 600, 244] FontName "Arial" FontSize 8 Gain "3*M/Lr" } Block { BlockType Sum Name "Sum" Ports [4, 1] Position [180, 122, 200, 168] FontName "Arial" FontSize 8 Inputs "-+++" } Block { BlockType Sum Name "Sum1"
Ports [4, 1] Position [185, 287, 205, 333] FontName "Arial" FontSize 8 Inputs "--+-" } Block { BlockType Sum Name "Sum2" Ports [2, 1] Position [345, 140, 365, 160] FontName "Arial" FontSize 8 } Block { BlockType Sum Name "Sum3" Ports [2, 1] Position [350, 295, 370, 315] FontName "Arial" FontSize 8 Inputs "-+" } Block { BlockType Sum Name "Sum4" Ports [2, 1] Position [520, 215, 540, 235] FontName "Arial" FontSize 8 Inputs "+-" } Block { BlockType Sum Name "Sum5" Ports [2, 1] Position [625, 220, 645, 240] FontName "Arial" FontSize 8 Inputs "+-" } Block { BlockType Sum Name "Sum6" Ports [2, 1] Position [495, 355, 515, 375] Orientation "left" FontName "Arial" FontSize 8 Inputs "-+" } Block { BlockType Derivative Name "d" Position [265, 85, 295, 105] Orientation "left" FontName "Arial" FontSize 8 } Block {
BlockType Derivative Name "d1" Position [290, 350, 320, 370] Orientation "left" FontName "Arial" FontSize 8 } Block { BlockType TransferFcn Name "h" Position [215, 125, 270, 165] FontName "Arial" FontSize 8 Denominator "[ls Rs]" } Block { BlockType TransferFcn Name "h1" Position [215, 293, 265, 327] FontName "Arial" FontSize 8 Denominator "[ls Rs]" } Block { BlockType TransferFcn Name "h2" Position [385, 132, 420, 168] FontName "Arial" FontSize 8 Denominator "[tr 1]" } Block { BlockType TransferFcn Name "h3" Position [385, 287, 420, 323] FontName "Arial" FontSize 8 Denominator "[tr 1]" } Block { BlockType TransferFcn Name "h4" Position [665, 210, 720, 250] FontName "Arial" FontSize 8 Denominator "[J 0]" } Block { BlockType Gain Name "k" Position [305, 135, 325, 155] FontName "Arial" FontSize 8 Gain "M" } Block { BlockType Gain Name "k1" Position [305, 300, 325, 320] FontName "Arial"
FontSize 8 Gain "M" } Block { BlockType Gain Name "k4" Position [320, 195, 340, 215] Orientation "up" FontName "Arial" FontSize 8 Gain "tr" } Block { BlockType Gain Name "k5" Position [323, 260, 347, 275] Orientation "down" FontName "Arial" FontSize 8 Gain "tr" } Block { BlockType Gain Name "k6" Position [235, 180, 255, 200] Orientation "left" FontName "Arial" FontSize 8 Gain "ls" } Block { BlockType Gain Name "k7\n" Position [235, 250, 255, 270] Orientation "left" FontName "Arial" FontSize 8 Gain "ls" } Block { BlockType Gain Name "k8\n\n" Position [545, 350, 565, 370] Orientation "left" FontName "Arial" FontSize 8 Gain "p" } Block { BlockType Outport Name "fdr" Position [450, 35, 470, 55] } Block { BlockType Outport Name "fqr" Position [560, 35, 580, 55] Port "2" } Block {
BlockType Outport Name "ids" Position [610, 85, 630, 105] Port "3" } Block { BlockType Outport Name "iqs" Position [610, 125, 630, 145] Port "4" } Block { BlockType Outport Name "wr" Position [615, 300, 635, 320] Port "5" } Block { BlockType Outport Name "ce" Position [640, 170, 660, 190] Port "6" } Block { BlockType Outport Name "w" Position [735, 220, 755, 240] Port "7" } Line { SrcBlock "h4" SrcPort 1 Points [0, 0] Branch { Points [0, 130] DstBlock "k8\n\n" DstPort 1 } Branch { DstBlock "w" DstPort 1 } } Line { SrcBlock "cr" SrcPort 1 DstBlock "Sum5" DstPort 2 } Line { SrcBlock "Sum5" SrcPort 1 DstBlock "h4" DstPort 1 } Line { SrcBlock "h1" SrcPort 1 Points [10, 0] Branch {
DstBlock "k1" DstPort 1 } Branch { Points [0, -50] Branch { Points [0, -85; 165, 0] Branch { Points [15, 0] DstBlock "*2" DstPort 2 } Branch { Points [0, -40] DstBlock "iqs" DstPort 1 } } Branch { DstBlock "k7\n" DstPort 1 } } } Line { SrcBlock "Sum6" SrcPort 1 Points [0, -55] Branch { DstBlock "wr" DstPort 1 } Branch { Points [0, -30] Branch { Points [0, -95] DstBlock "1" DstPort 2 } Branch { DstBlock "2" DstPort 2 } } } Line { SrcBlock "h3" SrcPort 1 Points [15, 0] Branch { DstBlock "*6" DstPort 2 } Branch { Points [0, 30] Branch { Points [0, 25] DstBlock "Gain3" DstPort 1 }
Branch { Points [105, 0] DstBlock "fqr" DstPort 1 } } Branch { DstBlock "2" DstPort 1 } } Line { SrcBlock "h2" SrcPort 1 Points [10, 0] Branch { DstBlock "*2" DstPort 1 } Branch { Points [0, -55] Branch { DstBlock "Gain2" DstPort 1 } Branch { DstBlock "fdr" DstPort 1 } } Branch { DstBlock "1" DstPort 1 } } Line { SrcBlock "k8\n\n" SrcPort 1 DstBlock "Sum6" DstPort 1 } Line { SrcBlock "Sum4" SrcPort 1 DstBlock "Gain6" DstPort 1 } Line { SrcBlock "Gain3" SrcPort 1 Points [-20, 0] Branch { DstBlock "d1" DstPort 1 } Branch { Points [0, 35; -205, 0] DstBlock "*5" DstPort 2 }
} Line { SrcBlock "ws" SrcPort 1 Points [15, 0; 0, 135] Branch { Points [0, 190; 450, 0] DstBlock "Sum6" DstPort 2 } Branch { Points [45, 0] Branch { DstBlock "*4" DstPort 2 } Branch { DstBlock "*5" DstPort 1 } Branch { Points [105, 0] Branch { DstBlock "*1\n" DstPort 2 } Branch { DstBlock "*3" DstPort 1 } } } } Line { SrcBlock "*4" SrcPort 1 Points [0, 10] DstBlock "Sum1" DstPort 2 } Line { SrcBlock "Gain2" SrcPort 1 Points [-25, 0] Branch { DstBlock "d" DstPort 1 } Branch { Points [0, -25; -225, 0] DstBlock "*4" DstPort 1 } } Line { SrcBlock "*5" SrcPort 1 Points [0, -10] DstBlock "Sum" DstPort 3
} Line { SrcBlock "*6" SrcPort 1 Points [15, 0] DstBlock "Sum4" DstPort 2 } Line { SrcBlock "*2" SrcPort 1 DstBlock "Sum4" DstPort 1 } Line { SrcBlock "*1\n" SrcPort 1 Points [-10, 0] DstBlock "Sum1" DstPort 1 } Line { SrcBlock "k7\n" SrcPort 1 DstBlock "*3" DstPort 2 } Line { SrcBlock "k6" SrcPort 1 DstBlock "*1\n" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "h" DstPort 1 } Line { SrcBlock "k" SrcPort 1 DstBlock "Sum2" DstPort 1 } Line { SrcBlock "Sum2" SrcPort 1 DstBlock "h2" DstPort 1 } Line { SrcBlock "d" SrcPort 1 Points [-110, 0; 0, 35] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum1"
SrcPort 1 DstBlock "h1" DstPort 1 } Line { SrcBlock "k1" SrcPort 1 DstBlock "Sum3" DstPort 2 } Line { SrcBlock "Sum3" SrcPort 1 DstBlock "h3" DstPort 1 } Line { SrcBlock "d1" SrcPort 1 Points [-115, 0] DstBlock "Sum1" DstPort 4 } Line { SrcBlock "k4" SrcPort 1 DstBlock "Sum2" DstPort 2 } Line { SrcBlock "k5" SrcPort 1 DstBlock "Sum3" DstPort 1 } Line { SrcBlock "1" SrcPort 1 Points [-110, 0] DstBlock "k5" DstPort 1 } Line { SrcBlock "2" SrcPort 1 Points [-120, 0] DstBlock "k4" DstPort 1 } Line { SrcBlock "*3" SrcPort 1 Points [-25, 0; 0, -95] DstBlock "Sum" DstPort 4 } Line { SrcBlock "h" SrcPort 1 Points [0, 0]
Branch { Points [10, 0] Branch { DstBlock "k" DstPort 1 } Branch { Points [0, -25; 225, 0; 0, -25] DstBlock "ids" DstPort 1 } } Branch { Points [10, 0; 0, 45] Branch { Points [0, 90; 140, 0; 0, 15] DstBlock "*6" DstPort 1 } Branch { DstBlock "k6" DstPort 1 } } } Line { SrcBlock "Gain6" SrcPort 1 Points [0, 0] Branch { Points [0, -45] DstBlock "ce" DstPort 1 } Branch { DstBlock "Sum5" DstPort 1 } } Line { SrcBlock "vqs" SrcPort 1 DstBlock "Sum1" DstPort 3 } Line { SrcBlock "vds" SrcPort 1 DstBlock "Sum" DstPort 2 } } } Block { BlockType SubSystem Name "PARK" Ports [4, 3] Position [140, 135, 180, 190] ShowPortLabels off TreatAsAtomicUnit off
MaskDisplay "disp('PARK')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "PARK" Location [144, 117, 324, 317] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "in_1" Position [15, 80, 35, 100] } Block { BlockType Inport Name "in_2" Position [15, 90, 35, 110] Port "2" } Block { BlockType Inport Name "in_3" Position [15, 100, 35, 120] Port "3" } Block { BlockType Inport Name "in_4" Position [15, 110, 35, 130] Port "4" } Block { BlockType Fcn Name "Fcn" Position [105, 55, 145, 75] Expr "(2/3)*((u[1]*cos(u[4]))+(u[2]*cos(u[4]-" "2*pi/3))+(u[3]*cos(u[4]-4*pi/3)))" } Block { BlockType Fcn Name "Fcn2" Position [105, 95, 145, 115] Expr "(-2/3)*((u[1]*sin(u[4]))+(u[2]*sin(u[4]" "-2*pi/3))+(u[3]*sin(u[4]-4*pi/3)))" } Block { BlockType Fcn Name "Fcn3" Position [105, 140, 145, 160] Expr "(1/3)*(u[1]+u[2]+u[3])" }
Block { BlockType Mux Name "Mux" Ports [4, 1] Position [45, 82, 75, 128] } Block { BlockType Outport Name "out_1" Position [165, 55, 185, 75] } Block { BlockType Outport Name "out_2" Position [165, 95, 185, 115] Port "2" } Block { BlockType Outport Name "out_3" Position [165, 140, 185, 160] Port "3" } Line { SrcBlock "Mux" SrcPort 1 Points [0, 0] Branch { Points [0, -40] DstBlock "Fcn" DstPort 1 } Branch { Points [0, 45] DstBlock "Fcn3" DstPort 1 } Branch { DstBlock "Fcn2" DstPort 1 } } Line { SrcBlock "Fcn" SrcPort 1 DstBlock "out_1" DstPort 1 } Line { SrcBlock "in_1" SrcPort 1 DstBlock "Mux" DstPort 1 } Line { SrcBlock "in_2" SrcPort 1 DstBlock "Mux" DstPort 2 }
Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "out_2" DstPort 1 } Line { SrcBlock "in_3" SrcPort 1 DstBlock "Mux" DstPort 3 } Line { SrcBlock "in_4" SrcPort 1 DstBlock "Mux" DstPort 4 } Line { SrcBlock "Fcn3" SrcPort 1 DstBlock "out_3" DstPort 1 } } } Block { BlockType Outport Name "Vds\n" Position [130, 40, 150, 60] Orientation "left" } Block { BlockType Outport Name "Vqs" Position [220, 40, 240, 60] Port "2" } Block { BlockType Outport Name "Fdr" Position [275, 30, 295, 50] Orientation "up" Port "3" } Block { BlockType Outport Name "Fqr" Position [300, 95, 320, 115] Orientation "up" Port "4" } Block { BlockType Outport Name "wr" Position [325, 155, 345, 175] Port "5" } Block { BlockType Outport
Name "Ce" Position [300, 200, 320, 220] Orientation "down" Port "6" } Block { BlockType Outport Name "W" Position [275, 245, 295, 265] Orientation "down" Port "7" } Block { BlockType Outport Name "Ia" Position [445, 60, 465, 80] Orientation "up" Port "8" } Block { BlockType Outport Name "Ib" Position [475, 145, 495, 165] Port "9" } Block { BlockType Outport Name "Ic" Position [445, 235, 465, 255] Orientation "down" Port "10" } Block { BlockType Outport Name "Ids" Position [330, 30, 350, 50] Orientation "up" Port "11" } Block { BlockType Outport Name "Iqs" Position [385, 30, 405, 50] Orientation "up" Port "12" } Line { SrcBlock "ws" SrcPort 1 Points [15, 0] Branch { DstBlock "Integrator" DstPort 1 } Branch { Points [0, -185] DstBlock "M A S\n" DstPort 1 } }
Line { SrcBlock "Integrator" SrcPort 1 Points [25, 0] Branch { Points [250, 0]
DstBlock "INV PARK"
DstPort 3 } Branch { DstBlock "PARK" DstPort 4 } } Line { SrcBlock "M A S\n" SrcPort 1 DstBlock "Fdr" DstPort 1 } Line { SrcBlock "M A S\n" SrcPort 5 DstBlock "wr" DstPort 1 } Line { SrcBlock "M A S\n" SrcPort 7 DstBlock "W" DstPort 1 } Line { SrcBlock "Va" SrcPort 1 DstBlock "PARK" DstPort 1 } Line { SrcBlock "Cr" SrcPort 1 DstBlock "M A S\n" DstPort 4 } Line { SrcBlock "Vb" SrcPort 1 Points [5, 0; 0, -30] DstBlock "PARK" DstPort 2 } Line { SrcBlock "Vc" SrcPort 1 Points [15, 0; 0, -60] DstBlock "PARK" DstPort 3 } Line { SrcBlock "M A S\n"
SrcPort 2 Points [25, 0] DstBlock "Fqr" DstPort 1 } Line { SrcBlock "M A S\n" SrcPort 6 Points [25, 0] DstBlock "Ce" DstPort 1 } Line {
SrcBlock "INV PARK"
SrcPort 1 Points [25, 0] DstBlock "Ia" DstPort 1 } Line {
SrcBlock "INV PARK"
SrcPort 2
DstBlock "Ib"
DstPort 1
} Line {
SrcBlock "INV PARK"
SrcPort 3 Points [25, 0] DstBlock "Ic" DstPort 1 } Line { SrcBlock "M A S\n" SrcPort 3 Points [55, 0] Branch {
DstBlock "INV PARK"
DstPort 1 } Branch { DstBlock "Ids" DstPort 1 } } Line { SrcBlock "PARK" SrcPort 1 Points [0, 0] Branch { DstBlock "M A S\n" DstPort 2 } Branch { Points [0, -95] DstBlock "Vds\n" DstPort 1 } } Line {