File-based Component Libraries

Now reading version 24. For the latest, read: File-based Component Libraries for version 25

A better and far more advanced solution to managing design component data is where components are hosted in and sourced from a connected Workspace. A Workspace provides secure high-integrity storage for component data, with the added benefits of lifecycle management and up to date supply chain information.

► Read more about Workspace Library.

The components and how they are connected are what creates your unique, electronic product. The components are the basic building blocks of that product. So what exactly is a component and where are they stored?

In the real world, components are tangible objects and are, therefore, relatively easy to identify. But in the virtual world of design, components have to be abstracted into a range of models that can be used across the various design domains. During the design capture and implementation processes, a component is represented as a symbol on the schematic, as a footprint on the PCB, as a SPICE model for simulation, as a signal integrity description to analyze the quality of the signals, and as a three-dimensional model for 3D component and PCB visualization. One component, with a different representation for each design domain.

Each design domain requires a specialized model. For schematic capture, the model is referred to as a symbol. Because the design environment is built around the idea that the design starts with the schematic, the schematic symbol is used to tie the various models together.

Parameters then add the additional detail needed to identify the real-world physical component, such as the wattage, tolerance, purchasing details, datasheet references, etc.

The symbol model links to the other models to fully describe that component in each domain. The 3D model is actually placed within the footprint.
The symbol model links to the other models to fully describe that component in each domain. The 3D model is actually placed within the footprint.

Models and Model Libraries

Each type of model and component needs to be stored in a model file or library. Some of these use a standardized file format, like SPICE, while others use a proprietary format, like the schematic library file, which is used to store schematic symbols or components.

Some model kinds, like SPICE, are stored one-model-per-file, these are referred to as model files. Others, like PCB footprints, are stored in a file that accepts one or many footprints. These are referred to as model libraries.

Summary of the Model and Library Types

Supporting the broad range of the design tasks performed through the electronic development process requires numerous model kinds and library formats.

Below is a summary of each model and library kind.

Design Domain Model or Library Kind File Extension Notes
Schematic capture Symbol *.SchLib Altium schematic symbol; this can be just a symbol or other models linked and parameters added to define a complete component.
PCB design Footprint *.PcbLib Footprint or pattern that defines the components mounting and connection points on the PCB; can store both the fabricated elements (pads, silk, mask, etc.,) as well as an optional 3D representation of the fitted component.
3D PCB design 3D Body *.PcbLib Altium design object; place one or more 3D bodies on the footprint to build a 3D model of the component in the *.PcbLib file.
STEP *.STEP, *.STP Standard STEP format 3D model; can be imported into a PCB 3D Body object and placed on the footprint in the *.PcbLib file.
Parasolid 3D© *.X_T, *.X_B Parasolid format 3D model (ASCII or binary); can be imported into a PCB 3D Body object and placed on the footprint in the *.PcbLib file.
SOLIDWORKS 3D© *.SldPrt SOLIDWORKS format 3D model; can be imported into a PCB 3D Body object and placed on the footprint in the *.PcbLib file.
Circuit simulation SPICE3f5 / XSpice / PSpice model *.mdl SPICE 3f5 model file; describes a component's behavior using the SPICE syntax.
*.ckt SPICE sub-circuit file; a SPICE-format netlist detailing a circuit that models the behavior of the component.
SimCode model *.txt + *.mdl ASCII Digital SimCode model file/library and the intermediate model linkage (MDL) file required to map the digital model to the symbol; used for modeling digital components in a mixed-signal circuit simulation.
*.scb + *.mdl Compiled Digital SimCode model file/library and the intermediate model linkage (MDL) file required to map the digital model to the symbol; used for modeling digital components in a mixed-signal circuit simulation.
Signal Integrity analysis IBIS model *.ibis Input/output Buffer Information Specification file; a behavioral model that describes the electrical characteristics of an input or output pin.
Component creation Altium Integrated Library *.IntLib Compiled library; stores all model kinds within it. An IntLib is the compiled output from a LibPkg project.
Component creation Altium database linked library *.DbLink Database link interface file; uses parametric data stored in SchLib components to query an external ODBC data source for a suitable record (e.g., a part number, or the resistance, wattage and package). The data from fields mapped in the DbLink is retrieved and added to the component during placement.
Component creation Altium database library *.SVNDbLib DbLib with version control - interfaces to an SVN repository for version control of the schematic and PCB models.
From the electronic product designer's perspective, one of the most important aspects of component creation is linking from that component to the real-world component that it represents. A suggested approach for file-based library components is to link directly from the design component to the component's supplier via the Linking to Supplier Data feature. Refer to the Linking to Supply Chain Data for Database and File-based Component Libraries page to learn more.

The Component

A component can range from something simple, like a two-pin resistor, to a large connector with hundreds and hundreds of pins. To give flexibility over how the components can be organized on the schematic sheets, the software includes a number of useful, display-related features. 

Is it a Symbol or a Component?

