P-channel MOSFET (level 1) (pmos)
The N-channel MOSFET with every voltage and current reversed.
Group: Switches · Kind: {"kind":"pmos"}
When to use it
Use it for high-side switches, current mirrors and stages that pair with an N-channel MOSFET.
Pins
| Pin | Domain | Meaning |
|---|---|---|
d |
electrical | Drain; current flows from s to d |
g |
electrical | Gate; draws no current |
s |
electrical | Source; the reference, usually at the supply |
Common parameters
vto: Gate voltage where it starts to conduct (Default: -1)kp: How strongly the gate controls current (Default: 20u)w: Width of the channel (Default: 100u)l: Length of the channel (Default: 100u)
Parameters
| Key | Unit | Default | Typical range | Description |
|---|---|---|---|---|
vto |
V | -1 | Gate voltage where it starts to conduct | |
kp |
A/V² | 20u | How strongly the gate controls current | |
w |
m | 100u | Width of the channel | |
l |
m | 100u | Length of the channel | |
lambda |
1/V | 0 | How much current grows with drain voltage | |
level |
— | 1 | MOSFET model; 1 is the level-1 square law (vto, kp, w, l, lambda), 2 the SPICE level-2 Grove–Frohman model, 3 the SPICE level-3 short-channel model, vdmos the VDMOS power MOSFET of vendor SPICE models, with its capacitances and body diode |
|
theta |
1/V | 0 | How much the gate voltage lowers the mobility; VDMOS level and level 3 | |
mtriode |
— | 1 | Conductance multiplier in the triode region; VDMOS level only | |
ksubthres |
V | 0.1 | Slope of the subthreshold current below vto; 0 for none; VDMOS level only | |
rd |
Ω | 0 | Resistance in series with the drain; VDMOS level and levels 2 and 3 | |
rs |
Ω | 0 | Resistance in series with the source; VDMOS level and levels 2 and 3 | |
rg |
Ω | 0 | Resistance in series with the gate; VDMOS level only | |
rds |
Ω | optional (off) | Drain-source shunt resistance; VDMOS level only | |
cgs |
F | 0 | Gate-source capacitance, constant; VDMOS level only | |
cgdmax |
F | 0 | Largest gate-drain capacitance; with the gate above the drain; VDMOS level only | |
cgdmin |
F | 0 | Smallest gate-drain capacitance; with the drain far above the gate; VDMOS level only | |
a |
1/V | 1 | Slope of the gate-drain capacitance; how fast it falls from cgdmax to cgdmin with the drain-gate voltage; VDMOS level only | |
is |
A | 10f | Saturation current of the body diode; VDMOS level and levels 2 and 3 | |
n |
— | 1 | Ideality factor of the body diode; VDMOS level only | |
rb |
Ω | 0 | Resistance in series with the body diode; VDMOS level only | |
cjo |
F | 0 | Body diode junction capacitance at zero volts; the drain-source capacitance; VDMOS level and levels 2 and 3 | |
vj |
V | 0.8 | Body diode junction potential; at level 2 also the bound on the shortest channel; VDMOS level and levels 2 and 3 | |
m |
— | 0.5 | Body diode grading coefficient; how the junction capacitance falls with the reverse voltage; VDMOS level and levels 2 and 3 | |
fc |
— | 0.5 | Forward-bias coefficient of the junction capacitance; above fc·vj it continues as a straight line; VDMOS level and levels 2 and 3 | |
tt |
s | 0 | Body diode transit time; the stored charge is tt times the diode current; VDMOS level only | |
bv |
V | optional (off) | Drain-source breakdown voltage of the body diode; past it the reverse current grows exponentially, clamping the drain in avalanche; VDMOS level only | |
ibv |
A | 100p | Body diode current at the breakdown voltage bv; VDMOS level only | |
nbv |
— | 1 | Emission coefficient of the body diode breakdown; the current grows e-fold every nbv·k·T/q past bv; VDMOS level only | |
tnom |
°C | 27 | Temperature the model's values belong to; the VDMOS level and levels 2 and 3 are evaluated there | |
uo |
m²/V·s | 0.06 | Surface mobility; gives kp with tox when kp is unset; levels 2 and 3 | |
tox |
m | optional (off) | Gate oxide thickness; with it the Meyer gate capacitances are modelled; levels 2 and 3 | |
nsub |
1/m³ | 0 | Substrate doping; sets the depletion width of the short-channel and channel-length effects; levels 2 and 3 | |
gamma |
√V | optional (off) | Body-effect coefficient; from nsub and tox when unset; levels 2 and 3 | |
phi |
V | optional (off) | Surface potential; from nsub when unset, else 0.6 V; levels 2 and 3 | |
eta |
— | 0 | Drain-induced threshold lowering; level 3 only | |
vmax |
m/s | 0 | Saturation velocity of the carriers; 0 for none; levels 2 and 3 | |
kappa |
— | 0.2 | Saturation field factor of the channel-length modulation; level 3 only | |
xj |
m | 0 | Metallurgical junction depth, for the short-channel threshold; levels 2 and 3 | |
ld |
m | 0 | Lateral diffusion; the channel is l − 2·ld long; levels 2 and 3 | |
wd |
m | 0 | Width narrowing; the channel is w − 2·wd wide; level 3 only | |
delta |
— | 0 | Width effect on the threshold; levels 2 and 3 | |
nfs |
1/m² | 0 | Fast surface state density; 0 for no subthreshold current; levels 2 and 3 | |
cgso |
F/m | 0 | Gate-source overlap capacitance per metre of width; levels 2 and 3 | |
cgdo |
F/m | 0 | Gate-drain overlap capacitance per metre of width; levels 2 and 3 | |
cgbo |
F/m | 0 | Gate-body overlap capacitance per metre of length; levels 2 and 3 | |
ucrit |
V/m | 1e6 | Critical field of the mobility degradation; level 2 only | |
uexp |
— | 0 | Exponent of the mobility degradation; 0 for none; level 2 only | |
neff |
— | 1 | Channel charge coefficient of the velocity-saturated channel-length modulation; level 2 only |
Parameter descriptions are in English in both languages.
Use for: High-side switches · Current mirrors · Stages paired with an n-channel MOSFET
Not for: Low-side stages → nmos · Converter legs driven by a logic signal → mosfet
Formulas
| Formula | Equation | Source |
|---|---|---|
| Transconductance parameter | β = kp·W/L | Sedra & Smith, Microelectronic Circuits, 7th ed. (2015), ch. 5 (the p-channel MOSFET) |
| Saturation drain current | Id = ½·β·(Vsg − abs(vto))²·(1 + λ·Vsd) | Sedra & Smith, Microelectronic Circuits, 7th ed. (2015), ch. 5 (the p-channel MOSFET) |
| Small-Vsd on resistance | rDS = 1/(β·(Vsg − abs(vto))) | Sedra & Smith, Microelectronic Circuits, 7th ed. (2015), ch. 5 (the MOSFET as a voltage-controlled resistance) |
Quick check
Inputs:
kp: Process transconductance = 20u A/V²,kpw: Channel width = 100u m,wl: Channel length = 10u m,lvto: Threshold voltage (negative) = -1 V,vtolambda: Channel-length modulation = 20m 1/V,lambdavsg: Source-gate voltage = 5 Vvsd: Source-drain voltage = 10 V
Outputs:
beta: Transconductance parameter =kp*w/lA/V²idsat: Saturation current, s to d =0.5*beta*(vsg - abs(vto))^2*(1 + lambda*vsd)Ards: On resistance at small Vsd =1/(beta*(vsg - abs(vto)))Ω
Model logic
- It is the level-1 law of the n-channel part with vgs, vds and the current negated; beta = kp·w/l.
- The channel opens when vgs falls below vto, which is negative for an enhancement part; a positive vto conducts at vgs = 0.
- The solver linearizes the law at the operating point and repeats within each step until the point stops moving.
- i(name) is the current from d to s, negative while it conducts; level 1 has no body diode and no capacitances.
Model
The level-1 law of the n-channel part with vgs, vds and the current negated. The channel opens when vgs falls below vto, which is negative, and beta = kp * w / l. i(name) is the current from d to s, so it is negative while the part conducts.
Common mistakes
- vto is negative for a p-channel enhancement device, as in SPICE. A positive vto makes a depletion device that conducts at vgs = 0.
- There is no body diode, so a high-side switch whose drain is pulled above its source by an inductor needs its own Diode.
Datasheet and sources
vto is the gate threshold on the datasheet, with its sign. Fit kp, w and l from one point of the transfer curve in saturation, using magnitudes.
Example
Open the example with the command file.openExample and the name demo:pmos.
Generated by cargo xtask reference from the usage texts and parameter specs. Do not edit by hand.