为什么动态信号分析板卡在执行数字触发的数据采集任务时出现延时?



硬件: Modular Instruments>>Dynamic Signal Acquisition and Analysis (DSA)>>PCI-4472, Modular Instruments>>Dynamic Signal Acquisition and Analysis (DSA)>>PCI-4551, Modular Instruments>>Dynamic Signal Acquisition and Analysis (DSA)>>PCI-4552, Modular Instruments>>Dynamic Signal Acquisition and Analysis (DSA)>>PXI-4461, Modular Instruments>>Dynamic Signal Acquisition and Analysis (DSA)>>PXI-4462, Modular Instruments>>Dynamic Signal Acquisition and Analysis (DSA)>>PXI-4471, Modular Instruments>>Dynamic Signal Acquisition and Analysis (DSA)>>PXI-4472, Modular Instruments>>Dynamic Signal Acquisition and Analysis (DSA)>>PXI-4472B, Modular Instruments>>Dynamic Signal Acquisition and Analysis (DSA)>>PXI-4474, Modular Instruments>>Dynamic Signal Acquisition and Analysis (DSA)>>PXI-4551, Modular Instruments>>Dynamic Signal Acquisition and Analysis (DSA)>>PXI-4552, Modular Instruments>>Dynamic Signal Acquisition and Analysis (DSA)>>PCI-4451, Modular Instruments>>Dynamic Signal Acquisition and Analysis (DSA)>>PCI-4452, Modular Instruments>>Dynamic Signal Acquisition and Analysis (DSA)>>PCI-4453, Modular Instruments>>Dynamic Signal Acquisition and Analysis (DSA)>>PCI-4454, Modular Instruments>>Dynamic Signal Acquisition and Analysis (DSA)>>PCI-4471, Modular Instruments>>Dynamic Signal Acquisition and Analysis (DSA)>>PCI-4474, Modular Instruments>>Dynamic Signal Acquisition and Analysis (DSA)>>PCI-4461, Modular Instruments>>Dynamic Signal Acquisition and Analysis (DSA)>>PCI-4462

问题:
当在动态信号分析板卡中使用数字触发时,我发现在采集第一个数据点时出现延时,这个现象正常么?

解答:
动态信号分析(DSA)板卡使用一个数字滤波器来去除奈奎斯特频率以上的频率成分,该滤波器引入的时延是DSA板卡的技术指标之一:

对于NI PXI-4461:
模拟输入延迟为33-63个采样间隔,具体时延则取决于采样频率的大小和是否使能低通抗混迭滤波器。
模拟输出延迟为32-48个采样间隔,具体时延则取决于输出更新率的大小。详细信息请参考

对于NI 447X:
模拟输入延迟为32-38.7个采样间隔。
详细信息请参考

对于NI PCI-445x, NI PCI-455x:
模拟输入延迟为42个采样间隔
模拟输出延迟为34.6 + 0.5个采样间隔
详细信息请参考 PCI-4451/4452/4453/4454 User Manual 或者 NI 4551/4552 User Manual。

用于模拟输入和模拟输出的数字滤波器也会对延时有影响,因为滤波器在初始化工作时需要一定数量的采样点。这个延时通常只有在您在模拟输入或者输出使用了触发事件时才会被观察到。

例如,假设您使用数字信号触发一个1000点的模拟输入任务,并且您要采集的模拟信号就是TTL触发信号,如果您使用的是一般的多功能采集卡,那么模拟输入缓存中的第一个数据点就是TTL高电平,因为缓存中在触发事件发生之前并没有任何数据;但是如果您使用的是PCI-4451,缓存中在触发事件发生之前会有42个数据点,而结果为42个0V的数据点和958个为TTL高电平的数据点。

由滤波器引起的延时在使用模拟触发时是不可见的,因为模拟触发信号也是经过抗混迭滤波器的,从而避免了混迭的频率信号引起误触发。这42个数据点的延时有时会影响系统性能,但是只要您知道了有这个延时存在,并且其数值是固定的,那么您就可以在程序中通过软件丢弃这些数据点。

由滤波器引起的延时在使用数字触发的时候是可见的。需要强调的是,这个延时总是存在的。假设您使用NI 4472以100 S/S的采样率(引起38.7个采样间隔的时延)采集数据,那么总会有在该信号出现在板卡的输入端到能够用软件读出该信号数值之间总会有38.7ms的延时。对于离线分析,这个延时并不影响整个系统的性能;然而,当您的应用必须要求在一个具有时间确定性的控制换中在线分析数据时,38.7个采样间隔的延时则会对整个系统造成影响。

关于触发信号如何影响数据采集任务的更详细的信息,请参考 Knowledge Base 31LFSSWD。

相关链接: PCI-4451/4452/4453/4454 User Manual
NI 4551/4552 User Manual
Product Manual: NI Dynamic Signal Acquisition User Manual
NI 4461 and 4462 Specifications
NI PXI-447x Specifications
White Paper: Dynamic Signal Acquisition (DSA) Measurements Tutorial
KnowledgeBase 31LFSSWD: What is the Difference Between Analog and Digital Triggered Acquisition for the NI 447x Boards?
KnowledgeBase 3EE7N2NQ: Synchronizing Legacy Dynamic Signal Acquisition (DSA) Products with NI-DAQmx
KnowledgeBase 2WF8F22L: How Can I Synchronize NI PXI-44xx DSA Devices across Multiple PXI Chassis?

附件:





报告日期: 08/05/2006
最近更新: 03/28/2017
文档编号: 2UI8PGX4