# NI VeriStand

**NI VeriStand** 是 NI（原 [National Instruments](https://www.edgepedia.org/zh/national-instruments)）出品的实时测试软件，用于配置和部署硬件在环（HIL）系统——在该系统中，物理设备的实时仿真模型与被测的嵌入式控制器硬件相连。汽车、航空航天和工业机械领域的工程师使用该软件集成仿真模型、记录测试数据并自动化嵌入式软件验证，无需编写自定义程序。<sup>[1](https://www.ni.com/en/shop/data-acquisition-and-control/application-software-for-data-acquisition-and-control-category/what-is-veristand.html)</sup> NI 称其为自 2007 年以来久经验证的 HIL 软件工具。<sup>[2](https://www.ni.com/en/solutions/transportation/hardware-in-the-loop/veristand-virtual-validation.html)</sup>

| 关键事实 | 详情 |
|---|---|
| 用途 | 用于配置和部署硬件在环（HIL）系统、以及对测试台进行实时控制与监测的实时测试软件<sup>[1](https://www.ni.com/en/shop/data-acquisition-and-control/application-software-for-data-acquisition-and-control-category/what-is-veristand.html)</sup><sup> • </sup><sup>[3](https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YGCBCA4&l=en-US)</sup> |
| 模型输入 | 来自 MathWorks Simulink 的编译模型（通过 VeriStand Model Framework 或 Simulink Coder）、LabVIEW 模型、功能样机单元（FMI 标准下的 FMU），以及自定义 C/C++ 代码<sup>[1](https://www.ni.com/en/shop/data-acquisition-and-control/application-software-for-data-acquisition-and-control-category/what-is-veristand.html)</sup> |
| I/O 连接 | PXI I/O、汽车网络（汽车以太网、FlexRay、CAN 和 LIN），以及基于 FPGA 的接口<sup>[2](https://www.ni.com/en/solutions/transportation/hardware-in-the-loop/veristand-virtual-validation.html)</sup> |
| 可扩展性 | 使用 LabVIEW 构建的自定义设备、菜单项、工作区控件与指示器，以及定时与同步设备<sup>[4](https://www.ni.com/pdf/manuals/veristand-2021-r3.html)</sup> |
| 定时规则 | 时间步是原子时间单位，所有任务都必须在一个时间步内完成；若模型代码超出所分配的时间，VeriStand 将关闭仿真<sup>[5](https://download.ni.com/support/manuals/372952a.pdf)</sup> |
| 发布节奏 | 从 VeriStand 2023 Q1 到 VeriStand 2026 Q3 的季度版本，此前为 VeriStand 2017 至 2021 R3 等年度版本<sup>[6](https://www.ni.com/en/support/documentation/release-notes/product.veristand.html)</sup> |
| 自动化接口 | ASAM XIL、NI TestStand、Python 和 .NET，用于测试自动化<sup>[2](https://www.ni.com/en/solutions/transportation/hardware-in-the-loop/veristand-virtual-validation.html)</sup> |

## 工作原理

VeriStand 是一个基于配置的环境，而非编程环境。用户构建系统定义，将模型信号映射到硬件 I/O 通道，将其部署到实时目标，然后通过由多个界面组成的工作区与运行中的系统交互，进行监测、报警和数据记录。<sup>[1](https://www.ni.com/en/shop/data-acquisition-and-control/application-software-for-data-acquisition-and-control-category/what-is-veristand.html)</sup><sup> • </sup><sup>[3](https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YGCBCA4&l=en-US)</sup>

**模型执行。** VeriStand 加载编译后的模型 DLL，并在时间关键型循环中运行它们。在 VeriStand Model Framework 中，时间步是原子时间单位，所有任务都必须在一个时间步内完成；框架代码在每个时间步中于模型代码之前和之后运行。若所有模型代码的总执行时间超出所分配的时间，VeriStand 将关闭仿真，因此所分配的运行时间取决于系统中模型与硬件的交互，包括输入和输出的数量。<sup>[5](https://download.ni.com/support/manuals/372952a.pdf)</sup> 实时执行引擎可同时运行多个模型。<sup>[1](https://www.ni.com/en/shop/data-acquisition-and-control/application-software-for-data-acquisition-and-control-category/what-is-veristand.html)</sup>

**自定义设备。** 开放架构接受插件式自定义设备，其行为与内置功能无异，并具有相同的确定性性能。在[福特汽车公司](https://www.edgepedia.org/zh/ford-motor-company)（Ford Motor Company）的燃料电池测试系统中，集成商 Genuen（原 Wineman Technology）利用插件架构添加了报警矩阵（用于增强报警）和车辆系统控制器（用于仿真目标 ECU 输出），同时配合 INERTIA 实时控制附加组件，该组件提供多模式比例积分微分支持，可在温度、压力和流量控制模式之间动态切换。<sup>[7](https://www.ni.com/en/solutions/transportation/case-studies/ford-deploys-fuel-cell-test-system-using-ni-veristand-and-the-inertia-add-on.html)</sup>

## 在 HIL 测试中的角色

在 HIL 配置中，测试系统必须仿真由电子控制单元（ECU）控制的被控对象：所有发往 ECU 的真实世界信号都被仿真信号替代，且仿真必须实时运行，以使模型准确复现被控对象对 ECU 指令的响应。<sup>[8](https://www.ni.com/en/solutions/transportation/case-studies/alma-automotive-creates-modular-hil-test-system.html)</sup> VeriStand 提供实时测试层，而 NI PXI 或 CompactRIO 硬件提供计算和 I/O；一份第三方 HIL 软件对比将这一组合列为 NI 对应 dSPACE SCALEXIO 生态系统的方案，并以 [TestStand](https://www.edgepedia.org/zh/teststand) 作为测试自动化层。<sup>[9](https://engineeringsoftwaretrials.com/home/verification-test-software-free-trials/dspace-verification-hil-testing/)</sup>

**汽车发动机示例。** 位于意大利北部的 NI 系统集成合作伙伴 Alma Automotive 围绕 VeriStand 和 PXI，为供应商 Eldor Corporation 构建了一套模块化 HIL 系统。在 PXI 8110 实时控制器上，完整的发动机、摩托车车辆和驾驶员模型以 500 微秒的步长执行，同时仅占用一个 CPU 核心 20% 的负载。在 NI 7852R 板上实现的自定义设备生成基于模型的曲轴、凸轮轴、进气、缸内压力和离子电流信号，并采集 ECU 输出指令，包括点火、喷油、H 桥和继电器灯信号。VeriStand 自定义设备插件生成双通道可变磁阻和霍尔传感器信号（调理后峰峰值高达 120 V）、基于角度的可配置波形，以及 4 通道轮速信号，同时采集 12 通道调理后的高压 ECU 执行信号、16 通道通用高压输出，以及 8 个调理至 120 V 峰峰值范围的模拟输入通道。<sup>[8](https://www.ni.com/en/solutions/transportation/case-studies/alma-automotive-creates-modular-hil-test-system.html)</sup>

**国防示例。** 系统仿真公司兼 National Instruments 联盟合作伙伴 ITI 使用 VeriStand 作为实时平台，配合 TraceTronic ECU-TEST 自动化软件构建了一套 HIL 测试台，用于验证装甲多用途车辆（AMPV）的嵌入式系统。该公司报告称，VeriStand 较短的学习曲线帮助测试系统快速上线，且可扩展的环境允许按未来需求进行扩展。<sup>[10](https://www.ni.com/en/solutions/aerospace-defense/case-studies/simulating-and-testing-armored-off-road-vehicles-in-virtual-reality.html)</sup>

## 虚拟验证与相关工具

VeriStand Virtual Validation Toolkit 将虚拟 ECU（vECU）集成到 VeriStand 中，无需 ECU 硬件即可将 ECU 模型和量产软件与环境仿真模型及网络总线连接。NI 将此定位为一种更早开始测试嵌入式代码、并通过几次鼠标点击在虚拟验证与 HIL 测试之间切换的方式。周边工具链包括用于汽车总线消息传递和剩余总线仿真的 Vehicle Communication Toolkit、用于诊断服务和故障码的诊断工具包，以及使用 A2L 标定数据库文件通过 XCP 和 CCP 读写 ECU 内部变量的测量与标定工具包。<sup>[2](https://www.ni.com/en/solutions/transportation/hardware-in-the-loop/veristand-virtual-validation.html)</sup>

VeriStand 还内置了一个嵌入式助手 NI Nigel AI，可在 VeriStand 环境内提供测试与测量指导以及情境化开发建议。<sup>[1](https://www.ni.com/en/shop/data-acquisition-and-control/application-software-for-data-acquisition-and-control-category/what-is-veristand.html)</sup>

## 平台与兼容性

VeriStand 2023 Q2 可运行于 [Windows 11](https://www.edgepedia.org/zh/windows-11) 64 位（版本 22H2）、[Windows 10](https://www.edgepedia.org/zh/windows-10) 64 位（版本 22H2）、[Windows Server](https://www.edgepedia.org/zh/windows-server) 2022、2019 和 2016，以及面向 Intel x64 目标的 NI Linux Real-Time；自该版本起，VeriStand 不再支持 Phar Lap ETS 或 NI Linux Real-Time（基于 ARM）目标。<sup>[11](https://www.ni.com/pdf/manuals/veristand-2023-q2.html)</sup> 模型编译对版本敏感：自 VeriStand 2021 起，由单独的 VeriStand Model Generation Support 工具箱负责编译 MathWorks Simulink 模型，其版本与特定的 VeriStand 和 MATLAB 版本匹配，23.8 版本不支持将总线用作参数。<sup>[12](https://www.ni.com/en/support/documentation/compatibility/22/veristand-labview-modeling-and-legacy-simulink-modeling-version-.html)</sup><sup> • </sup><sup>[13](https://github.com/ni/niveristand-model-generation-support-for-simulink/blob/main/README.md?plain=1)</sup> 部署为错误操作系统编译的模型（例如将 Windows 模型部署到 NI Linux Real-Time 目标）会产生模型不兼容错误。<sup>[14](https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019NNUSA2&l=en-US)</sup>

NI 已转向季度版本制：发行说明页面列出了从 VeriStand 2023 Q1 到 VeriStand 2026 Q3 的版本，此前为 VeriStand 2017 至 2021 R3 的年度版本。<sup>[6](https://www.ni.com/en/support/documentation/release-notes/product.veristand.html)</sup>

## 采用情况

有记录的部署涵盖交通运输、国防和消费产品领域。惠而浦（Whirlpool）高级开发团队使用 VeriStand 和 PXI 构建了一套自动化 HIL 系统，用于验证量产洗衣机控制板上的嵌入式固件，缩短了其 6th Sense 智能算法的标定和验证时间。<sup>[1](https://www.ni.com/en/shop/data-acquisition-and-control/application-software-for-data-acquisition-and-control-category/what-is-veristand.html)</sup> [Archer Aviation](https://www.edgepedia.org/zh/archer-aviation) 在三个月内使用 VeriStand、PXI 和 SLSC 部署了六套 HIL 测试台和三间集成测试实验室，报告称与竞品方案相比资本成本降低了 30%，同时为 Midnight eVTOL 飞行器验证了飞行关键嵌入式软件。<sup>[1](https://www.ni.com/en/shop/data-acquisition-and-control/application-software-for-data-acquisition-and-control-category/what-is-veristand.html)</sup> 在一套自主飞行器功率 HIL 测试台中，集成商 DMC 在 NI CompactRIO 实时控制器上运行 VeriStand 控制模型，并使用内置的序列编辑器执行在特定电芯上注入故障等任务。<sup>[15](https://www.dmcinfo.com/our-work/power-hil-test-stand-for-an-autonomous-air-vehicle/)</sup>

## References

1. [What Is NI VeriStand? – NI](https://www.ni.com/en/shop/data-acquisition-and-control/application-software-for-data-acquisition-and-control-category/what-is-veristand.html)
2. [Validate Embedded Software Using Virtual ECUs – NI](https://www.ni.com/en/solutions/transportation/hardware-in-the-loop/veristand-virtual-validation.html)
3. [Getting Started With NI VeriStand 2020 – NI KnowledgeBase](https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YGCBCA4&l=en-US)
4. [VeriStand 2021 R3 Readme – NI](https://www.ni.com/pdf/manuals/veristand-2021-r3.html)
5. [Using the NI VeriStand Model Framework – National Instruments](https://download.ni.com/support/manuals/372952a.pdf)
6. [VeriStand Release Notes – NI](https://www.ni.com/en/support/documentation/release-notes/product.veristand.html)
7. [Ford Deploys Fuel Cell Test System Using NI VeriStand and the INERTIA Add-On – NI](https://www.ni.com/en/solutions/transportation/case-studies/ford-deploys-fuel-cell-test-system-using-ni-veristand-and-the-inertia-add-on.html)
8. [Alma Automotive Creates Modular HIL Test System for Automotive ECUs Using VeriStand – NI](https://www.ni.com/en/solutions/transportation/case-studies/alma-automotive-creates-modular-hil-test-system.html)
9. [dSPACE Verification & HIL Testing: SCALEXIO, VEOS & AutomationDesk](https://engineeringsoftwaretrials.com/home/verification-test-software-free-trials/dspace-verification-hil-testing/)
10. [ITI Simulates and Tests Armored Off-Road Vehicles Faster Using NI Hardware-in-the-Loop Tools – NI](https://www.ni.com/en/solutions/aerospace-defense/case-studies/simulating-and-testing-armored-off-road-vehicles-in-virtual-reality.html)
11. [VeriStand 2023 Q2 Readme – NI](https://www.ni.com/pdf/manuals/veristand-2023-q2.html)
12. [VeriStand LabVIEW Modeling and Legacy Simulink Modeling Version Compatibility – NI](https://www.ni.com/en/support/documentation/compatibility/22/veristand-labview-modeling-and-legacy-simulink-modeling-version-.html)
13. [VeriStand and MathWorks MATLAB Release Compatibility – ni/niveristand-model-generation-support-for-simulink, GitHub](https://github.com/ni/niveristand-model-generation-support-for-simulink/blob/main/README.md?plain=1)
14. [Specified Model Is Incompatible With NI VeriStand Error – NI KnowledgeBase](https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019NNUSA2&l=en-US)
15. [Power HIL Test Stand for an Autonomous Air Vehicle – DMC, Inc.](https://www.dmcinfo.com/our-work/power-hil-test-stand-for-an-autonomous-air-vehicle/)

---
*Initially written Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 计算机硬件 › Embedded & soft processors › Embedded systems › Embedded testing, debugging, and verification

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/ni-veristand

English original: https://www.edgepedia.org/ni-veristand
