Thesis Pte Ltd

  • 01 //

    About us
  • 02 //

    Services
  • 03 //

    Works
  • 04 //

    Blogs

One thesis

Copyright © 2022 Thesis Pte. Ltd. All Rights Reserved

OFFICE

34 Boon Leat Terrace #04-09A Singapore 119866

GET IN TOUCH

  • 01 //

    About us
  • 02 //

    Services
  • 03 //

    Works
  • 04 //

    Blogs

One thesis

Copyright © 2022 Thesis Pte. Ltd. All Rights Reserved

Blog

Gerbers to Footprint!

March 24, 2017
2 Mins read

Foreword

This post is excellent for those who are looking to extract reference designs (in Gerber files) from silicon manufacturers. In this example, I am trying to save myself from having to draw a PCB trace antenna from scratch! We will copy the reference antenna design from Dialog Semiconductors for its DA14580 BLE chips and use that as a footprint for my PCB.
Let me show you how to extract a component footprint from the Gerber files,

Tools

Gerber Files

In this example, I downloaded the reference PCB trace antenna design from Dialog and extracted the Gerber files which were in ART format. These are the "blueprints", if you will, to a PCB manufacturer in terms of how each layer of the PCB is supposed to look.

PCB Design Software

We will be using Altium Designer 13.1 PCB Design software for this tutorial.

Reverse Engineering the Gerber Files

Import Gerber and Drill Files

First, we have to import the Gerber files into Altium Designer. Create a new CAMtastic document by clicking File>New>CAM Document. Next, initiate the import process by clicking File>Import>Gerber.
 
Select the desired Gerber files (i.e. layers of interest) into the CAMtastic document.
 
TIP: Click on "Settings...".
 
TIP: Follow the above settings.
It is important that you follow the recommended settings during the import. This will guarantee that the dimensions are correct (in my first few attempts, they were several times larger). Now click "OK" to execute the import.
The imported Gerber files. Highlighted here is just the Top layer which I am interested in.
The import process is not complete yet without the Drill file(s). Initiate it by clicking File>Import>Drill. Follow the same import settings as with the Gerber files. TIP: If we don't import the Drill files, we won't be able to extract the netlist(s) later on to export to PCB.
 
Select the Drill file(s) to load into the CAMtastic document.
 
TIP: Select the appropriate import settings.

Providing Information about the Layers

To extract the netlists, we need to first associate and establish the layer sets (for eg. the drill layer and top and bottom layers). Click on Tables>Layers Sets. You need at least ONE layers set to move on. You should also set the Layers Order by clicking Tables>Layers Order, otherwise, you will encounter an error when trying to export to PCB.
 
Insert a layer set by associating the drill layer(s) with the signal/plane layer(s).

Extract the Netlists

We need to now extract the net(s) by clicking on Tools>Netlist>Extract. Now, the traces are identified with a net as they were during the PCB design process.
 
TIP: Ensure the netlist(s) are extracted from the Gerber files. You can export it to a PCB document.

Export to PCB Document

To generate the PCB document, click on File>Export>Export to PCB (previously grayed out if the preceding steps are not performed). You will now see all the Gerber files being converted into the PCB document.
 
TIP: Select the desired trace(s) that you want to copy as a footprint.

Copy as Footprint

After you have selected the trace(s) that you wish to copy, paste them in the Footprint PCB Library and create a new component for it.
 
Now you're ready to rock and roll with your new footprint reference design!

Summary

We have gone through a step-by-step analysis on how to import the reference design in Gerber files, extract the necessary layer and netlist information, convert them into the PCB document and thereafter be able to reuse it as a component footprint! Perhaps, if you had tried to draw this from scratch, you would have taken a full day to do just that. I hope that you found my example useful and hope it will come in handy for any advanced users out there. Thanks for reading!

References

  1. https://techdocs.altium.com/display/ADOH/CAM+Editor+Reverse+Engineering+PCBs
  2. https://techdocs.altium.com/display/ADOH/CAM+Editor+Panels+for+Fabrication+and+Assembly
  3. http://techdocs.altium.com/display/ADOH/CAM+Editor+Data+Verification
Read more
Heartrate monitoring in wearable design
May 23, 2019
4 Mins read

Introduction A very noticeable feature in modern wearables and smartwatches these days is the presence of an optical photoplethysmograph (PPG) heart-rate sensor. PPG is a non-invasive method of measuring the variation in blood volume in tissues using a light source and a detector. In this article, we will talk about some component-level heart-rate measurement (HRM) […]

Read more
Ingress Protection Codes and Ratings
March 7, 2018
3 Mins read

Ingress Protection Codes and Ratings Regardless of how smart your electronics are, they need protection against the elements and daily handling, which comes in the form of an enclosure that provides mechanical and/or water protection. Some recent notable devices are the water-resistant Samsung Galaxy S8, iPhone X and wearables such as the Apple Watch Series […]

Read more
Effects of EM radiation on the human body from nearby communication devices
July 18, 2017
4 Mins read

There is increasing public concern that adverse health effects may arise from exposure to radiofrequency (RF) sources, particularly due to the increasing use of mobile and wearable devices with growing radio-communication capabilities such as GSM, Wi-Fi, and Bluetooth. This is particularly true with wearables, which are usually worn on the body and sometimes in direct […]