What a circuit board does
A circuit board is made of copper layers with insulating material between them. Traces etched into the copper connect the parts. Small plated holes, called vias, connect the layers to each other. The parts are soldered onto pads on the top or bottom side.
Board design is one of the steps in electronics development. It follows the schematic and comes before the prototype.
From schematic to layout
- Schematic. All parts and their connections, checked with an electrical rule check (ERC).
- Footprints. Each part gets the solder pattern that matches its package. A wrong footprint is one of the most common reasons for an extra board spin.
- Outline and stack-up. The board outline, mounting holes, connector positions and number of layers.
- Placement. Parts that belong together are placed together. Decoupling capacitors close to the chip, the antenna at the edge, the power supply away from sensitive measurements.
- Routing. The connections become copper traces. Power traces wide enough for the current, fast signals short and above a continuous ground plane.
- Checks. Design rule checks (DRC) test the layout against the manufacturer's rules, and an engineer reviews the layout.
- Manufacturing files. The files a manufacturer uses to make and assemble the board.
How many layers
The layer count is the choice with the most influence on the price per board and on how the circuit behaves.
| Layers | Suited to | Keep in mind |
|---|---|---|
| 2 | Simple circuits, low speeds, few parts | Cheapest. No full ground plane, so more sensitive to interference. |
| 4 | A microcontroller with sensors and a wireless link | Dedicated layers for ground and power. The usual choice for most embedded products. |
| 6 or more | Fast interfaces, processors with many closely spaced connections | More expensive, with a longer lead time. Only when the design asks for it. |
Designing for the manufacturer
Every manufacturer publishes what it can make: the smallest trace width, the smallest spacing between traces, the smallest drill diameter. A design that stays within those limits is cheaper and has less scrap. This is design for manufacturing (DFM).
Assembly has its own rules (DFA): enough room between parts, all parts on one side where possible, fiducial marks the placement machine uses to locate the board, and test points a probe can reach.
Part selection belongs here too. A part with a single supplier or poor availability can stop your production for months. Choose parts you can buy today, and record the manufacturer part number in the bill of materials.
The manufacturing files
- Gerber
- One file per layer: copper, solder mask, silkscreen and outline.
- Drill file
- The position and diameter of every hole.
- Bill of materials
- Every part with quantity, value and manufacturer part number.
- Pick-and-place
- The position and rotation of every part, for the placement machine.
- Assembly drawing
- A drawing showing which part goes where.
Besides these files, always ask for the source files of the schematic and layout. Without them you can have the board copied, but not changed.
Mistakes that cost an extra board spin
- A footprint that does not match the part, or is mirrored.
- A connector with swapped pins.
- A microcontroller pin that does not support the chosen function.
- No way to flash or debug the firmware once the board is in its enclosure.
- An antenna with copper or metal too close to it.
- No test points on the signals you want to measure when something fails.
- A power supply that cannot deliver the peak current of the wireless module.
Most of these can be found before the board is ordered. That takes a second pair of eyes on the schematic and layout, and firmware that runs on the real microcontroller early, so the pin choices are tested before the board exists.
How HERSMEED does it
HERSMEED designs the schematic and the board from the specification you approved, with parts you can buy today. Electrical checks and design rule checks test the design against your manufacturer's rules, and an engineer reviews every schematic and layout. You receive the schematic, the layout with source files, the manufacturing files, the bill of materials and the assembly drawing. How it works shows each step.
Frequently asked questions
What is the difference between a PCB and a PCBA?
A PCB is the bare board: layers of copper and insulating material with holes and solder pads. A PCBA is the same board with all parts soldered on. The bare-board manufacturer and the assembler can be two different companies.
How many layers does my board need?
Two layers are enough for simple circuits. A design with a microcontroller and a wireless link often gets four layers, because a continuous ground plane limits interference and makes routing easier. Six layers or more are needed for fast signals or parts with many closely spaced connections.
What does a PCB design cost?
By the hour it depends on the hours needed: a freelance engineer in the Netherlands charges €90 an hour on average, a specialist consultancy up to €125. At HERSMEED the design of the prototype board is part of the fixed €15,000 for the prototype, together with the firmware.
Which files does a manufacturer need?
For the bare board, the Gerber files and the drill file. For assembly also the bill of materials with manufacturer part numbers, the pick-and-place file and an assembly drawing.
Who orders the boards?
You choose the manufacturer. HERSMEED delivers everything needed to order, and orders the boards for you on request. Manufacturing and delivery are outside our time estimate.