Understanding Next-Generation Data Acquisition Technologies

Publisher:QianfengLatest update time:2014-12-25 Source: 21ic Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Over the past 20 years, data acquisition has evolved from a technology with limited applications to a platform that can be applied to a variety of high-performance measurement applications. Through software-centric graphical programming and PC-based modular hardware, engineers and scientists can quickly develop powerful, flexible and highly customizable data acquisition (DAQ) systems.

The ability to easily integrate USB and Wi-Fi in applications provides a new way for DAQ technology to develop. For example, SAPHIR, an NI Alliance Partner in France, recently developed an advanced USB-based sound and vibration monitoring system to help its customers in the construction industry implement structural monitoring to comply with noise regulations in neighboring neighborhoods. They recently expanded their system with Wi-Fi DAQ.

 "We used the NI WLS-9163 enclosure with the NI 9234 module to extend the range of our monitoring station to 100 meters. The system provides IEEE 802.11g (Wi-Fi) wireless connectivity for maximum flexibility. The wireless architecture provides a more cost-effective way to expand the system."

From environmental monitoring to mountain bike testing, USB and Wi-Fi DAQ are gaining traction. So how have these DAQ technologies evolved, and what do you need to consider when implementing them?

DAQ often involves multitasking, such as analog I/O, digital I/O, and counter/timers running simultaneously. To achieve these functions, DAQ devices must be able to support multiple data streams simultaneously and quickly read or write data to PC memory. Currently, PCI is the most widely used data acquisition bus and is still used for the highest performance applications. PCI is an ideal choice for DAQ, providing high bandwidth, low latency, bus control, and direct memory access (DMA) channels that allow data streams to be transferred directly to memory. In addition, with the advent of PCI Express, dedicated channels in today's ultra-high-speed and high-channel-count data transfer applications can now reach 1GB/s per slot in one direction. However, when portability and ease of deployment are more important than high transfer speeds, many engineers turn to USB and Wi-Fi.

USB simplifies the task of adding DAQ capabilities to a desktop or laptop computer. With more than two billion USB ports in use worldwide, this versatility makes USB the most straightforward choice. Engineers and scientists can now share devices quickly with USB DAQ, and the system becomes more portable and compact.

USB also presents its own challenges in measurement applications. For example, the theoretical bandwidth of 60 MB/s of high-speed USB is sufficient for most DAQ applications; however, there are several obstacles to overcome in designing USB DAQ hardware and software to achieve this theoretical bandwidth. USB is a host-driven serial port protocol, which means that the operating system must initiate all data transfer requests. This asynchronous data transfer method reduces determinism and increases the burden on the CPU. One way to solve this problem is to buffer the data in additional memory on the device. This will help overcome data loss, but it increases latency and device cost. What is really needed is a way to support multi-DAQ data transfer over USB. In many devices, this idea is limited by the traditional on-board system architecture.

One limiting factor is the processor that connects the DAQ device to the USB port. In standard USB systems, this is typically a single-threaded, instruction-based chip that acts like a switch, bottlenecking the data and allowing only a portion of the data stream to flow at a time. To reduce latency and increase throughput, the host must be able to continuously send data requests to the device. To meet this requirement, the device must make the data ready on the USB port as quickly as possible. The traditional 'single-wire' architecture cannot do this, but the new NI USB signal streaming technology can solve this problem.

Figure 1. DAQ device transmission architecture using standard USB

Figure 2. DAQ device transmission architecture using NI Signal Streaming over USB.

As a patent of NI, USB signal streaming technology avoids the switch-like behavior based on the processor through a multithreaded approach. In conjunction with the NI-STC 2 system timing controller, the NI signal streaming controller provides 4 high-speed DMA channels to support direct data transfer to 4 USB ports. This method saves the occupation of processor resources. At this time, the processor can accept high-level instructions from the host and convert them into a series of register-level instructions acceptable to the DAQ device. This can minimize the number of instructions from the host and reduce latency.

Signal Streaming improves single-ended acquisition performance for analog input and output by 1600% and 250% respectively. This means that multiple bidirectional data streams can be run simultaneously, and NI DAQ devices can reach speeds of more than 26MB/s.

