Product 关闭

知识库:使用独立 3D 实体避免元件间距违规

Altium Designer Altium Designer
用作机械或光学参考的自由 3D 实体可能会有意与 PCB 元件重叠,从而在 Altium Designer 中触发元件间距违规。可以通过有针对性的元件间距规则、针对自由 3D 实体的自定义查询,或有记录的违规豁免来管理这些违规。

解决方案详情

有意放置的 3D 实体触发间距违规

某些 PCB 设计会将自由 3D 实体直接放置在 PCB 上,用作机械或光学参考,例如连接器支柱或 LED 光路。这些自由 3D 实体会有意与现有 PCB 元件重叠。尽管实际物理间距足够,Altium Designer 仍会因元件轮廓或 3D 对象重叠而报告元件间距违规。目标是在不修改元件封装或移除自由 3D 实体的情况下,避免这些违规。

Altium Designer 3D PCB view showing a large cooling fan selected in green over the ARRIA 10 board, indicating a 0.187 mm clearance or collision violation.   Altium Designer 3D PCB view showing component U1 beneath the transparent fan 3D body, with U1 selected for checking component placement and clearance.
Example of a Free 3D body intentionally overlapping a PCB component

间距检查检测到重叠的 3D 几何体

元件间距规则会评估所选参与间距检查的元件和对象的轮廓及 3D 表示。当轮廓或自由 3D 实体重叠时,即使是有意为之,间距检查引擎也可能将其标记为违规。从 Altium Designer 24.9 开始,对于重叠的元件,需要使用 negative clearance value 来明确禁用目标对象的间距检查。

Altium Designer PCB layout showing component U1 positioned within the boundary of another component beneath the fan area, illustrating a component-within-component placement condition.
Component Clearance violation caused by overlapping outlines or 3D bodies

选择有意重叠的处理方式

  • 在特定元件之间定义元件间距规则,并使用负间距值。
  • 使用自定义查询定位自由 3D 实体,并定义其与特定元件或封装之间允许的重叠。
  • 对于有意重叠导致的元件间距违规,逐项予以豁免,并记录豁免原因。

配置规则或豁免预期违规

Option 1: Allow Overlap Between Two Components

  1. 打开 Design » Rules » Placement » Component Clearance。
  2. 将第一个对象的作用范围设置为第一个元件的位号,例如 M1。
  3. 将第二个对象的作用范围设置为第二个元件的位号,例如 U1。
  4. 将 Horizontal Clearance 和 Vertical Clearance 设置为负值,例如 -1mm。

Altium Designer Component Clearance rule “Clearance_FAN” checking component M1 against U1, with specified minimum vertical and horizontal clearance both set to -1 mm.
Component Clearance rule targeting two component designators with negative clearance

Option 2: Target Free 3D Bodies Using a Custom Query

  1. 在 PCB 中选择自由 3D 实体。
  2. 右键单击并选择 Find Similar Objects。
  3. 在 Find Similar Objects 对话框中,将 3D Body 及其 Identifier 设置为 Same。
  4. 启用 Create Expression,然后单击 OK。

Altium Designer Find Similar Objects dialog targeting 3D Body objects with Identifier “FULL FAN MINI”; Create Expression and Select Matched are enabled for building a query from the matching 3D body.
Find Similar Objects dialog targeting the Free 3D body

  1. 打开 PCB Filter 面板并复制生成的查询表达式。

Altium Designer PCB Filter panel showing the query (ObjectKind = '3D Body') And (Identifier = 'FULL FAN MINI'), used to filter the 3D body with that identifier.
PBC Filter panel showing the generated query expression

  1. 打开 Design » Rules » Placement » Component Clearance。
  2. 将第一个对象的作用范围设置为 Custom Query,然后粘贴复制的表达式。
  3. 将第二个对象的作用范围设置为目标元件位号或封装。
  4. 将间距设置为负值。

  Altium Designer Component Clearance rule using custom query (ObjectKind = '3D Body') And (Identifier = 'FULL FAN MINI') against component U1, with minimum vertical and horizontal clearances set to -1 mm. 
Component Clearance rule using a Custom Query

Option 3: Waive Intentional Violations

  1. 打开 PCB Rules and Violations 面板。
  2. 选择 Component Clearance 规则并运行检查。
  3. 找出与有意重叠相关的违规。
  4. 右键单击这些违规并选择 Waive。
  5. 添加备注,说明该重叠是有意为之且已获批准。

Altium Designer Waived Violation Info dialog showing the violation reason as “Intentional Overlap,” with fields for creation date and author.
Waiving a Component Clearance violation with an intentional-overlap note

补充说明

  • 即使物理间距足够,轮廓重叠也可能触发违规。
  • 从 Altium Designer 24.9 onward 开始,必须使用负间距值才能禁用有意重叠元件的间距检查。
  • 在早于 Altium Designer 24.9 的版本中,将间距值设为 0 即可。
  • 已豁免的违规应包含清晰的理由说明,以便进行审查和审核。
  • 在明确排除间距检查后,自由 3D 实体可用作机械或光学参考。

参考资料

AI-LocalizedAI 翻译
如您发现任何问题,请选中相关文本/图片,并按 Ctrl + Enter 键向我们提交反馈。