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

📄 double_spwm.mdl

📁 双PWM便片调速系统的matlab仿真试验模型
💻 MDL
📖 第 1 页 / 共 5 页
字号:
		    BlockType		    Sum
		    Name		    "Add1"
		    Ports		    [2, 1]
		    Position		    [355, 127, 385, 158]
		    ShowName		    off
		    InputSameDT		    off
		    OutDataTypeMode	    "Inherit via internal rule"
		    OutScaling		    "2^-10"
		    SaturateOnIntegerOverflow off
		    }
		    Block {
		    BlockType		    Gain
		    Name		    "Gain"
		    Position		    [120, 170, 150, 200]
		    ShowName		    off
		    Gain		    "-1"
		    ParameterDataTypeMode   "Inherit via internal rule"
		    OutDataTypeMode	    "Inherit via internal rule"
		    SaturateOnIntegerOverflow off
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product"
		    Ports		    [2, 1]
		    Position		    [210, 27, 240, 58]
		    ShowName		    off
		    InputSameDT		    off
		    OutDataTypeMode	    "Inherit via internal rule"
		    SaturateOnIntegerOverflow off
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product1"
		    Ports		    [2, 1]
		    Position		    [280, 202, 310, 233]
		    ShowName		    off
		    InputSameDT		    off
		    OutDataTypeMode	    "Inherit via internal rule"
		    SaturateOnIntegerOverflow off
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product2"
		    Ports		    [2, 1]
		    Position		    [265, 97, 295, 128]
		    ShowName		    off
		    InputSameDT		    off
		    OutDataTypeMode	    "Inherit via internal rule"
		    SaturateOnIntegerOverflow off
		    }
		    Block {
		    BlockType		    Product
		    Name		    "Product3"
		    Ports		    [2, 1]
		    Position		    [265, 137, 295, 168]
		    ShowName		    off
		    InputSameDT		    off
		    OutDataTypeMode	    "Inherit via internal rule"
		    SaturateOnIntegerOverflow off
		    }
		    Block {
		    BlockType		    Trigonometry
		    Name		    "Trigonometric\nFunction"
		    Ports		    [1, 1]
		    Position		    [120, 80, 150, 110]
		    ShowName		    off
		    Operator		    "cos"
		    }
		    Block {
		    BlockType		    Trigonometry
		    Name		    "Trigonometric\nFunction1"
		    Ports		    [1, 1]
		    Position		    [180, 170, 210, 200]
		    ShowName		    off
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "ua"
		    Position		    [405, 63, 435, 77]
		    IconDisplay		    "Port number"
		    BusOutputAsStruct	    off
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "ub"
		    Position		    [420, 138, 450, 152]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    BusOutputAsStruct	    off
		    }
		    Line {
		    SrcBlock		    "Add1"
		    SrcPort		    1
		    DstBlock		    "ub"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Product3"
		    SrcPort		    1
		    Points		    [40, 0]
		    DstBlock		    "Add1"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "Product2"
		    SrcPort		    1
		    Points		    [40, 0]
		    DstBlock		    "Add1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Gain"
		    SrcPort		    1
		    DstBlock		    "Trigonometric\nFunction1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Add"
		    SrcPort		    1
		    DstBlock		    "ua"
		    DstPort		    1
		    }
		    Line {
		    Labels		    [2, 0]
		    SrcBlock		    "Product1"
		    SrcPort		    1
		    Points		    [20, 0]
		    DstBlock		    "Add"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "ut"
		    SrcPort		    1
		    Points		    [0, 0; 180, 0]
		    Branch {
		    DstBlock		    "Product1"
		    DstPort		    2
		    }
		    Branch {
		    DstBlock		    "Product2"
		    DstPort		    2
		    }
		    }
		    Line {
		    SrcBlock		    "Trigonometric\nFunction1"
		    SrcPort		    1
		    Points		    [0, 0; 10, 0]
		    Branch {
		    Points		    [0, -40]
		    DstBlock		    "Product3"
		    DstPort		    1
		    }
		    Branch {
		    Points		    [40, 0]
		    DstBlock		    "Product1"
		    DstPort		    1
		    }
		    }
		    Line {
		    SrcBlock		    "Product"
		    SrcPort		    1
		    Points		    [10, 0; 0, 15]
		    DstBlock		    "Add"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "um"
		    SrcPort		    1
		    Points		    [60, 0; 0, -20; 25, 0]
		    Branch {
		    DstBlock		    "Product"
		    DstPort		    1
		    }
		    Branch {
		    Points		    [0, 125]
		    DstBlock		    "Product3"
		    DstPort		    2
		    }
		    }
		    Line {
		    SrcBlock		    "Trigonometric\nFunction"
		    SrcPort		    1
		    Points		    [20, 0; 0, -5]
		    Branch {
		    Points		    [0, 15]
		    DstBlock		    "Product2"
		    DstPort		    1
		    }
		    Branch {
		    Points		    [0, -40]
		    DstBlock		    "Product"
		    DstPort		    2
		    }
		    }
		    Line {
		    SrcBlock		    "theal"
		    SrcPort		    1
		    Points		    [0, 0; 35, 0]
		    Branch {
		    Points		    [0, -50]
		    DstBlock		    "Trigonometric\nFunction"
		    DstPort		    1
		    }
		    Branch {
		    Points		    [0, 40]
		    DstBlock		    "Gain"
		    DstPort		    1
		    }
		    }
		  }
		}
		Block {
		  BlockType		  Gain
		  Name			  "A->pu"
		  Position		  [240, 125, 270, 155]
		  Gain			  "sqrt(3)*600/sqrt(2)/10000"
		}
		Block {
		  BlockType		  Sum
		  Name			  "Add1"
		  Ports			  [2, 1]
		  Position		  [570, 127, 600, 158]
		  ShowName		  off
		  Inputs		  "-+"
		  InputSameDT		  off
		  OutDataTypeMode	  "Inherit via internal rule"
		  OutScaling		  "2^-10"
		  SaturateOnIntegerOverflow off
		}
		Block {
		  BlockType		  Sum
		  Name			  "Add2"
		  Ports			  [2, 1]
		  Position		  [315, 257, 345, 288]
		  ShowName		  off
		  Inputs		  "-+"
		  InputSameDT		  off
		  OutDataTypeMode	  "Inherit via internal rule"
		  OutScaling		  "2^-10"
		  SaturateOnIntegerOverflow off
		}
		Block {
		  BlockType		  Sum
		  Name			  "Add3"
		  Ports			  [2, 1]
		  Position		  [570, 162, 600, 193]
		  ShowName		  off
		  Inputs		  "+-"
		  InputSameDT		  off
		  OutDataTypeMode	  "Inherit via internal rule"
		  OutScaling		  "2^-10"
		  SaturateOnIntegerOverflow off
		}
		Block {
		  BlockType		  Sum
		  Name			  "Add4"
		  Ports			  [3, 1]
		  Position		  [790, 129, 820, 161]
		  ShowName		  off
		  Inputs		  "+-+"
		  InputSameDT		  off
		  OutDataTypeMode	  "Inherit via internal rule"
		  OutScaling		  "2^-10"
		  SaturateOnIntegerOverflow off
		}
		Block {
		  BlockType		  Sum
		  Name			  "Add5"
		  Ports			  [3, 1]
		  Position		  [790, 184, 820, 216]
		  ShowName		  off
		  Inputs		  "-++"
		  InputSameDT		  off
		  OutDataTypeMode	  "Inherit via internal rule"
		  OutScaling		  "2^-10"
		  SaturateOnIntegerOverflow off
		}
		Block {
		  BlockType		  Constant
		  Name			  "Constant1"
		  Position		  [445, 209, 480, 231]
		  ShowName		  off
		  Value			  "0"
		}
		Block {
		  BlockType		  Constant
		  Name			  "Constant6"
		  Position		  [230, 274, 265, 296]
		  ShowName		  off
		  Value			  "515"
		}
		Block {
		  BlockType		  Demux
		  Name			  "Demux"
		  Ports			  [1, 2]
		  Position		  [510, 90, 515, 130]
		  ShowName		  off
		  Outputs		  "2"
		}
		Block {
		  BlockType		  Demux
		  Name			  "Demux1"
		  Ports			  [1, 2]
		  Position		  [655, 231, 660, 269]
		  BackgroundColor	  "black"
		  ShowName		  off
		  Outputs		  "2"
		  DisplayOption		  "bar"
		}
		Block {
		  BlockType		  Reference
		  Name			  "Discrete\nPI Controller"
		  Ports			  [1, 1]
		  Position		  [405, 252, 450, 298]
		  SourceBlock		  "powerlib_extras/Discrete \nControl "
"Blocks/Discrete\nPI Controller"
		  SourceType		  "Discrete PI Controller"
		  ShowPortLabels	  on
		  Kp			  "0.015"
		  Ki			  "1.6"
		  Par_Limits		  "[1.2 -1.2]"
		  Init			  "0"
		  Ts			  "Ts"
		}
		Block {
		  BlockType		  Gain
		  Name			  "Ltot "
		  Position		  [725, 95, 755, 125]
		  Gain			  "0.1055"
		}
		Block {
		  BlockType		  Gain
		  Name			  "Ltot 1"
		  Position		  [720, 210, 750, 240]
		  Gain			  "0.1055"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "Measuremnt\nUnit"
		  Ports			  [3, 2]
		  Position		  [410, 82, 490, 188]
		  DropShadow		  on
		  TreatAsAtomicUnit	  off
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  System {
		    Name		    "Measuremnt\nUnit"
		    Location		    [24, 196, 532, 508]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "A4"
		    PaperUnits		    "centimeters"
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "sin_cos"
		    Position		    [70, 98, 100, 112]
		    Port		    "1"
		    IconDisplay		    "Port number"
		    LatchInput		    off
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "Vabc"
		    Position		    [25, 68, 55, 82]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    LatchInput		    off
		    }
		    Block {
		    BlockType		    Inport
		    Name		    "Iabc"
		    Position		    [25, 198, 55, 212]
		    Port		    "3"
		    IconDisplay		    "Port number"
		    LatchInput		    off
		    }
		    Block {
		    BlockType		    Reference
		    Name		    "Imes"
		    Ports		    [2, 1]
		    Position		    [145, 191, 210, 249]
		    SourceBlock		    "powerlib_extras/Measurements/abc_"
"to_dq0\nTransformation"
		    SourceType		    "abc to dq0 Transformation"
		    ShowPortLabels	    on
		    }
		    Block {
		    BlockType		    Selector
		    Name		    "Selector"
		    Ports		    [1, 1]
		    Position		    [245, 78, 265, 102]
		    ShowName		    off
		    Elements		    "[1 2]"
		    InputPortWidth	    "3"
		    }
		    Block {
		    BlockType		    Selector
		    Name		    "Selector1"
		    Ports		    [1, 1]
		    Position		    [255, 208, 275, 232]
		    ShowName		    off
		    Elements		    "[1 2]"
		    InputPortWidth	    "3"
		    }
		    Block {
		    BlockType		    Reference
		    Name		    "Vmes"
		    Ports		    [2, 1]
		    Position		    [145, 61, 210, 119]
		    SourceBlock		    "powerlib_extras/Measurements/abc_"
"to_dq0\nTransformation"
		    SourceType		    "abc to dq0 Transformation"
		    ShowPortLabels	    on
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "IdIq"
		    Position		    [325, 213, 355, 227]
		    IconDisplay		    "Port number"
		    BusOutputAsStruct	    off
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "VdVq"
		    Position		    [335, 83, 365, 97]
		    Port		    "2"
		    IconDisplay		    "Port number"
		    BusOutputAsStruct	    off
		    }
		    Line {
		    SrcBlock		    "Selector"
		    SrcPort		    1
		    DstBlock		    "VdVq"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Imes"
		    SrcPort		    1
		    DstBlock		    "Selector1"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Iabc"
		    SrcPort		    1
		    DstBlock		    "Imes"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "sin_cos"
		    SrcPort		    1
		    Points		    [10, 0]
		    Branch {
		    Points		    [0, 130]
		    DstBlock		    "Imes"
		    DstPort		    2
		    }
		    Branch {
		    DstBlock		    "Vmes"
		    DstPort		    2
		    }
		    }
		    Line {
		    SrcBlock		    "Vmes"
		    SrcPort		    1
		    DstBlock		    "Selector"
		    DstPort		    1

⌨️ 快捷键说明

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