Brief description
This article refers to the official guide for Altium Designer19 PCB design
The composition of the complete project file
- Project file, .PrjPCB
- Schematic file, .SchDoc
- Schematic library file, .SCHLIB
- PCB file, .PcbDoc
- PCB component library file, .PcbLicb
Schematic library common operations
-
Create a new component in the schematic library
-
Placing the line
drawing element shape, where the line is different from the schematic wires having no electrical connection characteristics
after standing a good line Double-line, or in the drawn state, pressTAB
buttons to set the line properties
-
Place arcs and elliptical arcs
Click the mouse to determine the center of the circle for the first time, determine the x-axis length of the elliptical arc for the second time, and determine the y-axis length for the third time -
Place text strings and text boxes
In order to enhance the readability of the schematic library, text descriptions should be added in certain key positions -
Place the pin
with the electrical attribute带X号
facing out, and rotate the space.
Double-click to set the pin attribute:
- Designator: Set the component pin label. The label should correspond to the package pad pin.
- Name: Set the name of the component
- Electrical Type: the electrical properties of the pin
- Pin Length: Pin length
- Modify multiple pin information of the component
Common operations of pcb component library
- Place the line.
Space bar to turn, no node will be automatically added at the T-shaped intersection.
Common attributes:
- Line Width:
- Current Layer: The layer where the line is located
- Place pads
Common attributes:
- Designator: Set the label of the pad, which should correspond to the pin label of the component symbol in the schematic
- Layer: Set the layer where the pad is located
- Shape: Set the shape of the pad (circle, rectangle, octagon, rounded rectangle)
- (X/Y): Set the size of the pad
- Solder Mask Expansion: Set the solder mask expansion (green oil coverage on the top and bottom of the pad)
- Paste Mask Expansion: Set up the soldering layer (solder paste protection layer)
The difference between the soldering layer and the soldering layer. The soldering layer
is a negative layer. If Tented is not checked, the pad will not be expanded by the soldering layer, and the copper skin will be exposed (called windowing)
If there is a solder mask, it will be covered by green oil:
there is a solder mask on the top layer of the pad on the right in the above picture
- Top image:
- Bottom image
The difference between surface mount pads and through-hole pads: the
left side is the surface mount pad (the Layer layer is Top Layer), and the right side is the through-hole pad (Layer layer is Multi-Layer).
Only the top layer of the surface mount pad has a pad, and the through-hole pad will have a hole on the bottom surface, and there are pads on both sides.
My own understanding: Surface mount pads are used to solder SMD components, such as chips, SMD capacitors, etc. The through-hole pads are used to solder through-hole components such as pin headers, etc., and solder on the bottom layer is required. (See someone explaining that through-hole pads are component pins that need to pass through many layers through vias.)
- Place vias
Common attributes:
- Drill Pair: Set the layer to which the via is connected
- Hole Size: Set the size of the inner diameter of the via
- Diameter: Set the diameter of the via hole
- Solder Mask Expansion: Set the top and bottom cap oils of the vias
- Place the fill
Click the mouse to confirm a vertex of the fill, move it to a suitable position and click again to confirm the diagonal vertex.
Common attributes:
- Layer: Set the layer where the fill is located
- Length: Set the length of the padding
- Width: the width of the fill
- Paste Mask Expansion: Set the external expansion value of the filled flux layer
- Solder Mask Expansion: Set the external expansion value of the filled solder mask
Hand-made package
- Download the corresponding data sheet, take the specification of the LMV358 chip as an example
- Placing pad
Now put the center pad a surface-mount (because it is a surface-mount components), and set the length and width of
click pad, press theM
key to select moved by X, Y movement of the selected object pads
because the longitudinal center of the pad The center distance is e = 0.65mm, and the horizontal distance is E1+L1=5.4mm. Set the X offset to 1.5e and the Y offset to -5.4/2=-2.7mm.
Copy and move other pads. Note that修改焊盘标号(与规格书对应)
you can press thectrl + m
measurement distance toshift + c
clear the measurement after completion . - Draw silk screen on Top Overlayer. According to the method of drawing lines above, draw the silk screen frame according to the component specification. The line width is generally 0.2mm and
can be drawn through the Start and End attributes. Some components have polarity markings and 1-pin markings.
Component wizard to make package
There is the IPC Compliant Footprint Wizard command in the tool (T), select the package type and fill in the data, and keep the default setting for next until the pad shape is selected in the Pad Shape (pad shape), and continue to next, fill in the information such as the closed account name.
Create and import 3D component bodies
General source of 3D component body:
- AD's built-in 3D component volume rendering function
- Download 3D models from other websites and import
- Professional 3D software such as SolidWorks
-
AD's own 3D component volume rendering function to
draw a simple 0603 package- Open the component library and find the 0603 package
- Menu "disposed" → "3D element body", the software layer and Mechanical automatically jump to a crosshair appears, press the
Tab
key parameter setting
Extruded extruded, Cylinder cylindrical, ball Sphere body, Overall Height overall height, Standoff Height element Hanging height. - Select the extrusion type, after setting the parameters, draw the 3D component body according to the actual size, the drawn mesh area is the actual size of 0603R
-
Import 3D model
3D model can be downloaded from https://www.3dcontentcentral.com/- Open the component library and find the 0603 package
- Menu "disposed" → "3D element body", the software layer and Mechanical automatically jump to a crosshair appears, press the
Tab
key parameter setting - Select the Generic type, click the Choose button to
open the 3D model path, and select the file with the suffix of STEP or STP format - Put the imported 3D model in the corresponding position
Use package manager
Use Package Manager to view and modify the corresponding model of components in the schematic, "Tools"→"Package Manager", or shortcut key T→G
Add integrated library
- "File" → "Project" → "Integrated Library" to create an integrated library and
ctrl + s
save it. - Create a schematic library and PCB component library in the integrated library, and add components and corresponding packages.
- Move the cursor to the
Integrated_Library1.LibPkg
position, click the right button, and execute theComplie Integrated_Library1.LibPkg
compilation of the integrated library.
Load library
Click the Components
tab in the upper right corner of the software , Operatio
→ File-based Libraries Preferences...
→ "Tools" → "Add Library"
Design schematic
- Drawing settings
Double-click outside the schematic, set the attributes such as the size of the schematic,
"Place" → "Text String", and fill in the schematic information in the lower right corner
- Place components and set properties:
- Designator: Set the serial number of the component, that is, the bit number. Such as U1, R1, etc.
- Comment: Set the basic characteristics of the device, such as resistance value, capacitance, chip model, power, package size, etc.
- Design Item ID: The unique ID number randomly assigned to the component in the entire AD project, used to synchronize with the PCB, and generally does not need to be modified
- Footprint: component packaging
-
Place the wire connection components
-
Place the network label and power port.
Modify the network label name. Wires or buses with the same network label indicate electrical network connections. In the schematic diagram,Alt + 左键
you can highlight the same network label to check for single-ended network errors.
-
Place the off-picture connector. It
has the same function as the network label. It is usually used for the wire connection between the same electrical network in multiple pages of the schematic diagram in the same project. -
Place differential pair indication
"Place" → "Indication" → "Differential pair indication"
Assign component label
Manual modification, or "Tools"→"Marking"→"Principle Icon Note"
Schematic electrical testing and compilation
There may be some single-ended network, electrical open circuit and other issues
-
Commonly used check settings
"Project" → "Project Options", shortcut keysT
→O
, when compiling the schematic diagram, it will be compiled according to these rules and options, and an error message will be displayed in the Message -
Schematic compilation
may also beComplie PCB Project
-
Schematic diagram modification
According to the error message in the Message.
PCB design
-
Synchronize the schematic data of the circuit
"Design" → "Update Schematics in .PrjPcb", click to implement changes. If there is ax
mark, find the error and modify it, and resynchronize the data.
-
Define the board frame
- Customize the board frame
Switch to theMechanical 1
layer, "Place" → "Line", and draw the board frame shape (closed area). - Import frame from CAD.
Before importing, you need to convert the AutoCAD file to the version below 2013, "File" → "Import" → "DWG/DXF".
"Design"→"Board Shape"→"Define according to the selected object".
- Customize the board frame
-
Setting the origin
In the PCB industry, for rectangular board frames, the coordinate origin is generally set at the lower left corner of the board frame. "Edit" → "Origin" → "Settings"
-
Positioning holes
Positioning holes are used for positioning and sometimes also used as mounting holes. In fact, it is a through-hole pad.
Here we set it to 3.2mm, and thePlated
option is non-metallized hole wall
Layer related settings
- Shortcut key
shift + s
single layer display or shortcut keyL
can set the display and hiding of the layer, and the color of the layer
PCB design common rules design
"Design" → "Rules"
- Electrical: Electrical rules
- Routing: Wiring rules
- SMT: Surface Mounting Rules
- Mask: Mask rules
- Plane: Plane rules
- Testpoint: Test point rules
- Manufacturing: manufacturing rules
- High Speed: High-speed rules
- Placement: Placement rules
- Signal Integrity: Signal Integrity Rules
You can create new rules in each category to set rules on a specific network or layer.
- Electrical’s Clearance
Clearance (safety distance) rule sets the minimum safety distance between two electrical objects- Set the main search label
- Set the first matching electrical object
- Set the second matching electrical object
- Set the main search label
-
All: All parts are edible
-
Net: For a single network
-
Net Class: For the set network class
-
Net and Layer: For network and layer
-
Custom Query: custom query
- Set the value of the safety distance in the constraint
- Set the value of the safety distance in the constraint
- Routing’s Width
Width rule. Set the line width
during routing. In "Constraints", the width of the wire can be set with 3 values: Max Width (maximum line width), Preferred Width (preferred line width), Min Width (minimum line width).
Power line individually set line width
enable and set priority
-
Routing Via Style
Routing Via Style (routing via style) rules, set the size and style of vias during routing.
Via Hole Size (via hole aperture size) sets the diameter range of the inner ring
Via Diameter (via diameter) sets the diameter range of the outer ring via hole -
Routing's Differential Pairs Routing
Differential Pairs Routing (differential pair routing) rules, the rules for the design of differential pairs of high-speed boards.
Differential pair wiring has the characteristics of equal impedance, equal length, mutual coupling, etc., which can improve the quality of the transmission signal. In high-speed signal transmission, it is generally recommended to use differential pair wiring.
Differential pair routing rules can be set on different layers
- Plane's Polygon Connect Style
Polygon Connect Style (copper connection style) rules set the connection style of copper and pads or copper and vias, and the connection style must be for the same network component.
-
Relief Connecct: Protruding connection method
"Conductor": select the number of wires connected to the copper sheet -
Direct Connect: Fully connected
-
No Connec: No connection
View configuration
Through the view configuration, choose to show or hide traces, vias, copper skins, etc. The shortcut key ctrl + D
"Draft" is semi-transparent
PCB layout
- Interactive layout and modular layout
-
Interactive layout
"Tools" → "Cross selection mode", shortcut keysshift + ctrl + X
Select components in the schematic, the corresponding components in the PCB will also be selected simultaneously -
Modular layout
Select the components of the same module, and then use the left button to draw a rectangle. The components will be arranged in the rectangular area.
Combine the interactive layout to lay out the circuits of the same module together, and then divide the whole circuit into modules according to the power flow direction and the virtual number flow direction.
The layout should be based on the signal flow relationship to ensure the rationality of the entire layout. The analog part and the digital part are required to be separated, and the key high-speed signal traces should be as short as possible. Secondly, the clean and beautiful circuit board should be considered.
-
The principle of concentration nearby.
Use modular layout to roughly distribute the modules around the board frame to facilitate subsequent layout work. -
Alignment operation
Left, right, top, bottom alignment, horizontal equal spacing, vertical equal spacing.
wiring
-
Interactive wiring
"Place" → "Route", or "Interactive Wiring" on the toolbar, shortcut keys toshift + 空格
switch corners. -
Interactively lay out multiple wires
Select the network that needs multiple wiring, and click "Interactive Bus Wiring" in the toolbar.
-
Interactive differential pair routing
Define differential pairs, set differential pair routing rules and routing. -
Automatic routing optimization
- Select the part you want to optimize the line, press the
Tab
button, it will select all the corresponding network - Menu bar "wiring" → "optimize selected routing", shortcut keys
ctrl + alt + G
- The addition of differential pairs
can be added in the schematic or in the PCB. The method of adding in the PCB:
- In the PCB, click the lower right corner to
panel
open thePCB
panel, and select theDifferential Pairs Editor
differential pair editing option at the top of the PCB panel . - Click "Add", select the positive network and negative network of the differential pair in the pop-up dialog box, and define the name
- After completing the settings, the differential pair in the PCB editing area is grayed out, indicating that it is in the screening state
- The display and hiding of the
flying line The network flying line refers to the electrical connection line between two points. It is helpful to clarify the flow of signals and wiring.
Shortcut key toN
open the fly line switch
- Net (network): for single or multiple network fly line operation
- On Component (device): for component network flying line operation
- All: For all fly line operations
- Network color change
- Open the
PCB
panel and selectNet
options - Select one or more networks, right-click, and select
Change Net Color
- After confirming the color, right-click and select
显示替换
→选择的打开
- Adding and deleting
teardrops Teardrop refers to: gradually increase the width when the wire is connected to the pad, and the shape is like a teardrop.
Benefits: Increase signal integrity and reduce signal loss and reflection when the size gap between the wire and the pad is large. When the PCB receives an impact, it reduces the risk of breaking the contact point of the wire and the pad.
- "Design" → "Teardrop"
- Through hole and cover oil treatment
See pad,
insert picture description here - Copper paving Copper
paving refers to placing copper skins in a blank position on the circuit board, which is generally used as a power supply or ground plane. After the wiring is completed, copper can be laid.
- "Place" → "Pave Copper", or toolbar
Tab
Key to open the properties,Fill Mode
selectHatched(Tracks/Ares)
dynamic copper paving method or other methods in the column .- In the
Net
selected shop copper network,Layer
selected layup copper inGrid Size
andTrack Width
enter the network size and the track width (the same as recommended values to a smaller set, such as solid copper to copper), select thePour Over All Same Net Objects
option to check theRemove Dead Copper
removed copper dead .
When laying copper, the network generally chooses GND, so that the copper skin is connected to GND for the purpose of anti-interference. Therefore, the pads connected to the GND network are all connected to the copper skin, and there are spaces between other pads and the copper skin.
- Press to
Enter
exit the property panel, ready to pour copper - Draw a rectangle along the edge of the PCB board frame and pave the copper to complete it.