HomeMaterials ScienceMOSFET Channel Charge Profile: A 2D Gradual-Channel Model

MOSFET Channel Charge Profile: A 2D Gradual-Channel Model

Interactive 2D cross-section simulator of the CMOS inverter's NMOS and PMOS channels: a gradual-channel-approximation model spatially resolves the inversion-charge density and channel potential along each device and the drain-junction depletion width grows with reverse bias, instead of the lumped 0D circuit currents animated in the 3D scene.

Materials Science2DAdvanced60 FPS📱 Mobile-adapted⇄ 3D version
2d-nanoelectronics-cmos ↗ Open standalone

This is the 2D companion to the 3D CMOS inverter scene, and it reaches the same device behaviour by resolving physics the 3D model never touches. Rather than animating carriers along a fixed path once a single lumped current has been solved, this simulator integrates the gradual-channel approximation to obtain the inversion-charge density and channel potential at every position between source and drain for both the NMOS and PMOS device, so the channel visibly tapers to a pinch-off point exactly where the physics predicts it. On top of that it models the drain-body pn junction as a one-sided step junction whose depletion width grows with the square root of reverse bias and shrinks with body doping — a genuine electrostatic effect with no counterpart in the 3D scene's carrier animation — so the depletion boundary around each drain visibly breathes as the inverter switches and as you adjust doping.

⚙ Under the hood

A 2D cross-section companion to the CMOS inverter scene: the gradual-channel approximation spatially resolves the inversion-charge density and potential along each transistor's channel, tapering to a real pinch-off point, while the drain-body pn junction's depletion width grows and shrinks with reverse bias and doping — physics the 3D scene's lumped circuit model never computes.

CMOSMOSFETgradual channel approximationpn junctiondepletion regionnanoelectronics

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)