Boundary conditions and carriers
Applying a voltage changes what sets the carrier populations. Most of it is handled for you — but there are structures a zero-current model cannot represent, and it is worth knowing which.
01Where the carriers come from
With no bias applied, one Fermi level describes the whole structure and there is nothing to think about. Apply a voltage and that stops being true: the two ends of the device are now held at different energies, and each carrier population is set by whichever reservoir actually supplies it.
That is the idea underneath everything on this page. A contact can only pin a carrier it can genuinely exchange — and which carrier that is depends on the doping either side of it.
02A biased Schottky contact
A metal is a reservoir for both electrons and holes, but a Schottky barrier blocks one of them. The other has no comparable supply elsewhere in the structure. Thermal generation does produce minority carriers throughout — that never stops — but it only ever sustains the small background level the material’s intrinsic concentration allows, and it cannot hold a population at a defined energy against an applied bias. A contact can. So in an n-type structure it is the metal that governs the hole population, and in a p-type structure the electron population.
EpiSolve recognises this and handles it automatically. When the metal is the only possible source of a carrier, that carrier is referenced to the metal instead of to the bulk of the structure. There is no setting to change — it simply applies when it should.
The practical consequence is that a reverse-biased blocking contact solves cleanly at any bias, and the minority-carrier density right at the contact is fixed by the barrier height alone. It does not grow as you increase the voltage, which is the physically correct behaviour and the reason deep reverse bias is well behaved.
03Contact-bias mode and its terminals
In contact bias mode you mark terminals yourself, by putting a voltage in the Contact Voltage (V) column of the first and last layers — or of the substrate row. EpiSolve then classifies each terminal from its doping: n-type, p-type, undoped, or a gate if the material is an insulator.
Those classifications decide whether the structure is one the model can represent.
Solves properly
a well-posed zero-current problem
- One n-type and one p-type terminal — a real junction, each contact supplying its own carrier
- A gate or insulator terminal — a field-effect structure
- Both terminals undoped — too few mobile carriers to carry a current, so the bias is essentially a field tilt
- Any structure at zero bias — plain equilibrium
Cannot be represented
these need a transport solver
- Two terminals of the same type with carriers between them
- One doped, one undoped terminal with carriers between them
- A junction driven past flat band, into heavy injection
- Anything where the answer you want is a current
How far into forward bias. A biased n–p junction is genuinely solved, and forward bias is not all-or-nothing. Below flat band the junction is still depletion-dominated, and the band diagram is the physically reasonable one — the bands bending less as the forward bias cancels part of the built-in potential — right up to flat band, where the two cancel and the bands go flat. It is only beyond flat band, where a real diode injects heavily and conducts, that the zero-current picture stops meaning anything.
A useful way to see it: EpiSolve shows the diode’s internal electrostatics for any diode voltage up to flat band — the range a real diode, which always carries some series resistance, actually sits in — but it never computes the current itself.
04The warning you may see
If you bias a structure in the right-hand column above, EpiSolve tells you rather than quietly producing a number. The dialog is titled Biased contacts need a junction, and it says:
Biasing contacts that aren’t an n-type/p-type pair, with mobile carriers between them, makes a current-carrying resistor that this zero-current model cannot represent. Use an n-type and a p-type contact, or bias only an undoped structure.
The reasoning is worth understanding, because it is not a limitation of this program so much as of the question. Two same-type contacts at different voltages, with conducting material between them, form a resistor. A resistor carries current. This model solves the case where no current flows, so there is no correct answer for it to give.
The warning carries a Don’t show this again for this session option, for when you are deliberately exploring and already understand the limitations.
05If your question really is about current
Then this is the wrong tool, but it can be useful in showing the unbiased structure. EpiSolve gives you the electrostatics — the field profile, the band line-up, where the carriers sit — which is very often the input to a transport calculation. For the current itself, take those results to a drift–diffusion or Monte Carlo solver.