PN Diode
1. Overview
In this worked example, a simple symmetrical PN junction is modelled and analysed to illustrate the fundamental workflow of diode simulation in the Aquarius TCAD environment. The device structure consists of a uniformly doped silicon p-region and n-region, each with equal doping concentrations. The device cross-sectional area and region lengths are specified, and ideal ohmic contacts are applied at the anode and cathode.
An analytical IV characteristic is derived using the Shockley diode equation, which requires evaluation of the reverse saturation current () from fundamental semiconductor transport relations. This involves calculating minority carrier diffusion coefficients and diffusion lengths based on carrier mobility and lifetime, together with the intrinsic carrier concentration of silicon.
The analytical model provides a baseline for expected diode behaviour, including exponential forward conduction and saturation in reverse bias. This worked example demonstrates both the physics behind diode operation and the practical steps required to set up and validate a PN diode simulation in the Aquarius TCAD environment, serving as a foundation for more advanced semiconductor devices.
2. Parameters

| Parameter | Symbol | Value | Unit | Description |
|---|---|---|---|---|
| Length | cm | Length of the P-type region in the Y dimension. | ||
| Length | cm | Length of the P-type region in the Y dimension. | ||
| Width | cm | Width of the device in the X dimension | ||
| Depth | cm | Thickness of the device in the Z dimension | ||
| Acceptor Doping | cm-3 | Acceptor concentration in the P-type region. | ||
| Donor Doping | cm-3 | Donor concentration in the N-type region. | ||
| Temperature | K | Temperature of the diode. | ||
| Electron Minority Carrier Lifetime | s | Average time an electron exists as a minority carrier in the P region before recombination. | ||
| Hole Minority Carrier Lifetime | s | Average time a hole exists as a minority carrier in the N region before recombination. | ||
| Electron Mobility | cm2/Vs | Indicates how easily electrons move under an electric field. | ||
| Hole Mobility | cm2/Vs | Indicates how easily holes move under an electric field. |
3. Analytical Model
3.1. Ideal Diode Equation
For an ideal diode, the current–voltage relation is given by:
Where:
- = Diode current (A)
- = Reverse saturation current (A)
- = Applied bias voltage (V)
- = Elementary charge (C)
- = Boltzmann constant (J/K)
- = Absolute temperature (K)
In forward bias () the current rises exponentially with voltage, in reverse bias () the current saturates at . No resistance is included, therefore the exponential law holds across the full bias range.
3.2. Reverse Saturation Current
The reverse saturation current arises from minority carrier diffusion across the junction and is given by:
Where:
- = Elementary charge (C)
- = Cross-sectional area (cm²)
- = Hole diffusion coefficient (cm²/s)
- = Electron diffusion coefficient (cm²/s)
- = Hole diffusion length (cm²/s)
- = Electron diffusion length (cm²/s)
- = Acceptor concentration (cm⁻³)
- = Donor concentration (cm⁻³)
- = Intrinsic carrier concentration (cm⁻³)
- = Absolute temperature (K)
and are related to carrier mobilities:
, where is the minority carrier lifetime.
The ideal diode IV characteristic is shown below.

4. Simulation using Aquarius
4.1. Creating the Device Model
To create a resistor device model in Aquarius, follow the steps below.
4.1.1. Launch Editor
- Launch the Device Editor. (see resistor example) for details.
4.1.2. Define Device Geometry
- In the Menu Bar, click the rectangle button
, alternatively , select Define→Region→Rectangle. - Position the cursor on the canvas to draw a rectangular shape:
- Left-click to start drawing.
- Left-click again to finish the shape.

- After drawing the rectangle, the Exact Coordinates dialog will open automatically:
- Set the First Vertex to
(-0.1, 1.0). - Set the Second Vertex to
(0.1, 2.0). - Click
OKto confirm.
- Set the First Vertex to

- The Region Properties dialog will then open:
- Set the region Name to P.
- Set the region Material to
Si(Silicon). - Set the Acceptor Doping to
1E+16 - Click
OKto confirm.

- Repeat process above, again but this time define the region with the following parameters:
- First Vertex =
(-0.1, 1.0). - Second Vertex =
(0.1, 0.0). - Name = N.
- Donor Doping =
1E+16. - Select a colour for the N region. It is recommended to use a different colour from the P region for clear differentiation.
- First Vertex =
4.1.3. Define Device Contacts
With the device geometry and material properties defined, the next step is to specify electrical contacts to allow the device to be connected to a circuit for simulation. In this example, the top and bottom edges will be used to define the device contacts. A and K, respectively, with the default contact parameters applied.

Define two contacts, Anode A on the top of the device and Cathode K on the bottom as can been seen in the image above.
-
Define the first contact (A):
- From the menu, select
Define→Contact. - Move the cursor over the left geometric edge. When the edge highlights in green and the cursor changes to indicate a selectable element,
Left-clickto select it. Right-clickanywhere to open the Contact Properties dialog. Use this dialog to set the contact's properties.- In the General section, set
Nameto A, leave all other properties at their default values. - Click
OK.
- From the menu, select
-
Define the second contact (B), repeat steps 1–5 above, but instead:
- Select the bottom geometric edge.
- In the Contact Properties window, set
Nameto K andColourto green. - Click
OK.
For more detailed instructions on defining contacts, click here.
4.1.4. Defining the Mesh
In order to discretise the problem, the finite element method (FEM) is used. This triangulation is formed of triangular elements of varying sizes. Aquarius includes meshing algorithms that allow the user to specify a finer mesh near areas of interest and a coarser mesh elsewhere to optimise computational efficiency.
For a PN junction, the junction itself is the key region of interest; therefore, a finer mesh is specified in this area to accurately capture the strong variations in potential and carrier concentration.
- In the Menu Bar, select
Mesh→Generate Finite Element Mesh Model.

