Before exporting your schematic to create a PCB, you must verify the design and fix errors in the schematic 1. It is significantly more difficult to fix errors later (either during the PCB layout stage or after manufacturing) than to spend time double-checking the schematic first.
Schematic Design
-
Power
- Correct voltages are included and used wherever appropriate.
- The Common / Earth ground symbol is used wherever 1. See An Introduction to Ground: Earth Ground, Common Ground, Analog Ground, and Digital Ground
-
Symbols
-
All pins have a connection or disconnected pins use a “no-connect” symbol.
-
Pins are correctly numbered and labeled according to the datasheet
-
The pins for all custom symbols use the correct pin type, not just “passive”.\
KiCad: see Common Pin Types and their Meanings
-
Schematic
- Wires are correctly applied.
- There are no dangling wires.
- The schematic is neat and does not use wires excessively
- Labels and ports are used appropriately.
- Netlabels should be used within a schematic when wires start to look like “spaghetti”.
- Global labels (or ports) should be used between schematics or when indicating interfaces to “sub” schematics
- Proper power and ground symbols are used rather than net labels/names
-
Labeling
- ICs all have a correct manufacturer’s part number (e.g., LM7805) or component value (e.g., 0.1 uF, 100k) added to the “value” 1. If a part * number is not available, descriptive text is used (e.g., for an LED, indicate color)
- Passive elements (capacitors, inductors, resistors) all have a value assigned to them.
- All components have a reference designator (e.g., R1, C2, U5)
- All fuses have current ratings.
-
Required Components
- All ICs have bypass capacitors in parallel, not series with each power pin.
- The circuit has a power input connector (even if the power supply is not your responsibility)
- Inductive actuators (e.g., motors, solenoids) have a back EMF flyback diode for each coil
-
Function and Performance
- Check symbol pinouts against the data sheet, paying special attention to the part package (e.g., chips often come in multiple physical packages with different pin numbers)
- Check connector pinouts and orientation (top or bottom of board, inversion of pins)
- Check the datasheet for each part to ensure all support circuitry (e.g., external resistors for configuration) is present
- If an external oscillator or crystal is used, check that all support circuitry is present (e.g., low-ESR X7R capacitors)
- Check that crossing wires that should be connected have a dot at the intersection, and those that should not be connected do not have a dot
- For ICs, check that all power and ground pins are connected
- Run the schematic design rules check and resolve all errors
-
Reliability
- When using an analog-to-digital converter, it’s a good idea to filter the signal in hardware first with a bandpass filter. This helps eliminate spurious noise that can corrupt your readings
- De-bounce all mechanical switches in the hardware
- Check that all resistors have a wattage listed and that wattage has at least a 50% margin
- Check that all capacitors have a working voltage listed and that the working voltage has at least a 25% margin
- Add a fuse to each power rail to help protect the circuit against accidental damage (e.g., shorting power and ground). Buy extra fuses.
- Power supply has a 25% current safety margin over the maximum calculated operating current
-
Design for Testing
- Critical signals are connected to headers and/or test points to facilitate easy testing and debugging
- Test points are attached to key signals or unused pins that may be useful in the future (e.g., extra microcontroller I/O pins)
- Zero-ohm resistors are used in series on critical nets (e.g., power nets) to allow easy troubleshooting of circuit subsystems
-
Common Design
- Group components into labeled modules matching the labels on the block diagram
- There is a way to connect power to each board (e.g., a connector)
- Connectors are used for off-board 1. Always include at least one ground wire/signal return path in connections between boards
- Check that the in-system programming header exists and includes any required support circuitry (e.g., pull-up resistors). This information can be found in the microcontroller datasheet.
- Check that all components have a real part number (meaning you could copy and paste the part number into a distributor’s search engine and return one part). Resistors, capacitors, and inductors can be labeled with their values (e.g., 0.1uF) instead of the full part number.
- Add a surface-mount LED and current-limiting resistor to each power rail to provide a visual indication that the power supplies are on
-
Miscellaneous
- All BJTs have resistors on the base and are wired correctly
- All voltage regulators have a ground pin connected to the ground, along with both input and output bypass capacitors as specified in the voltage regulator datasheet.
- Components are not shorted out (e.g., a wire between both pins of a capacitor)
- Fuses are not in series with motors
- You have read the datasheet for your microcontroller and understand the specifics of its power requirements
- For ICs
- Bypass/decoupling capacitors are present for each 1. (0.1 uF ceramic for every power pin AND 1 uF, 10 uF, or 100 uF tantalum for every 10 to 20 ICs) (see Bypass Capacitor Basics page)
- Pull-up or pull-down resistors are used, rather than hardwiring signal pins to power planes
- Pull-up or pull-down resistors are used on all unused IC 1. One exception is microcontrollers, which should have unused I/O pins tied to test points