チュートリアル - Altium Designerで設計制約を設定する方法
Main page: Defining Design Requirements Using the Constraint Manager
Altium Designer's PCB editor is a rules-driven environment. With a well-defined set of design constraints, you can successfully complete board designs with varying and often stringent design requirements.
Design constraints are configured in the Constraint Manager accessible from both the schematic and PCB sides of the design. In this tutorial, the design constraints will be defined from the schematic side and then transferred to the PCB, along with other design data (components and nets).
Defining the Clearance Constraint
The first step is to define how close electrical objects that belong to different nets can be to each other. This requirement is handled by the clearance design constraints. The Constraint Manager includes the Clearances view that presents the clearance matrix where clearances between net classes in the design can be defined. For the tutorial, a clearance of 0.25 mm between all objects is suitable.
-
When the project's schematic sheet is the active document (click the schematic document tab at the top of the design space if it is not), select the Design » Constraint Manager command from the main menus to open the Constraint Manager
. The Clearances view of the Constraint Manager opens by default. -
Select the Tools » Measurement Units » mm command from the main menus to switch the current measurement units from mils to millimeters in the Constraint Manager.
-
Click within the cell on the intersection of the All Nets row and the All Nets column, type
0.25
, and pressEnter
.
Defining the Width Constraints
The width of the routing is controlled by the applicable width design constraint, which is automatically selected when you start routing a net.
-
Open the Physical view of the Constraint Manager using the corresponding button at the top.
-
Click within the cell in the Min Width or Preferred Width column for All Nets and define the following width values at the bottom part of the Constraint Manager:
-
Min Width =
0.2
-
Preferred Width =
0.25
-
Max Width =
0.25
-
-
The next step is to add another constraint to specify the routing width for the power nets. To do this, create a net class for power nets and then apply specific width constraints to this class. In the Physical view, select the rows for 12V and GND nets by holding the
Ctrl
key and clicking the net names, then right-click the selection and choose the Classes » Add Selected to Class » New Class command from the context menu. -
In the Add Class dialog that opens, type
Power
in the Name field, make sure that both 12V and GND nets are listed in the Member column, then click Ok. -
An entry for the net class Power will appear in the Physical view, with the 12V and GND nets listed under it. Click within the cell in the Min Width or Preferred Width column for this net class and define the following width values:
-
Min Width =
0.25
-
Preferred Width =
0.5
-
Max Width =
0.5
-
Defining the Via Style Constraint
As you route and change layers, a via is automatically added. In this case, the via properties are defined by the applicable via style design constraint.
-
In the Physical view of the Constraint Manager, click within the cell in the Via Style column for All Nets and define the following via style values at the bottom part of the Constraint Manager:
-
Diameter =
1
-
Hole Size =
0.6
-
-
Save the changes made in the Constraint Manager by selecting the File » Save command from the main menus.
-
Close the Constraint Manager by right-clicking its tab at the top of the design space and selecting the Close Multivibrator.PrjPcb [Constraints] command from the context menu.