⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 power_svpwm.mdl

📁 基于svpwm(矢量控制技术)的永磁同步电机仿真模型
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	      Vinit		      "0"
	      Ts		      "Ts"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Discrete \n2nd-Order\nFilter"
	      Ports		      [1, 1]
	      Position		      [610, 114, 665, 176]
	      DialogController	      "PMDialogs.PMDefaultMaskDlg"
	      SourceBlock	      "powerlib_extras/Discrete \nControl Bloc"
"ks/Discrete \n2nd-Order\nFilter"
	      SourceType	      "Discrete 2nd-Order Filter"
	      ShowPortLabels	      on
	      SystemSampleTime	      "-1"
	      FunctionWithSeparateData off
	      RTWMemSecFuncInitTerm   "Inherit from model"
	      RTWMemSecFuncExecute    "Inherit from model"
	      RTWMemSecDataConstants  "Inherit from model"
	      RTWMemSecDataInternal   "Inherit from model"
	      RTWMemSecDataParameters "Inherit from model"
	      FilterType	      "Lowpass"
	      Fo		      "25"
	      Zeta		      "0.707"
	      Ts		      "Ts"
	      Initialize	      on
	      Vac_Init		      "[0 0  Finit]"
	      Vdc_Init		      "Finit"
	      PlotResponse	      off
	      param1		      "[1 500 0.1]"
	    }
	    Block {
	      BlockType		      DiscreteIntegrator
	      Name		      "Discrete-Time\nIntegrator"
	      Ports		      [1, 1]
	      Position		      [425, 227, 465, 263]
	      ShowName		      off
	      IntegratorMethod	      "Integration: Forward Euler"
	      ExternalReset	      "none"
	      InitialConditionSource  "internal"
	      InitialCondition	      "Phase_Init*pi/180"
	      SampleTime	      "Ts"
	      UpperSaturationLimit    "0"
	      LowerSaturationLimit    "0"
	      IgnoreLimit	      off
	      ICPrevOutput	      "DiscIntNeverNeededParam"
	      ICPrevScaledInput	      "DiscIntNeverNeededParam"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain10"
	      Position		      [430, 128, 485, 162]
	      ShowName		      off
	      Gain		      "1/2/pi"
	    }
	    Block {
	      BlockType		      Math
	      Name		      "Math\nFunction"
	      Ports		      [2, 1]
	      Position		      [520, 225, 550, 305]
	      ShowName		      off
	      Operator		      "mod"
	    }
	    Block {
	      BlockType		      Mux
	      Name		      "Mux1"
	      Ports		      [2, 1]
	      Position		      [695, 248, 700, 317]
	      ShowName		      off
	      Inputs		      "2"
	      DisplayOption	      "bar"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product1"
	      Ports		      [2, 1]
	      Position		      [130, 221, 160, 294]
	      ShowName		      off
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Trigonometry
	      Name		      "Trigonometric\nFunction5"
	      Ports		      [1, 1]
	      Position		      [630, 289, 660, 311]
	      NamePlacement	      "alternate"
	      ShowName		      off
	      Operator		      "cos"
	    }
	    Block {
	      BlockType		      Trigonometry
	      Name		      "Trigonometric\nFunction6"
	      Ports		      [1, 1]
	      Position		      [630, 254, 660, 276]
	      NamePlacement	      "alternate"
	      ShowName		      off
	    }
	    Block {
	      BlockType		      UnitDelay
	      Name		      "Unit Delay1"
	      Position		      [700, 135, 720, 155]
	      ShowName		      off
	      X0		      "Finit"
	      SampleTime	      "Ts"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Freq"
	      Position		      [780, 138, 810, 152]
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "wt"
	      Position		      [775, 213, 805, 227]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Sin_Cos"
	      Position		      [770, 278, 800, 292]
	      Port		      "3"
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Line {
	      SrcBlock		      "Unit Delay1"
	      SrcPort		      1
	      Points		      [25, 0]
	      Branch {
		Points			[0, -40; -575, 0; 0, 120]
		DstBlock		"Discrete\nVariable Frequency\nMean va"
"lue"
		DstPort			1
	      }
	      Branch {
		DstBlock		"Freq"
		DstPort			1
	      }
	    }
	    Line {
	      Name		      "W"
	      Labels		      [0, 0]
	      SrcBlock		      "Discrete\nPI Controller"
	      SrcPort		      1
	      Points		      [40, 0]
	      Branch {
		Points			[0, -100]
		DstBlock		"Gain10"
		DstPort			1
	      }
	      Branch {
		DstBlock		"Discrete-Time\nIntegrator"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "V(pu)"
	      SrcPort		      1
	      DstBlock		      "Product1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Constant4"
	      SrcPort		      1
	      DstBlock		      "Math\nFunction"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Discrete-Time\nIntegrator"
	      SrcPort		      1
	      DstBlock		      "Math\nFunction"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Product1"
	      SrcPort		      1
	      DstBlock		      "Discrete\nVariable Frequency\nMean valu"
"e"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Discrete\nVariable Frequency\nMean valu"
"e"
	      SrcPort		      1
	      DstBlock		      "Discrete\nPI Controller"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Mux1"
	      SrcPort		      1
	      DstBlock		      "Sin_Cos"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Math\nFunction"
	      SrcPort		      1
	      Points		      [25, 0]
	      Branch {
		DstBlock		"Trigonometric\nFunction6"
		DstPort			1
	      }
	      Branch {
		Points			[0, 35]
		DstBlock		"Trigonometric\nFunction5"
		DstPort			1
	      }
	      Branch {
		Points			[0, -45]
		DstBlock		"wt"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Trigonometric\nFunction6"
	      SrcPort		      1
	      DstBlock		      "Mux1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Trigonometric\nFunction5"
	      SrcPort		      1
	      Points		      [10, 0]
	      Branch {
		DstBlock		"Mux1"
		DstPort			2
	      }
	      Branch {
		Points			[0, 35; -570, 0; 0, -60]
		DstBlock		"Product1"
		DstPort			2
	      }
	    }
	    Line {
	      SrcBlock		      "Discrete \n2nd-Order\nFilter"
	      SrcPort		      1
	      DstBlock		      "Unit Delay1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Gain10"
	      SrcPort		      1
	      DstBlock		      "Discrete\nRate Limiter"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Discrete\nRate Limiter"
	      SrcPort		      1
	      DstBlock		      "Discrete \n2nd-Order\nFilter"
	      DstPort		      1
	    }
	    Annotation {
	      Name		      "Pierre Giroux, Gilbert Sybille\nPower S"
"ystem Laboratory, IREQ\nHydro-Quebec"
	      Position		      [100, 51]
	      UseDisplayTextAsClickCallback off
	    }
	    Annotation {
	      Name		      "Note: sin( a ) * cos( b  )= 1/2 * sin( "
"a+b )  + 1/2 * sin(a-b) "
	      Position		      [181, 385]
	      UseDisplayTextAsClickCallback off
	      FontSize		      12
	    }
	    Annotation {
	      Name		      "Discrete 1-phase PLL  "
	      Position		      [109, 19]
	      UseDisplayTextAsClickCallback off
	      FontSize		      14
	      FontWeight	      "bold"
	    }
	  }
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector"
	  Ports			  [1, 1]
	  Position		  [130, 73, 155, 107]
	  ShowName		  off
	  InputType		  "Vector"
	  ElementSrc		  "Internal"
	  Elements		  "[1]"
	  RowSrc		  "Internal"
	  Rows			  "1"
	  ColumnSrc		  "Internal"
	  Columns		  "1"
	  InputPortWidth	  "3"
	  IndexIsStartValue	  off
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector2"
	  Ports			  [1, 1]
	  Position		  [150, 188, 175, 222]
	  ShowName		  off
	  InputType		  "Vector"
	  ElementSrc		  "Internal"
	  Elements		  "[1]"
	  RowSrc		  "Internal"
	  Rows			  "1"
	  ColumnSrc		  "Internal"
	  Columns		  "1"
	  InputPortWidth	  "3"
	  IndexIsStartValue	  off
	}
	Block {
	  BlockType		  Terminator
	  Name			  "Terminator"
	  Position		  [620, 174, 635, 186]
	  ShowName		  off
	}
	Block {
	  BlockType		  Terminator
	  Name			  "Terminator1"
	  Position		  [455, 83, 470, 97]
	  ShowName		  off
	}
	Block {
	  BlockType		  Gain
	  Name			  "V->pu"
	  Position		  [285, 75, 315, 105]
	  Gain			  "1/(220*sqrt(2))"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Vab"
	  Position		  [240, 23, 270, 37]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Ia"
	  Position		  [210, 198, 240, 212]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "wm"
	  Position		  [385, 253, 415, 267]
	  Port			  "3"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Mag"
	  Position		  [710, 128, 740, 142]
	  Port			  "4"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Freq"
	  Position		  [700, 48, 730, 62]
	  Port			  "5"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Te"
	  Position		  [340, 303, 370, 317]
	  Port			  "6"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "PLL"
	  SrcPort		  2
	  DstBlock		  "Terminator1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "PLL"
	  SrcPort		  3
	  Points		  [25, 0; 0, 30]
	  DstBlock		  "Discrete\nPLL-Driven\n Fundamental Value"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "V->pu"
	  SrcPort		  1
	  DstBlock		  "PLL"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Selector"
	  SrcPort		  1
	  Points		  [25, 0]
	  Branch {
	    Points		    [0, -60]
	    DstBlock		    "Vab"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Discrete \n2nd-Order\nFilter1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Discrete\nPLL-Driven\n Fundamental Value"
	  SrcPort		  1
	  DstBlock		  "->rms"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "From"
	  SrcPort		  1
	  DstBlock		  "Selector"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "From1"
	  SrcPort		  1
	  DstBlock		  "Selector2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "->RPM"
	  SrcPort		  1
	  DstBlock		  "wm"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "->rms"
	  SrcPort		  1
	  DstBlock		  "Mag"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Selector2"
	  SrcPort		  1
	  DstBlock		  "Ia"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Discrete \n2nd-Order\nFilter1"
	  SrcPort		  1
	  Points		  [5, 0]
	  Branch {
	    DstBlock		    "V->pu"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 95]
	  

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -