Circuit Simulation: From Model to Evidence
Circuit simulation predicts how a circuit behaves by solving equations for a specified model. You can use it to check a design before building it, investigate an unexpected result, or compare possible component values. Circuit simulation appears in Arduino project planning, Tinkercad activities, and Excel spreadsheets containing circuit equations. Across these contexts, a useful result depends on what you model, what you ask the software to calculate, and how you check its answer.
Build a defined model
A circuit model is a mathematical representation of components, their connections, and their behaviour. An ideal resistor obeys Ohm’s law exactly. A more detailed component model may also include temperature effects, internal resistance, or other limitations. Select the detail needed for your question rather than assuming every model includes every physical effect.
Enter the connections, component values, and source settings. Check units carefully: 2.2 kΩ means 2200 Ω, whereas 2.2 Ω is a thousand times smaller. Similar-looking drawings can represent different connections, so inspect which terminals share a node.
A reference node is the node assigned zero voltage. Node voltages are measured relative to it; this reference does not necessarily represent a connection to Earth. A differential voltage measurement uses the stated terminal order:
For a positive probe at A and a negative probe at B, a negative result means A is at a lower potential than B.
For the unloaded ideal divider shown, the governing predictions are
These equations give you an independent check on the simulated current and output voltage. They assume the output measurement draws no current.
Choose the question before the analysis
The analysis determines what the reported values mean. Match it to the behaviour you want to investigate.
Analysis | Question it answers | Typical result |
|---|---|---|
DC operating point | What are the steady voltages and currents for fixed DC inputs? | One set of node voltages and branch currents |
DC sweep | How does steady behaviour change as an input or parameter varies? | Output values across a specified range |
Transient analysis | How do voltages and currents change with time? | Waveforms over a specified time interval |
A DC operating point does not show startup timing. A DC sweep changes a parameter across separate steady calculations; its horizontal axis is not automatically time.
For transient analysis, specify the source waveform, run duration, and relevant initial conditions. Where available, choose a maximum solver time step small enough to investigate the shortest event of interest. Solver steps and saved output points can differ, so check both calculation settings and what the software records.
Check what the result establishes
Before running the model, predict a sign, approximate value, or trend. Then compare quantities using the same units, terminals, and conditions. For a divider, an added load can change the output because it changes the effective resistance connected to the output node.
If a result disagrees with your prediction, inspect connections, units, source settings, probe polarity, and analysis type. Change one setting at a time so that you can identify what caused the difference. Record the model and settings alongside the result so someone else can reproduce it.
Results that change little as you reduce the time step provide evidence of numerical stability for the quantities checked. Physical agreement requires appropriate models and, when available, comparison with measurements under matching conditions.
What to remember
- Define connections, units, models, and voltage references.
- Match the analysis to steady behaviour, parameter changes, or timing.
- Predict a result independently before trusting the display.
- Check numerical sensitivity and model assumptions separately.
Example: Checking a Loaded Divider in Simulation
You are checking a divider intended to provide an input voltage to another circuit. Model the supply as an ideal 8.00 V DC source. Connect a 2.00 kΩ upper resistor from its positive terminal to node A and a 3.00 kΩ lower resistor from A to its negative terminal. Treat all resistors as ideal, and assume voltage probes draw no current.
A switch can connect a 6.00 kΩ load between A and the source’s negative terminal. Use the source’s negative terminal as the 0 V reference. Define source-delivered current as positive when it leaves the source’s positive terminal.
a) With the load disconnected, state the appropriate analysis and output-probe connections. Predict the output voltage and source-delivered current.
Use a DC operating point analysis because the requested quantities are steady values for a fixed DC supply. Set the negative source terminal as the reference. Connect the output probe’s positive terminal to A and its negative terminal to the reference.
With the load disconnected, both resistors carry the same current. Their total resistance is
The source-delivered current is
The output is the voltage across the lower resistor:
The predicted readouts are therefore +4.80 V and 1.60 mA of source-delivered current. These provide independent checks before you inspect the simulation results.
b) Connect the load and rerun the same analysis. Predict the new output voltage and source-delivered current. Calculate the percentage decrease in output relative to the unloaded value.
Closing the switch places the 6.00 kΩ load in ________ with the lower 3.00 kΩ resistor. Their equivalent resistance is
This equivalent resistance is in ________ with the upper resistor:
The source-delivered current becomes
The output is the voltage across the parallel combination:
Use the unloaded output as the percentage comparison basis:
The loaded prediction is 4.00 V with 2.00 mA of source-delivered current. The output decreases by 16.7% because connecting the load reduces the effective resistance below node A. Keeping the unloaded divider formula with an unchanged lower resistance would miss this loading effect.
c) Keep the load connected, but reverse only the output probe’s terminals. What should the voltage display show, and does this change the circuit’s source current?
The circuit connections and component values remain unchanged. A voltage probe that draws no current does not alter the divider when its terminals are reversed. Node A therefore remains at 4.00 V relative to the reference, and the source-delivered current remains 2.00 mA.
The probe displays positive-terminal potential minus negative-terminal potential. Its positive terminal is now at the reference and its negative terminal is at A:
The expected voltage display is −4.00 V. This sign change describes the measurement direction; it does not indicate that the source or current direction changed.
A parameter sweep repeats a simulation for a specified sequence of component values or source settings. You have already built the ideal circuit shown, but have not configured or run a sweep.
You want to vary VS from 0 V to 5 V in 1 V increments, export the results, and make a current-versus-source-voltage graph in Excel using that exported file. Keep all other circuit settings unchanged.
Arrange the following actions into the required workflow.
1.
Run the configured sweep and save its source-voltage and resistor-current results.
2.
Export the saved results as a table with column names and units.
3.
Configure the VS sweep from 0 V to 5 V in 1 V increments.
4.
Import the exported table into Excel and plot resistor current against source voltage.
A DC simulation contains an ideal 6.00 V source, a 1.50 kΩ resistor from its positive terminal to node A, and a 2.50 kΩ resistor from A to the source’s negative terminal. The negative terminal is the 0 V reference. The output probe draws no current.
What output voltage should you predict for VA−Vreference? Answer in volts, to three decimal places.