Once you have linked in other domain models and added parameters, the symbol becomes a component. Many designers continue to refer to it as a symbol when they see it on the schematic because that's what they see but attached to that symbol are the other domain models and parametric details that define it as a component. This document uses the term symbol to describe the graphical objects and pins that are placed in the schematic library editor. In all other situations, it is referred to as the component.

The symbol is created in the schematic library editor. As soon as you add a link in models and add parameters, it becomes a component. The component detail can be added in the schematic library editor, or if you use a DbLink or DbLib type library, the detail can be extracted from a database and added to the symbol during placement on the schematic (more on these later). Alternatively, the detail can be added after the symbol has been placed on the schematic sheet.

The Symbol

The symbol is created in the schematic library editor. It is created by placing graphical objects to build the required shape then the pins are added. It is the pins that bring electrical intelligence to the component. They are what the software identifies as the electrical connection points and what is mapped to the pads on the PCB footprint.

Symbols can range from the small and simple to high pin-count components created over multiple parts.  Symbol example
Symbols can range from the small and simple to high pin-count components created over multiple parts.

Refer to the articles:

The File-based Libraries

Altium Designer supports a number of different types of file-based libraries described below.

Schematic and PCB Models and Model Libraries

Main pages: Schematic Libraries, PCB Libraries

In the early days of electronic design automation, there were two design domains: schematic capture and PCB layout. The outputs from schematic capture were a set of printed schematic sheets and the outputs from the PCB layout were the PCB fabrication and assembly files.

To support this, the designer needed to be able to create and store the schematic symbols, ready to be placed on the schematic sheet. Details such as the component's value, voltage, wattage, footprint, etc., were often added after the symbol was placed from the symbol library onto the schematic sheet.

As for the footprints, the focus of the editing capabilities was implementing the design as a set of layers that contain the shapes needed for the photo tools. This output-driven focus dictated what shapes were supported, down to the font used for the designator and other silkscreen strings.

These simple symbols and footprints were created and stored in libraries, with both types initially having the file extension *.Lib. Once Windows relaxed the three-character limit on file extensions, these were changed to *.SchLib for schematic symbols and *.PcbLib for footprints. 

Schematic and PCB libraries are storage containers for models. 
Schematic and PCB libraries are storage containers for models. 

The Integrated Library

Main page: Integrated Libraries

Over time, there was a growing desire to be able to separate the component creation process from the product design process. Instead of adding the component detail after the symbol had been placed on the schematic sheet, design teams wanted to fully define the component in the library. Other design domains, such as circuit simulation, were also being developed, and therefore, models for these domains also needed to be supported. As part of creating ready-to-use components, you also need to be able to verify the symbol-to-model mapping, then deliver these components in a single, ready-to-use library file.

To satisfy these requirements, the integrated library (*.IntLib) was developed. The integrated library carries all model kinds in a single file. The source for an integrated library is a library package (*.LibPkg), which is a design project that brings together the source symbols, footprints and simulation models. When the library package project is compiled, the symbol-to-model mapping is verified and the Integrated Library is created. Using an IntLib means that the library becomes something from which you place ready-to-use components, which delivers a good solution for medium to large organizations that want to separate component creation from product design.

Glossary

Component

A component is a physical device that is placed on the board, e.g., the integrated circuit or resistor. Within these components, there may be either a single part or a set of parts that are packaged together.

3D body

A 3D body is a polygonal-shaped object that can be added to a footprint on any enabled mechanical layer. It can be used to define the physical size and shape of a component in the horizontal and vertical planes, which enables more controlled component clearance checking and better 3D visualization. 3D body objects also act as placeholders for imported models in the component footprint or as non-PCB mounted, free-floating objects, such as housings and assemblies.

Designators

Designators are unique identifiers that are used to distinguish one component from another in a PCB. They can be alpha, numeric, or a combination of both. Pads also have unique designators that correspond to the component pin numbers.

Footprint

A footprint defines (or models) the space required by the component to mount it on the PCB. The footprint model of a component is stored in a PCB library. A footprint may contain pads for connecting to the pins of a device and a physical outline of the package created from track and/or arc segments on the silkscreen (overlay) layer. Device mounting features may also be included. Footprints in the PCB library have no designator or comment. They become components when placed on a PCB sheet where the designators and comments are allocated.

Library

A schematic library is a set of components and its parts are stored on individual sheets. A PCB library contains the component footprints. Each library type has its own editor. Integrated libraries combine schematic libraries with their related models and cannot be edited directly by the library editors.

Object

An object is any individual item that can be placed in the library editor design space.

Pads

Pads are normally used in a footprint to create connection pads for component pins.

Part

A part is a collection of graphical objects that represent one part of a multi-device component. Parts are stored in separate sheets within components in the schematic component libraries.

Pins

Component pins give a component its electrical properties and define connection points on the component.

If you find an issue, select the text/image and pressCtrl + Enterto send us your feedback.
Note

The features available depend on your Altium product access level. Compare features included in the various levels of Altium Designer Software Subscription and functionality delivered through applications provided by the Altium 365 platform.

If you don’t see a discussed feature in your software, contact Altium Sales to find out more.

Content