Author Topic: Library naming pholosophy  (Read 164 times)

0 Members and 1 Guest are viewing this topic.

Offline Rachie5272

  • Regular Contributor
  • *
  • Posts: 162
Library naming pholosophy
« on: October 14, 2021, 03:20:27 pm »
I'm trying to make sure my libraries are in perfect order, but I've already run into a problem with the parts shortages.  I've been using the manufacturer's part number as my component IDs.  This seems to makes sense for specialized components without substitutes, but it's been a huge mess with jellybeans.  I've been able to get functionally equivalent parts, but they have different part numbers.  How am I supposed to update all of my libraries, when it breaks component references?

Altium tech support mentioned I was supposed to use a generic name for the component ID, and use "parameters" for different manufacturers, but never really explained this.

What is the ideal naming philosophy for these parts?  Should I make up my own scheme, like "R-10k-0402-1%"?  Getting this right is especially important to me, because I need to set up the pick and place machine the same way.

Offline thm_w

  • Super Contributor
  • ***
  • Posts: 2903
  • Country: ca
Re: Library naming pholosophy
« Reply #1 on: October 14, 2021, 08:39:39 pm »
Try to look at the default libraries for ideas.

You'll have "RES, 10k, 1%, 0402" for example, then under parameters: manufacturer #1, manufacturer #1 part number, manufacturer #2 pn, etc.

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 17894
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Library naming pholosophy
« Reply #2 on: October 14, 2021, 09:52:56 pm »
There's kind of three schools of doing libraries.

And also where you put them, how to organize etc. As in, toss everyone in one omni-lib, or split them up by brand, or by type/category, or by project, etc...

Anyway, you can use the generic approach, that's one way.  Avoid pushing updates from lib.  Make component selection in SCH.  This seems intended, as you can easily apply supplier links here.  It does take a bit of time to update every component, but you can speed things up a bit using Parameter Manager, copying from spreadsheets, etc.

Another way is what you've chosen, making highly specific libraries.  This sucks to replace components, not just to change ratings but even just part number, as you've found.  It does make things more consistent, putting responsibility all in one place, the library.

The third, more "enterprise grade" solution, is adding a level of indirection.  Create a database of internal part numbers, and assign approved MFG/PN as an ongoing process.  Which can be done by procurement without involvement of engineering, necessarily.  Libraries will be single-type as above, but what ends up on the board could be anything -- but you're also sure (to the extent your substitute list is correct) to get things that work.

Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!

Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo