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

📄 masmli.mdl

📁 asynchronous machine with pwm
💻 MDL
📖 第 1 页 / 共 4 页
字号:
	      DstBlock		      "Rs"
	      DstPort		      1
	    }
	    Branch {
	      DstBlock		      "Is_c"
	      DstPort		      1
	    }
	  }
	}
	Line {
	  SrcBlock		  "Integrator"
	  SrcPort		  1
	  Points		  [15, 0]
	  Branch {
	    DstBlock		    "Integrator1"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "W"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Integrator1"
	  SrcPort		  1
	  Points		  [10, 0; 0, 185]
	  DstBlock		  "p"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "p"
	  SrcPort		  1
	  Points		  [-335, 0; 0, -40]
	  DstBlock		  "Subsystem"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Subsystem1"
	  SrcPort		  1
	  Points		  [25, 0]
	  Branch {
	    DstBlock		    "Sum2"
	    DstPort		    2
	  }
	  Branch {
	    DstBlock		    "Ce"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Int complexe"
	  SrcPort		  1
	  Points		  [45, 0]
	  Branch {
	    DstBlock		    "Subsystem1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 100]
	    Branch {
	      DstBlock		      "Subsystem"
	      DstPort		      1
	    }
	    Branch {
	      Points		      [0, -175]
	      DstBlock		      "Flux_sta"
	      DstPort		      1
	    }
	  }
	}
	Line {
	  SrcBlock		  "Vs_c"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Vr_c"
	  SrcPort		  1
	  DstBlock		  "Sum1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Subsystem"
	  SrcPort		  2
	  Points		  [5, 0; 0, 70; -60, 0]
	  Branch {
	    DstBlock		    "Rr"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Ir_c"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Cr"
	  SrcPort		  1
	  DstBlock		  "Sum2"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Mesures de \npuissance"
      Ports		      [2, 2, 0, 0, 0]
      Position		      [520, 173, 585, 222]
      ForegroundColor	      "red"
      ShowPortLabels	      on
      System {
	Name			"Mesures de \npuissance"
	Location		[104, 235, 600, 473]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"automatic"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	AutoZoom		on
	Block {
	  BlockType		  Inport
	  Name			  "V_comp"
	  Position		  [180, 33, 210, 47]
	  Port			  "1"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	  DataType		  "auto"
	  SignalType		  "auto"
	  Interpolate		  on
	}
	Block {
	  BlockType		  Inport
	  Name			  "I_comp"
	  Position		  [25, 78, 55, 92]
	  Port			  "2"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	  DataType		  "auto"
	  SignalType		  "auto"
	  Interpolate		  on
	}
	Block {
	  BlockType		  ComplexToRealImag
	  Name			  "Complex to\nReal-Imag4"
	  Ports			  [1, 2, 0, 0, 0]
	  Position		  [80, 66, 110, 104]
	  Output		  "RealAndImag"
	}
	Block {
	  BlockType		  ComplexToRealImag
	  Name			  "Complex to\nReal-Imag6"
	  Ports			  [1, 2, 0, 0, 0]
	  Position		  [365, 14, 400, 81]
	  Output		  "RealAndImag"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain1"
	  Position		  [130, 80, 160, 110]
	  Gain			  "-1"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain2"
	  Position		  [305, 35, 335, 65]
	  Gain			  "3/2"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [2, 1, 0, 0, 0]
	  Position		  [235, 32, 265, 63]
	  Inputs		  "2"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  RealImagToComplex
	  Name			  "Real-Imag to\nComplex"
	  Ports			  [2, 1, 0, 0, 0]
	  Position		  [175, 64, 205, 106]
	  Input			  "RealAndImag"
	  ConstantPart		  "0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "P"
	  Position		  [425, 23, 455, 37]
	  Port			  "1"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Q"
	  Position		  [425, 58, 455, 72]
	  Port			  "2"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Line {
	  SrcBlock		  "Complex to\nReal-Imag4"
	  SrcPort		  2
	  DstBlock		  "Gain1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Complex to\nReal-Imag4"
	  SrcPort		  1
	  DstBlock		  "Real-Imag to\nComplex"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain1"
	  SrcPort		  1
	  DstBlock		  "Real-Imag to\nComplex"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Real-Imag to\nComplex"
	  SrcPort		  1
	  Points		  [10, 0]
	  DstBlock		  "Product"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  DstBlock		  "Gain2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain2"
	  SrcPort		  1
	  DstBlock		  "Complex to\nReal-Imag6"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Complex to\nReal-Imag6"
	  SrcPort		  1
	  DstBlock		  "P"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "V_comp"
	  SrcPort		  1
	  DstBlock		  "Product"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Complex to\nReal-Imag6"
	  SrcPort		  2
	  DstBlock		  "Q"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "I_comp"
	  SrcPort		  1
	  DstBlock		  "Complex to\nReal-Imag4"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Modulantes\n sinusoidales \n triphasees"
      Ports		      [0, 3, 0, 0, 0]
      Position		      [15, 210, 85, 270]
      Orientation	      "up"
      ForegroundColor	      "green"
      ShowPortLabels	      on
      MaskType		      "modulantes triphasees"
      MaskPromptString	      "Amplitude modulante:|Frequence f (en Hertz)"
      MaskStyleString	      "edit,edit"
      MaskTunableValueString  "on,on"
      MaskCallbackString      "|"
      MaskEnableString	      "on,on"
      MaskVisibilityString    "on,on"
      MaskVariables	      "V=@1;f=@2;"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "8|50"
      System {
	Name			"Modulantes\n sinusoidales \n triphasees"
	Location		[121, 76, 376, 389]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"automatic"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	AutoZoom		on
	Block {
	  BlockType		  Sin
	  Name			  "Sine Wave"
	  Position		  [75, 75, 95, 95]
	  Amplitude		  "V"
	  Frequency		  "2*pi*f"
	  Phase			  "0"
	  SampleTime		  "0"
	}
	Block {
	  BlockType		  Sin
	  Name			  "Sine Wave1"
	  Position		  [75, 115, 95, 135]
	  Amplitude		  "V"
	  Frequency		  "2*pi*f"
	  Phase			  "-2*pi/3"
	  SampleTime		  "0"
	}
	Block {
	  BlockType		  Sin
	  Name			  "Sine Wave2"
	  Position		  [75, 165, 95, 185]
	  Amplitude		  "V"
	  Frequency		  "2*pi*f"
	  Phase			  "2*pi/3"
	  SampleTime		  "0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "moda"
	  Position		  [125, 75, 145, 95]
	  Port			  "1"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Block {
	  BlockType		  Outport
	  Name			  "modb"
	  Position		  [125, 115, 145, 135]
	  Port			  "2"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Block {
	  BlockType		  Outport
	  Name			  "modc"
	  Position		  [125, 165, 145, 185]
	  Port			  "3"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Line {
	  SrcBlock		  "Sine Wave2"
	  SrcPort		  1
	  DstBlock		  "modc"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sine Wave1"
	  SrcPort		  1
	  DstBlock		  "modb"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sine Wave"
	  SrcPort		  1
	  DstBlock		  "moda"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Mux
      Name		      "Mux"
      Ports		      [2, 1, 0, 0, 0]
      Position		      [615, 46, 620, 84]
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Onduleur\ntriphase"
      Ports		      [4, 3, 0, 0, 0]
      Position		      [185, 41, 235, 144]
      ForegroundColor	      "cyan"
      ShowPortLabels	      on
      System {
	Name			"Onduleur\ntriphase"
	Location		[77, 74, 549, 394]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"automatic"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	AutoZoom		on
	Block {
	  BlockType		  Inport
	  Name			  "fca"
	  Position		  [35, 25, 55, 45]
	  Port			  "1"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	  DataType		  "auto"
	  SignalType		  "auto"
	  Interpolate		  on
	}
	Block {
	  BlockType		  Inport
	  Name			  "fcb"
	  Position		  [35, 95, 55, 115]
	  Port			  "2"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	  DataType		  "auto"
	  SignalType		  "auto"
	  Interpolate		  on
	}
	Block {
	  BlockType		  Inport
	  Name			  "fcc"
	  Position		  [35, 165, 55, 185]
	  Port			  "3"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	  DataType		  "auto"
	  SignalType		  "auto"
	  Interpolate		  on
	}
	Block {
	  BlockType		  Inport
	  Name			  "Uo"
	  Position		  [35, 220, 55, 240]
	  Port			  "4"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	  DataType		  "auto"
	  SignalType		  "auto"
	  Interpolate		  on
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn"
	  Position		  [210, 40, 335, 60]
	  Expr			  "(u[4]/3)*((2*u[1])-u[2]-u[3])"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn1"
	  Position		  [210, 100, 335, 120]
	  Expr			  "(u[4]/3)*(-u[1]+(2*u[2])-u[3])"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn2"
	  Position		  [210, 160, 335, 180]
	  Expr			  "(u[4]/3)*(-u[1]-u[2]+2*u[3])"
	}
	Block {
	  BlockType		  Mux
	  Name			  "mux3"
	  Ports			  [4, 1, 0, 0, 0]
	  Position		  [155, 27, 185, 73]
	  ShowName		  off
	  Inputs		  "4"
	  DisplayOption		  "none"
	}
	Block {
	  BlockType		  Mux
	  Name			  "mux4"
	  Ports			  [4, 1, 0, 0, 0]
	  Position		  [155, 87, 185, 133]
	  ShowName		  off
	  Inputs		  "4"
	  DisplayOption		  "none"
	}
	Block {
	  BlockType		  Mux
	  Name			  "mux5"
	  Ports			  [4, 1, 0, 0, 0]
	  Position		  [155, 147, 185, 193]
	  ShowName		  off
	  Inputs		  "4"
	  DisplayOption		  "none"
	}
	Block {
	  BlockType		  Outport
	  Name			  "van"
	  Position		  [370, 40, 390, 60]
	  Port			  "1"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Block {
	  BlockType		  Outport
	  Name			  "vbn"
	  Position		  [370, 100, 390, 120]
	  Port			  "2"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Block {
	  BlockType		  Outport
	  Name			  "vcn"
	  Position		  [370, 160, 390, 180]
	  Port			  "3"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Line {
	  SrcBlock		  "Uo"
	  SrcPort		  1
	  Points		  [70, 0; 0, -45]
	  Branch {
	    DstBlock		    "mux5"
	    DstPort		    4
	  }
	  Branch {
	    Points		    [0, -60]
	    Branch {
	      DstBlock		      "mux4"
	      DstPort		      4
	    }
	    Branch {
	      Points		      [0, -60]
	      DstBlock		      "mux3"
	      DstPort		      4
	    }
	  }
	}
	Line {
	  SrcBlock		  "mux5"
	  SrcPort		  1
	  DstBlock		  "Fcn2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "mux4"
	  SrcPort		  1
	  DstBlock		  "Fcn1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "mux3"
	  SrcPort		  1
	  DstBlock		  "Fcn"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "fcc"
	  SrcPort		  1
	  Points		  [20, 0]
	  Branch {
	    Points		    [0, -60]
	    Branch {
	      DstBlock		      "mux4"
	      DstPort		      3
	    }
	    Branch {
	      Points		      [0, -60]
	      DstBlock		      "mux3"
	      DstPort		      3
	    }
	  }
	  Branch {
	    DstBlock		    "mux5"
	    DstPort		    3
	  }
	}
	Line {
	  SrcBlock		  "fcb"
	  SrcPort		  1
	  Points		  [35, 0]
	  Branch {
	    Points		    [0, -60]
	    DstBlock		    "mux3"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, 60]
	    DstBlock		    "mux5"
	    DstPort		    2
	  }
	  Branch {
	    DstBlock		    "mux4"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "fca"
	  SrcPort		  1
	  Points		  [50, 0]
	  Branch {
	    Points		    [0, 60]
	    Branch {
	      Points		      [0, 60]
	      DstBlock		      "mux5"
	      DstPort		      1
	    }
	    Branch {
	      DstBlock		      "mux4"
	      DstPort		      1
	    }
	  }
	  Branch {
	    DstBlock		    "mux3"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Fcn"
	  SrcPort		  1
	  DstBlock		  "van"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Fcn1"
	  SrcPort		  1
	  DstBlock		  "vbn"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Fcn2"

⌨️ 快捷键说明

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