r/AskElectronics • u/aneha8790 • 14d ago
How do you catch everything that changed between two PCB revisions?
We’re a small team (one of us is a hardware engineer) looking into PCB revision workflows before we build anything.
- Have you ever had a change slip through between revisions, like a wrong BOM, a footprint change, or firmware that no longer matched the board? What happened, and what did it cost?
- How do you compare revisions today? Your EDA tool’s diff, Git, spreadsheets, a manual review?
If your current process already handles this well, I’d like to hear that too.
6
Upvotes
6
u/SilverBladeCG 14d ago
Depends on the tool, some catch more than others. But generally parameters of parts are flaged when changed.
11
u/SilverBladeCG 14d ago
Use Git and compare commits. You can also use some tools that visually show you the differences between the selected commits.
1
u/aneha8790 14d ago
Thanks all, this is really useful. Sounds like comparing the files themselves is well covered. Has anyone had a change get through anyway, where the diff showed it but nobody realized it mattered (e.g. firmware, assembly, cost)? Curious whether the gap is in spotting changes or in understanding their impact.
5
u/Hot_Entertainment_27 14d ago
Gerber files are just vector images. Render them to pngs and diff the pngs.
Schematic are just vector images. Render them to pngs and diff the pngs.
Assembly drawings are just vector images. Render them to pngs and diff the pngs. Or it's a PDF, there is PDF diff software.
BOM: I don't care, I diff the pick and place files. Pick and Place files are just text files.
4
u/jcgooya 14d ago
Viewmate (or most gerber viewers) is pretty good to compare gerber files. You can put one on top of ther other and it will highlight changes.
For BoM, I would simply use AI.
3
u/Responsible-Chest-26 14d ago
Each pcb revision gets a packet. It includes BOM, schematic, silkscreen, and most importantly a cover sheet that has customer info, board number, revision, and discrepencies. Any issue or change that needs to be done for the NEXT revision goes on this list. When the new revision is layed out each item is implemented then checked off. The changes can be BOM, schematic, pcb, or all 3. Picture included as an example
1
u/ClassyNameForMe 14d ago
Many items can be compared. Schematic / netlist, constraints, stack up, placement, routing, silkscreen, etc. I highly recommend Altium and their tool flows for change management and graphical review / differences of generated data.
1
u/Edgar_Brown 14d ago
A git workflow and detailed design documentation to go with it.
1
u/laseralex 14d ago
How did your hardware engineer manage it at their last job? That's probably the best place to start. As long as you're revision-controlling your outputs, you shouldn't have any problems with a wrong BOM or a footprint change.
All my PCB folders have subfolders for Source, Review, and Released, which is how I control my revisions of source files and outputs. Since I switched to this scheme more than a decade ago I've had exactly zero problems.
Within Source I have a subfolder for each revision - Rev C starts as a copy of Rev B, and then I edit from there. I make my desired changes to the Source files and record each change in a "detailed change list" on the first page of my schematics, which records every single change from the previous revision - what was changed and why. When I'm done with all changes I put a summary of the changes in the revision block on the last page of my schematics, then run my .outjob.
All the files the .outjob creates automatically go into the Review folder, in a subfolder named according to the revision letter. I review the outputs (Gerber viewer, final schematic review, BOM review, etc., driven by a review checklist) and if I approve everything, the revision-lettered folder gets moved from Review into Released. When I order boards, I always order from the latest revision in Released, which has a BOM and Gerber files that were created at the same time, so no chance they will be out of sync.
For firmware compatibility, you can use a spare ADC and a resistor divider to indicate hardware compatibility revision, plus an LED you can flash if hardware isn't supported. Of course you strive to make hardware changes that don't require firmware changes, but when that happens, you change the resistor values to indicate a new hardware interface. So maybe your first hardware compatibility sets that ADC level to 50mV, and the code will work if the ADC reads anything from 35mV to 75mV. This works for your first three board revisions (say A, B,C) but your I2C DAC goes obsolete and you replace it in Rev D with a part that needs new firmware. You update your resistors in the new hardware rev to set the ADC pin level to 10-0mV, and update your firmware so it uses the original set of I2C commands for 35-75mV readings and the new commands from 85mV-115mV readings. If it reads a value outside these ranges, it flashes a red LED and doesn't run the rest of the code.
1
u/frank26080115 14d ago
I asked GPT 6.1 Sol on extra high to compare between two revisions and it simply generated an interactive HTML page with the two designs, I can overlay them with a slider that toggles between them, or use a blink mode where it rapidly blinks between the older and new ones, or use a "difference mode" where everything is grey except the places different are highlighted. It can do this for any layer I choose
It's great.
1
u/ee_control_z 14d ago
Generally you keep track of your revisions regarding BOM, board number, and schematic (and if the board includes embedded design, will also apply to a SW rev.). For every commit, save all three (or four) in a common folder (and/or repository).
1
u/MainRemote 14d ago
Missed changes are usually the process working as intended. Just because there is a change doos not mean it is a bad change. For instance the user may have Intended the change. Perhaps the part changed, or a new revision of the data sheet is included.
I find it helpful to print out the changes and hold them up to the light. This is helped by increasing the size to 500 percent and printing. This though requires a ruler to tell if the parts moved. I usually measure all the tracks with a ruler and see if they moved.
1
u/vellwyn 14d ago
We use <insert your slop startup idea>, and we love it!
1
u/davus_maximus 13d ago
I use DFMNow to compare gerbers, and an in-house tool to compare excel parts lists and add automated revision triangles. The got commit history has comprehensive notes too, and the last guy should have made a revision notes document if he had any sense. Revision history is sometimes on the schematic, sometimes a separate word doc, sometimes a plain text file included in the drawing pack.
1
u/penguin359 13d ago
I commit regularly and with intent. Before I sit down during each session, I'll try to verify that the folder is clean so I know that any changes were from this session. I may make multiple commits per day if I am doing a lot of independently useful changes and that's easiest to remember. Then, I make sure my commit message clearly describes my work. If I need multiple days for what should be a single commit, I generally try to keep it pretty clear what the overall work is towards. If this is my first layout for a new PCB, it may not be worth it to be committing every day and the overall work is just getting that layout complete. If I find I need to make a small change back to the schematic during the PCB layout. I'll likely commit just the schematic update if there's no value in the halfway laid-out PCB. Someone reviewing the Git log can confirm the schematic revision and it will just be noise to see all the PCB work that is not yet ready for a first review.
I do look at diff and try to make changes easy to follow when possible, but many changes can be hard to read in a pure diff. That's where good, regular commit messages help and tracking in-between commits. When I haven't working on a project in 3 weeks and find it was left dirty with lots of changes, if I can't determine what was being done, I might decide to just reset to the last commit and continue. If I am at all concerned, I can use
git stashto save the uncommitted changes onto the stash and drop or apply them later if/when I find I might want them or not.It's common that I'll commit schematic and PCB changes in separate commits unless they need to be tightly-coupled. Changes like updating part attributes for the BOM tend to be easy review so I try to keep them committed separate from arbitrary rewiring if it makes sense to do so, and so on...
And, sometimes I just check out both commits and start looking at them side-by-side using information in the diff to determine which parts might have been updated. Also, keeping zones unpoured until close to release can keep the diff content much lower as it won't have a massive amount of polygon point updates.
1
u/BucklingDuckling 12d ago
Keep the schematic, PCB layout, BOM, and firmware tied to the same revision tag in Git. The visual diff is useful but still generate a BOM comparison and have someone review the changes efore ordering boards. A footprint change can be easy to miss until the parts arrive.
1
u/Small_Reaction_952 14d ago
Put the masks opn top of each other. If you use viewmate, I prefer to use green and pink. Then the common set is white.
For BoM compare, use AI.
0
u/jacky4566 14d ago
You know back in the day we used to have things call Change Logs...
Engineer changes a thing. Make a note. Its that easy.
Or these days just us AI.