Despite these advances, USB cables are still limited to 5 meters. This length is limited by the 26ns delay standard. Since USB uses source and voltage mode drivers, this delay is necessary to prevent signal reflections. The 5 meter cable is a practical maximum. Assuming the worst-case delay, a full-speed device connected to a 5 meter hub or USB cable will experience 280ps of latency. Reducing this value to 0ps would only increase the USB cable length by 0.05 meters. This means that USB is not practical for applications such as distributed environmental monitoring. [page]

To extend the distance that a measurement system can be used, the traditional solution is to use a cabled industrial network, which increases both cost and complexity. As a result, there is growing interest in wireless networks as an alternative. The challenge now is to use new technologies while maintaining the ease of configuration of USB. This is not only related to the design of new applications, but also the expansion of many existing applications may use wireless. The vibration monitoring system of SAPHIR mentioned above originally used USB, but the increase in costs caused them to switch to Wi-Fi because a laptop was required at each test location. This conversion must be fast, simple and economical.

Wireless sensor networks have been used for many years, but their applications require custom hardware and proprietary software. This makes the construction of simple applications complex and requires extremely high costs and engineering skills. In addition, many existing wireless sensor technologies are associated with single-point measurements, and there is little data stream waveform acquisition. The ideal wireless DAQ solution should provide high performance, ease of use, reliability, and security. Based on the above, NI chose IEEE 802.11b/g, with 128-bit AES encryption and IEEE 802.11i (WPA2) support. The widespread use of IEEE 802.11 and its transmission speed of up to 56 MB/s provide ease of use and sufficient performance to support 100kS/s data stream acquisition.

IEEE 802.11 is also reliable enough. The IEEE 802.11 standard specifies the air interface protocol between wireless clients and between wireless clients and base stations or access points. The standard also specifies the physical layer (PHY) and the media access control layer (MAC), and specifically solves the compatibility issues between manufacturers and wireless devices. Connecting wireless DAQ devices that do not comply with the IEEE standard often requires a lot of effort and makes the test unreliable. So, what is the IEEE 802.11 standard and why is it necessary for DAQ?

The basic connection mechanism of IEEE 802.11 is the Carrier Sense Multiple Access with Collision Detection (CSMA/CA) protocol, similar to Ethernet. Any device that wants to transmit data first listens to the physical network; if the network is busy (for example, another device is transmitting), it delays and retransmits at a later time. If the network is idle for a predetermined period of time (DIFS – Distributed Frame Interval), the transmission begins. But problems arise when two devices find the network idle at the same time. Both devices start transmitting, causing a collision.

In a wired system such as Ethernet, such collisions are easily detected and counted because all devices can "hear" each other. In a wireless network, a device may perceive the network as idle, when in fact the intended receiver (centrally located) may be busy receiving data from another device that is out of range. In normal operation, the receiver adds a checksum to the message and sends an acknowledgment (ACK) back to the device. If the device does not receive an acknowledgment, it will continue to try to send requests even if the detected network is still idle.

This data protection protocol is a must in DAQ applications, unlike wireless music or video streaming, any data loss will cause abnormal results and invalidate the measurement results. IEEE 802.11 standard wireless products are considered reliable and flexible, but there is no mention of security in the 400-page standard document.

Many applications require security in data transmission—for reasons of national security or to hide data from potential competitors. The language of wireless security can be complex and involve even more acronyms. All security is based on a combination of various data encodings and user permissions. There are several encoding standards. First came WEP (Wired Equivalent Privacy), followed by WPA (Wi-Fi Protected Access), but both have the potential to compromise security. The latest Wi-Fi products comply with the WPA2 standard and use AES (Advanced Encryption Standard). It uses a 128-bit cipher, which is much harder to crack than the algorithms used in WEP and WPA. In fact, the National Institute of Standards and Technology (NIST) selected AES as the encryption standard used by all U.S. government agencies. WPA2 has proven to be robust and secure and can be used in a variety of applications, including Wi-Fi DAQ.

SAPHIR chose to use NI's WLS-9163 Wi-Fi box because it complies with the IEEE 802.11 protocol and WPA2 security. They use the same NI-DAQmx driver as the previous USB system, which allows them to upgrade to Wi-Fi without rewriting code. Both the USB and Wi-Fi boxes use the same C Series platform as the acquisition and signal conditioning modules, thus minimizing hardware cost expenditures. This also simplifies and accelerates the transition to a more practical and powerful Wi-Fi system.

