🛡️ Secure your IP with 100% Air-Gapped Labs & Signed NDAs
WhatsApp: +86 18928482768 | sales@pcbdesignlab.com

Summary

An assembly drawing, a placement file and a bill of materials describe the same board from three directions, and they disagree more often than anyone expects.

Assembly works from three documents at once. The drawing shows what goes where, the placement file carries the coordinates, and the bill of materials says which parts they are.

They describe the same board from different directions, and the failures that reach the line are the ones where the three disagree about a detail nobody wrote down.

Green Medical Econet PalmCare controller board with an LM2678 regulator, buttons, and a buzzer.

Generated from one layout, the documents between them is a process failure rather than a design one.

What the assembly drawing carries

An assembly drawing shows each component on the board, at its reference designator, with the orientation it has to be fitted in. It is the document a person reads when the machine does not do the job.

It also carries what the machine cannot express. Which parts are fitted by hand, which are not fitted at all on a particular variant, and which side of the board they belong to are all drawing information rather than placement data.

The drawing is the document of record for inspection. A joint that is questioned later is checked against the drawing, so a drawing that is out of step with the layout produces an inspection that measures the wrong thing.

IPC documentation practice covers what the drawing has to state, and the section that matters most in practice is which revision of the layout it describes.

The centroid file and its errors

A placement file is generated from the layout, and each entry is the position of a component origin with a rotation. Generating it removes typing errors and leaves the systematic ones.

The first systematic error is the origin. A component origin defined at the centre of a body and one defined at pin one put the same part in different places, and the file carries whichever the library used.

The second is the unit and the decimal. A file in mils read as millimetres is wrong by a factor of twenty-five, which is obvious immediately, and a rounding error of a fraction of a millimetre on a fine-pitch part is not.

The third is a duplicate reference. A part that appears twice in the file is placed twice, and the second placement is at the coordinate of whatever else carried that designator.

The file is worth reading rather than only generating. A check of the part count against the bill of materials, and of the extremes of the x and y ranges against the board outline, catches a whole class of error before a program is written.

Rotations and mirrored parts

Rotation is the field that causes the most trouble, because zero degrees does not mean the same thing for every package. A rotation convention has to be stated or applied consistently by whoever writes the program.

The failure is quiet. The part fits, it is electrically connected, and it is rotated by ninety degrees from the orientation the drawing shows. Where the part is symmetric the board works, and where it is not the board fails either immediately or later.

The table below sets the fields that go wrong against what each one depends on.

Field What it depends on Symptom when wrong
Rotation The package convention A part fitted at ninety degrees
Side Whether the view was mirrored A part placed on the wrong face
Origin The library definition A consistent offset for one package

Green Panasonic disc drive controller board with an FQL02010B4 IC and FFC connectors.

Polarity and orientation marks

Polarity is a property of the part and orientation is a property of the package, and the two are carried by different features. A diode has a cathode band, an integrated circuit has a pin one marker, and a connector has a numbering that starts somewhere.

Each of those has to be unambiguous in the drawing and present in the file. Where the mark is on the body and not on the pads, the placement machine cannot use it and a person has to.

Polarised parts with a symmetric body are the ones that fail quietly. A part whose two ends look alike has to be oriented from a mark that is small, and a drawing that shows the mark without contrast is a drawing that will be misread on a bench.

The marks also have to agree between the drawing and the physical part. A designator printed beside a part whose vendor marks the opposite end is a drawing that will be read the wrong way, and the fault is in the drawing rather than in the part.

Green Panasonic disc motor controller board with a BA6987FS driver and spindle hub.

Revisions and the drawing

A board revision that changes a position, a part or a side has to reach every document that describes it. The layout and the placement file are generated together; the drawing and the bill of materials are often maintained by hand.

The failure that follows is a drawing at one revision and a placement file at another. The machine does the newer thing and the inspector checks the older one, which turns a correct assembly into a rejection or an incorrect one into an acceptance.

The practical control is a single source and a generated output. Where the drawing is produced from the same database as the placement file, a revision moves both, and the disagreement it can no longer produce is the one that used to reach the line.

The bill of materials belongs in the same discipline. Where it is maintained by hand, it is the document most likely to be a revision behind, and it is also the one that decides what is bought.

Assembly data for a rebuilt board

A rebuilt board has no original assembly data to inherit. The layout is recovered, so the placement file, the drawing and the bill of materials are all produced for the copy.

The recovered board design states the parts the copy uses, and where a substitute changes the package the coordinates and the rotation change with it. A part that is a millimetre longer moves its own centroid and can move its neighbour’s clearance.

