Circuit Simulation
Back to Electronics hub GlossaryThis is the Circuit simulation area of the course — how to use simulation software to design a circuit, test it on screen and find faults before you build it for real. The electrical theory, including logic gates and IC pin-outs, is in the six theory topics on the Electronics hub.
What is simulation software?
- Simulation software (such as Yenka and the on-site simulators) models a circuit on screen: you place components, wire them together and the software calculates how it behaves.
- You can read voltages and currents with virtual meters, view waveforms on a virtual oscilloscope, and switch inputs — all without any real parts.
Why simulate before you build?
- Cheaper & safer — no components are wasted and nothing is damaged while you experiment.
- Faster — change a value or a connection in seconds and see the effect immediately.
- Test the design — confirm it behaves as intended and measure voltages, currents and waveforms safely on screen.
- Find faults early — a printout or layout from the simulator shows up mistakes before any soldering.
I simulated the circuit first because _______.
It also means _______.
See example reasons
Give two reasons an engineer simulates a circuit before constructing it.
Answer
When to simulate
- At the design stage, and always before construction.
- Whenever you change a component value and want to see the effect (e.g. a different resistor or capacitor).
- To investigate how a circuit behaves — resistor networks, logic, and timing such as a 555 astable.
You have a working design but want to make an LED flash faster. State how simulation helps before you rebuild the circuit.
Answer
How to use it
A simple loop you can follow with any simulator:
- Build the design — place the components and wire them up.
- Run it — power the circuit and switch the inputs.
- Take measurements — virtual voltmeter, ammeter and oscilloscope.
- Compare with the expected result from your calculations.
- Refine — change values or connections and run again until it works.
After building a circuit in the simulator, you measure 0 V where you expected 9 V. State the next two things you would do.
Answer
Designing a system: input → process → output
Before simulating, sketch the design as three stages and choose a sub-system for each block. Identifying the stages also makes fault-finding easier.
A system is built from three stages: an senses the surroundings, a decides what to do, and an does the job. Simulating first lets you find faults you build the real circuit.
A circuit sounds a buzzer when it gets too hot. Identify a suitable input, process and output sub-system.
Answer
Fault-finding from a simulation printout
Compare the voltages shown at the marked test points with what you expect, and check each part against the design. Common faults are:
- Wrong supply voltage set on the source.
- Wrong resistor value (or wrong colour code / BS1852 entered).
- Wrong orientation of a polarised part — diode, LED, electrolytic capacitor or transistor put in the wrong way round.
- Wrong IC pin connection — e.g. a 555 (or logic-gate) pin wired to the wrong place. Check it against the pin-out reference.
A simulated lamp circuit does not work. Checking the test points against the design, the printout should show a 6 V supply, a 470 Ω resistor and a forward-biased LED, but instead shows: a 9 V supply, a 47 Ω resistor, and the LED arrow pointing at the + rail. Identify the three errors and the fix for each.
Answer
Costing a build from component codes
Once a design works in the simulator you cost it from a parts list — each component's order code, pack quantity and pack price — to work out the total build cost. Real builds are rarely one-offs: here we cost the parts to make a class batch of 100 prototypes, which is why components are bought in packs.
Get prices and order codes from a supplier's online catalogue. The three used in Scottish schools are:
Resistors: always order 0.25 W carbon-film resistors — they suit every National 5 circuit and are sold in bags of 100 for about £1.10, so buying 100 prototypes' worth costs barely more than buying one.
| Component | Supplier | Order code | Description | Pack qty | Pack price |
|---|---|---|---|---|---|
| Resistor 1 kΩ 0.25 W carbon film | Rapid | 62-0356 | 0.25 W ±5% CF, 250 V | 100 | £1.10 |
| Resistor 10 kΩ 0.25 W carbon film | Rapid | 62-0394 | 0.25 W ±5% CF, 250 V | 100 | £1.10 |
| Red LED 5 mm | Kitronik | 3520 | 5 mm, 2.0 V fwd, 20 mA | 100 | £6.00 |
| Electrolytic cap 100 µF 25 V | RS | 711-1418 | radial, 25 V, ±20% | 100 | £8.50 |
| BC548 NPN transistor | Rapid | 81-0030 | 45 V, 100 mA, TO-92 | 100 | £6.00 |
| 555 timer IC (DIP-8) | Kitronik | 2452 | NE555, 4.5–15 V | 10 | £2.50 |
Example codes and prices only — always check the supplier's live catalogue before ordering.
Each prototype uses 3 resistors, 1 red LED and one 555 timer. Using the packs above, work out the cost of the resistor, LED and 555 packs needed to build 100 prototypes.
Answer
Simulation tools
Open the on-site simulators to design and test circuits.
The Operator — design the system
For each brief, choose an input, a process and an output sub-system that work together. Satisfy all three briefs to earn the 🎛️ The Operator badge.
Check your understanding
Answer the multiple-choice questions, then mark yourself with the RAG self-check.
RAG self-check
Tap Red / Amber / Green for how confident you feel.