Event Triggered Control & Data Acquisition Using an ADwin
*Adapted from 'Event Triggered Data Acquisition with ADwin’ by Doug Rathburn of Keithley Instruments, Inc.
In today’s production environments, it is increasingly important to capture data coming from each process and exert some event triggered control over the process to maintain quality and efficiency. The data is often generated at asynchronous intervals making it difficult to capture the data and generate an appropriate feedback response in a pre-determined manner. ADwin is the synonymous quality with high-speed real-time data acquisition and control making it perfect for these demanding situations.
An ADwin allows the user to capture important data, analyze said data (filter, FFT, DFT etc.) and respond with control actions in real-time eliminating the latency inherent to most PC based systems. ADwin accomplishes this by incorporating DSP processors in every system so they don't rely on PC processor that may already be bogged down. ADwin offers numerous models with varying input and output configurations making it easy to adapt to almost any application.
For this particular application, ADwin monitors one of its analog input channels, waiting for a rising edge in the signal. Once this rising edge passes a predetermined threshold point, data acquisition begins and the data is stored in memory. Acquisition is not stopped until a falling edge is detected in the signal or until the memory is full. If the falling edge is detected or the memory limit is reached the DAQ transfers the data to a PC running TestPoint™ for further analysis. The ADwin will transfer the data out of its registers without slowing the ADwin processor, maintaining the real-time operation of the system.
The programming software for the ADwin family is ADbasic and together with the hardware, you define integer and floating-point variables which are stored in registers that can be accessed while the ADwin is running. The I/O registers can be easily accessed by the most common testing applications such as TestPoint™, LabView™, MatLab, etc.
The example provided in this application note illustrates a single-channel data acquisition system but ADwin systems are capable of much more. Table 1 lays out the channel and converter count of each model.
Data can be dynamically shared between the PC and ADwin as memory locations are updated and used ‘on the fly,’ which does not slow or interrupt the ADwin process while it runs. Variables can be defined for interchange as integers, floating-point numbers, or data arrays. The data is saved and updated in real time as the ADwin process is running, and, if the system updates one of the registers, the ADwin will use that new value during the next process execution.
All of the programs mentioned (TestPoint, Visual Basic, etc.) either have drivers or include files to communicate with the ADwin hardware, but TestPoint is the only program that supports the hardware interrupt from ADwin. When ADwin generates an interrupt (for example, executes the ACTIVATE_PC ADbasic command), the Action List of the ADwin Real-Time Object in TestPoint executes. If another programming environment is used, data can still be read and sent to the ADwin hardware, but ADwin cannot trigger an event to occur.
Data Interchange with FIFO Buffers
For applications with large amounts of data that must be continuously transferred to the host PC, ADwin allows the data structure to be configured as a FIFO (First-In, First-Out) buffer. The data that is stored in the FIFO is read in the same order in which it was stored. An example of a FIFO ADbasic program declaration is:
DIM DATA_1  AS INTEGER AS FIFO
This declaration defines an array with: the data set number 1, a length of 1000 integer values, and a FIFO ring buffer structure. The commands FIFO_EMPTY and FIFO_FULL are available in ADbasic to determine if there is still storage space available while the ADwin process is executing.
‘On-the-Fly’ Data Analysis
ADwin products are designed with their own microprocessors and memory, so they can perform analysis of measurement data before it is sent to the PC for display. If the digital signal processor (DSP) is chosen for the ADwin system, you can perform fast floating-point math operations that are useful for many filtering and Fourier transform operations.
1. PC running Windows 2000/XP/Vista/Win7 or Linux
2. ADwin real-time control hardware
3. ADbasic real-time development environment
4. Custom wiring harness for connecting to the test setup
The ADwin product family offers many different form factors, processors, and I/O in which to create the PID controller. The ADwin family includes:
ADwin-Light-16 PC ISA bus plug-in boards
• Analog inputs and outputs (one 12-bit A/D)—expandable
• Digital I/O
• Optional counters and quadrature encoder
• ISA communication with the PC
ADwin-Gold Stand-alone, external system
• 16 analog inputs (16-bit @ 10ms & 12-bit @ 0.8ms)—BNC connections
• 2 analog outputs (16-bit)—expandable
• 32 digital I/Os, in blocks of 8 as input or output
• Optional counter (event counter, encoder interface, period cycle, PWM)
• ISA or USB communication with the PC
ADwin-PRO Industrial, modular 19-inch system
• Up to 4 CPUs per system
• Modular and expandable:
• 480 analog inputs (multiplexed or parallel)
• 120 analog outputs
• 480 digital I/Os
• Thermocouples, RTD, counter, filters, isolation, etc.
• CAN-bus, RS-232, RS-485, RS-422, Profibus
• ISA or USB for communication with the PC
All three product variations can support up to 32Mbytes of RAM per processor and an optional boot loader. The boot loader stores an ADbasic process(es) and begins running the process upon power-up. Therefore, once the ADwin hardware is programmed, it can be used as a stand-alone solution without a PC.
ADwin data acquisition and control systems are ideal for operation in process monitoring and control applications. Available in several different models ADwin offers you high-speed precision and control for your manufacturing or other industrial processes.
For more information on ADwin Data Acquisition Systems, event triggered control or to find the ideal solution for your application-specific needs, contact a CAS Data Logger Applications Specialist at (800) 956-4437 or visit www.DataLoggerInc.com.
8437 Mayfield Rd Unit 104
Chesterland, OH 44026
Computer Aided Solutions, LLC. dba CAS DataLoggers is a distributor of data loggers, paperless recorders and data acquisition equipment.
We have the industry’s most complete selection of data logging equipment, with hundreds of different models from more than 18 manufacturers. With data loggers from 1 to 300 channels we can record temperature, humidity, force/strain, pressure, flow, voltage, current, resistance, vibration and other digital signals, in connection with serial (RS-232/RS-485), CAN/OBD or SDI-12 devices. We sell directly to end users and also work through a network of distributors and resellers throughout the United States, Canada, Central and South America.
This release was published on openPR.
Permanent link to this press release:
Please set a link in the press area of your homepage to this press release on openPR. openPR disclaims liability for any content contained in this release.
You can edit or delete your press release Event Triggered Control & Data Acquisition Using an ADwin here
News-ID: 1801198 • Views: …
More Releases from CAS DataLoggers
New AirGate 4G Cellular Router from Novus
NOVUS presents AirGate 4G, an industrial VPN router for cellular networks. Data sending is secure with this new device as it uses encryption protocols and firewall systems most commonly used in IT infrastructures, including automatic fallback for 4G, 3G, and 2G cellular networks. AirGate 4G is CE Mark certified and was developed for industrial environments. It can maintain its high availability performance even in extended operation situations, being equipment suitable
New AERINOS ADS-300 from Infinite Informatics
New Wireless NB-IoT/LTE-M Data Collection End Node CAS DataLoggers is pleased to introduce the new AERINOS ADS-300 wireless sensor end node from Infinite Informatics. The ADS-300 is designed to transmit data via either NB-IoT/LTE-M cellular networks and is targeted at remote monitoring applications. NB-IoT is a wireless protocol designed for the Internet of Things that offers very low-power operation using either existing GSM or newer LTE cellular technology. NB-IoT is a
New TR32B Bluetooth Data Logger From TandD
CAS DataLoggers is pleased to announce the updated TR32B log-EZ as an effective low-cost solution for temperature and humidity measurement. The log-EZ is designed as a compact, user-friendly data logger to easily measure and record ambient temperature and humidity. It provides Bluetooth communication and a smartphone/tablet app that can display and upload data to the cloud. The TR32B provides a measurement range of 0° to 50° Celsius (32° to 122°
New A2-06 Temperature & Alarming Monitoring Pod by CAS
Medical storage applications depend heavily on monitoring the temperature of their goods in cold storage to protect items such as vaccines, blood, medicine, and tissue samples. CAS DataLoggers is pleased to introduce the A2-06 Ethernet Wired Temperature Measurement Pod designed for measuring temperatures in medical refrigerators, freezers, incubators, and in cryogenic storage. The pod is an Ethernet LAN-wired temperature monitor with connections for two external RTDs and a thermocouple sensor.
More Releases for ADwin
ADwin Test System Reduces Application Development Time
Real-Time Data Acquisition and Control Test systems are used to determine the dynamic characteristics and parameters of components and sensors. In R&D, these systems acquire not only component parameters but also characteristics of prototypes and pre-production models. Component endurance is determined by testing them over thousands of test cycles. On production lines, test benches ensure a higher level of quality through either random sample or individual component testing (CAQ). Test information
Cold Atom Physics Experiments Controlled by ADwin
ADwin-Pro-II Real Time Data Acquisition & Control CAS DataLoggers provided the data acquisition and control solution for a professor of physics, specifically focusing on cold atom physics at a major university. They began running an experiment producing ultracold quantum gases containing either bosons and fermions. The experiment took place under high vacuum inside a pyrex glass cell. Researchers collected the atoms in a magneto-optical trap (MOT) which consisted of 6 laser
ADwin Systems for Automotive Test and Control
Online Real-Time System Compiles Code with Just a Mouse Click German manufacturer Jager-ADwin’s popular ADwin Pro-II Data Acquisition and Control system is designed for use in automotive test, ECU test, CANbus applications, test system integration, and more. The PRO-II utilizes an ARM-based Pro-CPU-T12 processor module to deliver the fastest real-time computing power. With the programmability of the local ADwin CPU, users can run real-time data logging and/or control programs with kHz
ADwin for Test & Control of Rotating Machines
Real-Time Data Acquisition Systems for Machine Test Stands Automotive test bench applications require real-time test and measurement to increase PQ and to lower recall rates. To achieve this, the use of data acquisition and control systems is especially common in test stand setups. In particular, product quality technicians and test system integrators who need to view accurate data from rotating/spinning parts in motors, car engines, etc. are often concerned with the
Intelligent Data Logging Using an ADwin
Data Logging with Real-Time Pre-Processing of Data ADwin Real-Time systems are ideal for intelligent data acquisition and control applications. Utilizing the programmability of the local CPU in the ADwin, users can run real-time datalogging and/or control programs with kHz execution speeds up to the MHz range. CAS DataLoggers offers these systems along with technical support-- contact a CAS Data Logger Applications Specialist at (800) 956-4437 or visit our website at www.DataLoggerInc.com. ADwin’s
Jager-ADwin Releases New Software Update
Ver. 6.00.08.01 Adds Support for MATLAB, LabVIEW CHESTERLAND, OH—June 20, 2016 Jager-ADwin has just released a new version of the ADwin CD-ROM. Version 6.00.08.01 adds more support for MATLAB and LabVIEW, improved cache management, and several minor bugfixes. ADwin data acquisition and control systems are ideal for applications in automotive test, laboratory data acquisition, product R&D and more. The new ADwin CD-ROM is ready for download at CAS DataLoggers on our ADwin