风扇教程 - 台式机风扇模式

本文档页面已被取代,不再维护。有关最新教程,请参阅以下页面:设计系统

您是否完成了新手教程第一部分新手教程第二部分

恭喜您,现在您只需几步就能学会如何创建风扇的模式相关属性。

完成本教程大约需要 15 分钟。

(1) 添加模式

Some values are not static but depend on the state of the product you are building. This is what modes are made for: they track different configurations and their relationships with your product.

Define the modes of your system: different speeds, power modes, and ON/OFF-states.

  • 我们的电机可以以 3 种不同的速度运行,这些速度可以用 "模式 "来模拟。因此,要创建这三种模式,请打开 Motor (1)块。然后

    • 点击 Modelists选项卡 (2)如图所示 Creating Modes.

创建模式 - 建模师可以根据模式属性(如功耗、转速、推力等)创建模型。
  • 单击右下角的 +添加新的建模器

    • 插入名称 = speed_settings(1) 和 ´#´ 模式数 = 3(2)

    • 点击 Create(3)

image-20240326-112926.png设置模型师 - 在这里您可以决定模型师的名称和模式数量。
  • 单击新模型师左侧的箭头

  • 重新命名 speed_settings 点击默认名称 a,bc并将其更改为

    • a = ZERO

    • b = LOW

    • c = HIGH

  • 回到 Valis 页面,点击顶栏中模型师旁边的 Properties标签回到 Valis 页面

  • 点击 +按钮打开 "创建属性 "对话框,选择 Matrix(1).添加以下属性:

    • 名称 = rotational_speeds(2)

    • 模式参考 = Motor.speed_settings(3)

    • 单位 = rpm(4)

    • 点击 Create(5)

image-20240326-113158.png创建与模式相关的矩阵 - 矩阵在 "模式参考 "中与建模师链接。

Note: 由于您添加的是 "模式引用",因此行数和列数将自动从 Modelist 中获取并存档。因此,您无需在上述步骤中定义行和列。

  • 展开 Vali 的属性 rotational_speeds的属性。

  • 更改值(目前为 0)。修改为以下内容:

    • ZERO= 0rpm

    • LOW= 2000rpm

    • HIGH= 5000rpm

  • 矩阵属性如下图所示

image-20240326-114440.png取决于模式的矩阵 - 转速矩阵现在已与转速设置建模器相连。
  • 现在为 speed_controller 创建另一种模式:点击 Block Speed_controller (1).转到 "建模器 "选项卡 (2).添加一个新的建模器:

    • 模式名称 = power_modes

    • 模式数 = 2

  • 重新命名字段名称:a = ON和 b = OFF(3)

电源模式 Modelist - 创建另一个 Modelist,但这次是针对 Speed_Controller 系统。
  • 重复这些步骤,为整块风扇添加一个模式 (1)用:

    • 模式名称 = state(2)

    • 模式数 = 3

    • 字段名称 OFF, MINMAX(3)

模型师 - 创建另一个模型师,但这次是为整个扇形创建模型师。

(2) 使 Valis 模式取决于

Now that you have defined the modes of your system, you can make Valis dependent on them. A Vali might not always have the same value, but a value dependent on a certain mode.

Make your PowerConsumption Mode-Dependent (see Figure Make an existing Vali Mode-dependent)

  • 打开区块 Fan(1)并转到 Properties(2)中的

  • 点击瓦利 PowerConsumption(3)以显示瓦利说明

  • 点击按钮 Make mode dependent (4)

将现有 Vali 变为模式依赖型 Vali - 您可以将现有 Vali 变为模式依赖型 Vali。
  • 在弹出窗口中,选择模式 = Fan.state并用 Update

  • MotorSpeed_controller:

    • 转到 PowerConsumptionMotor, 点击 "使模式依赖于 "并在弹出的 Motor.speed_settings在弹出的

    • 转到 PowerConsumptionSpeed_controller, 点击 "使模式依赖于 "并在弹出的 Speed_controller.power_modes在弹出的

  • 然后,更改 MotorSpeed_controller在不同模式下的功耗值,如图 PowerConsumption MotorPowerConsumption Speed_controller.

  • Motor:

    • ZERO= 0W

    • LOW= 1.0W

    • HIGH= 4.0W

image-20240326-120254.png耗电电机
  • Speed_controller:

    • 开启 = 0.1W

    • 关闭 = 0W

image-20240326-120125.png耗电量 速度控制器

(3) 连接模式

States of a system can depend on each other. This is why in Requirements & Systems Portal you can link modes that belong together.

Fan-statesMotor Speed_controller (之间建立连接(见图 Linking Modes).

  • 转到 Fan(1)

  • 转到 Modelists(2)选项卡,然后点击模式 state(3)

  • 点击链接符号 (4)

链接模式 - 了解如何在不同区块之间链接模式。
  • 点击 Select Modelist,选择 Speed_controller.power_modes然后点击 + Add Link

  • 点击 Select Modelist,选择 Motor.speed_settings并点击 + Add Link

  • 现在选择模式之间的链接,如下所示,别忘了保存:

image-20240326-121354.png链接的模式及其状态 - 在此您可以设置模式之间的链接方式,以及如何将每个属性添加到主模 式中。

点击风扇区块。转到属性选项卡。在 Requirements & Systems Portal 完成计算后,您可以看到 Fan PowerConsumption已变为以下值:

image-20240326-121605.png风扇功耗值 - 主要功耗的计算取决于子系统属性。请尝试更改电机和 Speed_controller 上的一些 PowerConsumption 值,以了解其实际效果。

下一步?

恭喜您,现在您对 Requirements & Systems Portal 已经了如指掌!

您可以继续改进您的台式风扇项目。以下是一些想法:

  • 创建一个模拟,根据风扇模式计算所产生的空气排量如何?

  • 添加太阳能电池板块,使风扇便于携带。你可以让最大转速取决于太阳能电池板的太阳角度。

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

您可使用的功能取决于您所选择的 Altium 解决方案 —— Altium DevelopAltium Agile(Agile Teams 或 Agile Enterprise 版本),或仍在有效订阅期内的 Altium Designer。

如果您在软件中未找到文中提及的功能,请联系 Altium 销售团队了解更多信息。

Content