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 "%
" LastModifiedBy "ucc" ModifiedDateFormat "%" LastModifiedDate "Sun May 13 23:47:15 2007" ModelVersionFormat "1.%" 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 { BlockType Derivative
} 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 SineType "Time based"
Amplitude Bias Frequency Phase Samples Offset SampleTime VectorParams1D
"1" "0" "1" "0" "10" "0" "-1" 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 VerticalAlignment ForegroundColor BackgroundColor DropShadow FontName FontSize FontWeight FontAngle } LineDefaults { FontName FontSize FontWeight FontAngle } System { Name
"center" "middle" "black" "white" off "Helvetica" 10 "normal" "normal" "Helvetica" 9 "normal" "normal" "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 Port
[165, 240, 185, 260] "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 Name "Look Up Table"
Position InputValues OutputValues
[210, 58, 250, 82] "t" "y"
} Block { BlockType Name Position } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } } } Block { BlockType Name Position } Block { BlockType Name Position } Block { BlockType Name Position } Block { BlockType Name Ports Position Inputs } Block { BlockType Name Ports Position Inputs } Block { BlockType
Outport "out_1" [285, 60, 305, 80] "Look Up Table" 1 "out_1" 1 "Clock" 1 "Fcn1" 1 "Fcn1" 1 "Look Up Table" 1
Relay "Relay" [340, 129, 365, 151] Relay "Relay1" [340, 180, 365, 200] Relay "Relay2" [340, 235, 365, 255] Sum "Sum3" [2, 1] [265, 130, 285, 150] "-+" Sum "Sum4" [2, 1] [265, 180, 285, 200] "-+" Sum
Name Ports Position Inputs } Block { BlockType Name Position } Block { BlockType Name Position Port } Block { BlockType Name Position Port } Block { BlockType Name Position Port } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock
"Sum5" [2, 1] [265, 235, 285, 255] "-+" Outport "fca" [420, 130, 440, 150] Outport "fcb" [425, 180, 445, 200] "2" Outport "fcc" [425, 235, 445, 255] "3" Outport "U porteuse" [430, 300, 450, 320] "4" "Sum5" 1 "Relay2" 1 "Sum4" 1 "Relay1" 1 "Sum3" 1 "Relay" 1 "Relay" 1 "fca" 1 "mod a" 1 "Sum3" 2 "mod b"
SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock "de Umaxp" SrcPort Points Branch { DstBlock DstPort } Branch { Points Branch { DstBlock DstPort } Branch { Points Branch { DstBlock DstPort } Branch { Points DstBlock DstPort } } } } Annotation { Name Position VerticalAlignment FontName FontSize FontWeight } }
1 "Sum4" 2 "Relay1" 1 "fcb" 1 "mod c\n" 1 "Sum5" 2 "Relay2" 1 "fcc" 1 "Porteuse triangulaire\nFréquence f\nAmplitu" 1 [0, 25] "Sum3" 1 [0, 50] "Sum4" 1 [0, 55] "Sum5" 1 [0, 70] "U porteuse" 1
"Commande MLI" [352, 337] "top" "Times New Roman" 16 "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 Name Position Frequency Phase } Block { BlockType Name Position } Block { BlockType Name Position Port } Block { BlockType Name Position Port } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort
Sin "Sine Wave2" [75, 165, 95, 185] "2*pi*f" "2*pi/3" Outport "fca" [200, 75, 220, 95] Outport "fcb" [200, 115, 220, 135] "2" Outport "fcc" [205, 165, 225, 185] "3" "Sine Wave" 1 "Relay1" 1 "Relay1" 1 "fca" 1 "Relay3" 1 "fcc" 1 "Sine Wave2" 1 "Relay3" 1 "Sine Wave1" 1 "Relay2" 1 "Relay2" 1 "fcb" 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 Name Position OnSwitchValue OffSwitchValue OffOutputValue } Block { BlockType Name Position OnSwitchValue OffSwitchValue OffOutputValue } Block { BlockType Name Position } Block { BlockType Name Position Port } Block { BlockType Name Position Port } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort
Relay "Relay1" [110, 90, 140, 110] "di" "-di" "-1" Relay "Relay2" [110, 135, 140, 155] "di" "-di" "-1" Outport "fca" [175, 50, 195, 70] Outport "fcb" [175, 90, 195, 110] "2" Outport "fcc" [175, 135, 195, 155] "3" "Relay" 1 "fca" 1 "Er_a" 1 "Relay" 1 "Er_b" 1 "Relay1" 1 "Relay1" 1 "fcb" 1 "Relay2" 1
DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Annotation { Name Position VerticalAlignment FontName FontSize FontWeight }
"fcc" 1 "Er_c" 1 "Relay2" 1 "Correction par hytérésis" [142, 197] "top" "Times New Roman" 16 "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 Name Position Port } Block { BlockType Name Position Expr } Block { BlockType Name Position Expr } Block { BlockType Name Position Expr } Block { BlockType Name Position ShowName Expr } Block { BlockType Name Ports Position Inputs } Block { BlockType Name Position } Block { BlockType Name Position Port } Block { BlockType Name Position Port } Line { SrcBlock SrcPort Points Branch {
Inport "téta_s" [155, 155, 175, 175] "2" Fcn "Fcn4" [275, 85, 315, 105] "u[1]*cos(u[2])" Fcn "Fcn5" [275, 135, 315, 155] "u[1]*cos(u[2]-2*pi/3)" Fcn "Fcn6" [275, 185, 315, 205] "u[1]*cos(u[2]+2*pi/3)" Fcn "Fcn7" [135, 110, 175, 130] off "Im*sqrt(1+(tr*u[1])^2)" Mux "Mux1" [2, 1] [215, 95, 240, 190] "2" Outport "ia_cons" [350, 88, 380, 102] Outport "ib_cons" [345, 135, 365, 155] "2" Outport "ic_cons" [345, 185, 365, 205] "3" "Mux1" 1 [10, 0]
DstBlock DstPort } Branch { Points DstBlock DstPort } Branch { Points DstBlock DstPort } } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } } } Block { BlockType Name "es consignes\n" Ports Position ForegroundColor TreatAsAtomicUnit
"Fcn5" 1 [0, -50] "Fcn4" 1 [0, 50] "Fcn6" 1
"Fcn4" 1 "ia_cons" 1 "téta_s" 1 "Mux1" 2 "Fcn5" 1 "ib_cons" 1 "Fcn6" 1 "ic_cons" 1 "Fcn7" 1 "Mux1" 1 "wr" 1 "Fcn7" 1
SubSystem "Commande vectorielle\nsimplifiée\nElaboration d" [2, 3] [610, 259, 685, 381] "green" 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 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 Position ShowName Expr } Block { BlockType Name Position ShowName Expr } Block { BlockType Name Ports Position Inputs } Block { BlockType Name Position } Block { BlockType Name Position Port } Block { BlockType Name Position Port } Line { SrcBlock SrcPort Points Branch { DstBlock DstPort } Branch { Points DstBlock DstPort } Branch { Points DstBlock DstPort } } Line { SrcBlock SrcPort DstBlock DstPort
"Fcn7" [135, 105, 175, 125] off "Im*sqrt(1+(tr*u[1])^2)" Fcn "Fcn8" [125, 175, 165, 195] off "atan(tr*u[1])" Mux "Mux1" [3, 1] [215, 97, 240, 193] "3" Outport "ia_cons" [350, 88, 380, 102] Outport "ib_cons" [345, 135, 365, 155] "2" Outport "ic_cons" [345, 185, 365, 205] "3" "Mux1" 1 [10, 0] "Fcn5" 1 [0, -50] "Fcn4" 1 [0, 50] "Fcn6" 1
"Fcn4" 1 "ia_cons" 1
} Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort Points Branch { DstBlock DstPort } Branch { Points DstBlock DstPort } } Line { SrcBlock SrcPort Points DstBlock DstPort }
"téta_s" 1 "Mux1" 2 "Fcn5" 1 "ib_cons" 1 "Fcn6" 1 "ic_cons" 1 "Fcn7" 1 "Mux1" 1 "wr" 1 [15, 0] "Fcn7" 1 [0, 75; 15, 0] "Fcn8" 1
"Fcn8" 1 [30, 0] "Mux1" 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 Name Position } Block { BlockType Name Position ShowName Expr "[1]0))" } Block { BlockType Name Position ShowName Gain } Block { BlockType Name Position ShowName Gain } Block { BlockType Name Position ShowName Gain } Block { BlockType Name Ports Position ShowName InitialCondition } Block { BlockType Name Ports Position ShowName Inputs } Block { BlockType Name Position UpperLimit LowerLimit } Block { BlockType Name
Inport "entrée" [65, 130, 85, 150] Fcn "Fcn" [205, 121, 235, 149] off "u[2]*((((u[1]>min)+(u[2]>=0))>0) * (((u"
Gain "Gain" [305, 113, 330, 157] off "1/to" Gain "Gain1" [265, 160, 285, 180] off "K" Gain "Gain2" [265, 125, 285, 145] off "K" Integrator "Integrator" [1, 1] [345, 126, 390, 144] off "xi" Mux "Mux" [2, 1] [145, 116, 175, 149] off "2" Saturate "Saturation\nmin\nmax" [455, 141, 500, 169] "max" "min" Sum "Sum"
Ports Position ShowName } Block { BlockType Name Position } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort Points Branch { DstBlock DstPort } Branch { Points DstBlock DstPort } } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort Points Branch { DstBlock DstPort
[2, 1] [405, 115, 425, 190] off Outport "sortie" [550, 145, 570, 165] "Saturation\nmin\nmax" 1 "sortie" 1 "Mux" 1 "Fcn" 1 "Gain" 1 "Integrator" 1 "entrée" 1 [15, 0] "Mux" 2 [15, 0; 0, 30] "Gain1" 1
"Integrator" 1 "Sum" 1 "Gain1" 1 "Sum" 2 "Sum" 1 [10, 0] "Saturation\nmin\nmax" 1
} Branch { Points DstBlock DstPort } } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Annotation { Name Position VerticalAlignment FontName FontSize FontWeight }
[0, -65; -320, 0; 0, 35] "Mux" 1
"Fcn" 1 "Gain2" 1 "Gain2" 1 "Gain" 1 "Correcteur PI avec limitation" [262, 202] "top" "Times New Roman" 16 "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]0))"
} Block { BlockType Name Position Gain } Block { BlockType Name Position Gain } Block { BlockType Name Position Gain } Block { BlockType Name Ports Position InitialCondition } Block { BlockType Name Ports Position Inputs } Block { BlockType Name Position UpperLimit LowerLimit } Block { BlockType Name Ports Position } Block { BlockType Name Position } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort
Gain "Gain" [305, 113, 330, 157] "1/to" Gain "Gain1" [265, 160, 285, 180] "K" Gain "Gain2" [265, 125, 285, 145] "K" Integrator "Integrator" [1, 1] [345, 126, 390, 144] "xi" Mux "Mux" [2, 1] [85, 116, 115, 149] "2" Saturate "Saturation" [455, 141, 500, 169] "max" "min" Sum "Sum" [2, 1] [405, 115, 425, 190] Outport "Out_1" [550, 145, 570, 165] "Gain2" 1 "Gain" 1 "Fcn" 1
DstBlock DstPort } Line { SrcBlock SrcPort Points Branch { DstBlock DstPort } Branch { Points DstBlock DstPort } } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort Points Branch { DstBlock DstPort } Branch { Points DstBlock DstPort } } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort
"Gain2" 1 "Sum" 1 [10, 0] "Saturation" 1 [0, -65; -380, 0; 0, 35] "Mux" 1
"Gain1" 1 "Sum" 2 "Integrator" 1 "Sum" 1 "In_1" 1 [10, 0] "Mux" 2 [0, 30] "Gain1" 1
"Gain" 1 "Integrator" 1 "Mux" 1 "Fcn" 1 "Saturation" 1 "Out_1" 1
} } } Block { BlockType Name Position Orientation } Block { BlockType Name Position Orientation Port } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort }
Outport "out_1" [15, 50, 35, 70] "left" Outport "out_2" [15, 110, 35, 130] "left" "2" "PI LIMITE" 1 "out_1" 1 "in_1" 1 "PI LIMITE" 1 "PI LIMITE1" 1 "out_2" 1 "in_2" 1 "PI LIMITE1" 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 Name Position Expr "-2*pi/3))+(u[3]))" } Block { BlockType Name Position Expr "-4*pi/3))+(u[3]))" } Block { BlockType Name
Fcn "Fcn5" [275, 135, 315, 155] "((u[1]*cos(u[4]-2*pi/3))-(u[2]*sin(u[4]"
Fcn "Fcn6" [275, 185, 315, 205] "((u[1]*cos(u[4]-4*pi/3))-(u[2]*sin(u[4]"
Mux "Mux1"
Ports Position } Block { BlockType Name Position } Block { BlockType Name Position Port } Block { BlockType Name Position Port } Line { SrcBlock SrcPort Points Branch { DstBlock DstPort } Branch { Points DstBlock DstPort } Branch { Points DstBlock DstPort } } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort
[4, 1] [225, 95, 250, 190] Outport "out_1" [340, 85, 360, 105] Outport "out_2" [345, 135, 365, 155] "2" Outport "out_3" [345, 185, 365, 205] "3" "Mux1" 1 [0, 0] "Fcn5" 1 [0, -50] "Fcn4" 1 [0, 50] "Fcn6" 1
"Fcn4" 1 "out_1" 1 "in_1" 1 "Mux1" 1 "in_2" 1 "Mux1" 2 "Fcn5" 1
DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort }
"out_2" 1 "in_3" 1 "Mux1" 4 "Fcn6" 1 "out_3" 1 "Composante\nhomopolaire" 1 "Mux1" 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 Name Position Port } Block { BlockType Name Position Orientation Port } Block { BlockType Name Ports Position Orientation FontName FontSize } Block { BlockType Name Ports Position FontName FontSize } Block { BlockType Name Ports Position Orientation FontName FontSize } Block { BlockType Name Ports Position Orientation FontName FontSize } Block { BlockType Name Ports Position Orientation FontName FontSize } Block { BlockType Name Ports
Inport "vqs" [45, 305, 65, 325] "3" Inport "cr" [597, 255, 623, 275] "up" "4" Product "*1\n" [2, 1] [185, 185, 215, 205] "left" "Arial" 8 Product "*2" [2, 1] [475, 145, 500, 165] "Arial" 8 Product "*3" [2, 1] [185, 245, 215, 265] "left" "Arial" 8 Product "*4" [2, 1] [100, 270, 135, 290] "down" "Arial" 8 Product "*5" [2, 1] [117, 165, 148, 185] "up" "Arial" 8 Product "*6" [2, 1]
Position FontName FontSize } Block { BlockType Name Ports Position Orientation FontName FontSize } Block { BlockType Name Ports Position Orientation FontName FontSize } Block { BlockType Name Position Orientation FontName FontSize Gain } Block { BlockType Name Position Orientation FontName FontSize Gain } Block { BlockType Name Position FontName FontSize Gain } Block { BlockType Name Ports Position FontName FontSize Inputs } Block { BlockType Name
[460, 290, 485, 310] "Arial" 8 Product "1" [2, 1] [429, 200, 456, 220] "down" "Arial" 8 Product "2" [2, 1] [434, 245, 461, 265] "up" "Arial" 8 Gain "Gain2" [365, 82, 400, 108] "left" "Arial" 8 "M/Lr" Gain "Gain3" [370, 347, 410, 373] "left" "Arial" 8 "M/Lr" Gain "Gain6" [555, 206, 600, 244] "Arial" 8 "3*M/Lr" Sum "Sum" [4, 1] [180, 122, 200, 168] "Arial" 8 "-+++" Sum "Sum1"
Ports Position FontName FontSize Inputs } Block { BlockType Name Ports Position FontName FontSize } Block { BlockType Name Ports Position FontName FontSize Inputs } Block { BlockType Name Ports Position FontName FontSize Inputs } Block { BlockType Name Ports Position FontName FontSize Inputs } Block { BlockType Name Ports Position Orientation FontName FontSize Inputs } Block { BlockType Name Position Orientation FontName FontSize } Block {
[4, 1] [185, 287, 205, 333] "Arial" 8 "--+-" Sum "Sum2" [2, 1] [345, 140, 365, 160] "Arial" 8 Sum "Sum3" [2, 1] [350, 295, 370, 315] "Arial" 8 "-+" Sum "Sum4" [2, 1] [520, 215, 540, 235] "Arial" 8 "+-" Sum "Sum5" [2, 1] [625, 220, 645, 240] "Arial" 8 "+-" Sum "Sum6" [2, 1] [495, 355, 515, 375] "left" "Arial" 8 "-+" Derivative "d" [265, 85, 295, 105] "left" "Arial" 8
BlockType Name Position Orientation FontName FontSize } Block { BlockType Name Position FontName FontSize Denominator } Block { BlockType Name Position FontName FontSize Denominator } Block { BlockType Name Position FontName FontSize Denominator } Block { BlockType Name Position FontName FontSize Denominator } Block { BlockType Name Position FontName FontSize Denominator } Block { BlockType Name Position FontName FontSize Gain } Block { BlockType Name Position FontName
Derivative "d1" [290, 350, 320, 370] "left" "Arial" 8 TransferFcn "h" [215, 125, 270, 165] "Arial" 8 "[ls Rs]" TransferFcn "h1" [215, 293, 265, 327] "Arial" 8 "[ls Rs]" TransferFcn "h2" [385, 132, 420, 168] "Arial" 8 "[tr 1]" TransferFcn "h3" [385, 287, 420, 323] "Arial" 8 "[tr 1]" TransferFcn "h4" [665, 210, 720, 250] "Arial" 8 "[J 0]" Gain "k" [305, 135, 325, 155] "Arial" 8 "M" Gain "k1" [305, 300, 325, 320] "Arial"
FontSize Gain } Block { BlockType Name Position Orientation FontName FontSize Gain } Block { BlockType Name Position Orientation FontName FontSize Gain } Block { BlockType Name Position Orientation FontName FontSize Gain } Block { BlockType Name Position Orientation FontName FontSize Gain } Block { BlockType Name Position Orientation FontName FontSize Gain } Block { BlockType Name Position } Block { BlockType Name Position Port } Block {
8 "M" Gain "k4" [320, 195, 340, 215] "up" "Arial" 8 "tr" Gain "k5" [323, 260, 347, 275] "down" "Arial" 8 "tr" Gain "k6" [235, 180, 255, 200] "left" "Arial" 8 "ls" Gain "k7\n" [235, 250, 255, 270] "left" "Arial" 8 "ls" Gain "k8\n\n" [545, 350, 565, 370] "left" "Arial" 8 "p" Outport "fdr" [450, 35, 470, 55] Outport "fqr" [560, 35, 580, 55] "2"
BlockType Name Position Port } Block { BlockType Name Position Port } Block { BlockType Name Position Port } Block { BlockType Name Position Port } Block { BlockType Name Position Port } Line { SrcBlock SrcPort Points Branch { Points DstBlock DstPort } Branch { DstBlock DstPort } } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort Points Branch {
Outport "ids" [610, 85, 630, 105] "3" Outport "iqs" [610, 125, 630, 145] "4" Outport "wr" [615, 300, 635, 320] "5" Outport "ce" [640, 170, 660, 190] "6" Outport "w" [735, 220, 755, 240] "7" "h4" 1 [0, 0] [0, 130] "k8\n\n" 1 "w" 1
"cr" 1 "Sum5" 2 "Sum5" 1 "h4" 1 "h1" 1 [10, 0]
DstBlock DstPort } Branch { Points Branch { Points Branch { Points DstBlock DstPort } Branch { Points DstBlock DstPort } } Branch { DstBlock DstPort } } } Line { SrcBlock SrcPort Points Branch { DstBlock DstPort } Branch { Points Branch { Points DstBlock DstPort } Branch { DstBlock DstPort } } } Line { SrcBlock SrcPort Points Branch { DstBlock DstPort } Branch { Points Branch { Points DstBlock DstPort }
"k1" 1 [0, -50] [0, -85; 165, 0] [15, 0] "*2" 2 [0, -40] "iqs" 1
"k7\n" 1
"Sum6" 1 [0, -55] "wr" 1 [0, -30] [0, -95] "1" 2 "2" 2
"h3" 1 [15, 0] "*6" 2 [0, 30] [0, 25] "Gain3" 1
Branch { Points DstBlock DstPort } } Branch { DstBlock DstPort } } Line { SrcBlock SrcPort Points Branch { DstBlock DstPort } Branch { Points Branch { DstBlock DstPort } Branch { DstBlock DstPort } } Branch { DstBlock DstPort } } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort Points Branch { DstBlock DstPort } Branch { Points DstBlock DstPort }
[105, 0] "fqr" 1
"2" 1
"h2" 1 [10, 0] "*2" 1 [0, -55] "Gain2" 1 "fdr" 1
"1" 1
"k8\n\n" 1 "Sum6" 1 "Sum4" 1 "Gain6" 1 "Gain3" 1 [-20, 0] "d1" 1 [0, 35; -205, 0] "*5" 2
} Line { SrcBlock SrcPort Points Branch { Points DstBlock DstPort } Branch { Points Branch { DstBlock DstPort } Branch { DstBlock DstPort } Branch { Points Branch { DstBlock DstPort } Branch { DstBlock DstPort } } } } Line { SrcBlock SrcPort Points DstBlock DstPort } Line { SrcBlock SrcPort Points Branch { DstBlock DstPort } Branch { Points DstBlock DstPort } } Line { SrcBlock SrcPort Points DstBlock DstPort
"ws" 1 [15, 0; 0, 135] [0, 190; 450, 0] "Sum6" 2 [45, 0] "*4" 2 "*5" 1 [105, 0] "*1\n" 2 "*3" 1
"*4" 1 [0, 10] "Sum1" 2 "Gain2" 1 [-25, 0] "d" 1 [0, -25; -225, 0] "*4" 1
"*5" 1 [0, -10] "Sum" 3
} Line { SrcBlock SrcPort Points DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort Points DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort Points DstBlock DstPort } Line { SrcBlock
"*6" 1 [15, 0] "Sum4" 2 "*2" 1 "Sum4" 1 "*1\n" 1 [-10, 0] "Sum1" 1 "k7\n" 1 "*3" 2 "k6" 1 "*1\n" 1 "Sum" 1 "h" 1 "k" 1 "Sum2" 1 "Sum2" 1 "h2" 1 "d" 1 [-110, 0; 0, 35] "Sum" 1 "Sum1"
SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort Points DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort Points DstBlock DstPort } Line { SrcBlock SrcPort Points DstBlock DstPort } Line { SrcBlock SrcPort Points DstBlock DstPort } Line { SrcBlock SrcPort Points
1 "h1" 1 "k1" 1 "Sum3" 2 "Sum3" 1 "h3" 1 "d1" 1 [-115, 0] "Sum1" 4 "k4" 1 "Sum2" 2 "k5" 1 "Sum3" 1 "1" 1 [-110, 0] "k5" 1 "2" 1 [-120, 0] "k4" 1 "*3" 1 [-25, 0; 0, -95] "Sum" 4 "h" 1 [0, 0]
Branch { Points Branch { DstBlock DstPort } Branch { Points DstBlock DstPort } } Branch { Points Branch { Points DstBlock DstPort } Branch { DstBlock DstPort } } } Line { SrcBlock SrcPort Points Branch { Points DstBlock DstPort } Branch { DstBlock DstPort } } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } } } Block { BlockType Name Ports Position ShowPortLabels TreatAsAtomicUnit
[10, 0] "k" 1 [0, -25; 225, 0; 0, -25] "ids" 1
[10, 0; 0, 45] [0, 90; 140, 0; 0, 15] "*6" 1 "k6" 1
"Gain6" 1 [0, 0] [0, -45] "ce" 1 "Sum5" 1
"vqs" 1 "Sum1" 3 "vds" 1 "Sum" 2
SubSystem "PARK" [4, 3] [140, 135, 180, 190] off 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 Name Ports Position } Block { BlockType Name Position } Block { BlockType Name Position Port } Block { BlockType Name Position Port } Line { SrcBlock SrcPort Points Branch { Points DstBlock DstPort } Branch { Points DstBlock DstPort } Branch { DstBlock DstPort } } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort }
Mux "Mux" [4, 1] [45, 82, 75, 128] Outport "out_1" [165, 55, 185, 75] Outport "out_2" [165, 95, 185, 115] "2" Outport "out_3" [165, 140, 185, 160] "3" "Mux" 1 [0, 0] [0, -40] "Fcn" 1 [0, 45] "Fcn3" 1 "Fcn2" 1
"Fcn" 1 "out_1" 1 "in_1" 1 "Mux" 1 "in_2" 1 "Mux" 2
Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } } } Block { BlockType Name Position Orientation } Block { BlockType Name Position Port } Block { BlockType Name Position Orientation Port } Block { BlockType Name Position Orientation Port } Block { BlockType Name Position Port } Block { BlockType
"Fcn2" 1 "out_2" 1 "in_3" 1 "Mux" 3 "in_4" 1 "Mux" 4 "Fcn3" 1 "out_3" 1
Outport "Vds\n" [130, 40, 150, 60] "left" Outport "Vqs" [220, 40, 240, 60] "2" Outport "Fdr" [275, 30, 295, 50] "up" "3" Outport "Fqr" [300, 95, 320, 115] "up" "4" Outport "wr" [325, 155, 345, 175] "5" Outport
Name Position Orientation Port } Block { BlockType Name Position Orientation Port } Block { BlockType Name Position Orientation Port } Block { BlockType Name Position Port } Block { BlockType Name Position Orientation Port } Block { BlockType Name Position Orientation Port } Block { BlockType Name Position Orientation Port } Line { SrcBlock SrcPort Points Branch { DstBlock DstPort } Branch { Points DstBlock DstPort } }
"Ce" [300, 200, 320, 220] "down" "6" Outport "W" [275, 245, 295, 265] "down" "7" Outport "Ia" [445, 60, 465, 80] "up" "8" Outport "Ib" [475, 145, 495, 165] "9" Outport "Ic" [445, 235, 465, 255] "down" "10" Outport "Ids" [330, 30, 350, 50] "up" "11" Outport "Iqs" [385, 30, 405, 50] "up" "12" "ws" 1 [15, 0] "Integrator" 1 [0, -185] "M A S\n" 1
Line { SrcBlock SrcPort Points Branch { Points DstBlock DstPort } Branch { DstBlock DstPort } } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort Points DstBlock DstPort } Line { SrcBlock SrcPort Points DstBlock DstPort } Line { SrcBlock
"Integrator" 1 [25, 0] [250, 0] "INV PARK" 3 "PARK" 4
"M A S\n" 1 "Fdr" 1 "M A S\n" 5 "wr" 1 "M A S\n" 7 "W" 1 "Va" 1 "PARK" 1 "Cr" 1 "M A S\n" 4 "Vb" 1 [5, 0; 0, -30] "PARK" 2 "Vc" 1 [15, 0; 0, -60] "PARK" 3 "M A S\n"
SrcPort Points DstBlock DstPort } Line { SrcBlock SrcPort Points DstBlock DstPort } Line { SrcBlock SrcPort Points DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort Points DstBlock DstPort } Line { SrcBlock SrcPort Points Branch { DstBlock DstPort } Branch { DstBlock DstPort } } Line { SrcBlock SrcPort Points Branch { DstBlock DstPort } Branch { Points DstBlock DstPort } } Line {
2 [25, 0] "Fqr" 1 "M A S\n" 6 [25, 0] "Ce" 1 "INV PARK" 1 [25, 0] "Ia" 1 "INV PARK" 2 "Ib" 1 "INV PARK" 3 [25, 0] "Ic" 1 "M A S\n" 3 [55, 0] "INV PARK" 1 "Ids" 1
"PARK" 1 [0, 0] "M A S\n" 2 [0, -95] "Vds\n" 1
SrcBlock SrcPort Points Branch { DstBlock DstPort } Branch { Points DstBlock DstPort } } Line { SrcBlock SrcPort Points Branch { DstBlock DstPort } Branch { Points DstBlock DstPort } }
"PARK" 2 [15, 0] "M A S\n" 3 [0, -115] "Vqs" 1
"M A S\n" 4 [80, 0] "INV PARK" 2 [0, -80; 30, 0] "Iqs" 1
} } Block { BlockType SubSystem Name "Mas_vecteurs \ncomplexes" Ports [3, 5] Position [175, 21, 240, 149] ForegroundColor "red" TreatAsAtomicUnit off MaskType "MAS_vecteurs complexes" MaskPromptString "Résistance statorique:|Résistance rotorique:|Mu" "tuelle inductance:|Inductance cyclique statorique:|Inductance cyclique rotori" "que:|Nombre de paires de poles:|Moment d'inertie:" 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 "Rs=@1;Rr=@2;M=@3;Ls=@4;Lr=@5;p=@6;J=@7;" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "0.85|0.16|0.058|0.160|0.023|2|0.050" System { Name "Mas_vecteurs \ncomplexes" Location [42, 123, 790, 580] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white"
PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "Vs_c" Position [25, 83, 55, 97] } Block { BlockType Inport Name "Vr_c" Position [25, 218, 55, 232] Port "2" } Block { BlockType Inport Name "Cr" Position [475, 18, 505, 32] Port "3" } Block { BlockType Gain Name "1/J" Position [565, 99, 590, 131] Gain "1/J" } Block { BlockType SubSystem Name "Int complexe" Ports [1, 1] Position [130, 64, 175, 116] TreatAsAtomicUnit off System { Name "Int complexe" Location [424, 287, 749, 468] 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, 58, 55, 72] } Block { BlockType ComplexToRealImag Name "Complex to\nReal-Imag1" Ports [1, 2] Position [80, 48, 110, 77] Output "Real and imag" } Block { BlockType Integrator
Name Ports Position } Block { BlockType Name Ports Position } Block { BlockType Name Ports Position Input } Block { BlockType Name Position } Line { SrcBlock SrcPort Points DstBlock DstPort } Line { SrcBlock SrcPort Points DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort }
"Integrator1" [1, 1] [165, 25, 195, 55] Integrator "Integrator2" [1, 1] [165, 75, 195, 105] RealImagToComplex "Real-Imag to\nComplex" [2, 1] [215, 48, 245, 77] "Real and imag" Outport "Out" [270, 58, 300, 72] "Complex to\nReal-Imag1" 1 [20, 0; 0, -15] "Integrator1" 1 "Complex to\nReal-Imag1" 2 [20, 0; 0, 20] "Integrator2" 1 "Integrator1" 1 "Real-Imag to\nComplex" 1 "Integrator2" 1 "Real-Imag to\nComplex" 2 "Real-Imag to\nComplex" 1 "Out" 1 "In" 1 "Complex to\nReal-Imag1" 1
} } Block { BlockType SubSystem Name "Int complexe1" Ports [1, 1] Position [130, 199, 175, 251] TreatAsAtomicUnit off System { Name "Int complexe1" Location [418, 293, 743, 474] 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, 58, 55, 72] } Block { BlockType ComplexToRealImag Name "Complex to\nReal-Imag1" Ports [1, 2] Position [80, 48, 110, 77] Output "Real and imag" } Block { BlockType Integrator Name "Integrator1" Ports [1, 1] Position [165, 25, 195, 55] } Block { BlockType Integrator Name "Integrator2" Ports [1, 1] Position [165, 75, 195, 105] } Block { BlockType RealImagToComplex Name "Real-Imag to\nComplex" Ports [2, 1] Position [215, 48, 245, 77] Input "Real and imag" } Block { BlockType Outport Name "Out" Position [270, 58, 300, 72] } Line { SrcBlock "In" SrcPort 1 DstBlock "Complex to\nReal-Imag1"
DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort Points DstBlock DstPort } Line { SrcBlock SrcPort Points DstBlock DstPort } } } Block { BlockType Name Ports Position } Block { BlockType Name Ports Position } Block { BlockType Name Position Orientation NamePlacement Gain } Block { BlockType Name Position
1 "Real-Imag to\nComplex" 1 "Out" 1 "Integrator2" 1 "Real-Imag to\nComplex" 2 "Integrator1" 1 "Real-Imag to\nComplex" 1 "Complex to\nReal-Imag1" 2 [20, 0; 0, 20] "Integrator2" 1 "Complex to\nReal-Imag1" 1 [20, 0; 0, -15] "Integrator1" 1
Integrator "Integrator" [1, 1] [605, 100, 635, 130] Integrator "Integrator1" [1, 1] [675, 100, 705, 130] Gain "Rr" [130, 304, 175, 336] "left" "alternate" "Rr" Gain "Rs" [130, 144, 175, 176]
Orientation NamePlacement Gain
"left" "alternate" "Rs"
} Block { BlockType SubSystem Name "Subsystem" Ports [3, 2] Position [255, 174, 360, 276] TreatAsAtomicUnit off System { Name "Subsystem" Location [241, 100, 495, 338] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "Flux Stator" Position [25, 13, 55, 27] } Block { BlockType Inport Name "Flux rotor" Position [30, 48, 60, 62] Port "2" } Block { BlockType Inport Name "Angle Electrique" Position [210, 168, 240, 182] Orientation "left" Port "3" } Block { BlockType Constant Name "Constant1" Position [175, 220, 205, 250] Orientation "up" Value "0" } Block { BlockType MATLABFcn Name "MATLAB Fcn4" Position [125, 30, 185, 60] MATLABFcn "(1/(Ls-(M^2)/Lr))*(u(1)-(M/Lr)*u(2)*exp" "(i*u(3)))" OutputDimensions "1" OutputSignalType "complex" } Block { BlockType MATLABFcn Name "MATLAB Fcn6" Position [130, 100, 190, 130]
MATLABFcn
"(1/(Lr-(M^2)/Ls))*(u(2)-(M/Ls)*u(1)*exp"
OutputDimensions OutputSignalType
"1" "complex"
"(-i*u(3)))" } Block { BlockType Name Ports Position ShowName Inputs DisplayOption } Block { BlockType Name Ports Position Orientation NamePlacement Input } Block { BlockType Name Position } Block { BlockType Name Position Port } Line { SrcBlock SrcPort Points Branch { DstBlock DstPort } Branch { Points DstBlock DstPort } } Line { SrcBlock SrcPort Points DstBlock DstPort } Line { SrcBlock SrcPort Points DstBlock
Mux "Mux" [3, 1] [90, 26, 95, 64] off "3" "bar" RealImagToComplex "Real-Imag to\nComplex1" [2, 1] [120, 169, 155, 196] "left" "alternate" "Real and imag" Outport "I-stator" [210, 38, 240, 52] Outport "I-rotor" [215, 108, 245, 122] "2" "Mux" 1 [10, 0] "MATLAB Fcn4" 1 [0, 70] "MATLAB Fcn6" 1
"Constant1" 1 [0, -25] "Real-Imag to\nComplex1" 2 "Real-Imag to\nComplex1" 1 [-40, 0] "Mux"
DstPort } Line { SrcBlock SrcPort Points DstBlock DstPort } Line { SrcBlock SrcPort Points DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort }
3 "Flux Stator" 1 [0, 15] "Mux" 1 "Flux rotor" 1 [0, -10] "Mux" 2 "MATLAB Fcn4" 1 "I-stator" 1 "MATLAB Fcn6" 1 "I-rotor" 1 "Angle Electrique" 1 "Real-Imag to\nComplex1" 1
} } Block { BlockType SubSystem Name "Subsystem1" Ports [2, 1] Position [390, 56, 475, 194] TreatAsAtomicUnit off System { Name "Subsystem1" Location [364, 314, 614, 446] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "Flux Stator" Position [25, 38, 55, 52] } Block {
BlockType Name Position Orientation Port } Block { BlockType Name Position MATLABFcn "nj(u(1))))" OutputDimensions OutputSignalType } Block { BlockType Name Ports Position ShowName Inputs DisplayOption } Block { BlockType Name Position } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } } } Block { BlockType Name Ports Position
Inport "I-stator" [60, 95, 90, 110] "up" "2" MATLABFcn "MATLAB Fcn5" [110, 44, 170, 76] "(3/4)*(p*i)*((u(1)*conj(u(2)))-(u(2)*co" "1" "real" Mux "Mux1" [2, 1] [90, 28, 95, 92] off "2" "bar" Outport "Couple" [195, 53, 225, 67] "Mux1" 1 "MATLAB Fcn5" 1 "I-stator" 1 "Mux1" 2 "Flux Stator" 1 "Mux1" 1 "MATLAB Fcn5" 1 "Couple" 1
Sum "Sum" [2, 1] [80, 80, 100, 100]
ShowName IconShape Inputs } Block { BlockType Name Ports Position ShowName IconShape Inputs } Block { BlockType Name Ports Position NamePlacement ShowName Inputs } Block { BlockType Name Position Orientation NamePlacement Gain } Block { BlockType Name Position Orientation } Block { BlockType Name Position Orientation NamePlacement Port } Block { BlockType Name Position Orientation Port } Block { BlockType Name Position Orientation Port } Block { BlockType
off "round" "|+-" Sum "Sum1" [2, 1] [80, 215, 100, 235] off "round" "|+-" Sum "Sum2" [2, 1] [525, 95, 550, 135] "alternate" off "-+" Gain "p" [575, 285, 605, 315] "left" "alternate" "p" Outport "Flux_sta" [290, 30, 320, 45] "down" Outport "Is_c" [285, 105, 315, 125] "up" "alternate" "2" Outport "Ir_c" [295, 340, 325, 355] "down" "3" Outport "Ce" [490, 220, 520, 235] "down" "4" Outport
Name Position Orientation FontName Port } Line { SrcBlock SrcPort Points DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort Points DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort Points Branch { DstBlock DstPort } Branch { Points
"W" [640, 220, 670, 235] "down" "Symbol" "5" "Rs" 1 [-35, 0] "Sum" 2 "Sum" 1 "Int complexe" 1 "Rr" 1 [-35, 0] "Sum1" 2 "Sum1" 1 "Int complexe1" 1 "Sum2" 1 "1/J" 1 "1/J" 1 "Integrator" 1 "Int complexe1" 1 "Subsystem" 2 "Subsystem" 1 [10, 0; 0, -40; -15, 0] "Subsystem1" 2 [-60, 0]
Branch { DstBlock DstPort } Branch { DstBlock DstPort } } } Line { SrcBlock SrcPort Points Branch { DstBlock DstPort } Branch { DstBlock DstPort } } Line { SrcBlock SrcPort Points DstBlock DstPort } Line { SrcBlock SrcPort Points DstBlock DstPort } Line { SrcBlock SrcPort Points Branch { DstBlock DstPort } Branch { DstBlock DstPort } } Line { SrcBlock SrcPort Points Branch { DstBlock DstPort } Branch { Points
"Rs" 1 "Is_c" 1
"Integrator" 1 [15, 0] "Integrator1" 1 "W" 1
"Integrator1" 1 [10, 0; 0, 185] "p" 1 "p" 1 [-335, 0; 0, -40] "Subsystem" 3 "Subsystem1" 1 [25, 0] "Sum2" 2 "Ce" 1
"Int complexe" 1 [45, 0] "Subsystem1" 1 [0, 100]
Branch { DstBlock DstPort } Branch { Points DstBlock DstPort } } } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort Points Branch { DstBlock DstPort } Branch { DstBlock DstPort } } Line { SrcBlock SrcPort DstBlock DstPort }
"Subsystem" 1 [0, -175] "Flux_sta" 1
"Vs_c" 1 "Sum" 1 "Vr_c" 1 "Sum1" 1 "Subsystem" 2 [5, 0; 0, 70; -60, 0] "Rr" 1 "Ir_c" 1
"Cr" 1 "Sum2" 1
} } Block { BlockType SubSystem Name "Mesures de \npuissance" Ports [2, 2] Position [185, 183, 250, 232] ForegroundColor "red" TreatAsAtomicUnit off System { Name "Mesures de \npuissance" Location [104, 235, 600, 473] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto"
PaperType PaperUnits ZoomFactor Block { BlockType Name Position } Block { BlockType Name Position Port } Block { BlockType Name Ports Position Output } Block { BlockType Name Ports Position Output } Block { BlockType Name Position Gain } Block { BlockType Name Position Gain } Block { BlockType Name Ports Position } Block { BlockType Name Ports Position Input } Block { BlockType Name Position } Block { BlockType
"usletter" "inches" "100" Inport "V_comp" [180, 33, 210, 47] Inport "I_comp" [25, 78, 55, 92] "2" ComplexToRealImag "Complex to\nReal-Imag4" [1, 2] [80, 66, 110, 104] "Real and imag" ComplexToRealImag "Complex to\nReal-Imag6" [1, 2] [365, 14, 400, 81] "Real and imag" Gain "Gain1" [130, 80, 160, 110] "-1" Gain "Gain2" [305, 35, 335, 65] "3/2" Product "Product" [2, 1] [235, 32, 265, 63] RealImagToComplex "Real-Imag to\nComplex" [2, 1] [175, 64, 205, 106] "Real and imag" Outport "P" [425, 23, 455, 37] Outport
Name Position Port } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort Points DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line {
"Q" [425, 58, 455, 72] "2" "Complex to\nReal-Imag4" 2 "Gain1" 1 "Complex to\nReal-Imag4" 1 "Real-Imag to\nComplex" 1 "Gain1" 1 "Real-Imag to\nComplex" 2 "Real-Imag to\nComplex" 1 [10, 0] "Product" 2 "Product" 1 "Gain2" 1 "Gain2" 1 "Complex to\nReal-Imag6" 1 "Complex to\nReal-Imag6" 1 "P" 1 "V_comp" 1 "Product" 1 "Complex to\nReal-Imag6" 2 "Q" 1
SrcBlock SrcPort DstBlock DstPort
"I_comp" 1 "Complex to\nReal-Imag4" 1
} } } Block { BlockType SubSystem Name "Modulantes\n sinusoidales \n triphasées" Ports [0, 3] Position [610, 130, 680, 190] ForegroundColor "green" TreatAsAtomicUnit off MaskType "modulantes triphasées" MaskPromptString "Amplitude modulante:|Fréquence f (en Hertz)" MaskStyleString "edit,edit" MaskTunableValueString "on,on" MaskCallbackString "|" MaskEnableString "on,on" MaskVisibilityString "on,on" MaskToolTipString "on,on" MaskVarAliasString "," MaskVariables "V=@1;f=@2;" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "1|50" System { Name "Modulantes\n sinusoidales \n triphasées" Location [119, 78, 374, 391] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Sin Name "Sine Wave" Position [75, 75, 95, 95] Amplitude "V" Frequency "2*pi*f" } Block { BlockType Sin Name "Sine Wave1" Position [75, 115, 95, 135] Amplitude "V" Frequency "2*pi*f" Phase "-2*pi/3" } Block { BlockType Sin Name "Sine Wave2" Position [75, 165, 95, 185]
Amplitude Frequency Phase } Block { BlockType Name Position } Block { BlockType Name Position Port } Block { BlockType Name Position Port } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort }
"V" "2*pi*f" "2*pi/3" Outport "moda" [125, 75, 145, 95] Outport "modb" [125, 115, 145, 135] "2" Outport "modc" [125, 165, 145, 185] "3" "Sine Wave2" 1 "modc" 1 "Sine Wave1" 1 "modb" 1 "Sine Wave" 1 "moda" 1
} } Block { BlockType SubSystem Name "Onduleur\ntriphase" Ports [4, 3] Position [245, 291, 340, 394] ForegroundColor "cyan" TreatAsAtomicUnit off System { Name "Onduleur\ntriphase" Location [73, 74, 545, 394] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100"
Block { BlockType Name Position } Block { BlockType Name Position Port } Block { BlockType Name Position Port } Block { BlockType Name Position Port } Block { BlockType Name Position Expr } Block { BlockType Name Position Expr } Block { BlockType Name Position Expr } Block { BlockType Name Ports Position ShowName } Block { BlockType Name Ports Position ShowName } Block { BlockType Name Ports Position
Inport "fca" [35, 25, 55, 45] Inport "fcb" [35, 95, 55, 115] "2" Inport "fcc" [35, 165, 55, 185] "3" Inport "Uo" [35, 220, 55, 240] "4" Fcn "Fcn" [210, 40, 335, 60] "(u[4]/3)*((2*u[1])-u[2]-u[3])" Fcn "Fcn1" [210, 100, 335, 120] "(u[4]/3)*(-u[1]+(2*u[2])-u[3])" Fcn "Fcn2" [210, 160, 335, 180] "(u[4]/3)*(-u[1]-u[2]+2*u[3])" Mux "mux3" [4, 1] [155, 27, 185, 73] off Mux "mux4" [4, 1] [155, 87, 185, 133] off Mux "mux5" [4, 1] [155, 147, 185, 193]
ShowName } Block { BlockType Name Position } Block { BlockType Name Position Port } Block { BlockType Name Position Port } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort Points Branch { DstBlock DstPort } Branch { Points Branch { DstBlock DstPort } Branch { Points DstBlock DstPort } } } Line { SrcBlock
off Outport "van" [370, 40, 390, 60] Outport "vbn" [370, 100, 390, 120] "2" Outport "vcn" [370, 160, 390, 180] "3" "Fcn2" 1 "vcn" 1 "Fcn1" 1 "vbn" 1 "Fcn" 1 "van" 1 "fca" 1 [50, 0] "mux3" 1 [0, 60] "mux4" 1 [0, 60] "mux5" 1
"fcb"
SrcPort Points Branch { DstBlock DstPort } Branch { Points DstBlock DstPort } Branch { Points DstBlock DstPort } } Line { SrcBlock SrcPort Points Branch { DstBlock DstPort } Branch { Points Branch { Points DstBlock DstPort } Branch { DstBlock DstPort } } } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort Points
1 [35, 0] "mux4" 2 [0, 60] "mux5" 2 [0, -60] "mux3" 2
"fcc" 1 [20, 0] "mux5" 3 [0, -60] [0, -60] "mux3" 3 "mux4" 3
"mux3" 1 "Fcn" 1 "mux4" 1 "Fcn1" 1 "mux5" 1 "Fcn2" 1 "Uo" 1 [70, 0; 0, -45]
Branch { Points Branch { Points DstBlock DstPort } Branch { DstBlock DstPort } } Branch { DstBlock DstPort } } Annotation { Name Position VerticalAlignment FontName FontSize FontWeight }
[0, -60] [0, -60] "mux3" 4 "mux4" 4
"mux5" 4
"Onduleur de tension triphasé" [282, 222] "top" "Times New Roman" 16 "bold"
} } Block { BlockType SubSystem Name "Sources sinusoidales \n triphasées" Ports [0, 3] Position [385, 320, 455, 380] ForegroundColor "cyan" TreatAsAtomicUnit off MaskType "source" MaskDescription "Source de tension triphasé" MaskPromptString "Tension efficace V (en Volt)|Fréquence f (en He" "rtz)|Phase à l'origine x (en degré)" MaskStyleString "edit,edit,edit" MaskTunableValueString "on,on,on" MaskCallbackString "||" MaskEnableString "on,on,on" MaskVisibilityString "on,on,on" MaskToolTipString "on,on,on" MaskVarAliasString ",," MaskInitialization "V=@1;f=@2;x=@3" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "220|50|0" System { Name "Sources sinusoidales \n triphasées" Location [119, 96, 275, 391] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto"
PaperType PaperUnits ZoomFactor Block { BlockType Name Position Amplitude Frequency Phase SampleTime } Block { BlockType Name Position Amplitude Frequency Phase SampleTime } Block { BlockType Name Position Amplitude Frequency Phase SampleTime } Block { BlockType Name Position } Block { BlockType Name Position Port } Block { BlockType Name Position Port } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line {
"usletter" "inches" "100" Sin "Sine Wave" [75, 75, 95, 95] "V*sqrt(2)" "2*pi*f" "x*pi/180" "0" Sin "Sine Wave1" [75, 115, 95, 135] "V*sqrt(2)" "2*pi*f" "x*pi/180-2*pi/3" "0" Sin "Sine Wave2" [75, 165, 95, 185] "V*sqrt(2)" "2*pi*f" "x*pi/180+2*pi/3" "0" Outport "van" [125, 75, 145, 95] Outport "vbn" [125, 115, 145, 135] "2" Outport "vcn" [125, 165, 145, 185] "3" "Sine Wave2" 1 "vcn" 1 "Sine Wave1" 1 "vbn" 1
SrcBlock SrcPort DstBlock DstPort
"Sine Wave" 1 "van" 1
} } } Block { BlockType SubSystem Name "Transformation\n dq_abc" Ports [4, 3] Position [25, 289, 95, 411] ForegroundColor "blue" TreatAsAtomicUnit off System { Name "Transformation\n dq_abc" Location [66, 74, 402, 402] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "xd" Position [20, 80, 40, 100] } Block { BlockType Inport Name "xq" Position [20, 115, 40, 135] Port "2" } Block { BlockType Inport Name "xo" Position [20, 150, 40, 170] Port "3" } Block { BlockType Inport Name "Téta elec" Position [15, 210, 35, 230] Port "4" } Block { BlockType Fcn Name "Fcn4" Position [145, 85, 185, 105] Expr "((u[1]*cos(u[4]))-(u[2]*sin(u[4]))+(u[3]))" } Block { BlockType Fcn Name "Fcn5" Position [145, 135, 185, 155] Expr "((u[1]*cos(u[4]-2*pi/3))-(u[2]*sin(u[4]-2*p"
"i/3))+(u[3]))" } Block { BlockType Name Position Expr "i/3))+(u[3]))" } Block { BlockType Name Ports Position } Block { BlockType Name Position } Block { BlockType Name Position Port } Block { BlockType Name Position Port } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort Points DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort
Fcn "Fcn6" [145, 185, 185, 205] "((u[1]*cos(u[4]-4*pi/3))-(u[2]*sin(u[4]-4*p"
Mux "Mux1" [4, 1] [75, 71, 100, 214] Outport "xa" [210, 85, 230, 105] Outport "xb" [210, 135, 230, 155] "2" Outport "xc" [210, 185, 230, 205] "3" "Fcn6" 1 "xc" 1 "Téta elec" 1 [0, -25] "Mux1" 4 "xo" 1 "Mux1" 3 "Fcn5" 1 "xb" 1 "xq" 1
DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort Points Branch { Points DstBlock DstPort } Branch { Points DstBlock DstPort } Branch { DstBlock DstPort } } Annotation { Name Position VerticalAlignment FontName FontSize FontWeight }
"Mux1" 2 "xd" 1 "Mux1" 1 "Fcn4" 1 "xa" 1 "Mux1" 1 [0, 0] [0, 50] "Fcn6" 1 [0, -50] "Fcn4" 1 "Fcn5" 1
"Transformation dq [142, 247] "top" "Times New Roman" 16 "bold"
abc"
} } Block { BlockType SubSystem Name "Transformation\nabc_dq" Ports [4, 3] Position [145, 290, 210, 410] ForegroundColor "blue" TreatAsAtomicUnit off System { Name "Transformation\nabc_dq" Location [144, 99, 613, 317] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto"
PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "xa" Position [40, 25, 60, 45] } Block { BlockType Inport Name "xb" Position [40, 60, 60, 80] Port "2" } Block { BlockType Inport Name "xc" Position [40, 95, 60, 115] Port "3" } Block { BlockType Inport Name "Téta élec" Position [40, 155, 60, 175] Port "4" } Block { BlockType Fcn Name "Fcn" Position [195, 28, 235, 52] 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 [195, 80, 235, 100] Expr "(-2/3)*((u[1]*sin(u[4]))+(u[2]*sin(u[4]-2*p" "i/3))+(u[3]*sin(u[4]-4*pi/3)))" } Block { BlockType Fcn Name "Fcn3" Position [195, 135, 235, 155] Expr "(1/3)*(u[1]+u[2]+u[3])" } Block { BlockType Mux Name "Mux" Ports [4, 1] Position [120, 14, 150, 161] } Block { BlockType Outport Name "xd" Position [305, 30, 325, 50] } Block { BlockType Outport Name "xq"
Position Port } Block { BlockType Name Position Port } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort Points DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort Points Branch { DstBlock DstPort }
[305, 80, 325, 100] "2" Outport "xo" [305, 135, 325, 155] "3" "Fcn3" 1 "xo" 1 "Téta élec" 1 [20, 0; 0, -25] "Mux" 4 "xc" 1 "Mux" 3 "Fcn2" 1 "xq" 1 "xb" 1 "Mux" 2 "xa" 1 "Mux" 1 "Fcn" 1 "xd" 1 "Mux" 1 [0, 0] "Fcn2" 1
Branch { Points Branch { Points DstBlock DstPort } Branch { Points DstBlock DstPort } } } Annotation { Name Position VerticalAlignment FontName FontSize FontWeight }
[10, 0] [0, 55] "Fcn3" 1 [0, -50] "Fcn" 1
"Transformation abc dq" [187, 187] "top" "Times New Roman" 16 "bold"
} } Block { BlockType SubSystem Name "Transformation\ngrandeurs temporelles\nvect_com" "plexe\n" Ports [3, 1] Position [290, 19, 360, 81] ForegroundColor "red" TreatAsAtomicUnit off System { Name "Transformation\ngrandeurs temporelles\nvect_c" "omplexe\n" Location [2, 70, 798, 580] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "xa" Position [25, 33, 55, 47] } Block { BlockType Inport Name "xb" Position [25, 63, 55, 77] Port "2" } Block { BlockType Inport Name "xc" Position [25, 93, 55, 107]
Port } Block { BlockType Name Ports Position ShowName Inputs DisplayOption } Block { BlockType Name "_complexe" Position MATLABFcn ")*u(3))" OutputDimensions OutputSignalType } Block { BlockType Name Position } Line { SrcBlock SrcPort DstBlock "_complexe" DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock "_complexe" SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } } }
"3" Mux "Mux" [3, 1] [80, 22, 85, 118] off "3" "bar" MATLABFcn "Transformation\ngrandeurs temporelles\nvect" [120, 55, 180, 85] "(2/3)*(u(1)+exp(i*2*pi/3)*u(2)+exp(i*4*pi/3" "1" "complex" Outport "X_comp" [205, 63, 235, 77] "Mux" 1 "Transformation\ngrandeurs temporelles\nvect" 1 "xa" 1 "Mux" 1 "Transformation\ngrandeurs temporelles\nvect" 1 "X_comp" 1 "xb" 1 "Mux" 2 "xc" 1 "Mux" 3
Block { BlockType SubSystem Name "Transformation\nvect_complexe\ngrandeurs tempor" "elles" Ports [1, 3] Position [290, 133, 365, 197] ForegroundColor "red" TreatAsAtomicUnit off System { Name "Transformation\nvect_complexe\ngrandeurs temp" "orelles" Location [161, 285, 612, 491] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "X_compl" Position [45, 40, 75, 55] Orientation "down" } Block { BlockType ComplexToRealImag Name "Complex to\nReal-Imag4" Ports [1, 2] Position [260, 34, 295, 61] Output "Real and imag" } Block { BlockType ComplexToRealImag Name "Complex to\nReal-Imag5" Ports [1, 2] Position [260, 94, 295, 121] Output "Real and imag" } Block { BlockType ComplexToRealImag Name "Complex to\nReal-Imag6" Ports [1, 2] Position [265, 154, 300, 181] Output "Real and imag" } Block { BlockType MATLABFcn Name "MATLAB Fcn2" Position [160, 90, 220, 120] MATLABFcn "exp(i*4*pi/3)*u(1)" OutputDimensions "1" OutputSignalType "complex" } Block { BlockType MATLABFcn Name "MATLAB Fcn3" Position [160, 150, 220, 180]
MATLABFcn OutputDimensions OutputSignalType } Block { BlockType Name Position NamePlacement } Block { BlockType Name Position NamePlacement Port } Block { BlockType Name Position NamePlacement Port } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort Points Branch { Points DstBlock DstPort } Branch { Points Branch {
"exp(i*2*pi/3)*u(1)" "1" "complex" Outport "xa" [340, 35, 370, 45] "alternate" Outport "xb" [340, 95, 370, 105] "alternate" "2" Outport "xc" [345, 155, 375, 165] "alternate" "3" "Complex to\nReal-Imag6" 1 "xc" 1 "Complex to\nReal-Imag5" 1 "xb" 1 "MATLAB Fcn2" 1 "Complex to\nReal-Imag5" 1 "MATLAB Fcn3" 1 "Complex to\nReal-Imag6" 1 "X_compl" 1 [0, 45; 65, 0] [0, -60] "Complex to\nReal-Imag4" 1 [0, 0]
Points DstBlock DstPort
[0, 60] "MATLAB Fcn3" 1
} Branch { DstBlock DstPort }
"MATLAB Fcn2" 1
} } Line { SrcBlock SrcPort DstBlock DstPort } } } Annotation { Name Position VerticalAlignment FontSize FontWeight } } }
"Complex to\nReal-Imag4" 1 "xa" 1
"BIBLIOTHEQUE MACHINE ASYNCHRONE" [352, 432] "top" 14 "bold"