How to Create a Printed Circuit Board (PCB)(Section 4)
4. Physical Layout
A blueprint of a house tells the size of lumber to use, as well as the dimensions of the living room wall and the dimensions of the window cut into it. It gives all the physical information necessary to build the house. Physical layout software can be thought of as a “blueprint” for a PCB.
There are several programs available for doing physical layout. In this application note, we will use OrCADLayout v9.10.
The basic building blocks used in Layout are footprints. A footprint contains all the physical dimensions related to a particular part. For example, a 14-pin dip footprint defines WHERE each of the 14 drill holes are to be located, as well as associated information, such as text defining the part number of the component.
In Layout the footprints of the various parts are placed and then routed. Routing refers to defining where the copper interconnects in the circuit will be located. Interconnects are copper paths on the surface of the PCB that connect one pin to another. Interconnects are also known as “routes” or “traces”.
In a house blueprint one has a rough frame blueprint and an exterior view blueprint that contain different information about the same part of the house. In much the same way, Layout uses different layers to contain all of the information about the PCB. Some of the layers that will be used in doing two sided PCBs are TOP, BOT, and SST. The TOP layer contains information pertaining to the top of your PCB, such as traces (routes) that are drawn on the top. The BOT layer contains information pertaining to the bottom of your PCB, such as traces that are drawn on the bottom. The SST layer is the “Silk Screen Top” layer, and contains the text that will appear on the top of the PCB. There are many other layers as well, some of which will never be used in two sided PCBs. All of the layers may be accessed through View→Select Layer… , or by choosing the layer from the pull down menu on the top of the main screen. To change the color settings of a layer, or to make it invisible, choose Options→Colors… . and edit the layer of Interest.
In working with layout, a variety of tools will be used. Depending on the tool currently activated, the cursor will perform very different actions. All of these tools may be selected from the menu bar at the top of the screen. For example the large T symbol on the toolbar is the text tool. This allows text to be added and edited. The obstacle tool allows the drawing and editing of obstacles such as the board outline, and outlines for parts. The connection tool allows the editing of pin connections. ( Note: if the design is done correctly in Capture, the connection tool will not be used, as all of the connections will be defined from the Capture netlist.) The Shove Track Mode, Edit Segment Mode, and Add/Edit Route Mode tools are used when adding or editing routes.
A good way to begin learning Layout is through the Layout menu item Help→Learning Layout. This tutorial will do a decent job of explaining the basics of Layout. For further help, look in the troubleshooting section found in the appendix of this document and search for your question under Help→Help Topics on Layout’s menu bar. In the following section of this application note, we will assume the reader has a basic familiarity with Layout.
The first task when starting most physical layouts is to create all the necessary footprints that are not already available in the default libraries. For instructions on creating new footprints, please refer to application note titled – “How to Create Footprints in OrCAD Layout”.
The physical layout of the optosensor circuit was begun by creating all the necessary footprints not available in the existing libraries. Then, in Layout, File→New was chosen. The default template file was used and the optosensor netlist file was selected. Finishing the process left a screen with many footprints connected by yellow lines. The yellow lines showed the connections between pins. These connections were defined when the optosensor schematic was created in Capture.
Next the board outline was drawn. With the obstacle tool selected, a rectangle of the correct size was drawn. To specify the obstacle as a board outline, its properties were edited by double clicking on the outline. On the properties table that appeared, the Obstacle Type was set to “Board Outline” and Obstacle Layer was set to “Global Layer”.
Once the board outline was drawn, the components were placed and oriented. To move and edit components the component tool was used. All the components were placed inside the board outline. In the case of the optosensor circuit, the sensors were placed on the left side of the board and the output BNC’s and power supply were placed on the other end with circuitry in between.
At this time, text and necessary extra drill holes may be added to the board. On the optosensor circuit, a drilled hole of 1/8” was placed at each corner of the board for mounting purposes. These drill holes were implemented by creating a footprint that had one pin consisting of a drill of 1/8”. The first drill hole was placed on the screen by right clicked in the background and select New… defining a new component using the newly defined footprint. This process was repeated three more times to give a drill hole in each corner of the board. Text identifying the board and important points on the board were added at this time. When placing text on the PCB the text must NOT overlap any traces or drill holes as the ECE Shop equipment realizes text through the use of copper and thus overlapping text and traces will lead to open and short circuits.
Once all of the components and drill holes and such are in place on the board, the next step is to route the traces. It is a good practice to route as many traces as possible on the bottom of the board, and connect a route to a component pin from the bottom side of the board. This allows for easy soldering of the parts to the board.
Each of the yellow lines connecting pins on components needs to be “routed”. What this means is that the actual path of the copper across the surface of the board must be defined. On a prototyping board, one may “route” a wire over another wire or component to get to its connecting pin. However, because the surface of the PCB is 2 dimensional, one can not have one route cross another. If two routes were to touch, they would become shorted together. Thus, routing requires some thought and “art” in order to route all the wires where they must go without crossing each other. When it is impossible to route two traces without crossing, a via is used. A via is basically a drilled hole in the PCB that allows the copper to cross to the top side of the board, run over a ways, and then cross back to the bottom through another via.
Each Route has a certain physical width. The default setting is 12. With the ECE shop equipment, we would like to use a larger size such as 24. To change the width setting select View→Database Spreadsheets…→Nets. On this screen select all the nets and change their widths’ to 24.
With the “Add/Edit Route Mode” tool selected, new traces may be routed by clicking on the yellow line near the starting pin. From this point, the routing is very similar to adding nets in Capture. If a via is needed, right click with a route selected and choose “add via”. Draw a route to the via on the bottom, then change layers to the top and route it on the top from the via over to another via that will place you beyond the route you want to cross. Then route from that via on the bottom of the board.
Vias are defined by a padstack in the same way a pin on a footprint is defined. The default via is incorrect for use with the ECE shop equipment. To change the via padstack properties, select View→Database Spreadsheets…→Padstacks. On this screen select “Via1” and changes its settings so that the TOP and BOT layer are round and of size 95, and the Drill layers are round and of size 40.
Once the routing is complete, the board layout is finished. All that remains is to doublecheck that no text overlaps routes and make sure there are no loose ends anywhere on the board. Once the board has been reviewed and is completed, the final step is to create the Gerber files.
A Gerber file is a file that contains the information from Layout that is necessary for the prototyping machine to drill, mill, and cut the PCB. A Gerber file is created for every layer of interest. For example, a TOP Gerber file defines how to drill, mill, and cut the top of the board. To create the Gerber files, select the menu item Options→Post Process Settings… By default Layout is set up to make Gerber files for many layers. For our process we are interested in five Gerber files:
1. Top layer (TOP)
2. Bottom layer (BOT)
3. Silk Screen Top layer (SST)
4. Drill layer (DRD)
5. Board outline layer. (?)
For the Board outline layer, we want a Gerber file of a layer containing the board outline and nothing else. By default the Board outline is on the Global layer along with some other items. The solution developed for the optosensor circuit was to double click on the board outline and change its location to the GND layer. All the other footprint were also checked to verify that the board outline was the only item on the GND layer. Then a Gerber file of the GND layer was created for use as the Board outline.
All of the post processing entries except the five used may be erased. By default the Device used is “Gerber RS 274-D”. For the ECE Shop uses “Extended Gerber” is the proper device. The device entry of all the layers should be changed to “Extended Gerber” by double clicking on an entry and editing its properties. The filename may also be edited using the properties window. For ECE Shop use, a descriptive name should be used for each Gerber file with gbr as the three-letter extension to the file. For example the Gerber file for the TOP of the board might be called test_cir_top.gbr. You may preview the Gerber file for a particular layer by right clicking on that layer’s entree and selecting “Preview”. To create the files once all of the settings are correct, right click on the entrees and select “Run Batch”. This will create all of the Gerber files that were specified and place them in the same directory as the layout file. It will also create several other files, which for our purposes, may be ignored.
SMT/PTH Assembly Pin QTY | Solder Stencil | Cost | Lead Time |
1Kpins | USD200 | USD150 | 10-12days |
5Kpins | USD200 | USD200 | 10-12days |
10Kpins | USD200 | USD300 | 10-12days |
PCB Assembly and Stencil Specials From Gold Phoenix
Section
1. Overview
2. Prototyping
6. Lessons Learned and Recommendations
7. Appendix
Capacités
Capacité PCB rigide
Capacité PCB flexible
Capacité d'assemblage PCB
Équipement PCB
Équipement d'assemblage PCB
Méthodes de paiement
Prix spéciaux
Transporteurs
Support pour amateurs
Certificat
Assistance clientèle
Suivez-nous
Tel: 1-905-339-2881
Email: sales@goldphoenixpcb.com , tech@goldphoenixpcb.com
Copyright Gold Phoenix PCB Co., Ltd. 2011 - 2023
Tel: 1-905-339-2881 Email: sales@goldphoenixpcb.com , tech@goldphoenixpcb.com
Système de contrôle qualité | Service produit
| Liens
Copyright Gold Phoenix PCB Co., Ltd. 2011 - 2023