├── README.md └── 模糊控制PID ├── 2.pdf ├── SVPWM_PMSM.mdl ├── SVPWM_PMSM.mdl.autosave ├── SVPWM_PMSM_grt_rtw └── build_exception.mat ├── slprj ├── grt │ └── SVPWM_PMSM │ │ └── tmwinternal │ │ └── minfo.mat └── sl_proj.tmw ├── 下载资料 ├── 基于模糊神经网络的PID控制器研究与设计_李逊.caj ├── 基于模糊自适应PID控制的永磁同步电机调速系统研究_何瑞玲.caj ├── 基于模糊逻辑和微粒群算法的智能PID的应用研究_潘君超.caj ├── 基于模糊逻辑的永磁同步电机位置控制系统的研究_杨鹤.caj └── 基于模糊逻辑的永磁同步电机直接转矩控制研究_张忠强.caj ├── 整理文档 ├── MATLAB-Simulink的用法.docx ├── 不同参数下仿真结果.docx └── 文档理解说明.doc └── 文件备份 ├── SVPWM_PMSM.mdl └── 不同参数下仿真结果.docx /README.md: -------------------------------------------------------------------------------- 1 | # 基于Matlab的模糊控制PID仿真,以及相应的论文,验证参数 2 | -------------------------------------------------------------------------------- /模糊控制PID/2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tecinno/Fuzzy-Control-PID/b5ea9daf09ef93dd766de3b455eca47f3b2fc6a5/模糊控制PID/2.pdf -------------------------------------------------------------------------------- /模糊控制PID/SVPWM_PMSM_grt_rtw/build_exception.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tecinno/Fuzzy-Control-PID/b5ea9daf09ef93dd766de3b455eca47f3b2fc6a5/模糊控制PID/SVPWM_PMSM_grt_rtw/build_exception.mat -------------------------------------------------------------------------------- /模糊控制PID/slprj/grt/SVPWM_PMSM/tmwinternal/minfo.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tecinno/Fuzzy-Control-PID/b5ea9daf09ef93dd766de3b455eca47f3b2fc6a5/模糊控制PID/slprj/grt/SVPWM_PMSM/tmwinternal/minfo.mat -------------------------------------------------------------------------------- /模糊控制PID/slprj/sl_proj.tmw: -------------------------------------------------------------------------------- 1 | Simulink Coder project marker file. Please don't change it. 2 | slprjVersion: 8.3_50_013 -------------------------------------------------------------------------------- /模糊控制PID/下载资料/基于模糊神经网络的PID控制器研究与设计_李逊.caj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tecinno/Fuzzy-Control-PID/b5ea9daf09ef93dd766de3b455eca47f3b2fc6a5/模糊控制PID/下载资料/基于模糊神经网络的PID控制器研究与设计_李逊.caj -------------------------------------------------------------------------------- /模糊控制PID/下载资料/基于模糊自适应PID控制的永磁同步电机调速系统研究_何瑞玲.caj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tecinno/Fuzzy-Control-PID/b5ea9daf09ef93dd766de3b455eca47f3b2fc6a5/模糊控制PID/下载资料/基于模糊自适应PID控制的永磁同步电机调速系统研究_何瑞玲.caj -------------------------------------------------------------------------------- /模糊控制PID/下载资料/基于模糊逻辑和微粒群算法的智能PID的应用研究_潘君超.caj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tecinno/Fuzzy-Control-PID/b5ea9daf09ef93dd766de3b455eca47f3b2fc6a5/模糊控制PID/下载资料/基于模糊逻辑和微粒群算法的智能PID的应用研究_潘君超.caj -------------------------------------------------------------------------------- /模糊控制PID/下载资料/基于模糊逻辑的永磁同步电机位置控制系统的研究_杨鹤.caj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tecinno/Fuzzy-Control-PID/b5ea9daf09ef93dd766de3b455eca47f3b2fc6a5/模糊控制PID/下载资料/基于模糊逻辑的永磁同步电机位置控制系统的研究_杨鹤.caj -------------------------------------------------------------------------------- /模糊控制PID/下载资料/基于模糊逻辑的永磁同步电机直接转矩控制研究_张忠强.caj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tecinno/Fuzzy-Control-PID/b5ea9daf09ef93dd766de3b455eca47f3b2fc6a5/模糊控制PID/下载资料/基于模糊逻辑的永磁同步电机直接转矩控制研究_张忠强.caj -------------------------------------------------------------------------------- /模糊控制PID/整理文档/MATLAB-Simulink的用法.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tecinno/Fuzzy-Control-PID/b5ea9daf09ef93dd766de3b455eca47f3b2fc6a5/模糊控制PID/整理文档/MATLAB-Simulink的用法.docx -------------------------------------------------------------------------------- /模糊控制PID/整理文档/不同参数下仿真结果.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tecinno/Fuzzy-Control-PID/b5ea9daf09ef93dd766de3b455eca47f3b2fc6a5/模糊控制PID/整理文档/不同参数下仿真结果.docx -------------------------------------------------------------------------------- /模糊控制PID/整理文档/文档理解说明.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tecinno/Fuzzy-Control-PID/b5ea9daf09ef93dd766de3b455eca47f3b2fc6a5/模糊控制PID/整理文档/文档理解说明.doc -------------------------------------------------------------------------------- /模糊控制PID/文件备份/SVPWM_PMSM.mdl: -------------------------------------------------------------------------------- 1 | Model { 2 | Name "SVPWM_PMSM" 3 | Version 8.3 4 | MdlSubVersion 0 5 | SavedCharacterEncoding "GBK" 6 | GraphicalInterface { 7 | NumRootInports 0 8 | NumRootOutports 0 9 | ParameterArgumentNames "" 10 | ComputedModelVersion "1.299" 11 | NumModelReferences 0 12 | NumTestPointedSignals 0 13 | } 14 | SaveDefaultBlockParams on 15 | ScopeRefreshTime 0.035000 16 | OverrideScopeRefreshTime on 17 | DisableAllScopes off 18 | DataTypeOverride "UseLocalSettings" 19 | DataTypeOverrideAppliesTo "AllNumericTypes" 20 | MinMaxOverflowLogging "UseLocalSettings" 21 | MinMaxOverflowArchiveMode "Overwrite" 22 | FPTRunName "Run 1" 23 | MaxMDLFileLineLength 120 24 | Object { 25 | $PropName "BdWindowsInfo" 26 | $ObjectID 1 27 | $ClassName "Simulink.BDWindowsInfo" 28 | Object { 29 | $PropName "WindowsInfo" 30 | $ObjectID 2 31 | $ClassName "Simulink.WindowInfo" 32 | IsActive [1] 33 | Location [-9.0, 0.0, 1378.0, 780.0] 34 | Object { 35 | $PropName "ModelBrowserInfo" 36 | $ObjectID 3 37 | $ClassName "Simulink.ModelBrowserInfo" 38 | Visible [0] 39 | DockPosition "Left" 40 | Width [50] 41 | Height [50] 42 | Filter [9] 43 | } 44 | Object { 45 | $PropName "ExplorerBarInfo" 46 | $ObjectID 4 47 | $ClassName "Simulink.ExplorerBarInfo" 48 | Visible [1] 49 | } 50 | Object { 51 | $PropName "EditorsInfo" 52 | $ObjectID 5 53 | $ClassName "Simulink.EditorInfo" 54 | IsActive [1] 55 | ViewObjType "SimulinkTopLevel" 56 | LoadSaveID "0" 57 | Extents [1328.0, 602.0] 58 | ZoomFactor [1.0] 59 | Offset [-279.93333333333374, -33.0309523809525] 60 | } 61 | } 62 | } 63 | Created "Thu Jun 02 21:24:24 2005" 64 | Creator "ms09173" 65 | UpdateHistory "UpdateHistoryNever" 66 | ModifiedByFormat "%" 67 | LastModifiedBy "wuyu" 68 | ModifiedDateFormat "%" 69 | LastModifiedDate "Tue Apr 19 15:19:28 2016" 70 | RTWModifiedTimeStamp 382979848 71 | ModelVersionFormat "1.%" 72 | ConfigurationManager "none" 73 | SampleTimeColors off 74 | SampleTimeAnnotations off 75 | LibraryLinkDisplay "none" 76 | WideLines off 77 | ShowLineDimensions off 78 | ShowPortDataTypes off 79 | ShowDesignRanges off 80 | ShowLoopsOnError on 81 | IgnoreBidirectionalLines off 82 | ShowStorageClass off 83 | ShowTestPointIcons on 84 | ShowSignalResolutionIcons on 85 | ShowViewerIcons on 86 | SortedOrder off 87 | ExecutionContextIcon off 88 | ShowLinearizationAnnotations on 89 | BlockNameDataTip off 90 | BlockParametersDataTip off 91 | BlockDescriptionStringDataTip off 92 | ToolBar on 93 | StatusBar on 94 | BrowserShowLibraryLinks off 95 | BrowserLookUnderMasks off 96 | SimulationMode "normal" 97 | PauseTimes "5" 98 | NumberOfSteps 1 99 | SnapshotBufferSize 10 100 | SnapshotInterval 10 101 | NumberOfLastSnapshots 0 102 | LinearizationMsg "none" 103 | Profile off 104 | ParamWorkspaceSource "MATLABWorkspace" 105 | AccelSystemTargetFile "accel.tlc" 106 | AccelTemplateMakefile "accel_default_tmf" 107 | AccelMakeCommand "make_rtw" 108 | TryForcingSFcnDF off 109 | Object { 110 | $PropName "DataLoggingOverride" 111 | $ObjectID 6 112 | $ClassName "Simulink.SimulationData.ModelLoggingInfo" 113 | model_ "SVPWM_PMSM" 114 | Array { 115 | Type "Cell" 116 | Dimension 1 117 | Cell "SVPWM_PMSM" 118 | PropName "logAsSpecifiedByModels_" 119 | } 120 | Array { 121 | Type "Cell" 122 | Dimension 1 123 | Cell "" 124 | PropName "logAsSpecifiedByModelsSSIDs_" 125 | } 126 | } 127 | RecordCoverage off 128 | CovPath "/" 129 | CovSaveName "covdata" 130 | CovMetricSettings "dw" 131 | CovNameIncrementing off 132 | CovHtmlReporting on 133 | CovForceBlockReductionOff on 134 | CovEnableCumulative on 135 | covSaveCumulativeToWorkspaceVar on 136 | CovSaveSingleToWorkspaceVar on 137 | CovCumulativeVarName "covCumulativeData" 138 | CovCumulativeReport off 139 | CovReportOnPause on 140 | CovModelRefEnable "Off" 141 | CovExternalEMLEnable off 142 | CovSFcnEnable off 143 | CovBoundaryAbsTol 0.000010 144 | CovBoundaryRelTol 0.010000 145 | ExtModeBatchMode off 146 | ExtModeEnableFloating on 147 | ExtModeTrigType "manual" 148 | ExtModeTrigMode "normal" 149 | ExtModeTrigPort "1" 150 | ExtModeTrigElement "any" 151 | ExtModeTrigDuration 1000 152 | ExtModeTrigDurationFloating "auto" 153 | ExtModeTrigHoldOff 0 154 | ExtModeTrigDelay 0 155 | ExtModeTrigDirection "rising" 156 | ExtModeTrigLevel 0 157 | ExtModeArchiveMode "off" 158 | ExtModeAutoIncOneShot off 159 | ExtModeIncDirWhenArm off 160 | ExtModeAddSuffixToVar off 161 | ExtModeWriteAllDataToWs off 162 | ExtModeArmWhenConnect on 163 | ExtModeSkipDownloadWhenConnect off 164 | ExtModeLogAll on 165 | ExtModeAutoUpdateStatusClock on 166 | BufferReuse on 167 | ShowModelReferenceBlockVersion off 168 | ShowModelReferenceBlockIO off 169 | Array { 170 | Type "Handle" 171 | Dimension 1 172 | Simulink.ConfigSet { 173 | $ObjectID 7 174 | Version "1.14.2" 175 | Array { 176 | Type "Handle" 177 | Dimension 8 178 | Simulink.SolverCC { 179 | $ObjectID 8 180 | Version "1.14.2" 181 | StartTime "0.0" 182 | StopTime "0.5" 183 | AbsTol "1e-6" 184 | FixedStep "5e-6" 185 | InitialStep "auto" 186 | MaxNumMinSteps "-1" 187 | MaxOrder 5 188 | ZcThreshold "auto" 189 | ConsecutiveZCsStepRelTol "100*128*eps" 190 | MaxConsecutiveZCs "1000000000" 191 | ExtrapolationOrder 4 192 | NumberNewtonIterations 1 193 | MaxStep "auto" 194 | MinStep "auto" 195 | MaxConsecutiveMinStep "1" 196 | RelTol "1e-3" 197 | SolverMode "Auto" 198 | EnableConcurrentExecution off 199 | ConcurrentTasks off 200 | Solver "ode45" 201 | SolverName "ode45" 202 | SolverJacobianMethodControl "auto" 203 | ShapePreserveControl "DisableAll" 204 | ZeroCrossControl "UseLocalSettings" 205 | ZeroCrossAlgorithm "Nonadaptive" 206 | AlgebraicLoopSolver "TrustRegion" 207 | SolverResetMethod "Fast" 208 | PositivePriorityOrder off 209 | AutoInsertRateTranBlk off 210 | SampleTimeConstraint "Unconstrained" 211 | InsertRTBMode "Whenever possible" 212 | } 213 | Simulink.DataIOCC { 214 | $ObjectID 9 215 | Version "1.14.2" 216 | Decimation "1" 217 | ExternalInput "[t, u]" 218 | FinalStateName "xFinal" 219 | InitialState "xInitial" 220 | LimitDataPoints on 221 | MaxDataPoints "1000" 222 | LoadExternalInput off 223 | LoadInitialState off 224 | SaveFinalState off 225 | SaveCompleteFinalSimState off 226 | SaveFormat "Array" 227 | SignalLoggingSaveFormat "ModelDataLogs" 228 | SaveOutput on 229 | SaveState off 230 | SignalLogging on 231 | DSMLogging on 232 | InspectSignalLogs off 233 | VisualizeSimOutput on 234 | SaveTime on 235 | ReturnWorkspaceOutputs off 236 | StateSaveName "xout" 237 | TimeSaveName "tout" 238 | OutputSaveName "yout" 239 | SignalLoggingName "sigsOut" 240 | DSMLoggingName "dsmout" 241 | OutputOption "RefineOutputTimes" 242 | OutputTimes "[]" 243 | ReturnWorkspaceOutputsName "out" 244 | Refine "1" 245 | } 246 | Simulink.OptimizationCC { 247 | $ObjectID 10 248 | Version "1.14.2" 249 | Array { 250 | Type "Cell" 251 | Dimension 7 252 | Cell "BooleansAsBitfields" 253 | Cell "PassReuseOutputArgsAs" 254 | Cell "PassReuseOutputArgsThreshold" 255 | Cell "ZeroExternalMemoryAtStartup" 256 | Cell "ZeroInternalMemoryAtStartup" 257 | Cell "OptimizeModelRefInitCode" 258 | Cell "NoFixptDivByZeroProtection" 259 | PropName "DisabledProps" 260 | } 261 | BlockReduction on 262 | BooleanDataType on 263 | ConditionallyExecuteInputs on 264 | InlineParams off 265 | UseIntDivNetSlope off 266 | UseFloatMulNetSlope off 267 | DefaultUnderspecifiedDataType "double" 268 | UseSpecifiedMinMax off 269 | InlineInvariantSignals off 270 | OptimizeBlockIOStorage on 271 | BufferReuse on 272 | EnhancedBackFolding off 273 | CachingGlobalReferences off 274 | GlobalBufferReuse on 275 | StrengthReduction off 276 | ExpressionFolding on 277 | BooleansAsBitfields off 278 | BitfieldContainerType "uint_T" 279 | EnableMemcpy on 280 | MemcpyThreshold 64 281 | PassReuseOutputArgsAs "Structure reference" 282 | ExpressionDepthLimit 2147483647 283 | FoldNonRolledExpr on 284 | LocalBlockOutputs on 285 | RollThreshold 5 286 | SystemCodeInlineAuto off 287 | StateBitsets off 288 | DataBitsets off 289 | ActiveStateOutputEnumStorageType "Native Integer" 290 | UseTempVars off 291 | ZeroExternalMemoryAtStartup on 292 | ZeroInternalMemoryAtStartup on 293 | InitFltsAndDblsToZero off 294 | NoFixptDivByZeroProtection off 295 | EfficientFloat2IntCast off 296 | EfficientMapNaN2IntZero on 297 | OptimizeModelRefInitCode off 298 | LifeSpan "inf" 299 | MaxStackSize "Inherit from target" 300 | BufferReusableBoundary on 301 | SimCompilerOptimization "Off" 302 | AccelVerboseBuild off 303 | ParallelExecutionInRapidAccelerator on 304 | } 305 | Simulink.DebuggingCC { 306 | $ObjectID 11 307 | Version "1.14.2" 308 | RTPrefix "error" 309 | ConsistencyChecking "none" 310 | ArrayBoundsChecking "none" 311 | SignalInfNanChecking "none" 312 | SignalRangeChecking "none" 313 | ReadBeforeWriteMsg "UseLocalSettings" 314 | WriteAfterWriteMsg "UseLocalSettings" 315 | WriteAfterReadMsg "UseLocalSettings" 316 | AlgebraicLoopMsg "warning" 317 | ArtificialAlgebraicLoopMsg "warning" 318 | SaveWithDisabledLinksMsg "warning" 319 | SaveWithParameterizedLinksMsg "none" 320 | CheckSSInitialOutputMsg on 321 | UnderspecifiedInitializationDetection "Classic" 322 | MergeDetectMultiDrivingBlocksExec "none" 323 | CheckExecutionContextPreStartOutputMsg off 324 | CheckExecutionContextRuntimeOutputMsg off 325 | SignalResolutionControl "TryResolveAllWithWarning" 326 | BlockPriorityViolationMsg "warning" 327 | MinStepSizeMsg "warning" 328 | TimeAdjustmentMsg "none" 329 | MaxConsecutiveZCsMsg "error" 330 | MaskedZcDiagnostic "warning" 331 | IgnoredZcDiagnostic "warning" 332 | SolverPrmCheckMsg "none" 333 | InheritedTsInSrcMsg "warning" 334 | DiscreteInheritContinuousMsg "warning" 335 | MultiTaskDSMMsg "warning" 336 | MultiTaskCondExecSysMsg "none" 337 | MultiTaskRateTransMsg "error" 338 | SingleTaskRateTransMsg "none" 339 | TasksWithSamePriorityMsg "warning" 340 | SigSpecEnsureSampleTimeMsg "warning" 341 | CheckMatrixSingularityMsg "none" 342 | IntegerOverflowMsg "warning" 343 | Int32ToFloatConvMsg "warning" 344 | ParameterDowncastMsg "error" 345 | ParameterOverflowMsg "error" 346 | ParameterUnderflowMsg "none" 347 | ParameterPrecisionLossMsg "warning" 348 | ParameterTunabilityLossMsg "warning" 349 | FixptConstUnderflowMsg "none" 350 | FixptConstOverflowMsg "none" 351 | FixptConstPrecisionLossMsg "none" 352 | UnderSpecifiedDataTypeMsg "none" 353 | UnnecessaryDatatypeConvMsg "none" 354 | VectorMatrixConversionMsg "none" 355 | InvalidFcnCallConnMsg "error" 356 | FcnCallInpInsideContextMsg "UseLocalSettings" 357 | SignalLabelMismatchMsg "none" 358 | UnconnectedInputMsg "warning" 359 | UnconnectedOutputMsg "warning" 360 | UnconnectedLineMsg "warning" 361 | SFcnCompatibilityMsg "none" 362 | FrameProcessingCompatibilityMsg "warning" 363 | UniqueDataStoreMsg "none" 364 | BusObjectLabelMismatch "warning" 365 | RootOutportRequireBusObject "warning" 366 | AssertControl "UseLocalSettings" 367 | EnableOverflowDetection off 368 | ModelReferenceIOMsg "none" 369 | ModelReferenceMultiInstanceNormalModeStructChecksumCheck "error" 370 | ModelReferenceVersionMismatchMessage "none" 371 | ModelReferenceIOMismatchMessage "none" 372 | ModelReferenceCSMismatchMessage "none" 373 | UnknownTsInhSupMsg "warning" 374 | ModelReferenceDataLoggingMessage "warning" 375 | ModelReferenceSymbolNameMessage "warning" 376 | ModelReferenceExtraNoncontSigs "error" 377 | StateNameClashWarn "warning" 378 | SimStateInterfaceChecksumMismatchMsg "warning" 379 | SimStateOlderReleaseMsg "error" 380 | InitInArrayFormatMsg "warning" 381 | StrictBusMsg "ErrorLevel1" 382 | BusNameAdapt "WarnAndRepair" 383 | NonBusSignalsTreatedAsBus "none" 384 | LoggingUnavailableSignals "error" 385 | BlockIODiagnostic "none" 386 | SFUnusedDataAndEventsDiag "warning" 387 | SFUnexpectedBacktrackingDiag "warning" 388 | SFInvalidInputDataAccessInChartInitDiag "warning" 389 | SFNoUnconditionalDefaultTransitionDiag "warning" 390 | SFTransitionOutsideNaturalParentDiag "warning" 391 | SFUnconditionalTransitionShadowingDiag "warning" 392 | SFUndirectedBroadcastEventsDiag "warning" 393 | SFTransitionActionBeforeConditionDiag "warning" 394 | } 395 | Simulink.HardwareCC { 396 | $ObjectID 12 397 | Version "1.14.2" 398 | ProdBitPerChar 8 399 | ProdBitPerShort 16 400 | ProdBitPerInt 32 401 | ProdBitPerLong 32 402 | ProdBitPerLongLong 64 403 | ProdBitPerFloat 32 404 | ProdBitPerDouble 64 405 | ProdBitPerPointer 32 406 | ProdLargestAtomicInteger "Char" 407 | ProdLargestAtomicFloat "None" 408 | ProdIntDivRoundTo "Undefined" 409 | ProdEndianess "Unspecified" 410 | ProdWordSize 32 411 | ProdShiftRightIntArith on 412 | ProdLongLongMode off 413 | ProdHWDeviceType "32-bit Generic" 414 | TargetBitPerChar 8 415 | TargetBitPerShort 16 416 | TargetBitPerInt 32 417 | TargetBitPerLong 32 418 | TargetBitPerLongLong 64 419 | TargetBitPerFloat 32 420 | TargetBitPerDouble 64 421 | TargetBitPerPointer 32 422 | TargetLargestAtomicInteger "Char" 423 | TargetLargestAtomicFloat "None" 424 | TargetShiftRightIntArith on 425 | TargetLongLongMode off 426 | TargetIntDivRoundTo "Undefined" 427 | TargetEndianess "Unspecified" 428 | TargetWordSize 32 429 | TargetTypeEmulationWarnSuppressLevel 0 430 | TargetPreprocMaxBitsSint 32 431 | TargetPreprocMaxBitsUint 32 432 | TargetHWDeviceType "Specified" 433 | TargetUnknown on 434 | ProdEqTarget on 435 | } 436 | Simulink.ModelReferenceCC { 437 | $ObjectID 13 438 | Version "1.14.2" 439 | UpdateModelReferenceTargets "IfOutOfDateOrStructuralChange" 440 | CheckModelReferenceTargetMessage "error" 441 | EnableParallelModelReferenceBuilds off 442 | ParallelModelReferenceErrorOnInvalidPool on 443 | ParallelModelReferenceMATLABWorkerInit "None" 444 | ModelReferenceNumInstancesAllowed "Multi" 445 | PropagateVarSize "Infer from blocks in model" 446 | ModelReferencePassRootInputsByReference on 447 | ModelReferenceMinAlgLoopOccurrences off 448 | PropagateSignalLabelsOutOfModel off 449 | SupportModelReferenceSimTargetCustomCode off 450 | } 451 | Simulink.SFSimCC { 452 | $ObjectID 14 453 | Version "1.14.2" 454 | SFSimEnableDebug on 455 | SFSimOverflowDetection on 456 | SFSimEcho on 457 | SimBlas on 458 | SimCtrlC on 459 | SimExtrinsic on 460 | SimIntegrity on 461 | SimUseLocalCustomCode off 462 | SimParseCustomCode on 463 | SimBuildMode "sf_incremental_build" 464 | SimGenImportedTypeDefs off 465 | } 466 | Simulink.RTWCC { 467 | $BackupClass "Simulink.RTWCC" 468 | $ObjectID 15 469 | Version "1.14.2" 470 | Array { 471 | Type "Cell" 472 | Dimension 6 473 | Cell "IncludeHyperlinkInReport" 474 | Cell "GenerateTraceInfo" 475 | Cell "GenerateTraceReport" 476 | Cell "GenerateTraceReportSl" 477 | Cell "GenerateTraceReportSf" 478 | Cell "GenerateTraceReportEml" 479 | PropName "DisabledProps" 480 | } 481 | SystemTargetFile "grt.tlc" 482 | TLCOptions "" 483 | GenCodeOnly off 484 | MakeCommand "make_rtw" 485 | GenerateMakefile on 486 | PackageGeneratedCodeAndArtifacts off 487 | PackageName "" 488 | TemplateMakefile "grt_default_tmf" 489 | PostCodeGenCommand "" 490 | Description "" 491 | GenerateReport off 492 | SaveLog off 493 | RTWVerbose on 494 | RetainRTWFile off 495 | ProfileTLC off 496 | TLCDebug off 497 | TLCCoverage off 498 | TLCAssert off 499 | ProcessScriptMode "Default" 500 | ConfigurationMode "Optimized" 501 | ProcessScript "" 502 | ConfigurationScript "" 503 | ConfigAtBuild off 504 | RTWUseLocalCustomCode off 505 | RTWUseSimCustomCode off 506 | CustomSourceCode "" 507 | CustomHeaderCode "" 508 | CustomInclude "" 509 | CustomSource "" 510 | CustomLibrary "" 511 | CustomInitializer "" 512 | CustomTerminator "" 513 | Toolchain "Automatically locate an installed toolchain" 514 | BuildConfiguration "Faster Builds" 515 | IncludeHyperlinkInReport off 516 | LaunchReport off 517 | PortableWordSizes off 518 | CreateSILPILBlock "None" 519 | CodeExecutionProfiling off 520 | CodeExecutionProfileVariable "executionProfile" 521 | CodeProfilingSaveOptions "SummaryOnly" 522 | CodeProfilingInstrumentation off 523 | SILDebugging off 524 | TargetLang "C" 525 | IncludeBusHierarchyInRTWFileBlockHierarchyMap off 526 | IncludeERTFirstTime on 527 | GenerateTraceInfo off 528 | GenerateTraceReport off 529 | GenerateTraceReportSl off 530 | GenerateTraceReportSf off 531 | GenerateTraceReportEml off 532 | GenerateCodeInfo off 533 | GenerateWebview off 534 | GenerateCodeMetricsReport off 535 | GenerateCodeReplacementReport off 536 | RTWCompilerOptimization "Off" 537 | RTWCustomCompilerOptimizations "" 538 | CheckMdlBeforeBuild "Off" 539 | CustomRebuildMode "OnUpdate" 540 | DataInitializer "" 541 | SharedConstantsCachingThreshold 1024 542 | Array { 543 | Type "Handle" 544 | Dimension 2 545 | Simulink.CodeAppCC { 546 | $ObjectID 16 547 | Version "1.14.2" 548 | Array { 549 | Type "Cell" 550 | Dimension 19 551 | Cell "IgnoreCustomStorageClasses" 552 | Cell "IgnoreTestpoints" 553 | Cell "InsertBlockDesc" 554 | Cell "SFDataObjDesc" 555 | Cell "SimulinkDataObjDesc" 556 | Cell "DefineNamingRule" 557 | Cell "SignalNamingRule" 558 | Cell "ParamNamingRule" 559 | Cell "InlinedPrmAccess" 560 | Cell "CustomSymbolStr" 561 | Cell "CustomSymbolStrGlobalVar" 562 | Cell "CustomSymbolStrType" 563 | Cell "CustomSymbolStrField" 564 | Cell "CustomSymbolStrFcn" 565 | Cell "CustomSymbolStrFcnArg" 566 | Cell "CustomSymbolStrBlkIO" 567 | Cell "CustomSymbolStrTmpVar" 568 | Cell "CustomSymbolStrMacro" 569 | Cell "ReqsInCode" 570 | PropName "DisabledProps" 571 | } 572 | ForceParamTrailComments off 573 | GenerateComments on 574 | CommentStyle "Auto" 575 | IgnoreCustomStorageClasses on 576 | IgnoreTestpoints off 577 | IncHierarchyInIds off 578 | MaxIdLength 31 579 | PreserveName off 580 | PreserveNameWithParent off 581 | ShowEliminatedStatement off 582 | OperatorAnnotations off 583 | IncAutoGenComments off 584 | SimulinkDataObjDesc off 585 | SFDataObjDesc off 586 | MATLABFcnDesc off 587 | IncDataTypeInIds off 588 | MangleLength 1 589 | CustomSymbolStrGlobalVar "$R$N$M" 590 | CustomSymbolStrType "$N$R$M_T" 591 | CustomSymbolStrField "$N$M" 592 | CustomSymbolStrFcn "$R$N$M$F" 593 | CustomSymbolStrFcnArg "rt$I$N$M" 594 | CustomSymbolStrBlkIO "rtb_$N$M" 595 | CustomSymbolStrTmpVar "$N$M" 596 | CustomSymbolStrMacro "$R$N$M" 597 | CustomSymbolStrUtil "$N$C" 598 | DefineNamingRule "None" 599 | ParamNamingRule "None" 600 | SignalNamingRule "None" 601 | InsertBlockDesc off 602 | InsertPolySpaceComments off 603 | SimulinkBlockComments on 604 | MATLABSourceComments off 605 | EnableCustomComments off 606 | InternalIdentifier "Shortened" 607 | InlinedPrmAccess "Literals" 608 | ReqsInCode off 609 | UseSimReservedNames off 610 | } 611 | Simulink.GRTTargetCC { 612 | $BackupClass "Simulink.TargetCC" 613 | $ObjectID 17 614 | Version "1.14.2" 615 | Array { 616 | Type "Cell" 617 | Dimension 16 618 | Cell "GeneratePreprocessorConditionals" 619 | Cell "IncludeMdlTerminateFcn" 620 | Cell "CombineOutputUpdateFcns" 621 | Cell "SuppressErrorStatus" 622 | Cell "ERTCustomFileBanners" 623 | Cell "GenerateSampleERTMain" 624 | Cell "GenerateTestInterfaces" 625 | Cell "ModelStepFunctionPrototypeControlCompliant" 626 | Cell "CPPClassGenCompliant" 627 | Cell "PortableWordSizes" 628 | Cell "PurelyIntegerCode" 629 | Cell "GenerateAllocFcn" 630 | Cell "SupportComplex" 631 | Cell "SupportAbsoluteTime" 632 | Cell "SupportContinuousTime" 633 | Cell "SupportNonInlinedSFcns" 634 | PropName "DisabledProps" 635 | } 636 | TargetFcnLib "ansi_tfl_table_tmw.mat" 637 | TargetLibSuffix "" 638 | TargetPreCompLibLocation "" 639 | GenFloatMathFcnCalls "NOT IN USE" 640 | TargetLangStandard "C89/C90 (ANSI)" 641 | CodeReplacementLibrary "None" 642 | UtilityFuncGeneration "Auto" 643 | ERTMultiwordTypeDef "System defined" 644 | ERTMultiwordLength 256 645 | MultiwordLength 2048 646 | GenerateFullHeader on 647 | GenerateSampleERTMain off 648 | GenerateTestInterfaces off 649 | ModelReferenceCompliant on 650 | ParMdlRefBuildCompliant on 651 | CompOptLevelCompliant on 652 | ConcurrentExecutionCompliant on 653 | IncludeMdlTerminateFcn on 654 | GeneratePreprocessorConditionals "Disable all" 655 | CombineOutputUpdateFcns off 656 | CombineSignalStateStructs off 657 | SuppressErrorStatus off 658 | ERTFirstTimeCompliant off 659 | IncludeFileDelimiter "Auto" 660 | ERTCustomFileBanners off 661 | SupportAbsoluteTime on 662 | LogVarNameModifier "rt_" 663 | MatFileLogging on 664 | MultiInstanceERTCode off 665 | CodeInterfacePackaging "Nonreusable function" 666 | SupportNonFinite on 667 | SupportComplex on 668 | PurelyIntegerCode off 669 | SupportContinuousTime on 670 | SupportNonInlinedSFcns on 671 | SupportVariableSizeSignals off 672 | EnableShiftOperators on 673 | ParenthesesLevel "Nominal" 674 | MATLABClassNameForMDSCustomization "Simulink.SoftwareTarget.GRTCustomization" 675 | ModelStepFunctionPrototypeControlCompliant off 676 | CPPClassGenCompliant on 677 | AutosarCompliant off 678 | GRTInterface on 679 | GenerateAllocFcn off 680 | UseMalloc off 681 | ExtMode off 682 | ExtModeStaticAlloc off 683 | ExtModeTesting off 684 | ExtModeStaticAllocSize 1000000 685 | ExtModeTransport 0 686 | ExtModeMexFile "ext_comm" 687 | ExtModeIntrfLevel "Level1" 688 | RTWCAPISignals off 689 | RTWCAPIParams off 690 | RTWCAPIStates off 691 | RTWCAPIRootIO off 692 | GenerateASAP2 off 693 | MultiInstanceErrorCode "Error" 694 | } 695 | PropName "Components" 696 | } 697 | } 698 | PropName "Components" 699 | } 700 | Name "Configuration" 701 | CurrentDlgPage "Solver" 702 | ConfigPrmDlgPosition [ 280, 135, 1372, 765 ] 703 | } 704 | PropName "ConfigurationSets" 705 | } 706 | Simulink.ConfigSet { 707 | $PropName "ActiveConfigurationSet" 708 | $ObjectID 7 709 | } 710 | Object { 711 | $PropName "DataTransfer" 712 | $ObjectID 18 713 | $ClassName "Simulink.GlobalDataTransfer" 714 | DefaultTransitionBetweenSyncTasks "Ensure deterministic transfer (maximum delay)" 715 | DefaultTransitionBetweenAsyncTasks "Ensure data integrity only" 716 | DefaultTransitionBetweenContTasks "Ensure deterministic transfer (minimum delay)" 717 | DefaultExtrapolationMethodBetweenContTasks "None" 718 | AutoInsertRateTranBlk [0] 719 | } 720 | ExplicitPartitioning off 721 | BlockDefaults { 722 | ForegroundColor "black" 723 | BackgroundColor "white" 724 | DropShadow off 725 | NamePlacement "normal" 726 | FontName "Helvetica" 727 | FontSize 10 728 | FontWeight "normal" 729 | FontAngle "normal" 730 | ShowName on 731 | BlockRotation 0 732 | BlockMirror off 733 | } 734 | AnnotationDefaults { 735 | HorizontalAlignment "center" 736 | VerticalAlignment "middle" 737 | ForegroundColor "black" 738 | BackgroundColor "white" 739 | DropShadow off 740 | FontName "Helvetica" 741 | FontSize 10 742 | FontWeight "normal" 743 | FontAngle "normal" 744 | UseDisplayTextAsClickCallback off 745 | } 746 | LineDefaults { 747 | FontName "Helvetica" 748 | FontSize 9 749 | FontWeight "normal" 750 | FontAngle "normal" 751 | } 752 | MaskDefaults { 753 | SelfModifiable "off" 754 | IconFrame "on" 755 | IconOpaque "on" 756 | RunInitForIconRedraw "off" 757 | IconRotate "none" 758 | PortRotate "default" 759 | IconUnits "autoscale" 760 | } 761 | MaskParameterDefaults { 762 | Evaluate "on" 763 | Tunable "on" 764 | NeverSave "off" 765 | Internal "off" 766 | ReadOnly "off" 767 | Enabled "on" 768 | Visible "on" 769 | ToolTip "on" 770 | } 771 | BlockParameterDefaults { 772 | Block { 773 | BlockType Constant 774 | Value "1" 775 | VectorParams1D on 776 | SamplingMode "Sample based" 777 | OutMin "[]" 778 | OutMax "[]" 779 | OutDataTypeStr "Inherit: Inherit from 'Constant value'" 780 | LockScale off 781 | SampleTime "inf" 782 | FramePeriod "inf" 783 | PreserveConstantTs off 784 | } 785 | Block { 786 | BlockType Demux 787 | Outputs "4" 788 | DisplayOption "none" 789 | BusSelectionMode off 790 | } 791 | Block { 792 | BlockType Fcn 793 | Expr "sin(u[1])" 794 | SampleTime "-1" 795 | } 796 | Block { 797 | BlockType Gain 798 | Gain "1" 799 | Multiplication "Element-wise(K.*u)" 800 | ParamMin "[]" 801 | ParamMax "[]" 802 | ParamDataTypeStr "Inherit: Same as input" 803 | OutMin "[]" 804 | OutMax "[]" 805 | OutDataTypeStr "Inherit: Same as input" 806 | LockScale off 807 | RndMeth "Floor" 808 | SaturateOnIntegerOverflow on 809 | SampleTime "-1" 810 | } 811 | Block { 812 | BlockType Inport 813 | Port "1" 814 | OutputFunctionCall off 815 | OutMin "[]" 816 | OutMax "[]" 817 | OutDataTypeStr "Inherit: auto" 818 | LockScale off 819 | BusOutputAsStruct off 820 | PortDimensions "-1" 821 | VarSizeSig "Inherit" 822 | SampleTime "-1" 823 | SignalType "auto" 824 | SamplingMode "auto" 825 | LatchByDelayingOutsideSignal off 826 | LatchInputForFeedbackSignals off 827 | Interpolate on 828 | } 829 | Block { 830 | BlockType Integrator 831 | ExternalReset "none" 832 | InitialConditionSource "internal" 833 | InitialCondition "0" 834 | LimitOutput off 835 | UpperSaturationLimit "inf" 836 | LowerSaturationLimit "-inf" 837 | ShowSaturationPort off 838 | ShowStatePort off 839 | AbsoluteTolerance "auto" 840 | IgnoreLimit off 841 | ZeroCross on 842 | ContinuousStateAttributes "''" 843 | } 844 | Block { 845 | BlockType MultiPortSwitch 846 | DataPortOrder "One-based contiguous" 847 | Inputs "3" 848 | DataPortIndices "{1,2,3}" 849 | DataPortForDefault "Last data port" 850 | DiagnosticForDefault "Error" 851 | zeroidx off 852 | InputSameDT on 853 | OutMin "[]" 854 | OutMax "[]" 855 | OutDataTypeStr "Inherit: Inherit via internal rule" 856 | LockScale off 857 | RndMeth "Floor" 858 | SaturateOnIntegerOverflow on 859 | SampleTime "-1" 860 | AllowDiffInputSizes off 861 | } 862 | Block { 863 | BlockType Mux 864 | Inputs "4" 865 | DisplayOption "none" 866 | UseBusObject off 867 | BusObject "BusObject" 868 | NonVirtualBus off 869 | } 870 | Block { 871 | BlockType Outport 872 | Port "1" 873 | OutMin "[]" 874 | OutMax "[]" 875 | OutDataTypeStr "Inherit: auto" 876 | LockScale off 877 | BusOutputAsStruct off 878 | PortDimensions "-1" 879 | VarSizeSig "Inherit" 880 | SampleTime "-1" 881 | SignalType "auto" 882 | SamplingMode "auto" 883 | SourceOfInitialOutputValue "Dialog" 884 | OutputWhenDisabled "held" 885 | InitialOutput "[]" 886 | } 887 | Block { 888 | BlockType Product 889 | Inputs "2" 890 | Multiplication "Element-wise(.*)" 891 | CollapseMode "All dimensions" 892 | CollapseDim "1" 893 | InputSameDT on 894 | OutMin "[]" 895 | OutMax "[]" 896 | OutDataTypeStr "Inherit: Same as first input" 897 | LockScale off 898 | RndMeth "Zero" 899 | SaturateOnIntegerOverflow on 900 | SampleTime "-1" 901 | } 902 | Block { 903 | BlockType Relay 904 | OnSwitchValue "eps" 905 | OffSwitchValue "eps" 906 | OnOutputValue "1" 907 | OffOutputValue "0" 908 | OutMin "[]" 909 | OutMax "[]" 910 | OutDataTypeStr "Inherit: All ports same datatype" 911 | LockScale off 912 | InputProcessing "Inherited" 913 | ZeroCross on 914 | SampleTime "-1" 915 | } 916 | Block { 917 | BlockType Saturate 918 | UpperLimitSource "Dialog" 919 | UpperLimit "0.5" 920 | LowerLimitSource "Dialog" 921 | LowerLimit "-0.5" 922 | LinearizeAsGain on 923 | ZeroCross on 924 | SampleTime "-1" 925 | OutMin "[]" 926 | OutMax "[]" 927 | OutDataTypeStr "Inherit: Same as input" 928 | LockScale off 929 | RndMeth "Floor" 930 | } 931 | Block { 932 | BlockType Scope 933 | ModelBased off 934 | TickLabels "OneTimeTick" 935 | ZoomMode "on" 936 | Grid "on" 937 | TimeRange "auto" 938 | YMin "-5" 939 | YMax "5" 940 | SaveToWorkspace off 941 | SaveName "ScopeData" 942 | DataFormat "Array" 943 | LimitDataPoints on 944 | MaxDataPoints "5000" 945 | Decimation "1" 946 | SampleInput off 947 | SampleTime "-1" 948 | } 949 | Block { 950 | BlockType Step 951 | Time "1" 952 | Before "0" 953 | After "1" 954 | SampleTime "-1" 955 | VectorParams1D on 956 | ZeroCross on 957 | } 958 | Block { 959 | BlockType SubSystem 960 | ShowPortLabels "FromPortIcon" 961 | Permissions "ReadWrite" 962 | PermitHierarchicalResolution "All" 963 | TreatAsAtomicUnit off 964 | MinAlgLoopOccurrences off 965 | PropExecContextOutsideSubsystem off 966 | CheckFcnCallInpInsideContextMsg off 967 | SystemSampleTime "-1" 968 | RTWSystemCode "Auto" 969 | RTWFcnNameOpts "Auto" 970 | RTWFileNameOpts "Auto" 971 | FunctionInterfaceSpec "void_void" 972 | FunctionWithSeparateData off 973 | RTWMemSecFuncInitTerm "Inherit from model" 974 | RTWMemSecFuncExecute "Inherit from model" 975 | RTWMemSecDataConstants "Inherit from model" 976 | RTWMemSecDataInternal "Inherit from model" 977 | RTWMemSecDataParameters "Inherit from model" 978 | SimViewingDevice off 979 | DataTypeOverride "UseLocalSettings" 980 | DataTypeOverrideAppliesTo "AllNumericTypes" 981 | MinMaxOverflowLogging "UseLocalSettings" 982 | Opaque off 983 | MaskHideContents off 984 | SFBlockType "NONE" 985 | Variant off 986 | GeneratePreprocessorConditionals off 987 | ContentPreviewEnabled off 988 | } 989 | Block { 990 | BlockType Sum 991 | IconShape "rectangular" 992 | Inputs "++" 993 | CollapseMode "All dimensions" 994 | CollapseDim "1" 995 | InputSameDT on 996 | AccumDataTypeStr "Inherit: Inherit via internal rule" 997 | OutMin "[]" 998 | OutMax "[]" 999 | OutDataTypeStr "Inherit: Same as first input" 1000 | LockScale off 1001 | RndMeth "Floor" 1002 | SaturateOnIntegerOverflow on 1003 | SampleTime "-1" 1004 | } 1005 | Block { 1006 | BlockType Switch 1007 | Criteria "u2 >= Threshold" 1008 | Threshold "0" 1009 | InputSameDT on 1010 | OutMin "[]" 1011 | OutMax "[]" 1012 | OutDataTypeStr "Inherit: Inherit via internal rule" 1013 | LockScale off 1014 | RndMeth "Floor" 1015 | SaturateOnIntegerOverflow on 1016 | ZeroCross on 1017 | SampleTime "-1" 1018 | AllowDiffInputSizes off 1019 | } 1020 | Block { 1021 | BlockType TransferFcn 1022 | Numerator "[1]" 1023 | Denominator "[1 2 1]" 1024 | AbsoluteTolerance "auto" 1025 | ContinuousStateAttributes "''" 1026 | Realization "auto" 1027 | } 1028 | Block { 1029 | BlockType Trigonometry 1030 | Operator "sin" 1031 | ApproximationMethod "None" 1032 | NumberOfIterations "11" 1033 | OutputSignalType "auto" 1034 | SampleTime "-1" 1035 | } 1036 | } 1037 | System { 1038 | Name "SVPWM_PMSM" 1039 | Location [-9, 0, 1369, 780] 1040 | Open on 1041 | ModelBrowserVisibility off 1042 | ModelBrowserWidth 200 1043 | ScreenColor "white" 1044 | PaperOrientation "landscape" 1045 | PaperPositionMode "auto" 1046 | PaperType "A4" 1047 | PaperUnits "centimeters" 1048 | TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000] 1049 | TiledPageScale 1 1050 | ShowPageBoundaries off 1051 | ZoomFactor "100" 1052 | ReportName "simulink-default.rpt" 1053 | SIDHighWatermark "699" 1054 | Block { 1055 | BlockType SubSystem 1056 | Name " " 1057 | SID "612" 1058 | Ports [3, 2] 1059 | Position [370, 156, 430, 234] 1060 | ZOrder -1 1061 | NamePlacement "alternate" 1062 | ShowName off 1063 | FontName "Arial" 1064 | FontSize 14 1065 | FontWeight "bold" 1066 | RequestExecContextInheritance off 1067 | Object { 1068 | $PropName "MaskObject" 1069 | $ObjectID 19 1070 | $ClassName "Simulink.Mask" 1071 | Display "disp('2r\\n to\\n 2s ');\nport_label('output', 1, '\\itI_a_s','texmode','on');\nport_label('output', 2, '" 1072 | "\\itI_b_s','texmode','on');\nport_label('input', 1, '\\itI_{dse}','texmode','on');\nport_label('input', 2, '\\itI_{qs" 1073 | "e}','texmode','on');\nport_label('input', 3, '\\it\\theta_m','texmode','on');" 1074 | } 1075 | System { 1076 | Name " " 1077 | Location [-9, 0, 1369, 780] 1078 | Open off 1079 | ModelBrowserVisibility off 1080 | ModelBrowserWidth 200 1081 | ScreenColor "white" 1082 | PaperOrientation "landscape" 1083 | PaperPositionMode "auto" 1084 | PaperType "A4" 1085 | PaperUnits "centimeters" 1086 | TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000] 1087 | TiledPageScale 1 1088 | ShowPageBoundaries off 1089 | ZoomFactor "100" 1090 | Block { 1091 | BlockType Inport 1092 | Name "Udse" 1093 | SID "613" 1094 | Position [25, 28, 55, 42] 1095 | ZOrder -1 1096 | IconDisplay "Port number" 1097 | } 1098 | Block { 1099 | BlockType Inport 1100 | Name "Uqse" 1101 | SID "614" 1102 | Position [35, 198, 65, 212] 1103 | ZOrder -2 1104 | Port "2" 1105 | IconDisplay "Port number" 1106 | } 1107 | Block { 1108 | BlockType Inport 1109 | Name "theta" 1110 | SID "615" 1111 | Position [30, 113, 60, 127] 1112 | ZOrder -3 1113 | Port "3" 1114 | IconDisplay "Port number" 1115 | } 1116 | Block { 1117 | BlockType Product 1118 | Name "Product" 1119 | SID "616" 1120 | Ports [2, 1] 1121 | Position [255, 26, 300, 59] 1122 | ZOrder -4 1123 | InputSameDT off 1124 | RndMeth "Floor" 1125 | } 1126 | Block { 1127 | BlockType Product 1128 | Name "Product1" 1129 | SID "617" 1130 | Ports [2, 1] 1131 | Position [265, 146, 310, 179] 1132 | ZOrder -5 1133 | InputSameDT off 1134 | RndMeth "Floor" 1135 | } 1136 | Block { 1137 | BlockType Product 1138 | Name "Product2" 1139 | SID "618" 1140 | Ports [2, 1] 1141 | Position [275, 251, 320, 284] 1142 | ZOrder -6 1143 | InputSameDT off 1144 | RndMeth "Floor" 1145 | } 1146 | Block { 1147 | BlockType Product 1148 | Name "Product3" 1149 | SID "619" 1150 | Ports [2, 1] 1151 | Position [280, 331, 325, 364] 1152 | ZOrder -7 1153 | InputSameDT off 1154 | RndMeth "Floor" 1155 | } 1156 | Block { 1157 | BlockType Sum 1158 | Name "Sum" 1159 | SID "620" 1160 | Ports [2, 1] 1161 | Position [340, 35, 360, 55] 1162 | ZOrder -8 1163 | ShowName off 1164 | IconShape "round" 1165 | Inputs "|++" 1166 | InputSameDT off 1167 | OutDataTypeStr "Inherit: Inherit via internal rule" 1168 | } 1169 | Block { 1170 | BlockType Sum 1171 | Name "Sum1" 1172 | SID "621" 1173 | Ports [2, 1] 1174 | Position [390, 260, 410, 280] 1175 | ZOrder -9 1176 | ShowName off 1177 | IconShape "round" 1178 | Inputs "|+-" 1179 | InputSameDT off 1180 | OutDataTypeStr "Inherit: Inherit via internal rule" 1181 | } 1182 | Block { 1183 | BlockType Trigonometry 1184 | Name "Trigonometric\nFunction" 1185 | SID "622" 1186 | Ports [1, 1] 1187 | Position [145, 55, 175, 85] 1188 | ZOrder -10 1189 | } 1190 | Block { 1191 | BlockType Trigonometry 1192 | Name "Trigonometric\nFunction1" 1193 | SID "623" 1194 | Ports [1, 1] 1195 | Position [150, 140, 180, 170] 1196 | ZOrder -11 1197 | Operator "cos" 1198 | } 1199 | Block { 1200 | BlockType Outport 1201 | Name "Uds" 1202 | SID "624" 1203 | Position [460, 263, 490, 277] 1204 | ZOrder -12 1205 | IconDisplay "Port number" 1206 | } 1207 | Block { 1208 | BlockType Outport 1209 | Name "Uqs" 1210 | SID "625" 1211 | Position [445, 38, 475, 52] 1212 | ZOrder -13 1213 | Port "2" 1214 | IconDisplay "Port number" 1215 | } 1216 | Line { 1217 | ZOrder 1 1218 | SrcBlock "Sum1" 1219 | SrcPort 1 1220 | DstBlock "Uds" 1221 | DstPort 1 1222 | } 1223 | Line { 1224 | ZOrder 2 1225 | SrcBlock "Product3" 1226 | SrcPort 1 1227 | Points [70, 0] 1228 | DstBlock "Sum1" 1229 | DstPort 2 1230 | } 1231 | Line { 1232 | ZOrder 3 1233 | SrcBlock "Product2" 1234 | SrcPort 1 1235 | DstBlock "Sum1" 1236 | DstPort 1 1237 | } 1238 | Line { 1239 | ZOrder 4 1240 | SrcBlock "Sum" 1241 | SrcPort 1 1242 | DstBlock "Uqs" 1243 | DstPort 1 1244 | } 1245 | Line { 1246 | ZOrder 5 1247 | SrcBlock "Product1" 1248 | SrcPort 1 1249 | Points [35, 0] 1250 | DstBlock "Sum" 1251 | DstPort 2 1252 | } 1253 | Line { 1254 | ZOrder 6 1255 | SrcBlock "Product" 1256 | SrcPort 1 1257 | DstBlock "Sum" 1258 | DstPort 1 1259 | } 1260 | Line { 1261 | ZOrder 7 1262 | SrcBlock "Uqse" 1263 | SrcPort 1 1264 | Points [80, 0] 1265 | Branch { 1266 | ZOrder 8 1267 | Points [100, 0] 1268 | DstBlock "Product1" 1269 | DstPort 2 1270 | } 1271 | Branch { 1272 | ZOrder 9 1273 | Points [0, 150] 1274 | DstBlock "Product3" 1275 | DstPort 2 1276 | } 1277 | } 1278 | Line { 1279 | ZOrder 10 1280 | SrcBlock "Trigonometric\nFunction1" 1281 | SrcPort 1 1282 | Points [10, 0] 1283 | Branch { 1284 | ZOrder 11 1285 | Points [0, 120] 1286 | DstBlock "Product2" 1287 | DstPort 2 1288 | } 1289 | Branch { 1290 | ZOrder 12 1291 | DstBlock "Product1" 1292 | DstPort 1 1293 | } 1294 | } 1295 | Line { 1296 | ZOrder 13 1297 | SrcBlock "Udse" 1298 | SrcPort 1 1299 | Points [145, 0] 1300 | Branch { 1301 | ZOrder 14 1302 | DstBlock "Product" 1303 | DstPort 1 1304 | } 1305 | Branch { 1306 | ZOrder 15 1307 | Points [0, 225] 1308 | DstBlock "Product2" 1309 | DstPort 1 1310 | } 1311 | } 1312 | Line { 1313 | ZOrder 16 1314 | SrcBlock "Trigonometric\nFunction" 1315 | SrcPort 1 1316 | Points [35, 0] 1317 | Branch { 1318 | ZOrder 17 1319 | Points [0, 270] 1320 | DstBlock "Product3" 1321 | DstPort 1 1322 | } 1323 | Branch { 1324 | ZOrder 18 1325 | Points [25, 0] 1326 | DstBlock "Product" 1327 | DstPort 2 1328 | } 1329 | } 1330 | Line { 1331 | ZOrder 19 1332 | SrcBlock "theta" 1333 | SrcPort 1 1334 | Points [45, 0] 1335 | Branch { 1336 | ZOrder 20 1337 | Points [0, -50] 1338 | DstBlock "Trigonometric\nFunction" 1339 | DstPort 1 1340 | } 1341 | Branch { 1342 | ZOrder 21 1343 | Points [0, 35] 1344 | DstBlock "Trigonometric\nFunction1" 1345 | DstPort 1 1346 | } 1347 | } 1348 | } 1349 | } 1350 | Block { 1351 | BlockType Gain 1352 | Name "Gain" 1353 | SID "598" 1354 | Position [515, 160, 545, 190] 1355 | ZOrder -2 1356 | Gain "6" 1357 | ParamDataTypeStr "Inherit: Inherit via internal rule" 1358 | OutDataTypeStr "Inherit: Inherit via internal rule" 1359 | SaturateOnIntegerOverflow off 1360 | } 1361 | Block { 1362 | BlockType Gain 1363 | Name "Gain1" 1364 | SID "599" 1365 | Position [515, 200, 545, 230] 1366 | ZOrder -3 1367 | Gain "6" 1368 | ParamDataTypeStr "Inherit: Inherit via internal rule" 1369 | OutDataTypeStr "Inherit: Inherit via internal rule" 1370 | SaturateOnIntegerOverflow off 1371 | } 1372 | Block { 1373 | BlockType Mux 1374 | Name "Mux1" 1375 | SID "569" 1376 | Ports [3, 1] 1377 | Position [805, 146, 810, 194] 1378 | ZOrder -4 1379 | ShowName off 1380 | Inputs "3" 1381 | DisplayOption "bar" 1382 | } 1383 | Block { 1384 | BlockType SubSystem 1385 | Name "PMSM" 1386 | SID "439" 1387 | Ports [4, 8] 1388 | Position [630, 149, 690, 266] 1389 | ZOrder -5 1390 | FontName "Arial" 1391 | FontSize 12 1392 | RequestExecContextInheritance off 1393 | Object { 1394 | $PropName "MaskObject" 1395 | $ObjectID 20 1396 | $ClassName "Simulink.Mask" 1397 | Array { 1398 | Type "Simulink.MaskParameter" 1399 | Dimension 6 1400 | Object { 1401 | $ObjectID 21 1402 | Type "edit" 1403 | Name "Ld" 1404 | Prompt "Ld" 1405 | Value "8.5e-3" 1406 | } 1407 | Object { 1408 | $ObjectID 22 1409 | Type "edit" 1410 | Name "Lq" 1411 | Prompt "Lq" 1412 | Value "8.5e-3" 1413 | } 1414 | Object { 1415 | $ObjectID 23 1416 | Type "edit" 1417 | Name "r" 1418 | Prompt "r" 1419 | Value "2.875" 1420 | } 1421 | Object { 1422 | $ObjectID 24 1423 | Type "edit" 1424 | Name "flux_r" 1425 | Prompt "flux_r" 1426 | Value "0.175" 1427 | } 1428 | Object { 1429 | $ObjectID 25 1430 | Type "edit" 1431 | Name "np" 1432 | Prompt "np" 1433 | Value "4" 1434 | } 1435 | Object { 1436 | $ObjectID 26 1437 | Type "edit" 1438 | Name "J" 1439 | Prompt "J" 1440 | Value "0.8e-3" 1441 | } 1442 | PropName "Parameters" 1443 | } 1444 | } 1445 | System { 1446 | Name "PMSM" 1447 | Location [-9, 0, 1369, 780] 1448 | Open off 1449 | ModelBrowserVisibility off 1450 | ModelBrowserWidth 200 1451 | ScreenColor "white" 1452 | PaperOrientation "landscape" 1453 | PaperPositionMode "auto" 1454 | PaperType "A4" 1455 | PaperUnits "centimeters" 1456 | TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000] 1457 | TiledPageScale 1 1458 | ShowPageBoundaries off 1459 | ZoomFactor "125" 1460 | Block { 1461 | BlockType Inport 1462 | Name "Ua" 1463 | SID "440" 1464 | Position [25, 53, 55, 67] 1465 | ZOrder -1 1466 | IconDisplay "Port number" 1467 | } 1468 | Block { 1469 | BlockType Inport 1470 | Name "Ub" 1471 | SID "441" 1472 | Position [25, 88, 55, 102] 1473 | ZOrder -2 1474 | Port "2" 1475 | IconDisplay "Port number" 1476 | } 1477 | Block { 1478 | BlockType Inport 1479 | Name "Uc" 1480 | SID "442" 1481 | Position [25, 123, 55, 137] 1482 | ZOrder -3 1483 | Port "3" 1484 | IconDisplay "Port number" 1485 | } 1486 | Block { 1487 | BlockType Inport 1488 | Name "TL" 1489 | SID "443" 1490 | Position [250, 248, 280, 262] 1491 | ZOrder -4 1492 | Port "4" 1493 | IconDisplay "Port number" 1494 | } 1495 | Block { 1496 | BlockType SubSystem 1497 | Name " " 1498 | SID "444" 1499 | Ports [3, 2] 1500 | Position [195, 42, 265, 208] 1501 | ZOrder -5 1502 | FontName "Arial" 1503 | FontSize 14 1504 | FontWeight "bold" 1505 | RequestExecContextInheritance off 1506 | Object { 1507 | $PropName "MaskObject" 1508 | $ObjectID 27 1509 | $ClassName "Simulink.Mask" 1510 | Display "disp('2s\\n to\\n 2r ');\nport_label('output', 1, '\\iti_d_s_e','texmode','on');\nport_label('outpu" 1511 | "t', 2, '\\iti_q_s_e','texmode','on');\nport_label('input', 1, '\\iti_{ds}','texmode','on');\nport_label('input', " 1512 | "2, '\\iti_{qs}','texmode','on');\nport_label('input', 3, '\\it\\theta_m','texmode','on');" 1513 | } 1514 | System { 1515 | Name " " 1516 | Location [350, 277, 931, 786] 1517 | Open off 1518 | ModelBrowserVisibility off 1519 | ModelBrowserWidth 200 1520 | ScreenColor "white" 1521 | PaperOrientation "landscape" 1522 | PaperPositionMode "auto" 1523 | PaperType "A4" 1524 | PaperUnits "centimeters" 1525 | TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000] 1526 | TiledPageScale 1 1527 | ShowPageBoundaries off 1528 | ZoomFactor "100" 1529 | Block { 1530 | BlockType Inport 1531 | Name "ids" 1532 | SID "445" 1533 | Position [25, 28, 55, 42] 1534 | ZOrder -1 1535 | IconDisplay "Port number" 1536 | } 1537 | Block { 1538 | BlockType Inport 1539 | Name "iqs" 1540 | SID "446" 1541 | Position [30, 283, 60, 297] 1542 | ZOrder -2 1543 | Port "2" 1544 | IconDisplay "Port number" 1545 | } 1546 | Block { 1547 | BlockType Inport 1548 | Name "theta" 1549 | SID "447" 1550 | Position [25, 143, 55, 157] 1551 | ZOrder -3 1552 | Port "3" 1553 | IconDisplay "Port number" 1554 | } 1555 | Block { 1556 | BlockType Product 1557 | Name "Product" 1558 | SID "448" 1559 | Ports [2, 1] 1560 | Position [255, 26, 300, 59] 1561 | ZOrder -4 1562 | InputSameDT off 1563 | RndMeth "Floor" 1564 | } 1565 | Block { 1566 | BlockType Product 1567 | Name "Product1" 1568 | SID "449" 1569 | Ports [2, 1] 1570 | Position [255, 106, 300, 139] 1571 | ZOrder -5 1572 | InputSameDT off 1573 | RndMeth "Floor" 1574 | } 1575 | Block { 1576 | BlockType Product 1577 | Name "Product2" 1578 | SID "450" 1579 | Ports [2, 1] 1580 | Position [265, 181, 310, 214] 1581 | ZOrder -6 1582 | InputSameDT off 1583 | RndMeth "Floor" 1584 | } 1585 | Block { 1586 | BlockType Product 1587 | Name "Product3" 1588 | SID "451" 1589 | Ports [2, 1] 1590 | Position [295, 266, 340, 299] 1591 | ZOrder -7 1592 | InputSameDT off 1593 | RndMeth "Floor" 1594 | } 1595 | Block { 1596 | BlockType Sum 1597 | Name "Sum" 1598 | SID "452" 1599 | Ports [2, 1] 1600 | Position [360, 35, 380, 55] 1601 | ZOrder -8 1602 | ShowName off 1603 | IconShape "round" 1604 | Inputs "|++" 1605 | InputSameDT off 1606 | OutDataTypeStr "Inherit: Inherit via internal rule" 1607 | } 1608 | Block { 1609 | BlockType Sum 1610 | Name "Sum1" 1611 | SID "453" 1612 | Ports [2, 1] 1613 | Position [390, 190, 410, 210] 1614 | ZOrder -9 1615 | ShowName off 1616 | IconShape "round" 1617 | Inputs "|-+" 1618 | InputSameDT off 1619 | OutDataTypeStr "Inherit: Inherit via internal rule" 1620 | } 1621 | Block { 1622 | BlockType Trigonometry 1623 | Name "Trigonometric\nFunction" 1624 | SID "454" 1625 | Ports [1, 1] 1626 | Position [125, 100, 155, 130] 1627 | ZOrder -10 1628 | } 1629 | Block { 1630 | BlockType Trigonometry 1631 | Name "Trigonometric\nFunction1" 1632 | SID "455" 1633 | Ports [1, 1] 1634 | Position [125, 180, 155, 210] 1635 | ZOrder -11 1636 | Operator "cos" 1637 | } 1638 | Block { 1639 | BlockType Outport 1640 | Name "idse" 1641 | SID "456" 1642 | Position [455, 38, 485, 52] 1643 | ZOrder -12 1644 | IconDisplay "Port number" 1645 | } 1646 | Block { 1647 | BlockType Outport 1648 | Name "iqse" 1649 | SID "457" 1650 | Position [470, 193, 500, 207] 1651 | ZOrder -13 1652 | Port "2" 1653 | IconDisplay "Port number" 1654 | } 1655 | Line { 1656 | ZOrder 1 1657 | SrcBlock "Sum1" 1658 | SrcPort 1 1659 | DstBlock "iqse" 1660 | DstPort 1 1661 | } 1662 | Line { 1663 | ZOrder 2 1664 | SrcBlock "Product3" 1665 | SrcPort 1 1666 | Points [55, 0] 1667 | DstBlock "Sum1" 1668 | DstPort 2 1669 | } 1670 | Line { 1671 | ZOrder 3 1672 | SrcBlock "Product2" 1673 | SrcPort 1 1674 | DstBlock "Sum1" 1675 | DstPort 1 1676 | } 1677 | Line { 1678 | ZOrder 4 1679 | SrcBlock "Sum" 1680 | SrcPort 1 1681 | DstBlock "idse" 1682 | DstPort 1 1683 | } 1684 | Line { 1685 | ZOrder 5 1686 | SrcBlock "Product1" 1687 | SrcPort 1 1688 | Points [65, 0] 1689 | DstBlock "Sum" 1690 | DstPort 2 1691 | } 1692 | Line { 1693 | ZOrder 6 1694 | SrcBlock "Product" 1695 | SrcPort 1 1696 | DstBlock "Sum" 1697 | DstPort 1 1698 | } 1699 | Line { 1700 | ZOrder 7 1701 | SrcBlock "iqs" 1702 | SrcPort 1 1703 | Points [0, 0; 175, 0] 1704 | Branch { 1705 | ZOrder 8 1706 | DstBlock "Product1" 1707 | DstPort 2 1708 | } 1709 | Branch { 1710 | ZOrder 9 1711 | DstBlock "Product3" 1712 | DstPort 2 1713 | } 1714 | } 1715 | Line { 1716 | ZOrder 10 1717 | SrcBlock "Trigonometric\nFunction" 1718 | SrcPort 1 1719 | Points [0, 0; 70, 0] 1720 | Branch { 1721 | ZOrder 11 1722 | Points [0, 75] 1723 | DstBlock "Product2" 1724 | DstPort 1 1725 | } 1726 | Branch { 1727 | ZOrder 12 1728 | DstBlock "Product1" 1729 | DstPort 1 1730 | } 1731 | } 1732 | Line { 1733 | ZOrder 13 1734 | SrcBlock "Trigonometric\nFunction1" 1735 | SrcPort 1 1736 | Points [0, 0; 40, 0] 1737 | Branch { 1738 | ZOrder 14 1739 | Points [0, 80] 1740 | DstBlock "Product3" 1741 | DstPort 1 1742 | } 1743 | Branch { 1744 | ZOrder 15 1745 | Points [0, -145] 1746 | DstBlock "Product" 1747 | DstPort 2 1748 | } 1749 | } 1750 | Line { 1751 | ZOrder 16 1752 | SrcBlock "ids" 1753 | SrcPort 1 1754 | Points [0, 0; 155, 0] 1755 | Branch { 1756 | ZOrder 17 1757 | DstBlock "Product" 1758 | DstPort 1 1759 | } 1760 | Branch { 1761 | ZOrder 18 1762 | Points [0, 170] 1763 | DstBlock "Product2" 1764 | DstPort 2 1765 | } 1766 | } 1767 | Line { 1768 | ZOrder 19 1769 | SrcBlock "theta" 1770 | SrcPort 1 1771 | Points [0, 0; 40, 0] 1772 | Branch { 1773 | ZOrder 20 1774 | Points [0, -35] 1775 | DstBlock "Trigonometric\nFunction" 1776 | DstPort 1 1777 | } 1778 | Branch { 1779 | ZOrder 21 1780 | Points [0, 45] 1781 | DstBlock "Trigonometric\nFunction1" 1782 | DstPort 1 1783 | } 1784 | } 1785 | } 1786 | } 1787 | Block { 1788 | BlockType SubSystem 1789 | Name " " 1790 | SID "458" 1791 | Ports [2, 3] 1792 | Position [830, 24, 900, 186] 1793 | ZOrder -6 1794 | NamePlacement "alternate" 1795 | ShowName off 1796 | FontName "Arial" 1797 | FontSize 14 1798 | FontWeight "bold" 1799 | RequestExecContextInheritance off 1800 | Object { 1801 | $PropName "MaskObject" 1802 | $ObjectID 28 1803 | $ClassName "Simulink.Mask" 1804 | Display "disp('2s\\n to \\n 3s ');\nport_label('output', 1, '\\itu_a','texmode','on');\nport_label('output'," 1805 | " 2, '\\itu_b','texmode','on');\nport_label('output', 3, '\\itu_c','texmode','on');\nport_label('input', 1, '\\itV" 1806 | "_{ds}','texmode','on');\nport_label('input', 2, '\\itV_{qs}','texmode','on');\n" 1807 | } 1808 | System { 1809 | Name " " 1810 | Location [96, 52, 772, 577] 1811 | Open off 1812 | ModelBrowserVisibility off 1813 | ModelBrowserWidth 200 1814 | ScreenColor "white" 1815 | PaperOrientation "landscape" 1816 | PaperPositionMode "auto" 1817 | PaperType "A4" 1818 | PaperUnits "centimeters" 1819 | TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000] 1820 | TiledPageScale 1 1821 | ShowPageBoundaries off 1822 | ZoomFactor "100" 1823 | Block { 1824 | BlockType Inport 1825 | Name "Uds" 1826 | SID "459" 1827 | Position [25, 88, 55, 102] 1828 | ZOrder -1 1829 | IconDisplay "Port number" 1830 | } 1831 | Block { 1832 | BlockType Inport 1833 | Name "Uqs" 1834 | SID "460" 1835 | Position [25, 188, 55, 202] 1836 | ZOrder -2 1837 | Port "2" 1838 | IconDisplay "Port number" 1839 | } 1840 | Block { 1841 | BlockType Gain 1842 | Name "Gain" 1843 | SID "461" 1844 | Position [225, 25, 255, 55] 1845 | ZOrder -3 1846 | Gain "sqrt(2/3)" 1847 | } 1848 | Block { 1849 | BlockType Gain 1850 | Name "Gain1" 1851 | SID "462" 1852 | Position [175, 80, 205, 110] 1853 | ZOrder -4 1854 | Gain "1/2" 1855 | } 1856 | Block { 1857 | BlockType Gain 1858 | Name "Gain2" 1859 | SID "463" 1860 | Position [175, 180, 205, 210] 1861 | ZOrder -5 1862 | Gain "sqrt(3)/2" 1863 | } 1864 | Block { 1865 | BlockType Gain 1866 | Name "Gain3" 1867 | SID "464" 1868 | Position [315, 80, 345, 110] 1869 | ZOrder -6 1870 | Gain "sqrt(2/3)" 1871 | } 1872 | Block { 1873 | BlockType Gain 1874 | Name "Gain4" 1875 | SID "465" 1876 | Position [360, 180, 390, 210] 1877 | ZOrder -7 1878 | Gain "sqrt(2/3)" 1879 | } 1880 | Block { 1881 | BlockType Sum 1882 | Name "Sum" 1883 | SID "466" 1884 | Ports [2, 1] 1885 | Position [240, 85, 260, 105] 1886 | ZOrder -8 1887 | ShowName off 1888 | IconShape "round" 1889 | Inputs "|-+" 1890 | InputSameDT off 1891 | OutDataTypeStr "Inherit: Inherit via internal rule" 1892 | } 1893 | Block { 1894 | BlockType Sum 1895 | Name "Sum1" 1896 | SID "467" 1897 | Ports [2, 1] 1898 | Position [290, 185, 310, 205] 1899 | ZOrder -9 1900 | NamePlacement "alternate" 1901 | ShowName off 1902 | IconShape "round" 1903 | Inputs "|--" 1904 | InputSameDT off 1905 | OutDataTypeStr "Inherit: Inherit via internal rule" 1906 | } 1907 | Block { 1908 | BlockType Outport 1909 | Name "Uas" 1910 | SID "468" 1911 | Position [390, 33, 420, 47] 1912 | ZOrder -10 1913 | IconDisplay "Port number" 1914 | } 1915 | Block { 1916 | BlockType Outport 1917 | Name "Ubs" 1918 | SID "469" 1919 | Position [395, 88, 425, 102] 1920 | ZOrder -11 1921 | Port "2" 1922 | IconDisplay "Port number" 1923 | } 1924 | Block { 1925 | BlockType Outport 1926 | Name "Ucs" 1927 | SID "470" 1928 | Position [440, 188, 470, 202] 1929 | ZOrder -12 1930 | Port "3" 1931 | IconDisplay "Port number" 1932 | } 1933 | Line { 1934 | ZOrder 1 1935 | SrcBlock "Gain4" 1936 | SrcPort 1 1937 | DstBlock "Ucs" 1938 | DstPort 1 1939 | } 1940 | Line { 1941 | ZOrder 2 1942 | SrcBlock "Sum1" 1943 | SrcPort 1 1944 | DstBlock "Gain4" 1945 | DstPort 1 1946 | } 1947 | Line { 1948 | ZOrder 3 1949 | SrcBlock "Gain3" 1950 | SrcPort 1 1951 | DstBlock "Ubs" 1952 | DstPort 1 1953 | } 1954 | Line { 1955 | ZOrder 4 1956 | SrcBlock "Sum" 1957 | SrcPort 1 1958 | DstBlock "Gain3" 1959 | DstPort 1 1960 | } 1961 | Line { 1962 | ZOrder 5 1963 | SrcBlock "Gain2" 1964 | SrcPort 1 1965 | Points [0, 0; 40, 0] 1966 | Branch { 1967 | ZOrder 6 1968 | DstBlock "Sum1" 1969 | DstPort 1 1970 | } 1971 | Branch { 1972 | ZOrder 7 1973 | DstBlock "Sum" 1974 | DstPort 2 1975 | } 1976 | } 1977 | Line { 1978 | ZOrder 8 1979 | SrcBlock "Gain1" 1980 | SrcPort 1 1981 | Points [0, 0; 10, 0] 1982 | Branch { 1983 | ZOrder 9 1984 | Points [0, 150; 80, 0] 1985 | DstBlock "Sum1" 1986 | DstPort 2 1987 | } 1988 | Branch { 1989 | ZOrder 10 1990 | DstBlock "Sum" 1991 | DstPort 1 1992 | } 1993 | } 1994 | Line { 1995 | ZOrder 11 1996 | SrcBlock "Uqs" 1997 | SrcPort 1 1998 | DstBlock "Gain2" 1999 | DstPort 1 2000 | } 2001 | Line { 2002 | ZOrder 12 2003 | SrcBlock "Uds" 2004 | SrcPort 1 2005 | Points [0, 0; 75, 0] 2006 | Branch { 2007 | ZOrder 13 2008 | Points [0, -55] 2009 | DstBlock "Gain" 2010 | DstPort 1 2011 | } 2012 | Branch { 2013 | ZOrder 14 2014 | DstBlock "Gain1" 2015 | DstPort 1 2016 | } 2017 | } 2018 | Line { 2019 | ZOrder 15 2020 | SrcBlock "Gain" 2021 | SrcPort 1 2022 | DstBlock "Uas" 2023 | DstPort 1 2024 | } 2025 | } 2026 | } 2027 | Block { 2028 | BlockType SubSystem 2029 | Name " " 2030 | SID "471" 2031 | Ports [3, 2] 2032 | Position [720, 25, 810, 185] 2033 | ZOrder -7 2034 | NamePlacement "alternate" 2035 | ShowName off 2036 | FontName "Arial" 2037 | FontSize 14 2038 | FontWeight "bold" 2039 | RequestExecContextInheritance off 2040 | Object { 2041 | $PropName "MaskObject" 2042 | $ObjectID 29 2043 | $ClassName "Simulink.Mask" 2044 | Display "disp('2r\\n to\\n 2s ');\nport_label('output', 1, '\\itu_d_s','texmode','on');\nport_label('output" 2045 | "', 2, '\\itu_q_s','texmode','on');\nport_label('input', 1, '\\itV_{dse}','texmode','on');\nport_label('input', 2," 2046 | " '\\itV_{qse}','texmode','on');\nport_label('input', 3, '\\it\\theta_m','texmode','on');" 2047 | } 2048 | System { 2049 | Name " " 2050 | Location [-9, 0, 1369, 780] 2051 | Open off 2052 | ModelBrowserVisibility off 2053 | ModelBrowserWidth 200 2054 | ScreenColor "white" 2055 | PaperOrientation "landscape" 2056 | PaperPositionMode "auto" 2057 | PaperType "A4" 2058 | PaperUnits "centimeters" 2059 | TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000] 2060 | TiledPageScale 1 2061 | ShowPageBoundaries off 2062 | ZoomFactor "100" 2063 | Block { 2064 | BlockType Inport 2065 | Name "Udse" 2066 | SID "472" 2067 | Position [25, 28, 55, 42] 2068 | ZOrder -1 2069 | IconDisplay "Port number" 2070 | } 2071 | Block { 2072 | BlockType Inport 2073 | Name "Uqse" 2074 | SID "473" 2075 | Position [35, 198, 65, 212] 2076 | ZOrder -2 2077 | Port "2" 2078 | IconDisplay "Port number" 2079 | } 2080 | Block { 2081 | BlockType Inport 2082 | Name "theta" 2083 | SID "474" 2084 | Position [30, 113, 60, 127] 2085 | ZOrder -3 2086 | Port "3" 2087 | IconDisplay "Port number" 2088 | } 2089 | Block { 2090 | BlockType Product 2091 | Name "Product" 2092 | SID "475" 2093 | Ports [2, 1] 2094 | Position [255, 26, 300, 59] 2095 | ZOrder -4 2096 | InputSameDT off 2097 | RndMeth "Floor" 2098 | } 2099 | Block { 2100 | BlockType Product 2101 | Name "Product1" 2102 | SID "476" 2103 | Ports [2, 1] 2104 | Position [265, 146, 310, 179] 2105 | ZOrder -5 2106 | InputSameDT off 2107 | RndMeth "Floor" 2108 | } 2109 | Block { 2110 | BlockType Product 2111 | Name "Product2" 2112 | SID "477" 2113 | Ports [2, 1] 2114 | Position [275, 251, 320, 284] 2115 | ZOrder -6 2116 | InputSameDT off 2117 | RndMeth "Floor" 2118 | } 2119 | Block { 2120 | BlockType Product 2121 | Name "Product3" 2122 | SID "478" 2123 | Ports [2, 1] 2124 | Position [280, 331, 325, 364] 2125 | ZOrder -7 2126 | InputSameDT off 2127 | RndMeth "Floor" 2128 | } 2129 | Block { 2130 | BlockType Sum 2131 | Name "Sum" 2132 | SID "479" 2133 | Ports [2, 1] 2134 | Position [340, 35, 360, 55] 2135 | ZOrder -8 2136 | ShowName off 2137 | IconShape "round" 2138 | Inputs "|++" 2139 | InputSameDT off 2140 | OutDataTypeStr "Inherit: Inherit via internal rule" 2141 | } 2142 | Block { 2143 | BlockType Sum 2144 | Name "Sum1" 2145 | SID "480" 2146 | Ports [2, 1] 2147 | Position [390, 260, 410, 280] 2148 | ZOrder -9 2149 | ShowName off 2150 | IconShape "round" 2151 | Inputs "|+-" 2152 | InputSameDT off 2153 | OutDataTypeStr "Inherit: Inherit via internal rule" 2154 | } 2155 | Block { 2156 | BlockType Trigonometry 2157 | Name "Trigonometric\nFunction" 2158 | SID "481" 2159 | Ports [1, 1] 2160 | Position [145, 55, 175, 85] 2161 | ZOrder -10 2162 | } 2163 | Block { 2164 | BlockType Trigonometry 2165 | Name "Trigonometric\nFunction1" 2166 | SID "482" 2167 | Ports [1, 1] 2168 | Position [150, 140, 180, 170] 2169 | ZOrder -11 2170 | Operator "cos" 2171 | } 2172 | Block { 2173 | BlockType Outport 2174 | Name "Uds" 2175 | SID "483" 2176 | Position [460, 263, 490, 277] 2177 | ZOrder -12 2178 | IconDisplay "Port number" 2179 | } 2180 | Block { 2181 | BlockType Outport 2182 | Name "Uqs" 2183 | SID "484" 2184 | Position [445, 38, 475, 52] 2185 | ZOrder -13 2186 | Port "2" 2187 | IconDisplay "Port number" 2188 | } 2189 | Line { 2190 | ZOrder 1 2191 | SrcBlock "Sum1" 2192 | SrcPort 1 2193 | DstBlock "Uds" 2194 | DstPort 1 2195 | } 2196 | Line { 2197 | ZOrder 2 2198 | SrcBlock "Product3" 2199 | SrcPort 1 2200 | Points [70, 0] 2201 | DstBlock "Sum1" 2202 | DstPort 2 2203 | } 2204 | Line { 2205 | ZOrder 3 2206 | SrcBlock "Product2" 2207 | SrcPort 1 2208 | DstBlock "Sum1" 2209 | DstPort 1 2210 | } 2211 | Line { 2212 | ZOrder 4 2213 | SrcBlock "Sum" 2214 | SrcPort 1 2215 | DstBlock "Uqs" 2216 | DstPort 1 2217 | } 2218 | Line { 2219 | ZOrder 5 2220 | SrcBlock "Product1" 2221 | SrcPort 1 2222 | Points [35, 0] 2223 | DstBlock "Sum" 2224 | DstPort 2 2225 | } 2226 | Line { 2227 | ZOrder 6 2228 | SrcBlock "Product" 2229 | SrcPort 1 2230 | DstBlock "Sum" 2231 | DstPort 1 2232 | } 2233 | Line { 2234 | ZOrder 7 2235 | SrcBlock "Uqse" 2236 | SrcPort 1 2237 | Points [80, 0] 2238 | Branch { 2239 | ZOrder 8 2240 | Points [100, 0] 2241 | DstBlock "Product1" 2242 | DstPort 2 2243 | } 2244 | Branch { 2245 | ZOrder 9 2246 | Points [0, 150] 2247 | DstBlock "Product3" 2248 | DstPort 2 2249 | } 2250 | } 2251 | Line { 2252 | ZOrder 10 2253 | SrcBlock "Trigonometric\nFunction1" 2254 | SrcPort 1 2255 | Points [10, 0] 2256 | Branch { 2257 | ZOrder 11 2258 | Points [0, 120] 2259 | DstBlock "Product2" 2260 | DstPort 2 2261 | } 2262 | Branch { 2263 | ZOrder 12 2264 | DstBlock "Product1" 2265 | DstPort 1 2266 | } 2267 | } 2268 | Line { 2269 | ZOrder 13 2270 | SrcBlock "Udse" 2271 | SrcPort 1 2272 | Points [145, 0] 2273 | Branch { 2274 | ZOrder 14 2275 | DstBlock "Product" 2276 | DstPort 1 2277 | } 2278 | Branch { 2279 | ZOrder 15 2280 | Points [0, 225] 2281 | DstBlock "Product2" 2282 | DstPort 1 2283 | } 2284 | } 2285 | Line { 2286 | ZOrder 16 2287 | SrcBlock "Trigonometric\nFunction" 2288 | SrcPort 1 2289 | Points [35, 0] 2290 | Branch { 2291 | ZOrder 17 2292 | Points [0, 270] 2293 | DstBlock "Product3" 2294 | DstPort 1 2295 | } 2296 | Branch { 2297 | ZOrder 18 2298 | Points [25, 0] 2299 | DstBlock "Product" 2300 | DstPort 2 2301 | } 2302 | } 2303 | Line { 2304 | ZOrder 19 2305 | SrcBlock "theta" 2306 | SrcPort 1 2307 | Points [45, 0] 2308 | Branch { 2309 | ZOrder 20 2310 | Points [0, -50] 2311 | DstBlock "Trigonometric\nFunction" 2312 | DstPort 1 2313 | } 2314 | Branch { 2315 | ZOrder 21 2316 | Points [0, 35] 2317 | DstBlock "Trigonometric\nFunction1" 2318 | DstPort 1 2319 | } 2320 | } 2321 | } 2322 | } 2323 | Block { 2324 | BlockType SubSystem 2325 | Name " 1" 2326 | SID "485" 2327 | Ports [3, 2] 2328 | Position [790, 230, 880, 390] 2329 | ZOrder -8 2330 | NamePlacement "alternate" 2331 | ShowName off 2332 | FontName "Arial" 2333 | FontSize 14 2334 | FontWeight "bold" 2335 | RequestExecContextInheritance off 2336 | Object { 2337 | $PropName "MaskObject" 2338 | $ObjectID 30 2339 | $ClassName "Simulink.Mask" 2340 | Display "disp('2r\\n to\\n 2s ');\nport_label('output', 1, '\\itu_d_s','texmode','on');\nport_label('output" 2341 | "', 2, '\\itu_q_s','texmode','on');\nport_label('input', 1, '\\itV_{dse}','texmode','on');\nport_label('input', 2," 2342 | " '\\itV_{qse}','texmode','on');\nport_label('input', 3, '\\it\\theta_m','texmode','on');" 2343 | } 2344 | System { 2345 | Name " 1" 2346 | Location [-9, 0, 1369, 780] 2347 | Open off 2348 | ModelBrowserVisibility off 2349 | ModelBrowserWidth 200 2350 | ScreenColor "white" 2351 | PaperOrientation "landscape" 2352 | PaperPositionMode "auto" 2353 | PaperType "A4" 2354 | PaperUnits "centimeters" 2355 | TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000] 2356 | TiledPageScale 1 2357 | ShowPageBoundaries off 2358 | ZoomFactor "100" 2359 | Block { 2360 | BlockType Inport 2361 | Name "Udse" 2362 | SID "486" 2363 | Position [25, 28, 55, 42] 2364 | ZOrder -1 2365 | IconDisplay "Port number" 2366 | } 2367 | Block { 2368 | BlockType Inport 2369 | Name "Uqse" 2370 | SID "487" 2371 | Position [35, 198, 65, 212] 2372 | ZOrder -2 2373 | Port "2" 2374 | IconDisplay "Port number" 2375 | } 2376 | Block { 2377 | BlockType Inport 2378 | Name "theta" 2379 | SID "488" 2380 | Position [30, 113, 60, 127] 2381 | ZOrder -3 2382 | Port "3" 2383 | IconDisplay "Port number" 2384 | } 2385 | Block { 2386 | BlockType Product 2387 | Name "Product" 2388 | SID "489" 2389 | Ports [2, 1] 2390 | Position [255, 26, 300, 59] 2391 | ZOrder -4 2392 | InputSameDT off 2393 | RndMeth "Floor" 2394 | } 2395 | Block { 2396 | BlockType Product 2397 | Name "Product1" 2398 | SID "490" 2399 | Ports [2, 1] 2400 | Position [265, 146, 310, 179] 2401 | ZOrder -5 2402 | InputSameDT off 2403 | RndMeth "Floor" 2404 | } 2405 | Block { 2406 | BlockType Product 2407 | Name "Product2" 2408 | SID "491" 2409 | Ports [2, 1] 2410 | Position [275, 251, 320, 284] 2411 | ZOrder -6 2412 | InputSameDT off 2413 | RndMeth "Floor" 2414 | } 2415 | Block { 2416 | BlockType Product 2417 | Name "Product3" 2418 | SID "492" 2419 | Ports [2, 1] 2420 | Position [280, 331, 325, 364] 2421 | ZOrder -7 2422 | InputSameDT off 2423 | RndMeth "Floor" 2424 | } 2425 | Block { 2426 | BlockType Sum 2427 | Name "Sum" 2428 | SID "493" 2429 | Ports [2, 1] 2430 | Position [340, 35, 360, 55] 2431 | ZOrder -8 2432 | ShowName off 2433 | IconShape "round" 2434 | Inputs "|++" 2435 | InputSameDT off 2436 | OutDataTypeStr "Inherit: Inherit via internal rule" 2437 | } 2438 | Block { 2439 | BlockType Sum 2440 | Name "Sum1" 2441 | SID "494" 2442 | Ports [2, 1] 2443 | Position [390, 260, 410, 280] 2444 | ZOrder -9 2445 | ShowName off 2446 | IconShape "round" 2447 | Inputs "|+-" 2448 | InputSameDT off 2449 | OutDataTypeStr "Inherit: Inherit via internal rule" 2450 | } 2451 | Block { 2452 | BlockType Trigonometry 2453 | Name "Trigonometric\nFunction" 2454 | SID "495" 2455 | Ports [1, 1] 2456 | Position [145, 55, 175, 85] 2457 | ZOrder -10 2458 | } 2459 | Block { 2460 | BlockType Trigonometry 2461 | Name "Trigonometric\nFunction1" 2462 | SID "496" 2463 | Ports [1, 1] 2464 | Position [150, 140, 180, 170] 2465 | ZOrder -11 2466 | Operator "cos" 2467 | } 2468 | Block { 2469 | BlockType Outport 2470 | Name "Uds" 2471 | SID "497" 2472 | Position [460, 263, 490, 277] 2473 | ZOrder -12 2474 | IconDisplay "Port number" 2475 | } 2476 | Block { 2477 | BlockType Outport 2478 | Name "Uqs" 2479 | SID "498" 2480 | Position [445, 38, 475, 52] 2481 | ZOrder -13 2482 | Port "2" 2483 | IconDisplay "Port number" 2484 | } 2485 | Line { 2486 | ZOrder 1 2487 | SrcBlock "theta" 2488 | SrcPort 1 2489 | Points [45, 0] 2490 | Branch { 2491 | ZOrder 2 2492 | Points [0, 35] 2493 | DstBlock "Trigonometric\nFunction1" 2494 | DstPort 1 2495 | } 2496 | Branch { 2497 | ZOrder 3 2498 | Points [0, -50] 2499 | DstBlock "Trigonometric\nFunction" 2500 | DstPort 1 2501 | } 2502 | } 2503 | Line { 2504 | ZOrder 4 2505 | SrcBlock "Trigonometric\nFunction" 2506 | SrcPort 1 2507 | Points [35, 0] 2508 | Branch { 2509 | ZOrder 5 2510 | Points [25, 0] 2511 | DstBlock "Product" 2512 | DstPort 2 2513 | } 2514 | Branch { 2515 | ZOrder 6 2516 | Points [0, 270] 2517 | DstBlock "Product3" 2518 | DstPort 1 2519 | } 2520 | } 2521 | Line { 2522 | ZOrder 7 2523 | SrcBlock "Udse" 2524 | SrcPort 1 2525 | Points [145, 0] 2526 | Branch { 2527 | ZOrder 8 2528 | Points [0, 225] 2529 | DstBlock "Product2" 2530 | DstPort 1 2531 | } 2532 | Branch { 2533 | ZOrder 9 2534 | DstBlock "Product" 2535 | DstPort 1 2536 | } 2537 | } 2538 | Line { 2539 | ZOrder 10 2540 | SrcBlock "Trigonometric\nFunction1" 2541 | SrcPort 1 2542 | Points [10, 0] 2543 | Branch { 2544 | ZOrder 11 2545 | DstBlock "Product1" 2546 | DstPort 1 2547 | } 2548 | Branch { 2549 | ZOrder 12 2550 | Points [0, 120] 2551 | DstBlock "Product2" 2552 | DstPort 2 2553 | } 2554 | } 2555 | Line { 2556 | ZOrder 13 2557 | SrcBlock "Uqse" 2558 | SrcPort 1 2559 | Points [80, 0] 2560 | Branch { 2561 | ZOrder 14 2562 | Points [0, 150] 2563 | DstBlock "Product3" 2564 | DstPort 2 2565 | } 2566 | Branch { 2567 | ZOrder 15 2568 | Points [100, 0] 2569 | DstBlock "Product1" 2570 | DstPort 2 2571 | } 2572 | } 2573 | Line { 2574 | ZOrder 16 2575 | SrcBlock "Product" 2576 | SrcPort 1 2577 | DstBlock "Sum" 2578 | DstPort 1 2579 | } 2580 | Line { 2581 | ZOrder 17 2582 | SrcBlock "Product1" 2583 | SrcPort 1 2584 | Points [35, 0] 2585 | DstBlock "Sum" 2586 | DstPort 2 2587 | } 2588 | Line { 2589 | ZOrder 18 2590 | SrcBlock "Sum" 2591 | SrcPort 1 2592 | DstBlock "Uqs" 2593 | DstPort 1 2594 | } 2595 | Line { 2596 | ZOrder 19 2597 | SrcBlock "Product2" 2598 | SrcPort 1 2599 | DstBlock "Sum1" 2600 | DstPort 1 2601 | } 2602 | Line { 2603 | ZOrder 20 2604 | SrcBlock "Product3" 2605 | SrcPort 1 2606 | Points [70, 0] 2607 | DstBlock "Sum1" 2608 | DstPort 2 2609 | } 2610 | Line { 2611 | ZOrder 21 2612 | SrcBlock "Sum1" 2613 | SrcPort 1 2614 | DstBlock "Uds" 2615 | DstPort 1 2616 | } 2617 | } 2618 | } 2619 | Block { 2620 | BlockType Constant 2621 | Name "Constant" 2622 | SID "499" 2623 | Position [560, 315, 590, 345] 2624 | ZOrder -9 2625 | Value "0" 2626 | } 2627 | Block { 2628 | BlockType Integrator 2629 | Name "Integrator" 2630 | SID "500" 2631 | Ports [1, 1] 2632 | Position [550, 260, 580, 290] 2633 | ZOrder -10 2634 | } 2635 | Block { 2636 | BlockType SubSystem 2637 | Name "Motor Electrics" 2638 | SID "513" 2639 | Ports [3, 6] 2640 | Position [410, 167, 455, 268] 2641 | ZOrder -11 2642 | RequestExecContextInheritance off 2643 | System { 2644 | Name "Motor Electrics" 2645 | Location [-9, 0, 1369, 780] 2646 | Open off 2647 | ModelBrowserVisibility off 2648 | ModelBrowserWidth 200 2649 | ScreenColor "white" 2650 | PaperOrientation "landscape" 2651 | PaperPositionMode "auto" 2652 | PaperType "A4" 2653 | PaperUnits "centimeters" 2654 | TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000] 2655 | TiledPageScale 1 2656 | ShowPageBoundaries off 2657 | ZoomFactor "150" 2658 | Block { 2659 | BlockType Inport 2660 | Name "Ud" 2661 | SID "514" 2662 | Position [25, 48, 55, 62] 2663 | ZOrder -1 2664 | IconDisplay "Port number" 2665 | } 2666 | Block { 2667 | BlockType Inport 2668 | Name "Uq" 2669 | SID "515" 2670 | Position [25, 203, 55, 217] 2671 | ZOrder -2 2672 | Port "2" 2673 | IconDisplay "Port number" 2674 | } 2675 | Block { 2676 | BlockType Inport 2677 | Name "TL" 2678 | SID "516" 2679 | Position [560, 223, 590, 237] 2680 | ZOrder -3 2681 | Port "3" 2682 | IconDisplay "Port number" 2683 | } 2684 | Block { 2685 | BlockType Constant 2686 | Name "Constant" 2687 | SID "517" 2688 | Position [165, 25, 195, 55] 2689 | ZOrder -4 2690 | Value "flux_r" 2691 | } 2692 | Block { 2693 | BlockType Gain 2694 | Name "Gain" 2695 | SID "518" 2696 | Position [220, 65, 250, 95] 2697 | ZOrder -5 2698 | Gain "Ld" 2699 | } 2700 | Block { 2701 | BlockType Gain 2702 | Name "Gain1" 2703 | SID "519" 2704 | Position [240, 175, 270, 205] 2705 | ZOrder -6 2706 | Gain "Lq" 2707 | } 2708 | Block { 2709 | BlockType Gain 2710 | Name "Gain2" 2711 | SID "520" 2712 | Position [555, 75, 585, 105] 2713 | ZOrder -7 2714 | Gain "1.5*np" 2715 | } 2716 | Block { 2717 | BlockType Gain 2718 | Name "Gain3" 2719 | SID "521" 2720 | Position [725, 75, 755, 105] 2721 | ZOrder -8 2722 | Gain "np/J" 2723 | } 2724 | Block { 2725 | BlockType Integrator 2726 | Name "Integrator" 2727 | SID "522" 2728 | Ports [1, 1] 2729 | Position [670, 75, 700, 105] 2730 | ZOrder -9 2731 | } 2732 | Block { 2733 | BlockType Product 2734 | Name "Product" 2735 | SID "523" 2736 | Ports [2, 1] 2737 | Position [420, 56, 465, 89] 2738 | ZOrder -10 2739 | InputSameDT off 2740 | RndMeth "Floor" 2741 | } 2742 | Block { 2743 | BlockType Product 2744 | Name "Product1" 2745 | SID "524" 2746 | Ports [2, 1] 2747 | Position [425, 146, 470, 179] 2748 | ZOrder -11 2749 | InputSameDT off 2750 | RndMeth "Floor" 2751 | } 2752 | Block { 2753 | BlockType SubSystem 2754 | Name "Subsystem" 2755 | SID "527" 2756 | Ports [3, 2] 2757 | Position [135, 105, 175, 165] 2758 | ZOrder -12 2759 | RequestExecContextInheritance off 2760 | System { 2761 | Name "Subsystem" 2762 | Location [-9, 0, 1369, 780] 2763 | Open off 2764 | ModelBrowserVisibility off 2765 | ModelBrowserWidth 200 2766 | ScreenColor "white" 2767 | PaperOrientation "landscape" 2768 | PaperPositionMode "auto" 2769 | PaperType "A4" 2770 | PaperUnits "centimeters" 2771 | TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000] 2772 | TiledPageScale 1 2773 | ShowPageBoundaries off 2774 | ZoomFactor "100" 2775 | Block { 2776 | BlockType Inport 2777 | Name "Ud" 2778 | SID "528" 2779 | Position [85, 78, 115, 92] 2780 | ZOrder -1 2781 | IconDisplay "Port number" 2782 | } 2783 | Block { 2784 | BlockType Inport 2785 | Name "wr" 2786 | SID "529" 2787 | Position [480, 143, 510, 157] 2788 | ZOrder -2 2789 | BlockMirror on 2790 | Port "2" 2791 | IconDisplay "Port number" 2792 | } 2793 | Block { 2794 | BlockType Inport 2795 | Name "Uq" 2796 | SID "530" 2797 | Position [75, 343, 105, 357] 2798 | ZOrder -3 2799 | Port "3" 2800 | IconDisplay "Port number" 2801 | } 2802 | Block { 2803 | BlockType Constant 2804 | Name "Constant" 2805 | SID "531" 2806 | Position [25, 215, 55, 245] 2807 | ZOrder -4 2808 | Value "flux_r" 2809 | } 2810 | Block { 2811 | BlockType Gain 2812 | Name "Gain" 2813 | SID "532" 2814 | Position [155, 70, 185, 100] 2815 | ZOrder -5 2816 | Gain "1/Ld" 2817 | } 2818 | Block { 2819 | BlockType Gain 2820 | Name "Gain1" 2821 | SID "533" 2822 | Position [245, 25, 275, 55] 2823 | ZOrder -6 2824 | BlockMirror on 2825 | Gain "r/Ld" 2826 | } 2827 | Block { 2828 | BlockType Gain 2829 | Name "Gain2" 2830 | SID "534" 2831 | Position [390, 120, 420, 150] 2832 | ZOrder -7 2833 | BlockMirror on 2834 | Gain "Lq/Ld" 2835 | } 2836 | Block { 2837 | BlockType Gain 2838 | Name "Gain3" 2839 | SID "535" 2840 | Position [170, 335, 200, 365] 2841 | ZOrder -8 2842 | Gain "1/Lq" 2843 | } 2844 | Block { 2845 | BlockType Gain 2846 | Name "Gain4" 2847 | SID "536" 2848 | Position [325, 385, 355, 415] 2849 | ZOrder -9 2850 | BlockMirror on 2851 | Gain "r/Lq" 2852 | } 2853 | Block { 2854 | BlockType Gain 2855 | Name "Gain5" 2856 | SID "537" 2857 | Position [390, 230, 420, 260] 2858 | ZOrder -10 2859 | BlockMirror on 2860 | Gain "Ld/Lq" 2861 | } 2862 | Block { 2863 | BlockType Gain 2864 | Name "Gain6" 2865 | SID "538" 2866 | Position [165, 210, 195, 240] 2867 | ZOrder -11 2868 | Gain "1/Lq" 2869 | } 2870 | Block { 2871 | BlockType Integrator 2872 | Name "Integrator" 2873 | SID "539" 2874 | Ports [1, 1] 2875 | Position [365, 75, 395, 105] 2876 | ZOrder -12 2877 | } 2878 | Block { 2879 | BlockType Integrator 2880 | Name "Integrator1" 2881 | SID "540" 2882 | Ports [1, 1] 2883 | Position [365, 330, 395, 360] 2884 | ZOrder -13 2885 | } 2886 | Block { 2887 | BlockType Product 2888 | Name "Product" 2889 | SID "541" 2890 | Ports [2, 1] 2891 | Position [300, 126, 345, 159] 2892 | ZOrder -14 2893 | BlockMirror on 2894 | InputSameDT off 2895 | RndMeth "Floor" 2896 | } 2897 | Block { 2898 | BlockType Product 2899 | Name "Product1" 2900 | SID "542" 2901 | Ports [2, 1] 2902 | Position [305, 221, 350, 254] 2903 | ZOrder -15 2904 | BlockMirror on 2905 | InputSameDT off 2906 | RndMeth "Floor" 2907 | } 2908 | Block { 2909 | BlockType Product 2910 | Name "Product2" 2911 | SID "543" 2912 | Ports [2, 1] 2913 | Position [100, 206, 145, 239] 2914 | ZOrder -16 2915 | InputSameDT off 2916 | RndMeth "Floor" 2917 | } 2918 | Block { 2919 | BlockType Sum 2920 | Name "Sum" 2921 | SID "544" 2922 | Ports [3, 1] 2923 | Position [310, 69, 330, 111] 2924 | ZOrder -17 2925 | ShowName off 2926 | Inputs "-++" 2927 | InputSameDT off 2928 | OutDataTypeStr "Inherit: Inherit via internal rule" 2929 | } 2930 | Block { 2931 | BlockType Sum 2932 | Name "Sum1" 2933 | SID "545" 2934 | Ports [3, 1] 2935 | Position [300, 324, 320, 366] 2936 | ZOrder -18 2937 | ShowName off 2938 | Inputs "-+-" 2939 | InputSameDT off 2940 | OutDataTypeStr "Inherit: Inherit via internal rule" 2941 | } 2942 | Block { 2943 | BlockType Sum 2944 | Name "Sum2" 2945 | SID "546" 2946 | Ports [2, 1] 2947 | Position [235, 328, 255, 357] 2948 | ZOrder -19 2949 | ShowName off 2950 | Inputs "-+" 2951 | InputSameDT off 2952 | OutDataTypeStr "Inherit: Inherit via internal rule" 2953 | } 2954 | Block { 2955 | BlockType Outport 2956 | Name "id" 2957 | SID "547" 2958 | Position [545, 83, 575, 97] 2959 | ZOrder -20 2960 | IconDisplay "Port number" 2961 | } 2962 | Block { 2963 | BlockType Outport 2964 | Name "iq" 2965 | SID "548" 2966 | Position [475, 338, 505, 352] 2967 | ZOrder -21 2968 | Port "2" 2969 | IconDisplay "Port number" 2970 | } 2971 | Line { 2972 | ZOrder 1 2973 | SrcBlock "Gain6" 2974 | SrcPort 1 2975 | Points [5, 0; 0, 110] 2976 | DstBlock "Sum2" 2977 | DstPort 1 2978 | } 2979 | Line { 2980 | ZOrder 2 2981 | SrcBlock "Product2" 2982 | SrcPort 1 2983 | DstBlock "Gain6" 2984 | DstPort 1 2985 | } 2986 | Line { 2987 | ZOrder 3 2988 | SrcBlock "Sum2" 2989 | SrcPort 1 2990 | DstBlock "Sum1" 2991 | DstPort 2 2992 | } 2993 | Line { 2994 | ZOrder 4 2995 | SrcBlock "Gain3" 2996 | SrcPort 1 2997 | DstBlock "Sum2" 2998 | DstPort 2 2999 | } 3000 | Line { 3001 | ZOrder 5 3002 | SrcBlock "Constant" 3003 | SrcPort 1 3004 | DstBlock "Product2" 3005 | DstPort 2 3006 | } 3007 | Line { 3008 | ZOrder 6 3009 | SrcBlock "Integrator1" 3010 | SrcPort 1 3011 | Points [45, 0] 3012 | Branch { 3013 | ZOrder 7 3014 | Points [0, 55] 3015 | DstBlock "Gain4" 3016 | DstPort 1 3017 | } 3018 | Branch { 3019 | ZOrder 8 3020 | Points [0, -210] 3021 | DstBlock "Gain2" 3022 | DstPort 1 3023 | } 3024 | Branch { 3025 | ZOrder 9 3026 | DstBlock "iq" 3027 | DstPort 1 3028 | } 3029 | } 3030 | Line { 3031 | ZOrder 10 3032 | SrcBlock "Product1" 3033 | SrcPort 1 3034 | Points [-25, 0; 0, 90] 3035 | DstBlock "Sum1" 3036 | DstPort 1 3037 | } 3038 | Line { 3039 | ZOrder 11 3040 | SrcBlock "Gain5" 3041 | SrcPort 1 3042 | DstBlock "Product1" 3043 | DstPort 2 3044 | } 3045 | Line { 3046 | ZOrder 12 3047 | SrcBlock "Gain4" 3048 | SrcPort 1 3049 | Points [-45, 0; 0, -40] 3050 | DstBlock "Sum1" 3051 | DstPort 3 3052 | } 3053 | Line { 3054 | ZOrder 13 3055 | SrcBlock "wr" 3056 | SrcPort 1 3057 | Points [-100, 0] 3058 | Branch { 3059 | ZOrder 14 3060 | DstBlock "Product" 3061 | DstPort 2 3062 | } 3063 | Branch { 3064 | ZOrder 15 3065 | Points [0, 30] 3066 | Branch { 3067 | ZOrder 16 3068 | Points [0, 50] 3069 | DstBlock "Product1" 3070 | DstPort 1 3071 | } 3072 | Branch { 3073 | ZOrder 17 3074 | Points [-290, 0] 3075 | DstBlock "Product2" 3076 | DstPort 1 3077 | } 3078 | } 3079 | } 3080 | Line { 3081 | ZOrder 18 3082 | SrcBlock "Product" 3083 | SrcPort 1 3084 | Points [-10, 0; 0, -40] 3085 | DstBlock "Sum" 3086 | DstPort 3 3087 | } 3088 | Line { 3089 | ZOrder 19 3090 | SrcBlock "Gain2" 3091 | SrcPort 1 3092 | DstBlock "Product" 3093 | DstPort 1 3094 | } 3095 | Line { 3096 | ZOrder 20 3097 | SrcBlock "Sum1" 3098 | SrcPort 1 3099 | DstBlock "Integrator1" 3100 | DstPort 1 3101 | } 3102 | Line { 3103 | ZOrder 21 3104 | SrcBlock "Uq" 3105 | SrcPort 1 3106 | DstBlock "Gain3" 3107 | DstPort 1 3108 | } 3109 | Line { 3110 | ZOrder 22 3111 | SrcBlock "Gain" 3112 | SrcPort 1 3113 | Points [50, 0; 0, 5] 3114 | DstBlock "Sum" 3115 | DstPort 2 3116 | } 3117 | Line { 3118 | ZOrder 23 3119 | SrcBlock "Gain1" 3120 | SrcPort 1 3121 | Points [-10, 0; 0, 35] 3122 | DstBlock "Sum" 3123 | DstPort 1 3124 | } 3125 | Line { 3126 | ZOrder 24 3127 | SrcBlock "Sum" 3128 | SrcPort 1 3129 | DstBlock "Integrator" 3130 | DstPort 1 3131 | } 3132 | Line { 3133 | ZOrder 25 3134 | SrcBlock "Integrator" 3135 | SrcPort 1 3136 | Points [30, 0] 3137 | Branch { 3138 | ZOrder 26 3139 | Points [35, 0] 3140 | Branch { 3141 | ZOrder 27 3142 | Points [0, 155] 3143 | DstBlock "Gain5" 3144 | DstPort 1 3145 | } 3146 | Branch { 3147 | ZOrder 28 3148 | DstBlock "id" 3149 | DstPort 1 3150 | } 3151 | } 3152 | Branch { 3153 | ZOrder 29 3154 | Points [0, -50] 3155 | DstBlock "Gain1" 3156 | DstPort 1 3157 | } 3158 | } 3159 | Line { 3160 | ZOrder 30 3161 | SrcBlock "Ud" 3162 | SrcPort 1 3163 | DstBlock "Gain" 3164 | DstPort 1 3165 | } 3166 | } 3167 | } 3168 | Block { 3169 | BlockType Sum 3170 | Name "Sum" 3171 | SID "549" 3172 | Ports [2, 1] 3173 | Position [270, 70, 290, 90] 3174 | ZOrder -13 3175 | ShowName off 3176 | IconShape "round" 3177 | Inputs "++|" 3178 | InputSameDT off 3179 | OutDataTypeStr "Inherit: Inherit via internal rule" 3180 | } 3181 | Block { 3182 | BlockType Sum 3183 | Name "Sum1" 3184 | SID "550" 3185 | Ports [2, 1] 3186 | Position [515, 80, 535, 100] 3187 | ZOrder -14 3188 | ShowName off 3189 | IconShape "round" 3190 | Inputs "|+-" 3191 | InputSameDT off 3192 | OutDataTypeStr "Inherit: Inherit via internal rule" 3193 | } 3194 | Block { 3195 | BlockType Sum 3196 | Name "Sum2" 3197 | SID "551" 3198 | Ports [2, 1] 3199 | Position [625, 80, 645, 100] 3200 | ZOrder -15 3201 | ShowName off 3202 | IconShape "round" 3203 | Inputs "|+-" 3204 | InputSameDT off 3205 | OutDataTypeStr "Inherit: Inherit via internal rule" 3206 | } 3207 | Block { 3208 | BlockType Outport 3209 | Name "id" 3210 | SID "552" 3211 | Position [320, 113, 350, 127] 3212 | ZOrder -16 3213 | IconDisplay "Port number" 3214 | } 3215 | Block { 3216 | BlockType Outport 3217 | Name "iq" 3218 | SID "553" 3219 | Position [325, 143, 355, 157] 3220 | ZOrder -17 3221 | Port "2" 3222 | IconDisplay "Port number" 3223 | } 3224 | Block { 3225 | BlockType Outport 3226 | Name "flux_d" 3227 | SID "554" 3228 | Position [320, 73, 350, 87] 3229 | ZOrder -18 3230 | Port "3" 3231 | IconDisplay "Port number" 3232 | } 3233 | Block { 3234 | BlockType Outport 3235 | Name "flux_q" 3236 | SID "555" 3237 | Position [330, 183, 360, 197] 3238 | ZOrder -19 3239 | Port "4" 3240 | IconDisplay "Port number" 3241 | } 3242 | Block { 3243 | BlockType Outport 3244 | Name "wr" 3245 | SID "556" 3246 | Position [790, 83, 820, 97] 3247 | ZOrder -20 3248 | Port "5" 3249 | IconDisplay "Port number" 3250 | } 3251 | Block { 3252 | BlockType Outport 3253 | Name "Te" 3254 | SID "557" 3255 | Position [640, 28, 670, 42] 3256 | ZOrder -21 3257 | Port "6" 3258 | IconDisplay "Port number" 3259 | } 3260 | Line { 3261 | ZOrder 1 3262 | SrcBlock "Gain3" 3263 | SrcPort 1 3264 | Points [10, 0] 3265 | Branch { 3266 | ZOrder 2 3267 | DstBlock "wr" 3268 | DstPort 1 3269 | } 3270 | Branch { 3271 | ZOrder 3 3272 | Points [0, 165; -685, 0; 0, -120] 3273 | DstBlock "Subsystem" 3274 | DstPort 2 3275 | } 3276 | } 3277 | Line { 3278 | ZOrder 4 3279 | SrcBlock "Integrator" 3280 | SrcPort 1 3281 | DstBlock "Gain3" 3282 | DstPort 1 3283 | } 3284 | Line { 3285 | ZOrder 5 3286 | SrcBlock "Sum2" 3287 | SrcPort 1 3288 | DstBlock "Integrator" 3289 | DstPort 1 3290 | } 3291 | Line { 3292 | ZOrder 6 3293 | SrcBlock "TL" 3294 | SrcPort 1 3295 | Points [40, 0] 3296 | DstBlock "Sum2" 3297 | DstPort 2 3298 | } 3299 | Line { 3300 | ZOrder 7 3301 | SrcBlock "Gain2" 3302 | SrcPort 1 3303 | Points [5, 0] 3304 | Branch { 3305 | ZOrder 8 3306 | Points [0, -55] 3307 | DstBlock "Te" 3308 | DstPort 1 3309 | } 3310 | Branch { 3311 | ZOrder 9 3312 | DstBlock "Sum2" 3313 | DstPort 1 3314 | } 3315 | } 3316 | Line { 3317 | ZOrder 10 3318 | SrcBlock "Sum1" 3319 | SrcPort 1 3320 | DstBlock "Gain2" 3321 | DstPort 1 3322 | } 3323 | Line { 3324 | ZOrder 11 3325 | SrcBlock "Product1" 3326 | SrcPort 1 3327 | Points [50, 0] 3328 | DstBlock "Sum1" 3329 | DstPort 2 3330 | } 3331 | Line { 3332 | ZOrder 12 3333 | SrcBlock "Product" 3334 | SrcPort 1 3335 | Points [20, 0; 0, 15] 3336 | DstBlock "Sum1" 3337 | DstPort 1 3338 | } 3339 | Line { 3340 | ZOrder 13 3341 | SrcBlock "Gain1" 3342 | SrcPort 1 3343 | Points [35, 0] 3344 | Branch { 3345 | ZOrder 14 3346 | Points [0, -20] 3347 | DstBlock "Product1" 3348 | DstPort 2 3349 | } 3350 | Branch { 3351 | ZOrder 15 3352 | DstBlock "flux_q" 3353 | DstPort 1 3354 | } 3355 | } 3356 | Line { 3357 | ZOrder 16 3358 | SrcBlock "Sum" 3359 | SrcPort 1 3360 | Points [5, 0] 3361 | Branch { 3362 | ZOrder 17 3363 | Points [0, -15] 3364 | DstBlock "Product" 3365 | DstPort 1 3366 | } 3367 | Branch { 3368 | ZOrder 18 3369 | DstBlock "flux_d" 3370 | DstPort 1 3371 | } 3372 | } 3373 | Line { 3374 | ZOrder 19 3375 | SrcBlock "Constant" 3376 | SrcPort 1 3377 | Points [80, 0] 3378 | DstBlock "Sum" 3379 | DstPort 1 3380 | } 3381 | Line { 3382 | ZOrder 20 3383 | SrcBlock "Gain" 3384 | SrcPort 1 3385 | DstBlock "Sum" 3386 | DstPort 2 3387 | } 3388 | Line { 3389 | ZOrder 21 3390 | SrcBlock "Uq" 3391 | SrcPort 1 3392 | Points [60, 0] 3393 | DstBlock "Subsystem" 3394 | DstPort 3 3395 | } 3396 | Line { 3397 | ZOrder 22 3398 | SrcBlock "Subsystem" 3399 | SrcPort 2 3400 | Points [15, 0] 3401 | Branch { 3402 | ZOrder 23 3403 | Points [95, 0] 3404 | Branch { 3405 | ZOrder 24 3406 | Points [0, -15; 75, 0; 0, -55] 3407 | DstBlock "Product" 3408 | DstPort 2 3409 | } 3410 | Branch { 3411 | ZOrder 25 3412 | DstBlock "iq" 3413 | DstPort 1 3414 | } 3415 | } 3416 | Branch { 3417 | ZOrder 26 3418 | Points [0, 40] 3419 | DstBlock "Gain1" 3420 | DstPort 1 3421 | } 3422 | } 3423 | Line { 3424 | ZOrder 27 3425 | SrcBlock "Ud" 3426 | SrcPort 1 3427 | Points [25, 0; 0, 60] 3428 | DstBlock "Subsystem" 3429 | DstPort 1 3430 | } 3431 | Line { 3432 | ZOrder 28 3433 | SrcBlock "Subsystem" 3434 | SrcPort 1 3435 | Points [15, 0] 3436 | Branch { 3437 | ZOrder 29 3438 | Points [105, 0] 3439 | Branch { 3440 | ZOrder 30 3441 | Points [0, 20; 110, 0] 3442 | DstBlock "Product1" 3443 | DstPort 1 3444 | } 3445 | Branch { 3446 | ZOrder 31 3447 | DstBlock "id" 3448 | DstPort 1 3449 | } 3450 | } 3451 | Branch { 3452 | ZOrder 32 3453 | Points [0, -40] 3454 | DstBlock "Gain" 3455 | DstPort 1 3456 | } 3457 | } 3458 | } 3459 | } 3460 | Block { 3461 | BlockType SubSystem 3462 | Name "Subsystem" 3463 | SID "501" 3464 | Ports [3, 2] 3465 | Position [75, 42, 140, 148] 3466 | ZOrder -12 3467 | ShowName off 3468 | FontName "Arial" 3469 | FontSize 14 3470 | FontWeight "bold" 3471 | RequestExecContextInheritance off 3472 | Object { 3473 | $PropName "MaskObject" 3474 | $ObjectID 31 3475 | $ClassName "Simulink.Mask" 3476 | Display "disp('3s\\n to\\n 2s ');\nport_label('output', 1, '\\iti_d_s','texmode','on');\nport_label('output'" 3477 | ", 2, '\\iti_q_s','texmode','on');\nport_label('input', 1, '\\iti_{as}','texmode','on');\nport_label('input', 2, '" 3478 | "\\iti_{bs}','texmode','on');\nport_label('input', 3, '\\iti_{cs}','texmode','on');" 3479 | } 3480 | System { 3481 | Name "Subsystem" 3482 | Location [16, 169, 884, 733] 3483 | Open off 3484 | ModelBrowserVisibility off 3485 | ModelBrowserWidth 200 3486 | ScreenColor "white" 3487 | PaperOrientation "landscape" 3488 | PaperPositionMode "auto" 3489 | PaperType "A4" 3490 | PaperUnits "centimeters" 3491 | TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000] 3492 | TiledPageScale 1 3493 | ShowPageBoundaries off 3494 | ZoomFactor "100" 3495 | Block { 3496 | BlockType Inport 3497 | Name "ia" 3498 | SID "502" 3499 | Position [25, 38, 55, 52] 3500 | ZOrder -1 3501 | IconDisplay "Port number" 3502 | } 3503 | Block { 3504 | BlockType Inport 3505 | Name "ib" 3506 | SID "503" 3507 | Position [25, 88, 55, 102] 3508 | ZOrder -2 3509 | Port "2" 3510 | IconDisplay "Port number" 3511 | } 3512 | Block { 3513 | BlockType Inport 3514 | Name "ic" 3515 | SID "504" 3516 | Position [25, 133, 55, 147] 3517 | ZOrder -3 3518 | FontName "Arial" 3519 | Port "3" 3520 | IconDisplay "Port number" 3521 | } 3522 | Block { 3523 | BlockType Gain 3524 | Name "Gain" 3525 | SID "505" 3526 | Position [175, 73, 220, 117] 3527 | ZOrder -4 3528 | Gain "-1/2" 3529 | } 3530 | Block { 3531 | BlockType Gain 3532 | Name "Gain1" 3533 | SID "506" 3534 | Position [315, 23, 360, 67] 3535 | ZOrder -5 3536 | Gain "sqrt(2/3)" 3537 | } 3538 | Block { 3539 | BlockType Gain 3540 | Name "Gain2" 3541 | SID "507" 3542 | Position [355, 118, 400, 162] 3543 | ZOrder -6 3544 | Gain "sqrt(2)/2" 3545 | } 3546 | Block { 3547 | BlockType Sum 3548 | Name "Sum" 3549 | SID "508" 3550 | Ports [2, 1] 3551 | Position [115, 85, 135, 105] 3552 | ZOrder -7 3553 | ShowName off 3554 | IconShape "round" 3555 | Inputs "|++" 3556 | InputSameDT off 3557 | OutDataTypeStr "Inherit: Inherit via internal rule" 3558 | } 3559 | Block { 3560 | BlockType Sum 3561 | Name "Sum1" 3562 | SID "509" 3563 | Ports [2, 1] 3564 | Position [245, 35, 265, 55] 3565 | ZOrder -8 3566 | ShowName off 3567 | IconShape "round" 3568 | Inputs "|++" 3569 | InputSameDT off 3570 | OutDataTypeStr "Inherit: Inherit via internal rule" 3571 | } 3572 | Block { 3573 | BlockType Sum 3574 | Name "Sum2" 3575 | SID "510" 3576 | Ports [2, 1] 3577 | Position [280, 130, 300, 150] 3578 | ZOrder -9 3579 | ShowName off 3580 | IconShape "round" 3581 | Inputs "|-+" 3582 | InputSameDT off 3583 | OutDataTypeStr "Inherit: Inherit via internal rule" 3584 | } 3585 | Block { 3586 | BlockType Outport 3587 | Name "id" 3588 | SID "511" 3589 | Position [420, 38, 450, 52] 3590 | ZOrder -10 3591 | IconDisplay "Port number" 3592 | } 3593 | Block { 3594 | BlockType Outport 3595 | Name "iq " 3596 | SID "512" 3597 | Position [440, 133, 470, 147] 3598 | ZOrder -11 3599 | Port "2" 3600 | IconDisplay "Port number" 3601 | } 3602 | Line { 3603 | ZOrder 1 3604 | SrcBlock "Gain2" 3605 | SrcPort 1 3606 | DstBlock "iq " 3607 | DstPort 1 3608 | } 3609 | Line { 3610 | ZOrder 2 3611 | SrcBlock "Sum2" 3612 | SrcPort 1 3613 | DstBlock "Gain2" 3614 | DstPort 1 3615 | } 3616 | Line { 3617 | ZOrder 3 3618 | SrcBlock "ib" 3619 | SrcPort 1 3620 | Points [0, 0; 15, 0] 3621 | Branch { 3622 | ZOrder 4 3623 | DstBlock "Sum" 3624 | DstPort 1 3625 | } 3626 | Branch { 3627 | ZOrder 5 3628 | Points [0, 70] 3629 | DstBlock "Sum2" 3630 | DstPort 2 3631 | } 3632 | } 3633 | Line { 3634 | ZOrder 6 3635 | SrcBlock "ic" 3636 | SrcPort 1 3637 | Points [0, 0; 65, 0] 3638 | Branch { 3639 | ZOrder 7 3640 | DstBlock "Sum2" 3641 | DstPort 1 3642 | } 3643 | Branch { 3644 | ZOrder 8 3645 | DstBlock "Sum" 3646 | DstPort 2 3647 | } 3648 | } 3649 | Line { 3650 | ZOrder 9 3651 | SrcBlock "Gain1" 3652 | SrcPort 1 3653 | DstBlock "id" 3654 | DstPort 1 3655 | } 3656 | Line { 3657 | ZOrder 10 3658 | SrcBlock "Sum1" 3659 | SrcPort 1 3660 | DstBlock "Gain1" 3661 | DstPort 1 3662 | } 3663 | Line { 3664 | ZOrder 11 3665 | SrcBlock "Gain" 3666 | SrcPort 1 3667 | Points [30, 0] 3668 | DstBlock "Sum1" 3669 | DstPort 2 3670 | } 3671 | Line { 3672 | ZOrder 12 3673 | SrcBlock "ia" 3674 | SrcPort 1 3675 | DstBlock "Sum1" 3676 | DstPort 1 3677 | } 3678 | Line { 3679 | ZOrder 13 3680 | SrcBlock "Sum" 3681 | SrcPort 1 3682 | DstBlock "Gain" 3683 | DstPort 1 3684 | } 3685 | } 3686 | } 3687 | Block { 3688 | BlockType Sum 3689 | Name "Sum" 3690 | SID "558" 3691 | Ports [2, 1] 3692 | Position [605, 265, 625, 285] 3693 | ZOrder -13 3694 | ShowName off 3695 | IconShape "round" 3696 | Inputs "|++" 3697 | InputSameDT off 3698 | OutDataTypeStr "Inherit: Inherit via internal rule" 3699 | } 3700 | Block { 3701 | BlockType Outport 3702 | Name "ia" 3703 | SID "559" 3704 | Position [935, 43, 965, 57] 3705 | ZOrder -14 3706 | IconDisplay "Port number" 3707 | } 3708 | Block { 3709 | BlockType Outport 3710 | Name "ib" 3711 | SID "560" 3712 | Position [935, 98, 965, 112] 3713 | ZOrder -15 3714 | Port "2" 3715 | IconDisplay "Port number" 3716 | } 3717 | Block { 3718 | BlockType Outport 3719 | Name "ic" 3720 | SID "561" 3721 | Position [940, 153, 970, 167] 3722 | ZOrder -16 3723 | Port "3" 3724 | IconDisplay "Port number" 3725 | } 3726 | Block { 3727 | BlockType Outport 3728 | Name "flux_a" 3729 | SID "562" 3730 | Position [925, 263, 955, 277] 3731 | ZOrder -17 3732 | Port "4" 3733 | IconDisplay "Port number" 3734 | } 3735 | Block { 3736 | BlockType Outport 3737 | Name "flux_b" 3738 | SID "563" 3739 | Position [935, 343, 965, 357] 3740 | ZOrder -18 3741 | Port "5" 3742 | IconDisplay "Port number" 3743 | } 3744 | Block { 3745 | BlockType Outport 3746 | Name "wr" 3747 | SID "564" 3748 | Position [610, 233, 640, 247] 3749 | ZOrder -19 3750 | Port "6" 3751 | IconDisplay "Port number" 3752 | } 3753 | Block { 3754 | BlockType Outport 3755 | Name "Te" 3756 | SID "565" 3757 | Position [475, 248, 505, 262] 3758 | ZOrder -20 3759 | Port "7" 3760 | IconDisplay "Port number" 3761 | } 3762 | Block { 3763 | BlockType Outport 3764 | Name "theta" 3765 | SID "566" 3766 | Position [725, 413, 755, 427] 3767 | ZOrder -21 3768 | Port "8" 3769 | IconDisplay "Port number" 3770 | } 3771 | Line { 3772 | ZOrder 1 3773 | SrcBlock "Motor Electrics" 3774 | SrcPort 6 3775 | DstBlock "Te" 3776 | DstPort 1 3777 | } 3778 | Line { 3779 | ZOrder 2 3780 | SrcBlock "Motor Electrics" 3781 | SrcPort 4 3782 | Points [295, 0; 0, 85] 3783 | DstBlock " 1" 3784 | DstPort 2 3785 | } 3786 | Line { 3787 | ZOrder 3 3788 | SrcBlock " 1" 3789 | SrcPort 2 3790 | DstBlock "flux_b" 3791 | DstPort 1 3792 | } 3793 | Line { 3794 | ZOrder 4 3795 | SrcBlock " 1" 3796 | SrcPort 1 3797 | DstBlock "flux_a" 3798 | DstPort 1 3799 | } 3800 | Line { 3801 | ZOrder 5 3802 | SrcBlock " " 3803 | SrcPort 3 3804 | DstBlock "ic" 3805 | DstPort 1 3806 | } 3807 | Line { 3808 | ZOrder 6 3809 | SrcBlock " " 3810 | SrcPort 2 3811 | DstBlock "ib" 3812 | DstPort 1 3813 | } 3814 | Line { 3815 | ZOrder 7 3816 | SrcBlock " " 3817 | SrcPort 1 3818 | DstBlock "ia" 3819 | DstPort 1 3820 | } 3821 | Line { 3822 | ZOrder 8 3823 | SrcBlock " " 3824 | SrcPort 2 3825 | DstBlock " " 3826 | DstPort 2 3827 | } 3828 | Line { 3829 | ZOrder 9 3830 | SrcBlock " " 3831 | SrcPort 1 3832 | DstBlock " " 3833 | DstPort 1 3834 | } 3835 | Line { 3836 | ZOrder 10 3837 | SrcBlock "Motor Electrics" 3838 | SrcPort 2 3839 | Points [65, 0; 0, -90] 3840 | DstBlock " " 3841 | DstPort 2 3842 | } 3843 | Line { 3844 | ZOrder 11 3845 | SrcBlock "Motor Electrics" 3846 | SrcPort 1 3847 | Points [40, 0; 0, -130] 3848 | DstBlock " " 3849 | DstPort 1 3850 | } 3851 | Line { 3852 | ZOrder 12 3853 | SrcBlock "Sum" 3854 | SrcPort 1 3855 | Points [45, 0] 3856 | Branch { 3857 | ZOrder 13 3858 | Points [50, 0; 0, 90] 3859 | Branch { 3860 | ZOrder 14 3861 | Points [-65, 0] 3862 | Branch { 3863 | ZOrder 15 3864 | Points [0, 55] 3865 | DstBlock "theta" 3866 | DstPort 1 3867 | } 3868 | Branch { 3869 | ZOrder 16 3870 | Points [-480, 0] 3871 | DstBlock " " 3872 | DstPort 3 3873 | } 3874 | } 3875 | Branch { 3876 | ZOrder 17 3877 | DstBlock " 1" 3878 | DstPort 3 3879 | } 3880 | } 3881 | Branch { 3882 | ZOrder 18 3883 | Points [0, -115] 3884 | DstBlock " " 3885 | DstPort 3 3886 | } 3887 | } 3888 | Line { 3889 | ZOrder 19 3890 | SrcBlock "Constant" 3891 | SrcPort 1 3892 | Points [20, 0] 3893 | DstBlock "Sum" 3894 | DstPort 2 3895 | } 3896 | Line { 3897 | ZOrder 20 3898 | SrcBlock "Integrator" 3899 | SrcPort 1 3900 | DstBlock "Sum" 3901 | DstPort 1 3902 | } 3903 | Line { 3904 | ZOrder 21 3905 | SrcBlock "Uc" 3906 | SrcPort 1 3907 | DstBlock "Subsystem" 3908 | DstPort 3 3909 | } 3910 | Line { 3911 | ZOrder 22 3912 | SrcBlock "Ub" 3913 | SrcPort 1 3914 | DstBlock "Subsystem" 3915 | DstPort 2 3916 | } 3917 | Line { 3918 | ZOrder 23 3919 | SrcBlock "Ua" 3920 | SrcPort 1 3921 | DstBlock "Subsystem" 3922 | DstPort 1 3923 | } 3924 | Line { 3925 | ZOrder 24 3926 | SrcBlock " " 3927 | SrcPort 2 3928 | Points [45, 0; 0, 50] 3929 | DstBlock "Motor Electrics" 3930 | DstPort 2 3931 | } 3932 | Line { 3933 | ZOrder 25 3934 | SrcBlock " " 3935 | SrcPort 1 3936 | Points [90, 0; 0, 100] 3937 | DstBlock "Motor Electrics" 3938 | DstPort 1 3939 | } 3940 | Line { 3941 | ZOrder 26 3942 | SrcBlock "Subsystem" 3943 | SrcPort 2 3944 | DstBlock " " 3945 | DstPort 2 3946 | } 3947 | Line { 3948 | ZOrder 27 3949 | SrcBlock "Subsystem" 3950 | SrcPort 1 3951 | DstBlock " " 3952 | DstPort 1 3953 | } 3954 | Line { 3955 | ZOrder 28 3956 | SrcBlock "TL" 3957 | SrcPort 1 3958 | DstBlock "Motor Electrics" 3959 | DstPort 3 3960 | } 3961 | Line { 3962 | ZOrder 29 3963 | SrcBlock "Motor Electrics" 3964 | SrcPort 5 3965 | Points [50, 0] 3966 | Branch { 3967 | ZOrder 30 3968 | DstBlock "wr" 3969 | DstPort 1 3970 | } 3971 | Branch { 3972 | ZOrder 31 3973 | Points [0, 35] 3974 | DstBlock "Integrator" 3975 | DstPort 1 3976 | } 3977 | } 3978 | Line { 3979 | ZOrder 32 3980 | SrcBlock "Motor Electrics" 3981 | SrcPort 3 3982 | Points [315, 0] 3983 | DstBlock " 1" 3984 | DstPort 1 3985 | } 3986 | } 3987 | } 3988 | Block { 3989 | BlockType Constant 3990 | Name "Ref speed" 3991 | SID "651" 3992 | Position [105, 180, 150, 210] 3993 | ZOrder -6 3994 | FontName "Arial" 3995 | FontSize 12 3996 | Value "600" 3997 | } 3998 | Block { 3999 | BlockType SubSystem 4000 | Name "SVPWM" 4001 | SID "281" 4002 | Ports [2, 3] 4003 | Position [560, 157, 600, 233] 4004 | ZOrder -7 4005 | RequestExecContextInheritance off 4006 | Object { 4007 | $PropName "MaskObject" 4008 | $ObjectID 32 4009 | $ClassName "Simulink.Mask" 4010 | Array { 4011 | Type "Simulink.MaskParameter" 4012 | Dimension 2 4013 | Object { 4014 | $ObjectID 33 4015 | Type "edit" 4016 | Name "Ts" 4017 | Prompt "Period of PWM(Ts):" 4018 | Value "0.00005" 4019 | } 4020 | Object { 4021 | $ObjectID 34 4022 | Type "edit" 4023 | Name "Udc" 4024 | Prompt "Voltage of DC(Udc):" 4025 | Value "310" 4026 | } 4027 | PropName "Parameters" 4028 | } 4029 | } 4030 | System { 4031 | Name "SVPWM" 4032 | Location [-9, 0, 1369, 780] 4033 | Open off 4034 | ModelBrowserVisibility off 4035 | ModelBrowserWidth 200 4036 | ScreenColor "white" 4037 | PaperOrientation "landscape" 4038 | PaperPositionMode "auto" 4039 | PaperType "A4" 4040 | PaperUnits "centimeters" 4041 | TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000] 4042 | TiledPageScale 1 4043 | ShowPageBoundaries off 4044 | ZoomFactor "150" 4045 | Block { 4046 | BlockType Inport 4047 | Name "Ualfa" 4048 | SID "282" 4049 | Position [30, 88, 60, 102] 4050 | ZOrder -1 4051 | IconDisplay "Port number" 4052 | } 4053 | Block { 4054 | BlockType Inport 4055 | Name "Ubeta" 4056 | SID "283" 4057 | Position [25, 128, 55, 142] 4058 | ZOrder -2 4059 | Port "2" 4060 | IconDisplay "Port number" 4061 | } 4062 | Block { 4063 | BlockType Constant 4064 | Name "Constant" 4065 | SID "284" 4066 | Position [30, 280, 60, 310] 4067 | ZOrder -3 4068 | Value "Udc" 4069 | } 4070 | Block { 4071 | BlockType Constant 4072 | Name "Constant1" 4073 | SID "285" 4074 | Position [35, 175, 65, 205] 4075 | ZOrder -4 4076 | Value "Ts" 4077 | } 4078 | Block { 4079 | BlockType SubSystem 4080 | Name "N1" 4081 | SID "286" 4082 | Ports [2, 1] 4083 | Position [190, 77, 230, 153] 4084 | ZOrder -5 4085 | RequestExecContextInheritance off 4086 | System { 4087 | Name "N1" 4088 | Location [-9, -9, 1929, 1041] 4089 | Open off 4090 | ModelBrowserVisibility off 4091 | ModelBrowserWidth 200 4092 | ScreenColor "white" 4093 | PaperOrientation "landscape" 4094 | PaperPositionMode "auto" 4095 | PaperType "A4" 4096 | PaperUnits "centimeters" 4097 | TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000] 4098 | TiledPageScale 1 4099 | ShowPageBoundaries off 4100 | ZoomFactor "100" 4101 | Block { 4102 | BlockType Inport 4103 | Name "Ualfa" 4104 | SID "287" 4105 | Position [25, 358, 55, 372] 4106 | ZOrder -1 4107 | IconDisplay "Port number" 4108 | } 4109 | Block { 4110 | BlockType Inport 4111 | Name "Ubeta" 4112 | SID "288" 4113 | Position [55, 83, 85, 97] 4114 | ZOrder -2 4115 | Port "2" 4116 | IconDisplay "Port number" 4117 | } 4118 | Block { 4119 | BlockType Constant 4120 | Name "Constant" 4121 | SID "289" 4122 | Position [175, 25, 205, 55] 4123 | ZOrder -3 4124 | } 4125 | Block { 4126 | BlockType Constant 4127 | Name "Constant1" 4128 | SID "290" 4129 | Position [165, 460, 195, 490] 4130 | ZOrder -4 4131 | Value "0" 4132 | } 4133 | Block { 4134 | BlockType Gain 4135 | Name "Gain" 4136 | SID "291" 4137 | Position [85, 250, 115, 280] 4138 | ZOrder -5 4139 | Gain "1.732" 4140 | ParamDataTypeStr "Inherit: Inherit via internal rule" 4141 | OutDataTypeStr "Inherit: Inherit via internal rule" 4142 | SaturateOnIntegerOverflow off 4143 | } 4144 | Block { 4145 | BlockType Gain 4146 | Name "Gain1" 4147 | SID "292" 4148 | Position [90, 400, 120, 430] 4149 | ZOrder -6 4150 | Gain "-1.732" 4151 | ParamDataTypeStr "Inherit: Inherit via internal rule" 4152 | OutDataTypeStr "Inherit: Inherit via internal rule" 4153 | SaturateOnIntegerOverflow off 4154 | } 4155 | Block { 4156 | BlockType Gain 4157 | Name "Gain2" 4158 | SID "293" 4159 | Position [315, 190, 345, 220] 4160 | ZOrder -7 4161 | Gain "2" 4162 | ParamDataTypeStr "Inherit: Inherit via internal rule" 4163 | OutDataTypeStr "Inherit: Inherit via internal rule" 4164 | SaturateOnIntegerOverflow off 4165 | } 4166 | Block { 4167 | BlockType Gain 4168 | Name "Gain3" 4169 | SID "294" 4170 | Position [325, 355, 355, 385] 4171 | ZOrder -8 4172 | Gain "4" 4173 | ParamDataTypeStr "Inherit: Inherit via internal rule" 4174 | OutDataTypeStr "Inherit: Inherit via internal rule" 4175 | SaturateOnIntegerOverflow off 4176 | } 4177 | Block { 4178 | BlockType Sum 4179 | Name "Sum" 4180 | SID "295" 4181 | Ports [2, 1] 4182 | Position [150, 177, 185, 233] 4183 | ZOrder -9 4184 | ShowName off 4185 | Inputs "|-+" 4186 | InputSameDT off 4187 | OutDataTypeStr "Inherit: Inherit via internal rule" 4188 | SaturateOnIntegerOverflow off 4189 | } 4190 | Block { 4191 | BlockType Sum 4192 | Name "Sum1" 4193 | SID "296" 4194 | Ports [2, 1] 4195 | Position [150, 342, 185, 398] 4196 | ZOrder -10 4197 | ShowName off 4198 | Inputs "|-+" 4199 | InputSameDT off 4200 | OutDataTypeStr "Inherit: Inherit via internal rule" 4201 | SaturateOnIntegerOverflow off 4202 | } 4203 | Block { 4204 | BlockType Sum 4205 | Name "Sum2" 4206 | SID "297" 4207 | Ports [3, 1] 4208 | Position [390, 104, 420, 256] 4209 | ZOrder -11 4210 | ShowName off 4211 | Inputs "|+++" 4212 | InputSameDT off 4213 | OutDataTypeStr "Inherit: Inherit via internal rule" 4214 | SaturateOnIntegerOverflow off 4215 | } 4216 | Block { 4217 | BlockType Switch 4218 | Name "Switch" 4219 | SID "298" 4220 | Position [250, 54, 285, 126] 4221 | ZOrder -12 4222 | InputSameDT off 4223 | SaturateOnIntegerOverflow off 4224 | ZeroCross off 4225 | } 4226 | Block { 4227 | BlockType Switch 4228 | Name "Switch1" 4229 | SID "299" 4230 | Position [250, 169, 285, 241] 4231 | ZOrder -13 4232 | InputSameDT off 4233 | SaturateOnIntegerOverflow off 4234 | ZeroCross off 4235 | } 4236 | Block { 4237 | BlockType Switch 4238 | Name "Switch2" 4239 | SID "300" 4240 | Position [250, 334, 285, 406] 4241 | ZOrder -14 4242 | InputSameDT off 4243 | SaturateOnIntegerOverflow off 4244 | ZeroCross off 4245 | } 4246 | Block { 4247 | BlockType Outport 4248 | Name "N" 4249 | SID "301" 4250 | Position [510, 173, 540, 187] 4251 | ZOrder -15 4252 | IconDisplay "Port number" 4253 | } 4254 | Line { 4255 | ZOrder 1 4256 | SrcBlock "Ubeta" 4257 | SrcPort 1 4258 | Points [40, 0] 4259 | Branch { 4260 | ZOrder 2 4261 | DstBlock "Switch" 4262 | DstPort 2 4263 | } 4264 | Branch { 4265 | ZOrder 3 4266 | Labels [1, 0] 4267 | Points [0, 115] 4268 | Branch { 4269 | ZOrder 4 4270 | DstBlock "Sum" 4271 | DstPort 1 4272 | } 4273 | Branch { 4274 | ZOrder 5 4275 | Points [0, 165] 4276 | DstBlock "Sum1" 4277 | DstPort 1 4278 | } 4279 | } 4280 | } 4281 | Line { 4282 | ZOrder 6 4283 | SrcBlock "Constant" 4284 | SrcPort 1 4285 | Points [20, 0; 0, 25] 4286 | Branch { 4287 | ZOrder 7 4288 | DstBlock "Switch" 4289 | DstPort 1 4290 | } 4291 | Branch { 4292 | ZOrder 8 4293 | Points [0, 115] 4294 | Branch { 4295 | ZOrder 9 4296 | Points [0, 165] 4297 | DstBlock "Switch2" 4298 | DstPort 1 4299 | } 4300 | Branch { 4301 | ZOrder 10 4302 | DstBlock "Switch1" 4303 | DstPort 1 4304 | } 4305 | } 4306 | } 4307 | Line { 4308 | ZOrder 11 4309 | SrcBlock "Ualfa" 4310 | SrcPort 1 4311 | Points [10, 0] 4312 | Branch { 4313 | ZOrder 12 4314 | Points [0, 50] 4315 | DstBlock "Gain1" 4316 | DstPort 1 4317 | } 4318 | Branch { 4319 | ZOrder 13 4320 | DstBlock "Gain" 4321 | DstPort 1 4322 | } 4323 | } 4324 | Line { 4325 | ZOrder 14 4326 | SrcBlock "Gain" 4327 | SrcPort 1 4328 | Points [0, -40] 4329 | DstBlock "Sum" 4330 | DstPort 2 4331 | } 4332 | Line { 4333 | ZOrder 15 4334 | SrcBlock "Sum" 4335 | SrcPort 1 4336 | DstBlock "Switch1" 4337 | DstPort 2 4338 | } 4339 | Line { 4340 | ZOrder 16 4341 | SrcBlock "Sum1" 4342 | SrcPort 1 4343 | DstBlock "Switch2" 4344 | DstPort 2 4345 | } 4346 | Line { 4347 | ZOrder 17 4348 | SrcBlock "Gain1" 4349 | SrcPort 1 4350 | Points [5, 0; 0, -25] 4351 | DstBlock "Sum1" 4352 | DstPort 2 4353 | } 4354 | Line { 4355 | ZOrder 18 4356 | SrcBlock "Constant1" 4357 | SrcPort 1 4358 | Points [0, -85] 4359 | Branch { 4360 | ZOrder 19 4361 | Points [0, -160] 4362 | Branch { 4363 | ZOrder 20 4364 | Points [0, -115] 4365 | DstBlock "Switch" 4366 | DstPort 3 4367 | } 4368 | Branch { 4369 | ZOrder 21 4370 | DstBlock "Switch1" 4371 | DstPort 3 4372 | } 4373 | } 4374 | Branch { 4375 | ZOrder 22 4376 | Points [35, 0] 4377 | DstBlock "Switch2" 4378 | DstPort 3 4379 | } 4380 | } 4381 | Line { 4382 | ZOrder 23 4383 | SrcBlock "Switch1" 4384 | SrcPort 1 4385 | DstBlock "Gain2" 4386 | DstPort 1 4387 | } 4388 | Line { 4389 | ZOrder 24 4390 | SrcBlock "Switch2" 4391 | SrcPort 1 4392 | DstBlock "Gain3" 4393 | DstPort 1 4394 | } 4395 | Line { 4396 | ZOrder 25 4397 | SrcBlock "Gain2" 4398 | SrcPort 1 4399 | Points [25, 0] 4400 | DstBlock "Sum2" 4401 | DstPort 2 4402 | } 4403 | Line { 4404 | ZOrder 26 4405 | SrcBlock "Switch" 4406 | SrcPort 1 4407 | Points [55, 0; 0, 70] 4408 | DstBlock "Sum2" 4409 | DstPort 1 4410 | } 4411 | Line { 4412 | ZOrder 27 4413 | SrcBlock "Gain3" 4414 | SrcPort 1 4415 | Points [10, 0; 0, -130] 4416 | DstBlock "Sum2" 4417 | DstPort 3 4418 | } 4419 | Line { 4420 | ZOrder 28 4421 | SrcBlock "Sum2" 4422 | SrcPort 1 4423 | DstBlock "N" 4424 | DstPort 1 4425 | } 4426 | } 4427 | } 4428 | Block { 4429 | BlockType SubSystem 4430 | Name "Subsystem" 4431 | SID "306" 4432 | Ports [5, 2] 4433 | Position [330, 151, 385, 309] 4434 | ZOrder -6 4435 | RequestExecContextInheritance off 4436 | System { 4437 | Name "Subsystem" 4438 | Location [-9, -9, 1929, 1041] 4439 | Open off 4440 | ModelBrowserVisibility off 4441 | ModelBrowserWidth 200 4442 | ScreenColor "white" 4443 | PaperOrientation "landscape" 4444 | PaperPositionMode "auto" 4445 | PaperType "A4" 4446 | PaperUnits "centimeters" 4447 | TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000] 4448 | TiledPageScale 1 4449 | ShowPageBoundaries off 4450 | ZoomFactor "150" 4451 | Block { 4452 | BlockType Inport 4453 | Name "N" 4454 | SID "307" 4455 | Position [20, 18, 50, 32] 4456 | ZOrder -1 4457 | IconDisplay "Port number" 4458 | } 4459 | Block { 4460 | BlockType Inport 4461 | Name "X" 4462 | SID "308" 4463 | Position [25, 143, 55, 157] 4464 | ZOrder -2 4465 | Port "2" 4466 | IconDisplay "Port number" 4467 | } 4468 | Block { 4469 | BlockType Inport 4470 | Name "Y" 4471 | SID "309" 4472 | Position [25, 188, 55, 202] 4473 | ZOrder -3 4474 | Port "3" 4475 | IconDisplay "Port number" 4476 | } 4477 | Block { 4478 | BlockType Inport 4479 | Name "Z" 4480 | SID "310" 4481 | Position [25, 233, 55, 247] 4482 | ZOrder -4 4483 | Port "4" 4484 | IconDisplay "Port number" 4485 | } 4486 | Block { 4487 | BlockType Inport 4488 | Name "T" 4489 | SID "311" 4490 | Position [20, 323, 50, 337] 4491 | ZOrder -5 4492 | Port "5" 4493 | IconDisplay "Port number" 4494 | } 4495 | Block { 4496 | BlockType Gain 4497 | Name " " 4498 | SID "312" 4499 | Position [105, 135, 135, 165] 4500 | ZOrder -6 4501 | Gain "-1" 4502 | ParamDataTypeStr "Inherit: Inherit via internal rule" 4503 | OutDataTypeStr "Inherit: Inherit via internal rule" 4504 | SaturateOnIntegerOverflow off 4505 | } 4506 | Block { 4507 | BlockType Gain 4508 | Name " " 4509 | SID "313" 4510 | Position [105, 180, 135, 210] 4511 | ZOrder -7 4512 | Gain "-1" 4513 | ParamDataTypeStr "Inherit: Inherit via internal rule" 4514 | OutDataTypeStr "Inherit: Inherit via internal rule" 4515 | SaturateOnIntegerOverflow off 4516 | } 4517 | Block { 4518 | BlockType Gain 4519 | Name " " 4520 | SID "314" 4521 | Position [105, 225, 135, 255] 4522 | ZOrder -8 4523 | Gain "-1" 4524 | ParamDataTypeStr "Inherit: Inherit via internal rule" 4525 | OutDataTypeStr "Inherit: Inherit via internal rule" 4526 | SaturateOnIntegerOverflow off 4527 | } 4528 | Block { 4529 | BlockType Fcn 4530 | Name "Fcn" 4531 | SID "316" 4532 | Position [435, 155, 495, 185] 4533 | ZOrder -9 4534 | Expr "u(3)-u(2)-u(1)" 4535 | } 4536 | Block { 4537 | BlockType Fcn 4538 | Name "Fcn1" 4539 | SID "317" 4540 | Position [435, 100, 495, 130] 4541 | ZOrder -10 4542 | Expr "u(1)*u(3)/(u(1)+u(2))" 4543 | } 4544 | Block { 4545 | BlockType Fcn 4546 | Name "Fcn2" 4547 | SID "318" 4548 | Position [435, 220, 495, 250] 4549 | ZOrder -11 4550 | Expr "u(2)*u(3)/(u(1)+u(2))" 4551 | } 4552 | Block { 4553 | BlockType MultiPortSwitch 4554 | Name "Multiport\nSwitch" 4555 | SID "319" 4556 | Ports [7, 1] 4557 | Position [230, 20, 275, 150] 4558 | ZOrder -12 4559 | Inputs "6" 4560 | InputSameDT off 4561 | SaturateOnIntegerOverflow off 4562 | } 4563 | Block { 4564 | BlockType MultiPortSwitch 4565 | Name "Multiport\nSwitch1" 4566 | SID "320" 4567 | Ports [7, 1] 4568 | Position [225, 190, 270, 310] 4569 | ZOrder -13 4570 | Inputs "6" 4571 | InputSameDT off 4572 | SaturateOnIntegerOverflow off 4573 | } 4574 | Block { 4575 | BlockType Mux 4576 | Name "Mux" 4577 | SID "321" 4578 | Ports [3, 1] 4579 | Position [380, 69, 390, 271] 4580 | ZOrder -14 4581 | ShowName off 4582 | Inputs "3" 4583 | DisplayOption "bar" 4584 | } 4585 | Block { 4586 | BlockType Switch 4587 | Name "Switch" 4588 | SID "323" 4589 | Position [565, 47, 595, 103] 4590 | ZOrder -15 4591 | InputSameDT off 4592 | SaturateOnIntegerOverflow off 4593 | } 4594 | Block { 4595 | BlockType Switch 4596 | Name "Switch1" 4597 | SID "324" 4598 | Position [570, 231, 600, 299] 4599 | ZOrder -16 4600 | Criteria "u2 > Threshold" 4601 | InputSameDT off 4602 | SaturateOnIntegerOverflow off 4603 | } 4604 | Block { 4605 | BlockType Outport 4606 | Name "T1" 4607 | SID "325" 4608 | Position [650, 68, 680, 82] 4609 | ZOrder -17 4610 | IconDisplay "Port number" 4611 | } 4612 | Block { 4613 | BlockType Outport 4614 | Name "T2" 4615 | SID "326" 4616 | Position [655, 258, 685, 272] 4617 | ZOrder -18 4618 | Port "2" 4619 | IconDisplay "Port number" 4620 | } 4621 | Line { 4622 | ZOrder 1 4623 | SrcBlock "N" 4624 | SrcPort 1 4625 | Points [155, 0] 4626 | Branch { 4627 | ZOrder 2 4628 | DstBlock "Multiport\nSwitch1" 4629 | DstPort 1 4630 | } 4631 | Branch { 4632 | ZOrder 3 4633 | DstBlock "Multiport\nSwitch" 4634 | DstPort 1 4635 | } 4636 | } 4637 | Line { 4638 | ZOrder 4 4639 | SrcBlock "X" 4640 | SrcPort 1 4641 | Points [15, 0] 4642 | Branch { 4643 | ZOrder 5 4644 | Points [0, -25; 125, 0] 4645 | Branch { 4646 | ZOrder 6 4647 | Points [0, 125] 4648 | DstBlock "Multiport\nSwitch1" 4649 | DstPort 4 4650 | } 4651 | Branch { 4652 | ZOrder 7 4653 | DstBlock "Multiport\nSwitch" 4654 | DstPort 6 4655 | } 4656 | } 4657 | Branch { 4658 | ZOrder 8 4659 | DstBlock " " 4660 | DstPort 1 4661 | } 4662 | } 4663 | Line { 4664 | ZOrder 9 4665 | SrcBlock "Y" 4666 | SrcPort 1 4667 | Points [15, 0] 4668 | Branch { 4669 | ZOrder 10 4670 | Points [0, -20; 100, 0] 4671 | Branch { 4672 | ZOrder 11 4673 | Points [0, 45] 4674 | DstBlock "Multiport\nSwitch1" 4675 | DstPort 2 4676 | } 4677 | Branch { 4678 | ZOrder 12 4679 | Points [0, -110] 4680 | DstBlock "Multiport\nSwitch" 4681 | DstPort 3 4682 | } 4683 | } 4684 | Branch { 4685 | ZOrder 13 4686 | DstBlock " " 4687 | DstPort 1 4688 | } 4689 | } 4690 | Line { 4691 | ZOrder 14 4692 | SrcBlock "Z" 4693 | SrcPort 1 4694 | Points [15, 0] 4695 | Branch { 4696 | ZOrder 15 4697 | Points [0, -20; 90, 0] 4698 | Branch { 4699 | ZOrder 16 4700 | Points [0, 45] 4701 | DstBlock "Multiport\nSwitch1" 4702 | DstPort 5 4703 | } 4704 | Branch { 4705 | ZOrder 17 4706 | Points [0, -175] 4707 | DstBlock "Multiport\nSwitch" 4708 | DstPort 2 4709 | } 4710 | } 4711 | Branch { 4712 | ZOrder 18 4713 | DstBlock " " 4714 | DstPort 1 4715 | } 4716 | } 4717 | Line { 4718 | ZOrder 19 4719 | SrcBlock " " 4720 | SrcPort 1 4721 | Points [0, 0] 4722 | Branch { 4723 | ZOrder 20 4724 | Points [0, 55] 4725 | DstBlock "Multiport\nSwitch1" 4726 | DstPort 7 4727 | } 4728 | Branch { 4729 | ZOrder 21 4730 | Points [0, -155] 4731 | DstBlock "Multiport\nSwitch" 4732 | DstPort 4 4733 | } 4734 | } 4735 | Line { 4736 | ZOrder 22 4737 | SrcBlock " " 4738 | SrcPort 1 4739 | Points [50, 0] 4740 | Branch { 4741 | ZOrder 23 4742 | Points [0, -50] 4743 | DstBlock "Multiport\nSwitch" 4744 | DstPort 7 4745 | } 4746 | Branch { 4747 | ZOrder 24 4748 | Points [0, 85] 4749 | DstBlock "Multiport\nSwitch1" 4750 | DstPort 6 4751 | } 4752 | } 4753 | Line { 4754 | ZOrder 25 4755 | SrcBlock " " 4756 | SrcPort 1 4757 | Points [15, 0] 4758 | Branch { 4759 | ZOrder 26 4760 | Points [0, -45] 4761 | DstBlock "Multiport\nSwitch" 4762 | DstPort 5 4763 | } 4764 | Branch { 4765 | ZOrder 27 4766 | Points [0, 85] 4767 | DstBlock "Multiport\nSwitch1" 4768 | DstPort 3 4769 | } 4770 | } 4771 | Line { 4772 | ZOrder 28 4773 | SrcBlock "Multiport\nSwitch" 4774 | SrcPort 1 4775 | Points [85, 0] 4776 | Branch { 4777 | ZOrder 29 4778 | DstBlock "Mux" 4779 | DstPort 1 4780 | } 4781 | Branch { 4782 | ZOrder 30 4783 | Points [0, -30] 4784 | DstBlock "Switch" 4785 | DstPort 1 4786 | } 4787 | } 4788 | Line { 4789 | ZOrder 31 4790 | SrcBlock "Multiport\nSwitch1" 4791 | SrcPort 1 4792 | Points [15, 0] 4793 | Branch { 4794 | ZOrder 32 4795 | Points [0, 25; 255, 0; 0, -30] 4796 | DstBlock "Switch1" 4797 | DstPort 1 4798 | } 4799 | Branch { 4800 | ZOrder 33 4801 | Points [0, -80] 4802 | DstBlock "Mux" 4803 | DstPort 2 4804 | } 4805 | } 4806 | Line { 4807 | ZOrder 34 4808 | SrcBlock "T" 4809 | SrcPort 1 4810 | Points [280, 0; 0, -95] 4811 | DstBlock "Mux" 4812 | DstPort 3 4813 | } 4814 | Line { 4815 | ZOrder 35 4816 | SrcBlock "Mux" 4817 | SrcPort 1 4818 | Points [15, 0] 4819 | Branch { 4820 | ZOrder 36 4821 | DstBlock "Fcn" 4822 | DstPort 1 4823 | } 4824 | Branch { 4825 | ZOrder 37 4826 | Points [0, -55] 4827 | DstBlock "Fcn1" 4828 | DstPort 1 4829 | } 4830 | Branch { 4831 | ZOrder 38 4832 | Points [0, 65] 4833 | DstBlock "Fcn2" 4834 | DstPort 1 4835 | } 4836 | } 4837 | Line { 4838 | ZOrder 39 4839 | SrcBlock "Fcn" 4840 | SrcPort 1 4841 | Points [30, 0] 4842 | Branch { 4843 | ZOrder 40 4844 | Points [0, -95] 4845 | DstBlock "Switch" 4846 | DstPort 2 4847 | } 4848 | Branch { 4849 | ZOrder 41 4850 | Points [0, 95] 4851 | DstBlock "Switch1" 4852 | DstPort 2 4853 | } 4854 | } 4855 | Line { 4856 | ZOrder 42 4857 | SrcBlock "Fcn1" 4858 | SrcPort 1 4859 | Points [50, 0] 4860 | DstBlock "Switch" 4861 | DstPort 3 4862 | } 4863 | Line { 4864 | ZOrder 43 4865 | SrcBlock "Fcn2" 4866 | SrcPort 1 4867 | Points [0, 50] 4868 | DstBlock "Switch1" 4869 | DstPort 3 4870 | } 4871 | Line { 4872 | ZOrder 44 4873 | SrcBlock "Switch" 4874 | SrcPort 1 4875 | DstBlock "T1" 4876 | DstPort 1 4877 | } 4878 | Line { 4879 | ZOrder 45 4880 | SrcBlock "Switch1" 4881 | SrcPort 1 4882 | DstBlock "T2" 4883 | DstPort 1 4884 | } 4885 | Annotation { 4886 | SID "661" 4887 | Name "z" 4888 | Position [202, 34, 209, 49] 4889 | InternalMargins [0, 0, 0, 0] 4890 | FixedHeight off 4891 | FixedWidth off 4892 | ZOrder -1 4893 | } 4894 | Annotation { 4895 | SID "662" 4896 | Name "y" 4897 | Position [198, 54, 205, 69] 4898 | InternalMargins [0, 0, 0, 0] 4899 | FixedHeight off 4900 | FixedWidth off 4901 | ZOrder -2 4902 | } 4903 | Annotation { 4904 | SID "663" 4905 | Name "-z" 4906 | Position [198, 79, 208, 94] 4907 | InternalMargins [0, 0, 0, 0] 4908 | FixedHeight off 4909 | FixedWidth off 4910 | ZOrder -3 4911 | } 4912 | Annotation { 4913 | SID "664" 4914 | Name "-x" 4915 | Position [196, 99, 206, 114] 4916 | InternalMargins [0, 0, 0, 0] 4917 | FixedHeight off 4918 | FixedWidth off 4919 | ZOrder -4 4920 | } 4921 | Annotation { 4922 | SID "665" 4923 | Name "x" 4924 | Position [193, 114, 200, 129] 4925 | InternalMargins [0, 0, 0, 0] 4926 | FixedHeight off 4927 | FixedWidth off 4928 | ZOrder -5 4929 | } 4930 | Annotation { 4931 | SID "666" 4932 | Name "-y" 4933 | Position [195, 134, 205, 149] 4934 | InternalMargins [0, 0, 0, 0] 4935 | FixedHeight off 4936 | FixedWidth off 4937 | ZOrder -6 4938 | } 4939 | Annotation { 4940 | SID "667" 4941 | Name "y" 4942 | Position [205, 213, 212, 228] 4943 | InternalMargins [0, 0, 0, 0] 4944 | FixedHeight off 4945 | FixedWidth off 4946 | ZOrder -7 4947 | } 4948 | Annotation { 4949 | SID "668" 4950 | Name "-x" 4951 | Position [206, 227, 216, 242] 4952 | InternalMargins [0, 0, 0, 0] 4953 | FixedHeight off 4954 | FixedWidth off 4955 | ZOrder -8 4956 | } 4957 | Annotation { 4958 | SID "669" 4959 | Name "x" 4960 | Position [207, 243, 214, 258] 4961 | InternalMargins [0, 0, 0, 0] 4962 | FixedHeight off 4963 | FixedWidth off 4964 | ZOrder -9 4965 | } 4966 | Annotation { 4967 | SID "670" 4968 | Name "z" 4969 | Position [208, 260, 215, 275] 4970 | InternalMargins [0, 0, 0, 0] 4971 | FixedHeight off 4972 | FixedWidth off 4973 | ZOrder -10 4974 | } 4975 | Annotation { 4976 | SID "671" 4977 | Name "-y" 4978 | Position [208, 273, 218, 288] 4979 | InternalMargins [0, 0, 0, 0] 4980 | FixedHeight off 4981 | FixedWidth off 4982 | ZOrder -11 4983 | } 4984 | Annotation { 4985 | SID "672" 4986 | Name "-z" 4987 | Position [208, 287, 218, 302] 4988 | InternalMargins [0, 0, 0, 0] 4989 | FixedHeight off 4990 | FixedWidth off 4991 | ZOrder -12 4992 | } 4993 | Annotation { 4994 | SID "673" 4995 | Name "T1" 4996 | Position [360, 65, 375, 80] 4997 | InternalMargins [0, 0, 0, 0] 4998 | FixedHeight off 4999 | FixedWidth off 5000 | ZOrder -13 5001 | } 5002 | Annotation { 5003 | SID "674" 5004 | Name "T2" 5005 | Position [358, 164, 373, 179] 5006 | InternalMargins [0, 0, 0, 0] 5007 | FixedHeight off 5008 | FixedWidth off 5009 | ZOrder -14 5010 | } 5011 | Annotation { 5012 | SID "675" 5013 | Name "T" 5014 | Position [364, 219, 373, 234] 5015 | InternalMargins [0, 0, 0, 0] 5016 | FixedHeight off 5017 | FixedWidth off 5018 | ZOrder -15 5019 | } 5020 | Annotation { 5021 | SID "676" 5022 | Name "T1" 5023 | Position [635, 59, 650, 74] 5024 | InternalMargins [0, 0, 0, 0] 5025 | FixedHeight off 5026 | FixedWidth off 5027 | ZOrder -16 5028 | } 5029 | Annotation { 5030 | SID "677" 5031 | Name "T2" 5032 | Position [641, 253, 656, 268] 5033 | InternalMargins [0, 0, 0, 0] 5034 | FixedHeight off 5035 | FixedWidth off 5036 | ZOrder -17 5037 | } 5038 | } 5039 | } 5040 | Block { 5041 | BlockType SubSystem 5042 | Name "Subsystem1" 5043 | SID "327" 5044 | Ports [4, 3] 5045 | Position [505, 159, 560, 321] 5046 | ZOrder -7 5047 | RequestExecContextInheritance off 5048 | System { 5049 | Name "Subsystem1" 5050 | Location [-9, 0, 1369, 780] 5051 | Open off 5052 | ModelBrowserVisibility off 5053 | ModelBrowserWidth 200 5054 | ScreenColor "white" 5055 | PaperOrientation "landscape" 5056 | PaperPositionMode "auto" 5057 | PaperType "A4" 5058 | PaperUnits "centimeters" 5059 | TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000] 5060 | TiledPageScale 1 5061 | ShowPageBoundaries off 5062 | ZoomFactor "100" 5063 | Block { 5064 | BlockType Inport 5065 | Name "T1" 5066 | SID "328" 5067 | Position [85, 233, 115, 247] 5068 | ZOrder -1 5069 | IconDisplay "Port number" 5070 | } 5071 | Block { 5072 | BlockType Inport 5073 | Name "T2" 5074 | SID "329" 5075 | Position [20, 323, 50, 337] 5076 | ZOrder -2 5077 | Port "2" 5078 | IconDisplay "Port number" 5079 | } 5080 | Block { 5081 | BlockType Inport 5082 | Name "T" 5083 | SID "330" 5084 | Position [20, 368, 50, 382] 5085 | ZOrder -3 5086 | Port "3" 5087 | IconDisplay "Port number" 5088 | } 5089 | Block { 5090 | BlockType Inport 5091 | Name "N" 5092 | SID "331" 5093 | Position [15, 38, 45, 52] 5094 | ZOrder -4 5095 | Port "4" 5096 | IconDisplay "Port number" 5097 | } 5098 | Block { 5099 | BlockType Gain 5100 | Name "Gain1" 5101 | SID "332" 5102 | Position [260, 315, 290, 345] 5103 | ZOrder -5 5104 | Gain "1/4" 5105 | ParamDataTypeStr "Inherit: Inherit via internal rule" 5106 | OutDataTypeStr "Inherit: Inherit via internal rule" 5107 | SaturateOnIntegerOverflow off 5108 | } 5109 | Block { 5110 | BlockType Gain 5111 | Name "Gain2" 5112 | SID "333" 5113 | Position [155, 100, 185, 130] 5114 | ZOrder -6 5115 | Gain "0.5" 5116 | ParamDataTypeStr "Inherit: Inherit via internal rule" 5117 | OutDataTypeStr "Inherit: Inherit via internal rule" 5118 | SaturateOnIntegerOverflow off 5119 | } 5120 | Block { 5121 | BlockType Gain 5122 | Name "Gain3" 5123 | SID "334" 5124 | Position [155, 195, 185, 225] 5125 | ZOrder -7 5126 | Gain "0.5" 5127 | ParamDataTypeStr "Inherit: Inherit via internal rule" 5128 | OutDataTypeStr "Inherit: Inherit via internal rule" 5129 | SaturateOnIntegerOverflow off 5130 | } 5131 | Block { 5132 | BlockType MultiPortSwitch 5133 | Name "Multiport\nSwitch" 5134 | SID "335" 5135 | Ports [7, 1] 5136 | Position [705, 40, 750, 170] 5137 | ZOrder -8 5138 | Inputs "6" 5139 | InputSameDT off 5140 | SaturateOnIntegerOverflow off 5141 | } 5142 | Block { 5143 | BlockType MultiPortSwitch 5144 | Name "Multiport\nSwitch1" 5145 | SID "336" 5146 | Ports [7, 1] 5147 | Position [710, 215, 755, 345] 5148 | ZOrder -9 5149 | Inputs "6" 5150 | InputSameDT off 5151 | SaturateOnIntegerOverflow off 5152 | } 5153 | Block { 5154 | BlockType MultiPortSwitch 5155 | Name "Multiport\nSwitch2" 5156 | SID "337" 5157 | Ports [7, 1] 5158 | Position [710, 400, 755, 530] 5159 | ZOrder -10 5160 | Inputs "6" 5161 | InputSameDT off 5162 | SaturateOnIntegerOverflow off 5163 | } 5164 | Block { 5165 | BlockType Sum 5166 | Name "Subtract1" 5167 | SID "338" 5168 | Ports [3, 1] 5169 | Position [155, 260, 215, 400] 5170 | ZOrder -11 5171 | Inputs "--+" 5172 | InputSameDT off 5173 | OutDataTypeStr "Inherit: Inherit via internal rule" 5174 | SaturateOnIntegerOverflow off 5175 | } 5176 | Block { 5177 | BlockType Sum 5178 | Name "Subtract2" 5179 | SID "339" 5180 | Ports [2, 1] 5181 | Position [365, 205, 425, 345] 5182 | ZOrder -12 5183 | InputSameDT off 5184 | OutDataTypeStr "Inherit: Inherit via internal rule" 5185 | SaturateOnIntegerOverflow off 5186 | } 5187 | Block { 5188 | BlockType Sum 5189 | Name "Subtract3" 5190 | SID "340" 5191 | Ports [2, 1] 5192 | Position [460, 85, 515, 205] 5193 | ZOrder -13 5194 | InputSameDT off 5195 | OutDataTypeStr "Inherit: Inherit via internal rule" 5196 | SaturateOnIntegerOverflow off 5197 | } 5198 | Block { 5199 | BlockType Outport 5200 | Name "Tcm1" 5201 | SID "341" 5202 | Position [840, 98, 870, 112] 5203 | ZOrder -14 5204 | IconDisplay "Port number" 5205 | } 5206 | Block { 5207 | BlockType Outport 5208 | Name "Tcm2" 5209 | SID "342" 5210 | Position [845, 273, 875, 287] 5211 | ZOrder -15 5212 | Port "2" 5213 | IconDisplay "Port number" 5214 | } 5215 | Block { 5216 | BlockType Outport 5217 | Name "Tcm3" 5218 | SID "343" 5219 | Position [845, 458, 875, 472] 5220 | ZOrder -16 5221 | Port "3" 5222 | IconDisplay "Port number" 5223 | } 5224 | Line { 5225 | ZOrder 1 5226 | SrcBlock "T2" 5227 | SrcPort 1 5228 | Points [15, 0] 5229 | Branch { 5230 | ZOrder 2 5231 | Points [0, -215] 5232 | DstBlock "Gain2" 5233 | DstPort 1 5234 | } 5235 | Branch { 5236 | ZOrder 3 5237 | DstBlock "Subtract1" 5238 | DstPort 2 5239 | } 5240 | } 5241 | Line { 5242 | ZOrder 4 5243 | SrcBlock "T" 5244 | SrcPort 1 5245 | DstBlock "Subtract1" 5246 | DstPort 3 5247 | } 5248 | Line { 5249 | ZOrder 5 5250 | SrcBlock "T1" 5251 | SrcPort 1 5252 | Points [10, 0] 5253 | Branch { 5254 | ZOrder 6 5255 | Points [0, -30] 5256 | DstBlock "Gain3" 5257 | DstPort 1 5258 | } 5259 | Branch { 5260 | ZOrder 7 5261 | Points [0, 45] 5262 | DstBlock "Subtract1" 5263 | DstPort 1 5264 | } 5265 | } 5266 | Line { 5267 | ZOrder 8 5268 | SrcBlock "Gain3" 5269 | SrcPort 1 5270 | Points [40, 0; 0, 30] 5271 | DstBlock "Subtract2" 5272 | DstPort 1 5273 | } 5274 | Line { 5275 | ZOrder 9 5276 | SrcBlock "Subtract1" 5277 | SrcPort 1 5278 | DstBlock "Gain1" 5279 | DstPort 1 5280 | } 5281 | Line { 5282 | ZOrder 10 5283 | SrcBlock "Gain1" 5284 | SrcPort 1 5285 | Points [25, 0] 5286 | Branch { 5287 | ZOrder 11 5288 | Points [0, -20] 5289 | DstBlock "Subtract2" 5290 | DstPort 2 5291 | } 5292 | Branch { 5293 | ZOrder 12 5294 | Points [0, 55; 335, 0] 5295 | Branch { 5296 | ZOrder 13 5297 | Points [0, -65] 5298 | Branch { 5299 | ZOrder 14 5300 | Points [0, -80] 5301 | Branch { 5302 | ZOrder 15 5303 | Points [0, -135] 5304 | Branch { 5305 | ZOrder 16 5306 | Points [0, -20] 5307 | DstBlock "Multiport\nSwitch" 5308 | DstPort 3 5309 | } 5310 | Branch { 5311 | ZOrder 17 5312 | DstBlock "Multiport\nSwitch" 5313 | DstPort 4 5314 | } 5315 | } 5316 | Branch { 5317 | ZOrder 18 5318 | DstBlock "Multiport\nSwitch1" 5319 | DstPort 2 5320 | } 5321 | } 5322 | Branch { 5323 | ZOrder 19 5324 | DstBlock "Multiport\nSwitch1" 5325 | DstPort 6 5326 | } 5327 | } 5328 | Branch { 5329 | ZOrder 20 5330 | Points [0, 100] 5331 | Branch { 5332 | ZOrder 21 5333 | DstBlock "Multiport\nSwitch2" 5334 | DstPort 5 5335 | } 5336 | Branch { 5337 | ZOrder 22 5338 | Points [0, 40] 5339 | DstBlock "Multiport\nSwitch2" 5340 | DstPort 7 5341 | } 5342 | } 5343 | } 5344 | } 5345 | Line { 5346 | ZOrder 23 5347 | SrcBlock "Subtract2" 5348 | SrcPort 1 5349 | Points [10, 0] 5350 | Branch { 5351 | ZOrder 24 5352 | Points [0, -100] 5353 | DstBlock "Subtract3" 5354 | DstPort 2 5355 | } 5356 | Branch { 5357 | ZOrder 25 5358 | Points [140, 0] 5359 | Branch { 5360 | ZOrder 26 5361 | Points [0, -110] 5362 | Branch { 5363 | ZOrder 27 5364 | Points [0, -100] 5365 | DstBlock "Multiport\nSwitch" 5366 | DstPort 2 5367 | } 5368 | Branch { 5369 | ZOrder 28 5370 | DstBlock "Multiport\nSwitch" 5371 | DstPort 7 5372 | } 5373 | } 5374 | Branch { 5375 | ZOrder 29 5376 | Points [0, 5] 5377 | Branch { 5378 | ZOrder 30 5379 | DstBlock "Multiport\nSwitch1" 5380 | DstPort 4 5381 | } 5382 | Branch { 5383 | ZOrder 31 5384 | Points [0, 20] 5385 | Branch { 5386 | ZOrder 32 5387 | DstBlock "Multiport\nSwitch1" 5388 | DstPort 5 5389 | } 5390 | Branch { 5391 | ZOrder 33 5392 | Points [0, 145] 5393 | Branch { 5394 | ZOrder 34 5395 | DstBlock "Multiport\nSwitch2" 5396 | DstPort 3 5397 | } 5398 | Branch { 5399 | ZOrder 35 5400 | Points [0, 60] 5401 | DstBlock "Multiport\nSwitch2" 5402 | DstPort 6 5403 | } 5404 | } 5405 | } 5406 | } 5407 | } 5408 | } 5409 | Line { 5410 | ZOrder 36 5411 | SrcBlock "Gain2" 5412 | SrcPort 1 5413 | DstBlock "Subtract3" 5414 | DstPort 1 5415 | } 5416 | Line { 5417 | ZOrder 37 5418 | SrcBlock "N" 5419 | SrcPort 1 5420 | Points [585, 0] 5421 | Branch { 5422 | ZOrder 38 5423 | DstBlock "Multiport\nSwitch" 5424 | DstPort 1 5425 | } 5426 | Branch { 5427 | ZOrder 39 5428 | Points [0, 175] 5429 | Branch { 5430 | ZOrder 40 5431 | Points [0, 185] 5432 | DstBlock "Multiport\nSwitch2" 5433 | DstPort 1 5434 | } 5435 | Branch { 5436 | ZOrder 41 5437 | DstBlock "Multiport\nSwitch1" 5438 | DstPort 1 5439 | } 5440 | } 5441 | } 5442 | Line { 5443 | ZOrder 42 5444 | SrcBlock "Multiport\nSwitch" 5445 | SrcPort 1 5446 | DstBlock "Tcm1" 5447 | DstPort 1 5448 | } 5449 | Line { 5450 | ZOrder 43 5451 | SrcBlock "Multiport\nSwitch1" 5452 | SrcPort 1 5453 | DstBlock "Tcm2" 5454 | DstPort 1 5455 | } 5456 | Line { 5457 | ZOrder 44 5458 | SrcBlock "Multiport\nSwitch2" 5459 | SrcPort 1 5460 | DstBlock "Tcm3" 5461 | DstPort 1 5462 | } 5463 | Line { 5464 | ZOrder 45 5465 | SrcBlock "Subtract3" 5466 | SrcPort 1 5467 | Points [85, 0] 5468 | Branch { 5469 | ZOrder 46 5470 | Points [0, -20] 5471 | DstBlock "Multiport\nSwitch" 5472 | DstPort 5 5473 | } 5474 | Branch { 5475 | ZOrder 47 5476 | DstBlock "Multiport\nSwitch" 5477 | DstPort 6 5478 | } 5479 | Branch { 5480 | ZOrder 48 5481 | Points [0, 115] 5482 | Branch { 5483 | ZOrder 49 5484 | DstBlock "Multiport\nSwitch1" 5485 | DstPort 3 5486 | } 5487 | Branch { 5488 | ZOrder 50 5489 | Points [0, 80] 5490 | Branch { 5491 | ZOrder 51 5492 | DstBlock "Multiport\nSwitch1" 5493 | DstPort 7 5494 | } 5495 | Branch { 5496 | ZOrder 52 5497 | Points [0, 85] 5498 | Branch { 5499 | ZOrder 53 5500 | DstBlock "Multiport\nSwitch2" 5501 | DstPort 2 5502 | } 5503 | Branch { 5504 | ZOrder 54 5505 | Points [0, 40] 5506 | DstBlock "Multiport\nSwitch2" 5507 | DstPort 4 5508 | } 5509 | } 5510 | } 5511 | } 5512 | } 5513 | Annotation { 5514 | SID "678" 5515 | Name "Ta" 5516 | Position [510, 382, 524, 397] 5517 | InternalMargins [0, 0, 0, 0] 5518 | FixedHeight off 5519 | FixedWidth off 5520 | ZOrder -1 5521 | } 5522 | Annotation { 5523 | SID "679" 5524 | Name "Tb" 5525 | Position [531, 265, 546, 280] 5526 | InternalMargins [0, 0, 0, 0] 5527 | FixedHeight off 5528 | FixedWidth off 5529 | ZOrder -2 5530 | } 5531 | Annotation { 5532 | SID "680" 5533 | Name "Tc" 5534 | Position [535, 149, 548, 164] 5535 | InternalMargins [0, 0, 0, 0] 5536 | FixedHeight off 5537 | FixedWidth off 5538 | ZOrder -3 5539 | } 5540 | Annotation { 5541 | SID "681" 5542 | Name "b" 5543 | Position [674, 58, 682, 73] 5544 | InternalMargins [0, 0, 0, 0] 5545 | FixedHeight off 5546 | FixedWidth off 5547 | ZOrder -4 5548 | } 5549 | Annotation { 5550 | SID "682" 5551 | Name "a" 5552 | Position [673, 76, 681, 91] 5553 | InternalMargins [0, 0, 0, 0] 5554 | FixedHeight off 5555 | FixedWidth off 5556 | ZOrder -5 5557 | } 5558 | Annotation { 5559 | SID "683" 5560 | Name "a" 5561 | Position [673, 94, 681, 109] 5562 | InternalMargins [0, 0, 0, 0] 5563 | FixedHeight off 5564 | FixedWidth off 5565 | ZOrder -6 5566 | } 5567 | Annotation { 5568 | SID "684" 5569 | Name "c" 5570 | Position [675, 113, 682, 128] 5571 | InternalMargins [0, 0, 0, 0] 5572 | FixedHeight off 5573 | FixedWidth off 5574 | ZOrder -7 5575 | } 5576 | Annotation { 5577 | SID "685" 5578 | Name "c" 5579 | Position [674, 136, 681, 151] 5580 | InternalMargins [0, 0, 0, 0] 5581 | FixedHeight off 5582 | FixedWidth off 5583 | ZOrder -8 5584 | } 5585 | Annotation { 5586 | SID "686" 5587 | Name "b" 5588 | Position [675, 155, 683, 170] 5589 | InternalMargins [0, 0, 0, 0] 5590 | FixedHeight off 5591 | FixedWidth off 5592 | ZOrder -9 5593 | } 5594 | Annotation { 5595 | SID "687" 5596 | Name "a" 5597 | Position [680, 232, 688, 247] 5598 | InternalMargins [0, 0, 0, 0] 5599 | FixedHeight off 5600 | FixedWidth off 5601 | ZOrder -10 5602 | } 5603 | Annotation { 5604 | SID "688" 5605 | Name "c" 5606 | Position [679, 253, 686, 268] 5607 | InternalMargins [0, 0, 0, 0] 5608 | FixedHeight off 5609 | FixedWidth off 5610 | ZOrder -11 5611 | } 5612 | Annotation { 5613 | SID "689" 5614 | Name "b" 5615 | Position [678, 269, 686, 284] 5616 | InternalMargins [0, 0, 0, 0] 5617 | FixedHeight off 5618 | FixedWidth off 5619 | ZOrder -12 5620 | } 5621 | Annotation { 5622 | SID "690" 5623 | Name "b" 5624 | Position [678, 290, 686, 305] 5625 | InternalMargins [0, 0, 0, 0] 5626 | FixedHeight off 5627 | FixedWidth off 5628 | ZOrder -13 5629 | } 5630 | Annotation { 5631 | SID "691" 5632 | Name "a" 5633 | Position [677, 313, 685, 328] 5634 | InternalMargins [0, 0, 0, 0] 5635 | FixedHeight off 5636 | FixedWidth off 5637 | ZOrder -14 5638 | } 5639 | Annotation { 5640 | SID "692" 5641 | Name "c" 5642 | Position [678, 333, 685, 348] 5643 | InternalMargins [0, 0, 0, 0] 5644 | FixedHeight off 5645 | FixedWidth off 5646 | ZOrder -15 5647 | } 5648 | Annotation { 5649 | SID "693" 5650 | Name "c" 5651 | Position [677, 415, 684, 430] 5652 | InternalMargins [0, 0, 0, 0] 5653 | FixedHeight off 5654 | FixedWidth off 5655 | ZOrder -16 5656 | } 5657 | Annotation { 5658 | SID "694" 5659 | Name "b" 5660 | Position [679, 437, 687, 452] 5661 | InternalMargins [0, 0, 0, 0] 5662 | FixedHeight off 5663 | FixedWidth off 5664 | ZOrder -17 5665 | } 5666 | Annotation { 5667 | SID "695" 5668 | Name "c" 5669 | Position [677, 458, 684, 473] 5670 | InternalMargins [0, 0, 0, 0] 5671 | FixedHeight off 5672 | FixedWidth off 5673 | ZOrder -18 5674 | } 5675 | Annotation { 5676 | SID "696" 5677 | Name "a" 5678 | Position [676, 475, 684, 490] 5679 | InternalMargins [0, 0, 0, 0] 5680 | FixedHeight off 5681 | FixedWidth off 5682 | ZOrder -19 5683 | } 5684 | Annotation { 5685 | SID "697" 5686 | Name "b" 5687 | Position [679, 492, 687, 507] 5688 | InternalMargins [0, 0, 0, 0] 5689 | FixedHeight off 5690 | FixedWidth off 5691 | ZOrder -20 5692 | } 5693 | Annotation { 5694 | SID "698" 5695 | Name "a" 5696 | Position [679, 515, 687, 530] 5697 | InternalMargins [0, 0, 0, 0] 5698 | FixedHeight off 5699 | FixedWidth off 5700 | ZOrder -21 5701 | } 5702 | } 5703 | } 5704 | Block { 5705 | BlockType SubSystem 5706 | Name "X.Y.Z" 5707 | SID "344" 5708 | Ports [4, 3] 5709 | Position [180, 171, 245, 314] 5710 | ZOrder -8 5711 | RequestExecContextInheritance off 5712 | System { 5713 | Name "X.Y.Z" 5714 | Location [-9, 0, 1369, 780] 5715 | Open off 5716 | ModelBrowserVisibility off 5717 | ModelBrowserWidth 200 5718 | ScreenColor "white" 5719 | PaperOrientation "landscape" 5720 | PaperPositionMode "auto" 5721 | PaperType "A4" 5722 | PaperUnits "centimeters" 5723 | TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000] 5724 | TiledPageScale 1 5725 | ShowPageBoundaries off 5726 | ZoomFactor "100" 5727 | Block { 5728 | BlockType Inport 5729 | Name "T" 5730 | SID "345" 5731 | Position [30, 308, 60, 322] 5732 | ZOrder -1 5733 | IconDisplay "Port number" 5734 | } 5735 | Block { 5736 | BlockType Inport 5737 | Name "Ualfa" 5738 | SID "346" 5739 | Position [30, 28, 60, 42] 5740 | ZOrder -2 5741 | Port "2" 5742 | IconDisplay "Port number" 5743 | } 5744 | Block { 5745 | BlockType Inport 5746 | Name "Ubeta" 5747 | SID "347" 5748 | Position [25, 238, 55, 252] 5749 | ZOrder -3 5750 | Port "3" 5751 | IconDisplay "Port number" 5752 | } 5753 | Block { 5754 | BlockType Inport 5755 | Name "Udc" 5756 | SID "348" 5757 | Position [25, 383, 55, 397] 5758 | ZOrder -4 5759 | Port "4" 5760 | IconDisplay "Port number" 5761 | } 5762 | Block { 5763 | BlockType Product 5764 | Name "Divide" 5765 | SID "349" 5766 | Ports [3, 1] 5767 | Position [485, 34, 525, 106] 5768 | ZOrder -5 5769 | Inputs "**/" 5770 | InputSameDT off 5771 | OutDataTypeStr "Inherit: Inherit via internal rule" 5772 | RndMeth "Floor" 5773 | SaturateOnIntegerOverflow off 5774 | } 5775 | Block { 5776 | BlockType Product 5777 | Name "Divide1" 5778 | SID "350" 5779 | Ports [3, 1] 5780 | Position [490, 159, 530, 231] 5781 | ZOrder -6 5782 | Inputs "**/" 5783 | InputSameDT off 5784 | OutDataTypeStr "Inherit: Inherit via internal rule" 5785 | RndMeth "Floor" 5786 | SaturateOnIntegerOverflow off 5787 | } 5788 | Block { 5789 | BlockType Product 5790 | Name "Divide2" 5791 | SID "351" 5792 | Ports [3, 1] 5793 | Position [495, 309, 535, 381] 5794 | ZOrder -7 5795 | Inputs "**/" 5796 | InputSameDT off 5797 | OutDataTypeStr "Inherit: Inherit via internal rule" 5798 | RndMeth "Floor" 5799 | SaturateOnIntegerOverflow off 5800 | } 5801 | Block { 5802 | BlockType Gain 5803 | Name "Gain" 5804 | SID "352" 5805 | Position [200, 125, 230, 155] 5806 | ZOrder -8 5807 | Gain "0.577" 5808 | ParamDataTypeStr "Inherit: Inherit via internal rule" 5809 | OutDataTypeStr "Inherit: Inherit via internal rule" 5810 | SaturateOnIntegerOverflow off 5811 | } 5812 | Block { 5813 | BlockType Gain 5814 | Name "Gain1" 5815 | SID "353" 5816 | Position [200, 30, 230, 60] 5817 | ZOrder -9 5818 | Gain "1.732" 5819 | ParamDataTypeStr "Inherit: Inherit via internal rule" 5820 | OutDataTypeStr "Inherit: Inherit via internal rule" 5821 | SaturateOnIntegerOverflow off 5822 | } 5823 | Block { 5824 | BlockType Gain 5825 | Name "Gain2" 5826 | SID "354" 5827 | Position [570, 180, 600, 210] 5828 | ZOrder -10 5829 | Gain "1.5" 5830 | ParamDataTypeStr "Inherit: Inherit via internal rule" 5831 | OutDataTypeStr "Inherit: Inherit via internal rule" 5832 | SaturateOnIntegerOverflow off 5833 | } 5834 | Block { 5835 | BlockType Gain 5836 | Name "Gain3" 5837 | SID "355" 5838 | Position [575, 330, 605, 360] 5839 | ZOrder -11 5840 | Gain "1.5" 5841 | ParamDataTypeStr "Inherit: Inherit via internal rule" 5842 | OutDataTypeStr "Inherit: Inherit via internal rule" 5843 | SaturateOnIntegerOverflow off 5844 | } 5845 | Block { 5846 | BlockType Sum 5847 | Name "Subtract" 5848 | SID "356" 5849 | Ports [2, 1] 5850 | Position [300, 132, 330, 163] 5851 | ZOrder -12 5852 | InputSameDT off 5853 | OutDataTypeStr "Inherit: Inherit via internal rule" 5854 | SaturateOnIntegerOverflow off 5855 | } 5856 | Block { 5857 | BlockType Sum 5858 | Name "Subtract1" 5859 | SID "357" 5860 | Ports [2, 1] 5861 | Position [300, 227, 330, 258] 5862 | ZOrder -13 5863 | Inputs "+-" 5864 | InputSameDT off 5865 | OutDataTypeStr "Inherit: Inherit via internal rule" 5866 | SaturateOnIntegerOverflow off 5867 | } 5868 | Block { 5869 | BlockType Outport 5870 | Name "X" 5871 | SID "358" 5872 | Position [620, 63, 650, 77] 5873 | ZOrder -14 5874 | IconDisplay "Port number" 5875 | } 5876 | Block { 5877 | BlockType Outport 5878 | Name "Y" 5879 | SID "359" 5880 | Position [625, 188, 655, 202] 5881 | ZOrder -15 5882 | Port "2" 5883 | IconDisplay "Port number" 5884 | } 5885 | Block { 5886 | BlockType Outport 5887 | Name "Z" 5888 | SID "360" 5889 | Position [630, 338, 660, 352] 5890 | ZOrder -16 5891 | Port "3" 5892 | IconDisplay "Port number" 5893 | } 5894 | Line { 5895 | ZOrder 1 5896 | SrcBlock "Gain" 5897 | SrcPort 1 5898 | Points [0, 0] 5899 | Branch { 5900 | ZOrder 2 5901 | DstBlock "Subtract" 5902 | DstPort 1 5903 | } 5904 | Branch { 5905 | ZOrder 3 5906 | Points [0, 95] 5907 | DstBlock "Subtract1" 5908 | DstPort 1 5909 | } 5910 | } 5911 | Line { 5912 | ZOrder 4 5913 | SrcBlock "Gain1" 5914 | SrcPort 1 5915 | DstBlock "Divide" 5916 | DstPort 1 5917 | } 5918 | Line { 5919 | ZOrder 5 5920 | SrcBlock "T" 5921 | SrcPort 1 5922 | Points [330, 0] 5923 | Branch { 5924 | ZOrder 6 5925 | Points [0, 30] 5926 | DstBlock "Divide2" 5927 | DstPort 2 5928 | } 5929 | Branch { 5930 | ZOrder 7 5931 | Points [0, -120] 5932 | Branch { 5933 | ZOrder 8 5934 | DstBlock "Divide1" 5935 | DstPort 2 5936 | } 5937 | Branch { 5938 | ZOrder 9 5939 | Points [0, -125] 5940 | DstBlock "Divide" 5941 | DstPort 2 5942 | } 5943 | } 5944 | } 5945 | Line { 5946 | ZOrder 10 5947 | SrcBlock "Udc" 5948 | SrcPort 1 5949 | Points [390, 0; 0, -20] 5950 | Branch { 5951 | ZOrder 11 5952 | DstBlock "Divide2" 5953 | DstPort 3 5954 | } 5955 | Branch { 5956 | ZOrder 12 5957 | Points [0, -150] 5958 | Branch { 5959 | ZOrder 13 5960 | DstBlock "Divide1" 5961 | DstPort 3 5962 | } 5963 | Branch { 5964 | ZOrder 14 5965 | Points [0, -125] 5966 | DstBlock "Divide" 5967 | DstPort 3 5968 | } 5969 | } 5970 | } 5971 | Line { 5972 | ZOrder 15 5973 | SrcBlock "Ualfa" 5974 | SrcPort 1 5975 | Points [70, 0; 0, 165; 130, 0] 5976 | Branch { 5977 | ZOrder 16 5978 | Points [0, 50] 5979 | DstBlock "Subtract1" 5980 | DstPort 2 5981 | } 5982 | Branch { 5983 | ZOrder 17 5984 | Points [0, -45] 5985 | DstBlock "Subtract" 5986 | DstPort 2 5987 | } 5988 | } 5989 | Line { 5990 | ZOrder 18 5991 | SrcBlock "Subtract" 5992 | SrcPort 1 5993 | Points [140, 0] 5994 | DstBlock "Divide1" 5995 | DstPort 1 5996 | } 5997 | Line { 5998 | ZOrder 19 5999 | SrcBlock "Subtract1" 6000 | SrcPort 1 6001 | Points [145, 0] 6002 | DstBlock "Divide2" 6003 | DstPort 1 6004 | } 6005 | Line { 6006 | ZOrder 20 6007 | SrcBlock "Divide" 6008 | SrcPort 1 6009 | DstBlock "X" 6010 | DstPort 1 6011 | } 6012 | Line { 6013 | ZOrder 21 6014 | SrcBlock "Divide1" 6015 | SrcPort 1 6016 | DstBlock "Gain2" 6017 | DstPort 1 6018 | } 6019 | Line { 6020 | ZOrder 22 6021 | SrcBlock "Divide2" 6022 | SrcPort 1 6023 | DstBlock "Gain3" 6024 | DstPort 1 6025 | } 6026 | Line { 6027 | ZOrder 23 6028 | SrcBlock "Gain2" 6029 | SrcPort 1 6030 | DstBlock "Y" 6031 | DstPort 1 6032 | } 6033 | Line { 6034 | ZOrder 24 6035 | SrcBlock "Gain3" 6036 | SrcPort 1 6037 | DstBlock "Z" 6038 | DstPort 1 6039 | } 6040 | Line { 6041 | ZOrder 25 6042 | SrcBlock "Ubeta" 6043 | SrcPort 1 6044 | Points [125, 0; 0, -105] 6045 | Branch { 6046 | ZOrder 26 6047 | DstBlock "Gain1" 6048 | DstPort 1 6049 | } 6050 | Branch { 6051 | ZOrder 27 6052 | DstBlock "Gain" 6053 | DstPort 1 6054 | } 6055 | } 6056 | } 6057 | } 6058 | Block { 6059 | BlockType SubSystem 6060 | Name "produce PWM" 6061 | SID "361" 6062 | Ports [3, 3] 6063 | Position [610, 157, 675, 323] 6064 | ZOrder -9 6065 | RequestExecContextInheritance off 6066 | System { 6067 | Name "produce PWM" 6068 | Location [-9, 0, 1369, 780] 6069 | Open off 6070 | ModelBrowserVisibility off 6071 | ModelBrowserWidth 200 6072 | ScreenColor "white" 6073 | PaperOrientation "landscape" 6074 | PaperPositionMode "auto" 6075 | PaperType "A4" 6076 | PaperUnits "centimeters" 6077 | TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000] 6078 | TiledPageScale 1 6079 | ShowPageBoundaries off 6080 | ZoomFactor "150" 6081 | Block { 6082 | BlockType Inport 6083 | Name "Tcm1" 6084 | SID "362" 6085 | Position [15, 133, 45, 147] 6086 | ZOrder -1 6087 | IconDisplay "Port number" 6088 | } 6089 | Block { 6090 | BlockType Inport 6091 | Name "Tcm2" 6092 | SID "363" 6093 | Position [15, 188, 45, 202] 6094 | ZOrder -2 6095 | Port "2" 6096 | IconDisplay "Port number" 6097 | } 6098 | Block { 6099 | BlockType Inport 6100 | Name "Tcm3" 6101 | SID "364" 6102 | Position [15, 243, 45, 257] 6103 | ZOrder -3 6104 | Port "3" 6105 | IconDisplay "Port number" 6106 | } 6107 | Block { 6108 | BlockType Constant 6109 | Name "Constant1" 6110 | SID "427" 6111 | Position [350, 120, 380, 150] 6112 | ZOrder -4 6113 | Value "[2 -1 -1;-1 2 -1;-1 -1 2]" 6114 | } 6115 | Block { 6116 | BlockType Demux 6117 | Name "Demux" 6118 | SID "428" 6119 | Ports [1, 3] 6120 | Position [655, 207, 660, 283] 6121 | ZOrder -5 6122 | ShowName off 6123 | Outputs "3" 6124 | DisplayOption "bar" 6125 | } 6126 | Block { 6127 | BlockType Product 6128 | Name "Divide" 6129 | SID "429" 6130 | Ports [2, 1] 6131 | Position [590, 227, 620, 258] 6132 | ZOrder -6 6133 | Inputs "**" 6134 | InputSameDT off 6135 | OutDataTypeStr "Inherit: Inherit via internal rule" 6136 | RndMeth "Floor" 6137 | SaturateOnIntegerOverflow off 6138 | } 6139 | Block { 6140 | BlockType Gain 6141 | Name "Gain" 6142 | SID "430" 6143 | Position [520, 120, 550, 150] 6144 | ZOrder -7 6145 | Gain "1/3" 6146 | ParamDataTypeStr "Inherit: Inherit via internal rule" 6147 | OutDataTypeStr "Inherit: Inherit via internal rule" 6148 | SaturateOnIntegerOverflow off 6149 | } 6150 | Block { 6151 | BlockType Mux 6152 | Name "Mux" 6153 | SID "431" 6154 | Ports [3, 1] 6155 | Position [315, 139, 320, 241] 6156 | ZOrder -8 6157 | ShowName off 6158 | Inputs "3" 6159 | DisplayOption "bar" 6160 | } 6161 | Block { 6162 | BlockType Product 6163 | Name "Product" 6164 | SID "432" 6165 | Ports [2, 1] 6166 | Position [435, 167, 465, 198] 6167 | ZOrder -9 6168 | Multiplication "Matrix(*)" 6169 | InputSameDT off 6170 | OutDataTypeStr "Inherit: Inherit via internal rule" 6171 | SaturateOnIntegerOverflow off 6172 | } 6173 | Block { 6174 | BlockType Relay 6175 | Name "Relay" 6176 | SID "372" 6177 | Position [175, 120, 205, 150] 6178 | ZOrder -10 6179 | OnSwitchValue "2e-10" 6180 | OffSwitchValue "-2e-10" 6181 | } 6182 | Block { 6183 | BlockType Relay 6184 | Name "Relay1" 6185 | SID "373" 6186 | Position [180, 175, 210, 205] 6187 | ZOrder -11 6188 | OnSwitchValue "2e-10" 6189 | OffSwitchValue "-2e-10" 6190 | } 6191 | Block { 6192 | BlockType Relay 6193 | Name "Relay2" 6194 | SID "374" 6195 | Position [180, 230, 210, 260] 6196 | ZOrder -12 6197 | OnSwitchValue "2e-10" 6198 | OffSwitchValue "-2e-10" 6199 | } 6200 | Block { 6201 | BlockType Reference 6202 | Name "Repeating\nSequence" 6203 | SID "375" 6204 | Ports [0, 1] 6205 | Position [25, 25, 55, 55] 6206 | ZOrder -13 6207 | LibraryVersion "1.287" 6208 | SourceBlock "simulink/Sources/Repeating\nSequence" 6209 | SourceType "Repeating table" 6210 | ContentPreviewEnabled off 6211 | rep_seq_t "[0 Ts/2 Ts]" 6212 | rep_seq_y "[0 Ts/2 0]" 6213 | } 6214 | Block { 6215 | BlockType Scope 6216 | Name "Scope1" 6217 | SID "376" 6218 | Ports [1] 6219 | Position [130, 24, 160, 56] 6220 | ZOrder -14 6221 | Floating off 6222 | Location [311, 87, 1335, 774] 6223 | Open off 6224 | NumInputPorts "1" 6225 | ZoomMode "xonly" 6226 | List { 6227 | ListType AxesTitles 6228 | axes1 "%" 6229 | } 6230 | ShowLegends off 6231 | TimeRange "0.3 " 6232 | YMin "0" 6233 | YMax "2.5e-005" 6234 | SaveName "ScopeData6" 6235 | DataFormat "StructureWithTime" 6236 | LimitDataPoints off 6237 | SampleTime "0" 6238 | } 6239 | Block { 6240 | BlockType Sum 6241 | Name "Subtract" 6242 | SID "377" 6243 | Ports [2, 1] 6244 | Position [105, 117, 135, 148] 6245 | ZOrder -15 6246 | Inputs "+-" 6247 | InputSameDT off 6248 | OutDataTypeStr "Inherit: Inherit via internal rule" 6249 | SaturateOnIntegerOverflow off 6250 | } 6251 | Block { 6252 | BlockType Sum 6253 | Name "Subtract1" 6254 | SID "378" 6255 | Ports [2, 1] 6256 | Position [110, 172, 140, 203] 6257 | ZOrder -16 6258 | Inputs "+-" 6259 | InputSameDT off 6260 | OutDataTypeStr "Inherit: Inherit via internal rule" 6261 | SaturateOnIntegerOverflow off 6262 | } 6263 | Block { 6264 | BlockType Sum 6265 | Name "Subtract2" 6266 | SID "379" 6267 | Ports [2, 1] 6268 | Position [110, 227, 140, 258] 6269 | ZOrder -17 6270 | Inputs "+-" 6271 | InputSameDT off 6272 | OutDataTypeStr "Inherit: Inherit via internal rule" 6273 | SaturateOnIntegerOverflow off 6274 | } 6275 | Block { 6276 | BlockType Constant 6277 | Name "Udc" 6278 | SID "433" 6279 | Position [465, 120, 495, 150] 6280 | ZOrder -18 6281 | Value "310" 6282 | } 6283 | Block { 6284 | BlockType Outport 6285 | Name "Ua" 6286 | SID "434" 6287 | Position [725, 213, 755, 227] 6288 | ZOrder -19 6289 | IconDisplay "Port number" 6290 | } 6291 | Block { 6292 | BlockType Outport 6293 | Name "Ub" 6294 | SID "435" 6295 | Position [725, 238, 755, 252] 6296 | ZOrder -20 6297 | Port "2" 6298 | IconDisplay "Port number" 6299 | } 6300 | Block { 6301 | BlockType Outport 6302 | Name "Uc" 6303 | SID "436" 6304 | Position [725, 263, 755, 277] 6305 | ZOrder -21 6306 | Port "3" 6307 | IconDisplay "Port number" 6308 | } 6309 | Line { 6310 | ZOrder 1 6311 | SrcBlock "Subtract" 6312 | SrcPort 1 6313 | DstBlock "Relay" 6314 | DstPort 1 6315 | } 6316 | Line { 6317 | ZOrder 2 6318 | SrcBlock "Subtract1" 6319 | SrcPort 1 6320 | DstBlock "Relay1" 6321 | DstPort 1 6322 | } 6323 | Line { 6324 | ZOrder 3 6325 | SrcBlock "Subtract2" 6326 | SrcPort 1 6327 | DstBlock "Relay2" 6328 | DstPort 1 6329 | } 6330 | Line { 6331 | ZOrder 4 6332 | SrcBlock "Repeating\nSequence" 6333 | SrcPort 1 6334 | Points [15, 0] 6335 | Branch { 6336 | ZOrder 5 6337 | Points [0, 85] 6338 | Branch { 6339 | ZOrder 6 6340 | DstBlock "Subtract" 6341 | DstPort 1 6342 | } 6343 | Branch { 6344 | ZOrder 7 6345 | Points [0, 55] 6346 | Branch { 6347 | ZOrder 8 6348 | Points [0, 55] 6349 | DstBlock "Subtract2" 6350 | DstPort 1 6351 | } 6352 | Branch { 6353 | ZOrder 9 6354 | DstBlock "Subtract1" 6355 | DstPort 1 6356 | } 6357 | } 6358 | } 6359 | Branch { 6360 | ZOrder 10 6361 | DstBlock "Scope1" 6362 | DstPort 1 6363 | } 6364 | } 6365 | Line { 6366 | ZOrder 11 6367 | SrcBlock "Tcm1" 6368 | SrcPort 1 6369 | DstBlock "Subtract" 6370 | DstPort 2 6371 | } 6372 | Line { 6373 | ZOrder 12 6374 | SrcBlock "Tcm2" 6375 | SrcPort 1 6376 | DstBlock "Subtract1" 6377 | DstPort 2 6378 | } 6379 | Line { 6380 | ZOrder 13 6381 | SrcBlock "Tcm3" 6382 | SrcPort 1 6383 | DstBlock "Subtract2" 6384 | DstPort 2 6385 | } 6386 | Line { 6387 | ZOrder 14 6388 | SrcBlock "Udc" 6389 | SrcPort 1 6390 | DstBlock "Gain" 6391 | DstPort 1 6392 | } 6393 | Line { 6394 | ZOrder 15 6395 | SrcBlock "Relay" 6396 | SrcPort 1 6397 | Points [85, 0; 0, 20] 6398 | DstBlock "Mux" 6399 | DstPort 1 6400 | } 6401 | Line { 6402 | ZOrder 16 6403 | SrcBlock "Relay1" 6404 | SrcPort 1 6405 | DstBlock "Mux" 6406 | DstPort 2 6407 | } 6408 | Line { 6409 | ZOrder 17 6410 | SrcBlock "Relay2" 6411 | SrcPort 1 6412 | Points [65, 0; 0, -20] 6413 | DstBlock "Mux" 6414 | DstPort 3 6415 | } 6416 | Line { 6417 | ZOrder 18 6418 | SrcBlock "Constant1" 6419 | SrcPort 1 6420 | Points [20, 0; 0, 40] 6421 | DstBlock "Product" 6422 | DstPort 1 6423 | } 6424 | Line { 6425 | ZOrder 19 6426 | SrcBlock "Mux" 6427 | SrcPort 1 6428 | DstBlock "Product" 6429 | DstPort 2 6430 | } 6431 | Line { 6432 | ZOrder 20 6433 | SrcBlock "Product" 6434 | SrcPort 1 6435 | Points [55, 0; 0, 50] 6436 | DstBlock "Divide" 6437 | DstPort 1 6438 | } 6439 | Line { 6440 | ZOrder 21 6441 | SrcBlock "Gain" 6442 | SrcPort 1 6443 | Points [0, 115] 6444 | DstBlock "Divide" 6445 | DstPort 2 6446 | } 6447 | Line { 6448 | ZOrder 22 6449 | SrcBlock "Divide" 6450 | SrcPort 1 6451 | DstBlock "Demux" 6452 | DstPort 1 6453 | } 6454 | Line { 6455 | ZOrder 23 6456 | SrcBlock "Demux" 6457 | SrcPort 1 6458 | DstBlock "Ua" 6459 | DstPort 1 6460 | } 6461 | Line { 6462 | ZOrder 24 6463 | SrcBlock "Demux" 6464 | SrcPort 2 6465 | DstBlock "Ub" 6466 | DstPort 1 6467 | } 6468 | Line { 6469 | ZOrder 25 6470 | SrcBlock "Demux" 6471 | SrcPort 3 6472 | DstBlock "Uc" 6473 | DstPort 1 6474 | } 6475 | } 6476 | } 6477 | Block { 6478 | BlockType Outport 6479 | Name "Ua" 6480 | SID "437" 6481 | Position [720, 178, 750, 192] 6482 | ZOrder -10 6483 | IconDisplay "Port number" 6484 | } 6485 | Block { 6486 | BlockType Outport 6487 | Name "Ub" 6488 | SID "381" 6489 | Position [720, 233, 750, 247] 6490 | ZOrder -11 6491 | Port "2" 6492 | IconDisplay "Port number" 6493 | } 6494 | Block { 6495 | BlockType Outport 6496 | Name "Uc" 6497 | SID "438" 6498 | Position [720, 288, 750, 302] 6499 | ZOrder -12 6500 | Port "3" 6501 | IconDisplay "Port number" 6502 | } 6503 | Line { 6504 | ZOrder 1 6505 | SrcBlock "Constant1" 6506 | SrcPort 1 6507 | Points [25, 0] 6508 | Branch { 6509 | ZOrder 2 6510 | DstBlock "X.Y.Z" 6511 | DstPort 1 6512 | } 6513 | Branch { 6514 | ZOrder 3 6515 | Points [0, 150; 220, 0] 6516 | Branch { 6517 | ZOrder 4 6518 | Points [150, 0; 0, -80] 6519 | DstBlock "Subsystem1" 6520 | DstPort 3 6521 | } 6522 | Branch { 6523 | ZOrder 5 6524 | DstBlock "Subsystem" 6525 | DstPort 5 6526 | } 6527 | } 6528 | } 6529 | Line { 6530 | ZOrder 6 6531 | SrcBlock "Constant" 6532 | SrcPort 1 6533 | DstBlock "X.Y.Z" 6534 | DstPort 4 6535 | } 6536 | Line { 6537 | ZOrder 7 6538 | SrcBlock "N1" 6539 | SrcPort 1 6540 | Points [50, 0] 6541 | Branch { 6542 | ZOrder 8 6543 | Points [145, 0; 0, 185] 6544 | DstBlock "Subsystem1" 6545 | DstPort 4 6546 | } 6547 | Branch { 6548 | ZOrder 9 6549 | Points [0, 55] 6550 | DstBlock "Subsystem" 6551 | DstPort 1 6552 | } 6553 | } 6554 | Line { 6555 | ZOrder 10 6556 | SrcBlock "X.Y.Z" 6557 | SrcPort 1 6558 | DstBlock "Subsystem" 6559 | DstPort 2 6560 | } 6561 | Line { 6562 | ZOrder 11 6563 | SrcBlock "X.Y.Z" 6564 | SrcPort 2 6565 | Points [65, 0] 6566 | DstBlock "Subsystem" 6567 | DstPort 3 6568 | } 6569 | Line { 6570 | ZOrder 12 6571 | SrcBlock "X.Y.Z" 6572 | SrcPort 3 6573 | Points [50, 0; 0, -30] 6574 | DstBlock "Subsystem" 6575 | DstPort 4 6576 | } 6577 | Line { 6578 | ZOrder 13 6579 | SrcBlock "Subsystem1" 6580 | SrcPort 1 6581 | DstBlock "produce PWM" 6582 | DstPort 1 6583 | } 6584 | Line { 6585 | ZOrder 14 6586 | SrcBlock "Subsystem1" 6587 | SrcPort 2 6588 | DstBlock "produce PWM" 6589 | DstPort 2 6590 | } 6591 | Line { 6592 | ZOrder 15 6593 | SrcBlock "Subsystem1" 6594 | SrcPort 3 6595 | DstBlock "produce PWM" 6596 | DstPort 3 6597 | } 6598 | Line { 6599 | ZOrder 16 6600 | SrcBlock "Ualfa" 6601 | SrcPort 1 6602 | Points [80, 0] 6603 | Branch { 6604 | ZOrder 17 6605 | Points [0, 130] 6606 | DstBlock "X.Y.Z" 6607 | DstPort 2 6608 | } 6609 | Branch { 6610 | ZOrder 18 6611 | DstBlock "N1" 6612 | DstPort 1 6613 | } 6614 | } 6615 | Line { 6616 | ZOrder 19 6617 | SrcBlock "Subsystem" 6618 | SrcPort 1 6619 | Points [0, -15] 6620 | DstBlock "Subsystem1" 6621 | DstPort 1 6622 | } 6623 | Line { 6624 | ZOrder 20 6625 | SrcBlock "Subsystem" 6626 | SrcPort 2 6627 | Points [50, 0; 0, -55] 6628 | DstBlock "Subsystem1" 6629 | DstPort 2 6630 | } 6631 | Line { 6632 | ZOrder 21 6633 | SrcBlock "Ubeta" 6634 | SrcPort 1 6635 | Points [65, 0] 6636 | Branch { 6637 | ZOrder 22 6638 | DstBlock "N1" 6639 | DstPort 2 6640 | } 6641 | Branch { 6642 | ZOrder 23 6643 | Points [0, 125] 6644 | DstBlock "X.Y.Z" 6645 | DstPort 3 6646 | } 6647 | } 6648 | Line { 6649 | ZOrder 24 6650 | SrcBlock "produce PWM" 6651 | SrcPort 2 6652 | DstBlock "Ub" 6653 | DstPort 1 6654 | } 6655 | Line { 6656 | ZOrder 25 6657 | SrcBlock "produce PWM" 6658 | SrcPort 1 6659 | DstBlock "Ua" 6660 | DstPort 1 6661 | } 6662 | Line { 6663 | ZOrder 26 6664 | SrcBlock "produce PWM" 6665 | SrcPort 3 6666 | DstBlock "Uc" 6667 | DstPort 1 6668 | } 6669 | } 6670 | } 6671 | Block { 6672 | BlockType Scope 6673 | Name "Scope" 6674 | SID "568" 6675 | Ports [4] 6676 | Position [880, 168, 910, 202] 6677 | ZOrder -8 6678 | BackgroundColor "green" 6679 | Floating off 6680 | Location [22, 88, 1384, 802] 6681 | Open off 6682 | NumInputPorts "4" 6683 | ZoomMode "yonly" 6684 | List { 6685 | ListType AxesTitles 6686 | axes1 "%" 6687 | axes2 "%" 6688 | axes3 "%" 6689 | axes4 "%" 6690 | } 6691 | List { 6692 | ListType ScopeGraphics 6693 | FigureColor "[0.5 0.5 0.5]" 6694 | AxesColor "[0 0 0]" 6695 | AxesTickColor "[1 1 1]" 6696 | LineColors "[1 1 0;1 0 1;0 1 1;1 0 0;0 1 0;0 0 1]" 6697 | LineStyles "-|-|-|-|-|-" 6698 | LineWidths "[0.5 0.5 0.5 0.5 0.5 0.5]" 6699 | MarkerStyles "none|none|none|none|none|none" 6700 | } 6701 | ShowLegends off 6702 | TimeRange "0.3" 6703 | YMin "-4~29.9874~4.97~1.7" 6704 | YMax "4~29.9884~5.03~2.7" 6705 | SaveName "v" 6706 | DataFormat "StructureWithTime" 6707 | LimitDataPoints off 6708 | MaxDataPoints "50000" 6709 | SampleTime "0" 6710 | } 6711 | Block { 6712 | BlockType Step 6713 | Name "Step" 6714 | SID "567" 6715 | Position [550, 261, 575, 279] 6716 | ZOrder -9 6717 | Time "0.15" 6718 | Before "5" 6719 | After "8" 6720 | SampleTime "0" 6721 | } 6722 | Block { 6723 | BlockType SubSystem 6724 | Name "Subsystem" 6725 | SID "600" 6726 | Ports [3, 2] 6727 | Position [560, 17, 625, 123] 6728 | ZOrder -10 6729 | BlockMirror on 6730 | NamePlacement "alternate" 6731 | ShowName off 6732 | FontName "Arial" 6733 | FontSize 14 6734 | FontWeight "bold" 6735 | RequestExecContextInheritance off 6736 | Object { 6737 | $PropName "MaskObject" 6738 | $ObjectID 35 6739 | $ClassName "Simulink.Mask" 6740 | Display "disp('3s\\n to\\n 2s ');\nport_label('output', 1, '\\iti_a_s','texmode','on');\nport_label('output', 2, '\\" 6741 | "iti_b_s','texmode','on');\nport_label('input', 1, '\\iti_{as}','texmode','on');\nport_label('input', 2, '\\iti_{bs}'," 6742 | "'texmode','on');\nport_label('input', 3, '\\iti_{cs}','texmode','on');" 6743 | } 6744 | System { 6745 | Name "Subsystem" 6746 | Location [960, 0, 1920, 1032] 6747 | Open off 6748 | ModelBrowserVisibility off 6749 | ModelBrowserWidth 200 6750 | ScreenColor "white" 6751 | PaperOrientation "landscape" 6752 | PaperPositionMode "auto" 6753 | PaperType "A4" 6754 | PaperUnits "centimeters" 6755 | TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000] 6756 | TiledPageScale 1 6757 | ShowPageBoundaries off 6758 | ZoomFactor "100" 6759 | Block { 6760 | BlockType Inport 6761 | Name "ia" 6762 | SID "601" 6763 | Position [25, 38, 55, 52] 6764 | ZOrder -1 6765 | IconDisplay "Port number" 6766 | } 6767 | Block { 6768 | BlockType Inport 6769 | Name "ib" 6770 | SID "602" 6771 | Position [25, 88, 55, 102] 6772 | ZOrder -2 6773 | Port "2" 6774 | IconDisplay "Port number" 6775 | } 6776 | Block { 6777 | BlockType Inport 6778 | Name "ic" 6779 | SID "603" 6780 | Position [25, 133, 55, 147] 6781 | ZOrder -3 6782 | FontName "Arial" 6783 | Port "3" 6784 | IconDisplay "Port number" 6785 | } 6786 | Block { 6787 | BlockType Gain 6788 | Name "Gain" 6789 | SID "604" 6790 | Position [175, 73, 220, 117] 6791 | ZOrder -4 6792 | Gain "-1/2" 6793 | } 6794 | Block { 6795 | BlockType Gain 6796 | Name "Gain1" 6797 | SID "605" 6798 | Position [315, 23, 360, 67] 6799 | ZOrder -5 6800 | Gain "sqrt(2/3)" 6801 | } 6802 | Block { 6803 | BlockType Gain 6804 | Name "Gain2" 6805 | SID "606" 6806 | Position [355, 118, 400, 162] 6807 | ZOrder -6 6808 | Gain "sqrt(2)/2" 6809 | } 6810 | Block { 6811 | BlockType Sum 6812 | Name "Sum" 6813 | SID "607" 6814 | Ports [2, 1] 6815 | Position [115, 85, 135, 105] 6816 | ZOrder -7 6817 | ShowName off 6818 | IconShape "round" 6819 | Inputs "|++" 6820 | InputSameDT off 6821 | OutDataTypeStr "Inherit: Inherit via internal rule" 6822 | } 6823 | Block { 6824 | BlockType Sum 6825 | Name "Sum1" 6826 | SID "608" 6827 | Ports [2, 1] 6828 | Position [245, 35, 265, 55] 6829 | ZOrder -8 6830 | ShowName off 6831 | IconShape "round" 6832 | Inputs "|++" 6833 | InputSameDT off 6834 | OutDataTypeStr "Inherit: Inherit via internal rule" 6835 | } 6836 | Block { 6837 | BlockType Sum 6838 | Name "Sum2" 6839 | SID "609" 6840 | Ports [2, 1] 6841 | Position [280, 130, 300, 150] 6842 | ZOrder -9 6843 | ShowName off 6844 | IconShape "round" 6845 | Inputs "|-+" 6846 | InputSameDT off 6847 | OutDataTypeStr "Inherit: Inherit via internal rule" 6848 | } 6849 | Block { 6850 | BlockType Outport 6851 | Name "id" 6852 | SID "610" 6853 | Position [420, 38, 450, 52] 6854 | ZOrder -10 6855 | IconDisplay "Port number" 6856 | } 6857 | Block { 6858 | BlockType Outport 6859 | Name "iq " 6860 | SID "611" 6861 | Position [440, 133, 470, 147] 6862 | ZOrder -11 6863 | Port "2" 6864 | IconDisplay "Port number" 6865 | } 6866 | Line { 6867 | ZOrder 1 6868 | SrcBlock "Gain2" 6869 | SrcPort 1 6870 | DstBlock "iq " 6871 | DstPort 1 6872 | } 6873 | Line { 6874 | ZOrder 2 6875 | SrcBlock "Sum2" 6876 | SrcPort 1 6877 | DstBlock "Gain2" 6878 | DstPort 1 6879 | } 6880 | Line { 6881 | ZOrder 3 6882 | SrcBlock "ib" 6883 | SrcPort 1 6884 | Points [0, 0; 15, 0] 6885 | Branch { 6886 | ZOrder 4 6887 | DstBlock "Sum" 6888 | DstPort 1 6889 | } 6890 | Branch { 6891 | ZOrder 5 6892 | Points [0, 70] 6893 | DstBlock "Sum2" 6894 | DstPort 2 6895 | } 6896 | } 6897 | Line { 6898 | ZOrder 6 6899 | SrcBlock "ic" 6900 | SrcPort 1 6901 | Points [0, 0; 65, 0] 6902 | Branch { 6903 | ZOrder 7 6904 | DstBlock "Sum2" 6905 | DstPort 1 6906 | } 6907 | Branch { 6908 | ZOrder 8 6909 | DstBlock "Sum" 6910 | DstPort 2 6911 | } 6912 | } 6913 | Line { 6914 | ZOrder 9 6915 | SrcBlock "Gain1" 6916 | SrcPort 1 6917 | DstBlock "id" 6918 | DstPort 1 6919 | } 6920 | Line { 6921 | ZOrder 10 6922 | SrcBlock "Sum1" 6923 | SrcPort 1 6924 | DstBlock "Gain1" 6925 | DstPort 1 6926 | } 6927 | Line { 6928 | ZOrder 11 6929 | SrcBlock "Gain" 6930 | SrcPort 1 6931 | Points [30, 0] 6932 | DstBlock "Sum1" 6933 | DstPort 2 6934 | } 6935 | Line { 6936 | ZOrder 12 6937 | SrcBlock "ia" 6938 | SrcPort 1 6939 | DstBlock "Sum1" 6940 | DstPort 1 6941 | } 6942 | Line { 6943 | ZOrder 13 6944 | SrcBlock "Sum" 6945 | SrcPort 1 6946 | DstBlock "Gain" 6947 | DstPort 1 6948 | } 6949 | } 6950 | } 6951 | Block { 6952 | BlockType Sum 6953 | Name "Sum" 6954 | SID "595" 6955 | Ports [2, 1] 6956 | Position [455, 165, 475, 185] 6957 | ZOrder -11 6958 | ShowName off 6959 | IconShape "round" 6960 | Inputs "-+|" 6961 | InputSameDT off 6962 | OutDataTypeStr "Inherit: Inherit via internal rule" 6963 | SaturateOnIntegerOverflow off 6964 | } 6965 | Block { 6966 | BlockType Sum 6967 | Name "Sum1" 6968 | SID "414" 6969 | Ports [2, 1] 6970 | Position [270, 185, 290, 205] 6971 | ZOrder -12 6972 | ShowName off 6973 | IconShape "round" 6974 | Inputs "|+-" 6975 | InputSameDT off 6976 | OutDataTypeStr "Inherit: Inherit via internal rule" 6977 | } 6978 | Block { 6979 | BlockType Sum 6980 | Name "Sum2" 6981 | SID "597" 6982 | Ports [2, 1] 6983 | Position [475, 205, 495, 225] 6984 | ZOrder -13 6985 | ShowName off 6986 | IconShape "round" 6987 | Inputs "-+|" 6988 | InputSameDT off 6989 | OutDataTypeStr "Inherit: Inherit via internal rule" 6990 | SaturateOnIntegerOverflow off 6991 | } 6992 | Block { 6993 | BlockType Reference 6994 | Name "XY Graph" 6995 | SID "570" 6996 | Ports [2] 6997 | Position [795, 95, 825, 130] 6998 | ZOrder -15 6999 | LibraryVersion "1.287" 7000 | SourceBlock "simulink/Sinks/XY Graph" 7001 | SourceType "XY scope." 7002 | ContentPreviewEnabled off 7003 | xmin "-0.3" 7004 | xmax "0.3" 7005 | ymin "-0.3" 7006 | ymax "0.3" 7007 | st "50e-6" 7008 | } 7009 | Block { 7010 | BlockType Constant 7011 | Name "ioref1" 7012 | SID "415" 7013 | Position [315, 160, 335, 180] 7014 | ZOrder -16 7015 | ShowName off 7016 | Value "0" 7017 | } 7018 | Block { 7019 | BlockType SubSystem 7020 | Name "iqref1" 7021 | SID "416" 7022 | Ports [1, 1] 7023 | Position [310, 183, 335, 207] 7024 | ZOrder -17 7025 | ShowName off 7026 | RequestExecContextInheritance off 7027 | Object { 7028 | $PropName "MaskObject" 7029 | $ObjectID 36 7030 | $ClassName "Simulink.Mask" 7031 | Type "PI Controller" 7032 | Initialization "min=sat(1);max=sat(2);" 7033 | Display "disp('PI')" 7034 | Array { 7035 | Type "Simulink.MaskParameter" 7036 | Dimension 3 7037 | Object { 7038 | $ObjectID 37 7039 | Type "edit" 7040 | Name "I" 7041 | Prompt "Integral" 7042 | Value "40" 7043 | } 7044 | Object { 7045 | $ObjectID 38 7046 | Type "edit" 7047 | Name "P" 7048 | Prompt "Proportional:" 7049 | Value "500" 7050 | } 7051 | Object { 7052 | $ObjectID 39 7053 | Type "edit" 7054 | Name "sat" 7055 | Prompt "Minimum and maximum outputs:" 7056 | Value "[-30, 30]" 7057 | } 7058 | PropName "Parameters" 7059 | } 7060 | } 7061 | System { 7062 | Name "iqref1" 7063 | Location [179, 90, 593, 460] 7064 | Open off 7065 | ModelBrowserVisibility off 7066 | ModelBrowserWidth 200 7067 | ScreenColor "white" 7068 | PaperOrientation "landscape" 7069 | PaperPositionMode "auto" 7070 | PaperType "A4" 7071 | PaperUnits "centimeters" 7072 | TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000] 7073 | TiledPageScale 1 7074 | ShowPageBoundaries off 7075 | ZoomFactor "100" 7076 | Block { 7077 | BlockType Inport 7078 | Name "In_1" 7079 | SID "417" 7080 | Position [25, 75, 45, 95] 7081 | ZOrder -1 7082 | IconDisplay "Port number" 7083 | PortDimensions "1" 7084 | } 7085 | Block { 7086 | BlockType TransferFcn 7087 | Name "Integral" 7088 | SID "418" 7089 | Position [110, 67, 145, 103] 7090 | ZOrder -2 7091 | Numerator "[I]" 7092 | Denominator "[1 0]" 7093 | } 7094 | Block { 7095 | BlockType Gain 7096 | Name "Proportional" 7097 | SID "419" 7098 | Position [120, 28, 140, 52] 7099 | ZOrder -3 7100 | NamePlacement "alternate" 7101 | Gain "P" 7102 | } 7103 | Block { 7104 | BlockType Saturate 7105 | Name "Saturation" 7106 | SID "420" 7107 | Ports [1, 1] 7108 | Position [225, 53, 255, 77] 7109 | ZOrder -4 7110 | InputPortMap "u0" 7111 | UpperLimit "max" 7112 | LowerLimit "min" 7113 | } 7114 | Block { 7115 | BlockType Sum 7116 | Name "Sum" 7117 | SID "422" 7118 | Ports [2, 1] 7119 | Position [180, 15, 200, 110] 7120 | ZOrder -5 7121 | } 7122 | Block { 7123 | BlockType Outport 7124 | Name "Out_1" 7125 | SID "423" 7126 | Position [285, 55, 305, 75] 7127 | ZOrder -6 7128 | IconDisplay "Port number" 7129 | InitialOutput "0" 7130 | } 7131 | Line { 7132 | ZOrder 1 7133 | SrcBlock "Integral" 7134 | SrcPort 1 7135 | DstBlock "Sum" 7136 | DstPort 2 7137 | } 7138 | Line { 7139 | ZOrder 2 7140 | SrcBlock "In_1" 7141 | SrcPort 1 7142 | Points [15, 0; 15, 0] 7143 | Branch { 7144 | ZOrder 3 7145 | DstBlock "Integral" 7146 | DstPort 1 7147 | } 7148 | Branch { 7149 | ZOrder 4 7150 | Points [0, -45] 7151 | DstBlock "Proportional" 7152 | DstPort 1 7153 | } 7154 | } 7155 | Line { 7156 | ZOrder 5 7157 | SrcBlock "Proportional" 7158 | SrcPort 1 7159 | DstBlock "Sum" 7160 | DstPort 1 7161 | } 7162 | Line { 7163 | ZOrder 6 7164 | SrcBlock "Sum" 7165 | SrcPort 1 7166 | DstBlock "Saturation" 7167 | DstPort 1 7168 | } 7169 | Line { 7170 | ZOrder 7 7171 | SrcBlock "Saturation" 7172 | SrcPort 1 7173 | DstBlock "Out_1" 7174 | DstPort 1 7175 | } 7176 | } 7177 | } 7178 | Line { 7179 | ZOrder 2 7180 | SrcBlock "Sum1" 7181 | SrcPort 1 7182 | DstBlock "iqref1" 7183 | DstPort 1 7184 | } 7185 | Line { 7186 | ZOrder 3 7187 | SrcBlock "iqref1" 7188 | SrcPort 1 7189 | DstBlock " " 7190 | DstPort 2 7191 | } 7192 | Line { 7193 | ZOrder 4 7194 | SrcBlock "ioref1" 7195 | SrcPort 1 7196 | DstBlock " " 7197 | DstPort 1 7198 | } 7199 | Line { 7200 | ZOrder 5 7201 | SrcBlock "SVPWM" 7202 | SrcPort 1 7203 | Points [0, -5] 7204 | DstBlock "PMSM" 7205 | DstPort 1 7206 | } 7207 | Line { 7208 | ZOrder 6 7209 | SrcBlock "SVPWM" 7210 | SrcPort 2 7211 | DstBlock "PMSM" 7212 | DstPort 2 7213 | } 7214 | Line { 7215 | ZOrder 7 7216 | SrcBlock "SVPWM" 7217 | SrcPort 3 7218 | Points [0, 5] 7219 | DstBlock "PMSM" 7220 | DstPort 3 7221 | } 7222 | Line { 7223 | ZOrder 8 7224 | SrcBlock "Step" 7225 | SrcPort 1 7226 | Points [15, 0; 0, -15] 7227 | DstBlock "PMSM" 7228 | DstPort 4 7229 | } 7230 | Line { 7231 | ZOrder 9 7232 | SrcBlock "PMSM" 7233 | SrcPort 8 7234 | Points [10, 0; 0, 40] 7235 | Branch { 7236 | ZOrder 10 7237 | Points [-360, 0; 0, -80] 7238 | DstBlock " " 7239 | DstPort 3 7240 | } 7241 | Branch { 7242 | ZOrder 13 7243 | Points [160, 0] 7244 | DstBlock "Scope" 7245 | DstPort 4 7246 | } 7247 | } 7248 | Line { 7249 | ZOrder 14 7250 | SrcBlock "PMSM" 7251 | SrcPort 6 7252 | Points [130, 0] 7253 | Branch { 7254 | ZOrder 15 7255 | Points [0, 85; -545, 0] 7256 | DstBlock "Sum1" 7257 | DstPort 2 7258 | } 7259 | Branch { 7260 | ZOrder 16 7261 | Points [0, -50] 7262 | DstBlock "Scope" 7263 | DstPort 2 7264 | } 7265 | } 7266 | Line { 7267 | ZOrder 17 7268 | SrcBlock "PMSM" 7269 | SrcPort 1 7270 | Points [80, 0] 7271 | Branch { 7272 | ZOrder 18 7273 | DstBlock "Mux1" 7274 | DstPort 1 7275 | } 7276 | Branch { 7277 | ZOrder 19 7278 | Points [0, -120] 7279 | DstBlock "Subsystem" 7280 | DstPort 1 7281 | } 7282 | } 7283 | Line { 7284 | ZOrder 20 7285 | SrcBlock "PMSM" 7286 | SrcPort 2 7287 | Points [35, 0] 7288 | Branch { 7289 | ZOrder 21 7290 | DstBlock "Mux1" 7291 | DstPort 2 7292 | } 7293 | Branch { 7294 | ZOrder 22 7295 | Points [0, -100] 7296 | DstBlock "Subsystem" 7297 | DstPort 2 7298 | } 7299 | } 7300 | Line { 7301 | ZOrder 23 7302 | SrcBlock "PMSM" 7303 | SrcPort 3 7304 | Points [15, 0] 7305 | Branch { 7306 | ZOrder 24 7307 | DstBlock "Mux1" 7308 | DstPort 3 7309 | } 7310 | Branch { 7311 | ZOrder 25 7312 | Points [0, -80] 7313 | DstBlock "Subsystem" 7314 | DstPort 3 7315 | } 7316 | } 7317 | Line { 7318 | ZOrder 26 7319 | SrcBlock "Mux1" 7320 | SrcPort 1 7321 | DstBlock "Scope" 7322 | DstPort 1 7323 | } 7324 | Line { 7325 | ZOrder 27 7326 | SrcBlock "PMSM" 7327 | SrcPort 7 7328 | Points [155, 0; 0, -55] 7329 | DstBlock "Scope" 7330 | DstPort 3 7331 | } 7332 | Line { 7333 | ZOrder 28 7334 | SrcBlock "PMSM" 7335 | SrcPort 4 7336 | Points [40, 0; 0, -95] 7337 | DstBlock "XY Graph" 7338 | DstPort 1 7339 | } 7340 | Line { 7341 | ZOrder 29 7342 | SrcBlock "PMSM" 7343 | SrcPort 5 7344 | Points [55, 0; 0, -95] 7345 | DstBlock "XY Graph" 7346 | DstPort 2 7347 | } 7348 | Line { 7349 | ZOrder 30 7350 | SrcBlock "Subsystem" 7351 | SrcPort 1 7352 | Points [-90, 0] 7353 | DstBlock "Sum" 7354 | DstPort 1 7355 | } 7356 | Line { 7357 | ZOrder 31 7358 | SrcBlock " " 7359 | SrcPort 1 7360 | DstBlock "Sum" 7361 | DstPort 2 7362 | } 7363 | Line { 7364 | ZOrder 32 7365 | SrcBlock "Subsystem" 7366 | SrcPort 2 7367 | Points [-70, 0] 7368 | DstBlock "Sum2" 7369 | DstPort 1 7370 | } 7371 | Line { 7372 | ZOrder 33 7373 | SrcBlock " " 7374 | SrcPort 2 7375 | DstBlock "Sum2" 7376 | DstPort 2 7377 | } 7378 | Line { 7379 | ZOrder 34 7380 | SrcBlock "Sum" 7381 | SrcPort 1 7382 | DstBlock "Gain" 7383 | DstPort 1 7384 | } 7385 | Line { 7386 | ZOrder 35 7387 | SrcBlock "Gain" 7388 | SrcPort 1 7389 | DstBlock "SVPWM" 7390 | DstPort 1 7391 | } 7392 | Line { 7393 | ZOrder 36 7394 | SrcBlock "Sum2" 7395 | SrcPort 1 7396 | DstBlock "Gain1" 7397 | DstPort 1 7398 | } 7399 | Line { 7400 | ZOrder 37 7401 | SrcBlock "Gain1" 7402 | SrcPort 1 7403 | DstBlock "SVPWM" 7404 | DstPort 2 7405 | } 7406 | Line { 7407 | ZOrder 40 7408 | SrcBlock "Ref speed" 7409 | SrcPort 1 7410 | DstBlock "Sum1" 7411 | DstPort 1 7412 | } 7413 | } 7414 | } 7415 | #Finite State Machines 7416 | # 7417 | # Stateflow Version 8.1 (R2014a) dated Feb 8 2014, 02:29:12 7418 | # 7419 | # 7420 | Stateflow { 7421 | machine { 7422 | id 1 7423 | name "SVPWM_PMSM" 7424 | created "27-Aug-2010 10:55:09" 7425 | isLibrary 0 7426 | firstTarget 2 7427 | sfVersion 76014001.002 7428 | } 7429 | target { 7430 | id 2 7431 | name "sfun" 7432 | description "Default Simulink S-Function Target." 7433 | machine 1 7434 | linkNode [1 0 0] 7435 | } 7436 | } 7437 | -------------------------------------------------------------------------------- /模糊控制PID/文件备份/不同参数下仿真结果.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Tecinno/Fuzzy-Control-PID/b5ea9daf09ef93dd766de3b455eca47f3b2fc6a5/模糊控制PID/文件备份/不同参数下仿真结果.docx --------------------------------------------------------------------------------