差别
这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录 前一修订版 后一修订版 | 前一修订版 | ||
setupkicad6trackwidth [2022/04/15 16:39] gongyu |
setupkicad6trackwidth [2022/04/17 20:29] (当前版本) gongyusu |
||
---|---|---|---|
行 1: | 行 1: | ||
- | ## 第23节:控制走线宽度 | + | ## 第22节:控制走线宽度 |
[[kicad]] | [[kicad]] | ||
+ | ### 为何要控制布线的宽度? | ||
- | When you start a new project in Pcbnew, the only trace width available is 0.25 mm (9.84 mils). If you need to create a trace with a different width, you will need to create a custom track width for that value. | + | ### 如何控制布线的宽度? |
+ | 当你刚开始使用PCB编辑器进行一个新的项目设计的时候,系统只有一种默认的线宽 - 0.25mm(9.84mils), 如果你想改变走线的宽度,你需要创建一个定制化的线宽。例如我们要让一个电源走线能够在30mm的长度传输1A的电流,最高温升不超过10摄氏度,使用KiCad自带的计算器计算得到走向的线宽为大约0.3mm,我们可手工设定这个电源网络对应的走线宽度。 | ||
- | For example, in the Trace Width Calculator recipe, I calculated that the minimum width for a power trace that can convey 1 A over 30 mm with a maximum of 10 degrees Celsius temperature rise is 0.30 mm. In Pcbnew, there is drop-down menu from where you can manually select the desired width of a track, titled “Track”. | + | The Track drop-down menu; there is only one width available by default. |
- | Figure 26.1: The Track drop-down menu; there is only one width available by default. | ||
By default, this drop-down offer a single track width option: 0.250 mm. In this recipe, you will learn how to add '0.30 mm' as a track width option in the top toolbar drop-down menu. | By default, this drop-down offer a single track width option: 0.250 mm. In this recipe, you will learn how to add '0.30 mm' as a track width option in the top toolbar drop-down menu. | ||
You can also use the exact same way to add custom Via sizes. | You can also use the exact same way to add custom Via sizes. | ||
- | In Pcbnew, start by bringing up the Board Setup window. You can do this in three ways: | + | 我们也可以用这种方式来添加定制化的过孔尺寸。 |
- | 1. Click on File —> Board Setup | + | 在PCB编辑器中,启动电路板设置按钮,我们可以使用下面的三种形式之一: |
- | 2. Click on the Track drop-down, and then “Edit pre-defined sizes...”. | + | - 1. 点击"文件" —> 电路板设置 |
- | 3. Click on the Via drop-down, and then “Edit pre-defined sizes...”. | + | - 2. 点击走线下拉菜单 -> "编辑预设尺寸...." |
- | In any case, you will see the same result (Figure 26.2) . | + | - 3. 点击过孔下拉菜单 -> "编辑预设尺寸....” |
+ | 无论任何方式,都会得到下面的结果: | ||
+ | 电路板设置窗口,选中的走线和过孔 | ||
- | Figure 26.2: The Board Setup window with the Tracks & Vias pane selected. | ||
Select the Tracks & Vias pane, under Design Rules. There, you will see three columns: Tracks, Via and Differential Pairs. There’s a “+” button at the bottom of each column. | Select the Tracks & Vias pane, under Design Rules. There, you will see three columns: Tracks, Via and Differential Pairs. There’s a “+” button at the bottom of each column. | ||
- | Let’s add a few custom widths and Vias. To add each one, click on the “+” button and type in the numbers in the relevant row. | ||
- | In Figure ..., you can see my custom tracks and vias. | + | 来添加几个定制的宽度和过孔尺寸。每增添一个,点击"+"按钮,在相应的框里输入你要的数值, |
- | Figure 26.3: The Board Setup window with the Tracks & Vias pane selected; I have added several new custom track widths and vias. | + | 在这个图中你可以看到我定制的走线和过孔 |
- | Click 'Ok' to commit the changes, and confirm that the Track and Via drop-down menus show the new values (Figure 26.4). | + | 图: 电路板设置窗口, 选中的走线和过孔以及增加的定制化线宽和过孔 |
- | Figure 26.4: The Track Width drop-down contains a custom value. | + | 点击"OK"确认改变,线宽和过孔的下拉菜单变成下面的新值 |
+ | |||
+ | 图: 线宽下拉菜单包含了定制的值 | ||
Let’s test that you can create a trace with the custom with. First, select the '0.30 mm' option from the track width drop-down menu. Then, use the 'X' shortcut or click on the Route Tracks button from the right toolbar to enter the track drawing mode. Draw a new track in the Page. Type 'Esc' to end the drawing, and choose the '0.25 mm' option from the track width menu. Draw another trace and compare its width to the first. I have also added a third trace, with 0.40 mm width. Notice that the traces have a different width? | Let’s test that you can create a trace with the custom with. First, select the '0.30 mm' option from the track width drop-down menu. Then, use the 'X' shortcut or click on the Route Tracks button from the right toolbar to enter the track drawing mode. Draw a new track in the Page. Type 'Esc' to end the drawing, and choose the '0.25 mm' option from the track width menu. Draw another trace and compare its width to the first. I have also added a third trace, with 0.40 mm width. Notice that the traces have a different width? | ||
行 41: | 行 44: | ||
<WRAP group> | <WRAP group> | ||
<WRAP half column> | <WRAP half column> | ||
- | 上一节:[[addpart2kicadpcb|第22节:添加一个电容到已经layout好的PCB板上]] | + | 上一节:[[addpart2kicadpcb|第21节:添加一个电容到已经layout好的PCB板上]] |
</WRAP> | </WRAP> | ||
<WRAP half column> | <WRAP half column> | ||
- | 下一节:[[cackicadtrackwidth|第24节:如何计算合适的走线宽度?]] | + | 下一节:[[cackicadtrackwidth|第23节:如何计算合适的走线宽度?]] |
</WRAP> | </WRAP> | ||
</WRAP> | </WRAP> | ||