Producing the data happens after the substitutions are settled rather than before. A placement file generated from an early version of the recovered layout is a file that describes a board the copy is no longer.

Where assembly data misleads

A drawing that is correct and undated describes a board that may no longer exist. Revision control is what makes it usable, and a drawing without one is read as current by default.

A placement file that is internally consistent and uses an unstated rotation convention is correct for whoever wrote the program and wrong for everybody else. The convention is part of the file.

The third case is a bill of materials that names a part and not a package. Two parts with the same value and different footprints in the same position is a substitution that was approved on paper and not on the board.

A fourth is assembly data produced before the design freeze. It is generated correctly, it is reviewed correctly, and it describes the previous revision of a board that was still being changed.

Anyone ordering a copy should ask where its placement data comes from. The reverse engineering and assembly data service generates the drawing, the placement file and the bill of materials together, so the three can be checked against each other.

Three Documents, One Board

Send the layout or photographs of the board to our engineering team. We check the drawing, the placement data and the bill of materials against each other, and report what disagrees, on the 7-business-day standard for common boards.

Get a Free Quote →

ISO-Certified Lab · 7-Business-Day Standard on Common Boards · NDA Protected

Frequently Asked Questions

What is a centroid file?

The file gives the placement machine an x and y coordinate and a rotation for every part, taken from the component origin rather than typed by hand. Because it is generated from the layout, it removes most transcription errors, but not all of them. The remaining mistakes come from the origin convention and the rotation reference, so the file has to be checked against the drawing before it is released to the line.

Why do rotations go wrong?

Zero degrees can mean either orientation of a package, and the machine applies whatever convention its program expects. Where the file does not state the convention, the part is placed at ninety degrees to where it belongs, and a rotated two-terminal part is electrically invisible until the board is powered. Stating the rotation reference in the file, and checking it against the package outline, is what keeps every part the right way round.

What does a mirrored part do?

A part placed on the reverse of where the layout intended is mechanically wrong and usually electrically wrong, because its terminals no longer line up with the pads. Mirroring comes from a coordinate system that was flipped, often when a bottom-side view was exported as a top-side one. Checking a bottom-side part against a photograph or a rendered view catches the flip before it reaches the pick-and-place machine.

What should be checked before release?

Positions against the drawing, rotations against the package convention, and part numbers against the bill of materials. Each check is cheap to run while the design is still a file, and the disagreement any one of them finds is far more expensive once panels are printed and parts are loaded. Running all three before release is what turns the centroid file from a risk into a repeatable instruction.

References

  1. IPC — Association Connecting Electronics Industries, assembly documentation practice. https://www.ipc.org/
  2. ISO — International Organization for Standardization, documentation and revision control. https://www.iso.org/
  3. IEEE — Institute of Electrical and Electronics Engineers, electronics manufacturing literature. https://www.ieee.org/
  4. JEDEC — Standards for component and assembly test, standards and reference material. https://www.jedec.org/
  5. NIST — National Institute of Standards and Technology, standards and reference material. https://www.nist.gov/
  6. IEC — International Electrotechnical Commission, standards and reference material. https://www.iec.ch/

Conclusion

Assembly works from a drawing, a placement file and a bill of materials that describe the same board from different directions, and the failures that reach the line are the ones where they disagree about something nobody wrote down. The placement file is generated and free of typing errors, which leaves the systematic ones: the component origin, the rotation convention, the units and any duplicated designator. Rotation and mirrored placement are the two that produce a board that works until a particular part is orientation sensitive. Revisions have to reach every document at once, which is why a drawing generated from the same database as the placement file is worth more than a carefully maintained one. A rebuilt board has no original data to inherit, so its assembly data is produced after the substitutions are settled.

  • State the rotation convention with the placement file.
  • Generate the drawing and the placement file together.
  • Check the bill of materials for package, not just value.
  • Produce assembly data after the design is frozen.

If a copy is about to be assembled from data that was generated before the substitutions were settled, send the layout or photographs to the engineering team for a free assessment. You will receive a quote covering the recovery, the assembly data, and the checks behind it.

Get Your Free Assembly Data Review Quote →

Get Weekly PCB Engineering Insights!

Practical insights on PCB design, PCB reverse engineering, IC unlocking and hardware development from PCBDesign Lab.

One email each week. Unsubscribe anytime. Read our privacy policy for more info.

Get Started

PCBDesign Lab Has Helped 100+ Customers Build Their Products

Free Consulting