Figure 3. The WLS-9163 includes the NI-9234 dynamic signal acquisition module.

Wi-Fi is now available as a simple and secure DAQ option for scientists and engineers in any industry. It has successfully enabled dynamic data transfer in applications where wired solutions would be impractical, impossible or too costly. Today's scientists and engineers do not have to worry about the limitations imposed by the bus. Instead, through flexible software and easy-to-use drivers, developers can specify the bus that suits the application, from the high throughput of PCI Express to the simple plug-and-play configuration of USB, or the high flexibility and mobility of Wi-Fi. Now, domain experts have the power to choose a DAQ system that better meets their needs.

Reference address:Understanding Next-Generation Data Acquisition Technologies

Previous article:Measuring the linearity of differential-output, current-mode digital-to-analog converters (DACs)
Next article:Analog-to-Digital Converter Clock Optimization: A Test Engineering Perspective

Recommended ReadingLatest update time:2024-11-16 13:40

Design of serial communication circuit between MCS251 and PC
  With the rapid development and widespread application of computer technology, the master-slave working mode of the host computer and the slave computer is adopted by industrial control and automatic control systems. Due to the strong analysis ability of PC, faster processing speed and the flexible and convenient use
[Power Management]
Design of serial communication circuit between MCS251 and PC
Application of RS 232 serial communication in communication between PC and single chip microcomputer
  With the rapid development and increasing maturity of Internet of Things technology, ultra-low power wireless sensors have become an important component of the Internet of Things. Wireless sensor networks deploy a large number of sensor nodes in the monitoring area and use radio communication to form a multi-hop sel
[Power Management]
Application of RS 232 serial communication in communication between PC and single chip microcomputer
Snapdragon Development Kit for Windows PCs Now Available
Snapdragon Development Kit for Windows PC Now Available, Providing Low-Cost Resources for Developers — Ultra-small terminal enables seamless testing and validation for Windows application developers — SAN DIEGO, Nov. 18, 2021 – Qualcomm Technologies Inc. today announced the commercial availability of the Snapdrag
[Embedded]
Snapdragon Development Kit for Windows PCs Now Available
PC power management with ACPI (Advanced Configuration and Power Interface)
ACPI (Advanced Configuration and Power Interface) is a new energy management system that can be controlled by software such as "on and off" and can also use modem signals to wake up and shut down the system. ACPI has the following modes in operation: S0 Normal. S1 CPU stops working. Wake-up time: 0 seco
[Power Management]
PC shipments in Q1 2020 fell 8% year-on-year, while Apple Mac shipments fell 21%
According to foreign media reports, global demand for personal computers (PCs) soared in the first quarter of 2020 after strict "lockdown" measures were implemented around the world, prompting a surge in remote work and learning. However, the crisis also caused serious delays in production and logistics issues, ultima
[Home Electronics]
PC shipments in Q1 2020 fell 8% year-on-year, while Apple Mac shipments fell 21%
Spot module prices continue to weaken, and PC DRAM contract prices will fall by 0-5% in the fourth quarter
According to TrendForce's survey, the third quarter PC DRAM contract price has been largely agreed upon. Benefiting from the low inventory of DRAM suppliers and the peak season effect, the contract price this quarter has increased by 3~8%, but the increase has been significantly reduced compared to the 25% increase in
[Embedded]
Spot module prices continue to weaken, and PC DRAM contract prices will fall by 0-5% in the fourth quarter
Reference Design for PC-Based Temperature Measurement System
This reference design provides an idea for creating a PC-based temperature measurement system for evaluating the MAX6603 signal conditioner. The design uses two evaluation (EV) boards: MAX1396EVKIT and MAX6603EVKIT, and provides an easy-to-use software program. The MAX6603 converts ambient temperature into a voltage
[Test Measurement]
Reference Design for PC-Based Temperature Measurement System
Introduction to TekScope PC analysis software
Have you ever used Tektronix oscilloscopes, but haven’t used TekScope PC analysis software? You’re at a huge loss! There are advanced and basic test “magic” exclusive to engineers, waiting for you to unlock! Advanced Magic: Offline Advanced Analysis Many current oscilloscopes can capture more than 500 M points and u
[Test Measurement]
Introduction to TekScope PC analysis software
Latest Test Measurement Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号