The Mesh Properties window will appear.
-
Set the refinement parameters as follows:
Mesh Quality Options
- Max Element Edge Length (Hint):
0.5 µm - Minimum Angle:
30°
Metallurgical Junction Refinement
- Distance to Junction:
0.3 µm - Minimum Edge Length (Hint):
0.02 µm - Maximum Edge Length (Hint):
0.1 µm
Oxide Interface Refinement parameters are not required as there is not oxide in this device.
- Max Element Edge Length (Hint):
-
Click
OKto generate the mesh with specified settings.

These parameters ensure that Aquarius automatically generates a quality triangular mesh, finely resolving the PN junction while maintaining a coarser mesh in less critical regions. This approach achieves high numerical accuracy without excessive computational cost.
The generated mesh will be displayed.

4.1.5. Save the Device Model
- In the Menu Bar, select
File→Save As.... The Save dialog will open. - Navigate to the folder you wish to save the device in.
- Specify the filename (e.g. pn_diode.sdm).
- Click
Saveto store the device model.
The Diode is now ready to be added to a circuit.
4.2. Steady State Simulation
4.2.1. Simulation Setup
A circuit must be created before simulation can begin. A device (the diode), a DC Voltage Source and a Ground will be added to the circuit editor and connected together.
- Launch the Circuit Editor. (see resistor example) for details.
4.2.1.1. Add the Device
- Select the Device
from the tool bar and drag and drop it onto the circuit editor. - Set the device Properties:
- Click
Get .sdm File, select the device file that you created in the previous steps and clickOK. - Ensure Scaling Factor (cm) is set to
0.0001. Which sets the device depth to 1μm depth. - Click
OKto close the Device Properties.
- Click
Note: The device can be rotated by Left-clicking on it to select it and then using CTRL + R to rotate it by 90°.

For more detailed instructions on Adding Components, click here.
4.2.1.2. Add a Source and Ground
- Select the DC Voltage Source
from the tool bar by Dragging and Droppingit onto the circuit editor. - Select the Ground
from the tool bar by Dragging and Droppingit onto the circuit editor. - Connect the components together as they are in the image below.

For more detailed instructions on Wiring Circuits, click here.
4.2.1.3. Set Source Properties
Double-clickon the DC Voltage Source to open its properties.- Click
Add Rangeto open the Add Range Properties and set to the values below:Start Voltage (V) = 0End Voltage (V) = 0.8Step (V) = 0.01- Click
OKto set the range.
- Click
OKto set the DC Voltage Source Properties.

For more detailed instructions on Steady State (DC) Sources, click here.
4.2.1.4. Save the Solution File
Save the simulation at this point.
- In the Menu Bar, select
File→Save As.... The Save dialog will open. - Navigate to the folder you wish to save the solution file. The solution file should be saved in the same directory as the device file.
- Specify the filename (e.g. pn_diode_iv.sol).
- Click
Saveto store the solution file.
4.2.2. Run Simulation
To run the Steady State Simulation press the blue run button
, alternatively in the menu use Simulation → Steady State.
For more detailed instructions on Running a Simulations, click here.
The simulation will begin and the Simulation Status will appear on the screen. Wait until the simulation has completed at which point Simulation Stopped will appear in the bottom left of the status window and the text "Aquarius simulator completed execution." will be show in the screen.

For more detailed instructions on the Simulation Status output, click here.
4.3. Simulation Results
4.3.1. Visualising the Results
Next results visualiser will be used to understand the output of the simulation.
On the start page Click Open Results Visualiser (the third option).
The application will ask the user to select a .res results file.
The name of the .res file will be the same as the .sol which has just run (e.g. pn_diode_iv.res).
Then the Results Visualiser will open with the selected results file loaded.
- Click
External Plotat the top of the results visualiser. - Set External Plot Settings:
- The file should match your results file name.
X Axis Contact = DEV1.AX Axis Variable = VoltageY Axis Contact = DEV1.AX Axis Variable = Total Current
- Click
New Plotto generate a graph showing Total Current (A) at terminal A of DEV1 (the diode's name) versus the Voltage (V) at the same terminal.

4.3.2. Analysing Results
Once the IV characteristic is plotted, you can export the data as a CSV file.
- Click
Export Datato save the plot data in.csvformat.
When the file dialog appears, enter a filename (e.g., pn_diode_iv.csv) and click Save.
Now with the csv file exported it is possible to overlay the aquarius simulation result and the analytical ideal diode equation.

Between 0 V and ~ 0.7 V, the Aquarius Simulation Result matches the Ideal Diode Equation. When the voltage applied to the anode increases above the built-in potential, the series resistance in the diode starts to control the current flow. This resistance – arising from the P region, N region, and depletion region – is not included in the ideal diode model, so the simulated current increases at a slower rate, causing the deviation at higher voltages.
5. Conclusion
This example demonstrated the setup and simulation of a silicon PN junction diode in Aquarius. The simulated IV curve matched the analytical ideal diode behaviour up to about 0.7 V, confirming correct model implementation. At higher voltages, deviations due to series resistance became evident. Overall, the example validates Aquarius for accurate diode simulation and provides a foundation for more advanced device studies.
6. Downloads
| File | Description | Download |
|---|---|---|
| pn_diode.sdm | PN diode device model. | |
| pn_diode_iv.sol | Solution file to generate the IV characteristic for pn_diode.sdm. |