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

📄 njhk_8_8.mdl

📁 PFC电压模型,供大家参考使用,共同学习.
💻 MDL
📖 第 1 页 / 共 5 页
字号:
      Location		      [596, 54, 1013, 256]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      TimeRange		      "0.0005"
      YMin		      "0"
      YMax		      "1.2"
      SaveName		      "ScopeData4"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      Terminator
      Name		      "T1"
      Position		      [735, 105, 755, 125]
      NamePlacement	      "alternate"
    }
    Block {
      BlockType		      Terminator
      Name		      "T2"
      Position		      [535, 280, 555, 300]
      Orientation	      "down"
      NamePlacement	      "alternate"
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace"
      Position		      [205, 371, 265, 399]
      VariableName	      "time"
      MaxDataPoints	      "inf"
      SampleTime	      "-1"
      SaveFormat	      "Structure"
    }
    Block {
      BlockType		      Reference
      Name		      "Voltage Measurement1"
      Ports		      [0, 1, 0, 0, 0, 2]
      Position		      [330, 213, 355, 237]
      ShowName		      off
      SourceBlock	      "powerlib/Measurements/Voltage Measurement"
      SourceType	      "Voltage Measurement"
      ShowPortLabels	      on
      PhasorSimulation	      off
      OutputType	      "Complex"
      PSBequivalent	      "0"
      Port {
	PortNumber		1
	Name			"V_in"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
	ShowSigGenPortName	on
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Voltage Measurement2"
      Ports		      [0, 1, 0, 0, 0, 2]
      Position		      [85, 198, 110, 222]
      ShowName		      off
      SourceBlock	      "powerlib/Measurements/Voltage Measurement"
      SourceType	      "Voltage Measurement"
      ShowPortLabels	      on
      PhasorSimulation	      off
      OutputType	      "Complex"
      PSBequivalent	      "0"
      Port {
	PortNumber		1
	Name			"Uac"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
	ShowSigGenPortName	on
      }
    }
    Line {
      LineType		      "Connection"
      SrcBlock		      "Current Measurement"
      SrcPort		      LConn1
      DstBlock		      "L=500uH"
      DstPort		      RConn1
    }
    Line {
      LineType		      "Connection"
      SrcBlock		      "M2"
      SrcPort		      LConn1
      Points		      [-30, 0]
      Branch {
	ConnectType		"DEST_SRC"
	Points			[-30, 0]
	Branch {
	  ConnectType		  "DEST_SRC"
	  DstBlock		  "940uF"
	  DstPort		  LConn1
	}
	Branch {
	  ConnectType		  "DEST_DEST"
	  SrcBlock		  "Current Measurement2"
	  SrcPort		  RConn1
	  Points		  [0, 0; 15, 0]
	}
      }
      Branch {
	ConnectType		"DEST_SRC"
	DstBlock		"288.8ohm\n/500W"
	DstPort			LConn1
      }
    }
    Line {
      LineType		      "Connection"
      Points		      [570, 125; 0, 60]
      DstBlock		      "Mosfet"
      DstPort		      LConn1
      Branch {
	ConnectType		"SRC_DEST"
	SrcBlock		"Diode"
	SrcPort			LConn1
	Points			[-10, 0; -50, 0]
      }
      Branch {
	ConnectType		"SRC_SRC"
	DstBlock		"Current Measurement"
	DstPort			RConn1
      }
    }
    Line {
      LineType		      "Connection"
      Points		      [255, 120; 55, 0]
      Branch {
	ConnectType		"SRC_DEST"
	SrcBlock		"Diode3"
	SrcPort			RConn1
	Points			[0, 0; 0, -5]
      }
      Branch {
	ConnectType		"SRC_SRC"
	Points			[-60, 0]
	DstBlock		"Diode1"
	DstPort			RConn1
      }
      Branch {
	ConnectType		"DEST_SRC"
	DstBlock		"L=500uH"
	DstPort			LConn1
      }
      Branch {
	ConnectType		"DEST_SRC"
	Points			[0, 100]
	DstBlock		"Voltage Measurement1"
	DstPort			LConn1
      }
    }
    Line {
      LineType		      "Connection"
      SrcBlock		      "Current Measurement1"
      SrcPort		      LConn1
      Points		      [-15, 0; 0, 55]
      Branch {
	ConnectType		"DEST_SRC"
	DstBlock		"220V\n50Hz"
	DstPort			RConn1
      }
      Branch {
	ConnectType		"DEST_SRC"
	Points			[15, 0]
	DstBlock		"Voltage Measurement2"
	DstPort			LConn1
      }
    }
    Line {
      Name		      "Iac"
      Labels		      [-1, 1]
      SrcBlock		      "Current Measurement1"
      SrcPort		      1
      Points		      [15, 0]
      DstBlock		      "Scope1"
      DstPort		      1
    }
    Line {
      Name		      "Uac"
      Labels		      [1, 0]
      SrcBlock		      "Voltage Measurement2"
      SrcPort		      1
      DstBlock		      "Scope1"
      DstPort		      2
    }
    Line {
      LineType		      "Connection"
      SrcBlock		      "Current Measurement1"
      SrcPort		      RConn1
      Points		      [55, 0; 0, 80; 15, 0]
      Branch {
	ConnectType		"DEST_DEST"
	SrcBlock		"Diode2"
	SrcPort			RConn1
	Points			[0, -25; 0, 0]
      }
      Branch {
	ConnectType		"DEST_SRC"
	DstBlock		"Diode1"
	DstPort			LConn1
      }
    }
    Line {
      LineType		      "Connection"
      SrcBlock		      "Diode2"
      SrcPort		      LConn1
      Points		      [0, 20; 60, 0]
      Branch {
	ConnectType		"DEST_SRC"
	DstBlock		"Diode4"
	DstPort			LConn1
      }
      Branch {
	ConnectType		"DEST_SRC"
	Points			[55, 0]
	Branch {
	  ConnectType		  "DEST_DEST"
	  SrcBlock		  "Voltage Measurement1"
	  SrcPort		  LConn2
	  Points		  [-5, 0; 0, 85]
	}
	Branch {
	  ConnectType		  "DEST_SRC"
	  DstBlock		  "Ground1"
	  DstPort		  LConn1
	}
      }
    }
    Line {
      LineType		      "Connection"
      Points		      [255, 220; -75, 0; 0, 95; -125, 0; 0, -65]
      Branch {
	ConnectType		"SRC_SRC"
	DstBlock		"Diode4"
	DstPort			RConn1
      }
      Branch {
	ConnectType		"SRC_SRC"
	DstBlock		"Diode3"
	DstPort			LConn1
      }
      Branch {
	ConnectType		"DEST_SRC"
	DstBlock		"220V\n50Hz"
	DstPort			LConn1
      }
      Branch {
	ConnectType		"DEST_SRC"
	Points			[15, 0]
	DstBlock		"Voltage Measurement2"
	DstPort			LConn2
      }
    }
    Line {
      SrcBlock		      "Diode"
      SrcPort		      1
      DstBlock		      "T1"
      DstPort		      1
    }
    Line {
      Name		      "V_in"
      SrcBlock		      "Voltage Measurement1"
      SrcPort		      1
      Points		      [5, 0; 0, 90]
      Branch {
	DstBlock		"Gain_Vin"
	DstPort			1
      }
      Branch {
	Labels			[-1, 1]
	Points			[305, 0; 0, -75]
	DstBlock		"Scope4"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "Gain_Vin"
      SrcPort		      1
      Points		      [0, 80]
      Branch {
	Points			[0, 45; 415, 0; 0, -120]
	DstBlock		"I_Pi_Ref_Cal"
	DstPort			2
      }
      Branch {
	DstBlock		"S-Function"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "S-Function"
      SrcPort		      1
      Points		      [155, 0; 0, -50]
      DstBlock		      "I_Pi_Ref_Cal"
      DstPort		      3
    }
    Line {
      LineType		      "Connection"
      SrcBlock		      "Ground2"
      SrcPort		      LConn1
      DstBlock		      "Mosfet"
      DstPort		      RConn1
    }
    Line {
      Name		      "I_L"
      Labels		      [0, 1]
      SrcBlock		      "Current Measurement"
      SrcPort		      1
      Points		      [95, 0; 0, 105]
      Branch {
	DstBlock		"Gain_IL"
	DstPort			1
      }
      Branch {
	Labels			[-1, 1]
	DstBlock		"Scope4"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Gain_IL"
      SrcPort		      1
      Points		      [0, 50; -50, 0; 0, 70]
      DstBlock		      "PFC_I_Control"
      DstPort		      1
    }
    Line {
      Name		      "I_Pi_Ref"
      SrcBlock		      "I_Pi_Ref_Cal"
      SrcPort		      1
      Points		      [0, 0; -15, 0]
      Branch {
	DstBlock		"PFC_I_Control"
	DstPort			2
      }
      Branch {
	Labels			[-1, 1]
	Points			[0, -70]
	DstBlock		"Scope2"
	DstPort			1
      }
    }
    Line {
      Name		      "PWM"
      SrcBlock		      "PWM"
      SrcPort		      1
      Points		      [20, 0]
      Branch {
	Labels			[-1, 0]
	DstBlock		"Scope5"
	DstPort			1
      }
      Branch {
	DstBlock		"Mosfet"
	DstPort			1
      }
    }
    Line {
      LineType		      "Connection"
      SrcBlock		      "Ground4"
      SrcPort		      LConn1
      DstBlock		      "940uF"
      DstPort		      RConn1
    }
    Line {
      LineType		      "Connection"
      SrcBlock		      "Ground5"
      SrcPort		      LConn1
      DstBlock		      "288.8ohm\n/500W"
      DstPort		      RConn1
    }
    Line {
      LineType		      "Connection"
      SrcBlock		      "Ground3"
      SrcPort		      LConn1
      Points		      [0, -10]
      DstBlock		      "M2"
      DstPort		      LConn2
    }
    Line {
      LineType		      "Connection"
      SrcBlock		      "Current Measurement2"
      SrcPort		      LConn1
      DstBlock		      "Diode"
      DstPort		      RConn1
    }
    Line {
      Name		      "V_PFC_Out"
      Labels		      [0, 1]
      SrcBlock		      "M2"
      SrcPort		      1
      Points		      [30, 0]
      Branch {
	DstBlock		"Scope3"
	DstPort			2
      }
      Branch {
	Labels			[1, 0]
	DstBlock		"Gain_Vout"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Gain_Vout"
      SrcPort		      1
      Points		      [0, 70]
      DstBlock		      "PFC_V_Control"
      DstPort		      1
    }
    Line {
      Name		      "I_Diode"
      Labels		      [-1, 1]
      SrcBlock		      "Current Measurement2"
      SrcPort		      1
      DstBlock		      "Scope3"
      DstPort		      1
    }
    Line {
      Name		      "V_Pi_Out"
      SrcBlock		      "PFC_V_Control"
      SrcPort		      1
      Points		      [-75, 0]
      Branch {
	DstBlock		"I_Pi_Ref_Cal"
	DstPort			1
      }
      Branch {
	Labels			[-1, 1]
	Points			[0, -25]
	DstBlock		"Scope2"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "PFC_I_Control"
      SrcPort		      1
      Points		      [-15, 0; 0, -240]
      DstBlock		      "PWM"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Mosfet"
      SrcPort		      1
      DstBlock		      "T2"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Clock"
      SrcPort		      1
      DstBlock		      "To Workspace"
      DstPort		      1
    }
  }
}

# Finite State Machines
#
#    Stateflow Version 6.0 (R14) dated Apr 30 2004, 06:19:14
#
#

Stateflow {

	machine {
		id                   		1
		name                 		"Njhk_8_8"
		created              		"19-Jul-2007 15:08:17"
		isLibrary            		0
		firstTarget          		2
		sfVersion            		60014000.000006
	}

	target {
		id               		2
		name             		"sfun"
		description      		"Default Simulink S-Function Target."
		machine          		1
		linkNode         		[1 0 0]
	}
}

⌨️ 快捷键说明

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