MOSFET
Physical NetworksThe MOSFET block models an N-channel enhancement power MOSFET for switching converters, motor drives, and active loads. It combines a gate-controlled channel (, ), an intrinsic anti-parallel body diode (), and a thermal dissipation port H for electro-thermal co-simulation.
数学模型
Channel enhancement transitions smoothly around over width :
The terminal voltage combines the resistive channel with the anti-parallel body diode (), and conduction loss is injected into thermal port H.
输入与输出
| Direction | ID | Label | 类型 | Status |
|---|---|---|---|---|
| → In | p |
D | number | Required |
| → In | n |
S | number | Required |
| → In | in |
G | number | Optional |
| → In | H |
H | number | Optional |
| ← Out | q_diss |
Q_diss | number | Output |
参数
| 参数 | Label | 类型 | 默认值 | 描述 |
|---|---|---|---|---|
thresholdVoltage |
Gate Threshold (Vth) | number | 2 |
Gate-source threshold voltage at which the MOSFET channel turns on |
onResistance |
On Resistance (Rds_on) | number | 0.05 |
Drain-source on-state resistance when fully enhanced |
offConductance |
Off Leakage Conductance | number | 1e-7 |
Small residual off-state conductance for numerical stability |
transitionWidth |
Gate Transition Width | number | 0.2 |
Smooth transition width around Vth for Newton convergence |
bodyDiodeVf |
Body Diode Vf | number | 0.7 |
Forward voltage drop of the intrinsic anti-parallel body diode |
gateVoltage |
Default Gate Voltage | number | 0 |
Default V_GS when the Gate input port is unconnected |
使用示例
PWM Low-Side Motor Switch
Connect a PWMGenerator (highLevel = 10 V) to the in (Gate) port of a MOSFET in series with a DCMotor and Battery to modulate motor speed.
Synchronous Buck Converter
Use two MOSFET blocks driven by complementary PWMGenerator signals (phase = 0° and 180°) feeding an Inductor and Capacitor output filter.
说明与最佳实践
- Body Diode Conduction: When the MOSFET is OFF and Source rises above Drain by more than
bodyDiodeVf, reverse current flows naturally through the body diode. - Thermal Coupling: Connect port
Hto aThermalMassandConvectionblock to simulate junction temperature rise under load.
相关模块
- PWMGenerator/docs.md" class="bw-link">PWMGenerator
- ControlledSwitch/docs.md" class="bw-link">ControlledSwitch
- Diode/docs.md" class="bw-link">Diode