openPR Logo
Press release

High-Speed Recording of Waveform Frequency Trigger Points

01-09-2019 09:47 AM CET | Industry, Real Estate & Construction

Press release from: CAS DataLoggers

High-Speed Recording of Waveform Frequency Trigger Points

ADwin Systems Log Data at Speeds of 25 Nanoseconds

At CAS DataLoggers we occasionally have customers in the power generation industry whose application involves a rapidly-fluctuating waveform. These technicians need to accurately determine the waveform frequency for each of its cycles. This can occur when manufacturers and servicer personnel need to ensure the stability and reliability of their generators. For these applications, we offer real-time ADwin-Light Data Acquisition Systems for accurate frequency monitoring and analysis.

Identifying Fluctuating Waveform Frequencies

In our most recent example, our customer is working in a power generation application and is investigating a rapidly-fluctuating waveform. This user wants to know its cause, so he needs a way to easily measure waveform frequency. Here our given waveform takes the form of a sinewave.

Here our user is concerned with locating the waveform’s Trigger points, which mark the time between two given points in a waveform; for example two points immediately preceding each peak. In our application,

Period is denoted as p
Frequency is denoted as f
The formula we use to find a given frequency is f = 1/p.
In this case, working with a power line’s frequency at 60Hz AC, the period of interest is equal to 16.667 milliseconds. This requires a high-speed system to record.

Capturing Trigger-Point Data

Our customer is using the ADwin-Light-16 Real-Time DAQ and Control System for flexible signal generation. Consulting for this application, we first define a reference point called the trigger level. Our custom program does this by sampling the waveform very quickly (in this instance at 10 kZ).

The program commands the ADwin datalogger to start a clock, to identify the waveform’s trigger level, and then to sample data until it records the trigger point for a second time. In this way, the user then knows–at a high degree of accuracy–the time between those two points (the peak to peak). This also enables ADwin to calculate the frequency (f) of 1/p (here the trigger level).

ADwin acquires and evaluates input signals to monitor limit values. Users can also set up complex controls by using the ADwin’s capability of synchronously outputting multiple analog and digital signals on a time- or event-triggered base. The ADwin’s processor clock can capture data at extremely small increments as small as 25 nanoseconds. Depending on how fast we sample, we know the time length between the pair of events with extreme accuracy.

Frequency Monitoring Program

When faced with the question: How to measure frequency?, the answer is with hardware that can sample fast enough to provide the answer in a single cycle. Using the ADbasic programming environment, we developed a short program of just 40 lines which performs this frequency data acquisition. The program instructs the ADwin Light-16 to record the time duration between our two trigger levels. The program below took about 45 minutes to write:

DIM VAL,LAST_VAL AS LONG

DIM NEW_TIME, OLD_TIME, TIME_DIFF AS LONG

DIM TIME_DIFF_SUM, TIME_DIFF_AVG AS LONG

DIM WAIT_TIME AS LONG

DIM NUM_AVG_POINTS, AVG_COUNT AS LONG

DIM FREQ AS FLOAT

DIM TRIG_LEVEL AS LONG

DIM MIN, MAX AS LONG



INIT:

‘Intialize values for sampling

GLOBALDELAY=4000 ’10 kHz sample rate

TRIG_LEVEL = 35000 ‘ voltage (in A/D counts) for marking start/end of cycle

NUM_AVG_POINTS = 5 ‘ number of cycles to average

WAIT_TIME = 400000 ‘ Wait for 1/2 cycle(10 msec.)to prevent false trigger



‘Intialize variable for averaging

TIME_DIFF_SUM = 0

AVG_COUNT = 0



EVENT:

VAL = ADC(1)

IF (VAL > TRIG_LEVEL) THEN

NEW_TIME = READ_TIMER()

TIME_DIFF = NEW_TIME – OLD_TIME

IF (TIME_DIFF > WAIT_TIME) THEN

PAR_1 = TIME_DIFF

OLD_TIME = NEW_TIME

TIME_DIFF_SUM = TIME_DIFF_SUM + TIME_DIFF

INC AVG_COUNT

IF (AVG_COUNT > NUM_AVG_POINTS)THEN

TIME_DIFF_AVG = TIME_DIFF_SUM / NUM_AVG_POINTS

TIME_DIFF_SUM = 0

AVG_COUNT = 1

ENDIF

FREQ = 1 / (TIME_DIFF_AVG * 25.0e-9)

FPAR_1 = FREQ

ENDIF

ENDIF

Benefits

Many data acquisition systems on the market can sample frequencies, but ADwin hardware is capable of the high speed needed to capture all this frequency data in one cycle. Other data acquisition systems typically have to sample data over 5-10 cycles, having slow averages and too long a window to capture much data. But ADwin’s processor clock and resolution can acquire frequency data at speeds of 25 nanoseconds, all during a single cycle for effective waveform frequency analysis.

Additionally, ADlog software can log the values if required. ADwin has many post-measurement capabilities to work with the data—for example, users can view statistics such as standard deviation and Avg/Min/Max or complex FFT calculations.

For further information on the ADwin Real-Time DAQ Systems, waveform frequency, or to find the ideal solution for your application-specific needs, contact a CAS Data Logger Application Specialist at (800) 956-4437 or visit www.dataloggerinc.com.

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.

CAS DataLoggers
8437 Mayfield Rd Unit 104
Chesterland, OH 44026

This release was published on openPR.

Permanent link to this press release:

Copy
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 High-Speed Recording of Waveform Frequency Trigger Points here

News-ID: 1480740 • Views:

More Releases from CAS DataLoggers

New XH10 & XH11: Data Loggers Enhance Long-Distance Transport
New XH10 & XH11: Data Loggers Enhance Long-Distance Transport
CAS DataLoggers is pleased to announce the XHLogger series from Brainchild Electronics Co., Ltd. The new XH10 and XH11 temperature and humidity data loggers are designed specifically for environmental monitoring during cargo transportation. These reusable devices connect to a computer via USB and automatically generate a PDF report of the recorded data, or they can be used in conjunction with the Data Logger Viewer (DLV) software for in-depth data analysis.
New MSR Data Loggers from MSR Electronics GmbH
New MSR Data Loggers from MSR Electronics GmbH
CAS DataLoggers is pleased to announce that we have partnered with Swiss company MSR Electronics GmbH to bring the MSR family of universal data loggers to our customers. Designed to meet the highest standards of precision and reliability, the new MSR data loggers are compact with large memory to handle various measurement tasks such as measuring and recording shocks, vibration, temperature, humidity, pressure, or light. Why Choose MSR Data Loggers? The ability
Ensuring Workplace Safety: Data Loggers for Compliance With California Regulations
Ensuring Workplace Safety: Data Loggers for Compliance With California Regulatio …
In workplaces across California, ensuring the health and safety of employees is paramount. This commitment is not just a moral imperative, but a legal requirement under California Code of Regulations Section 3395, which mandates specific measures to ensure workplace safety by protecting workers from heat illness. Among these measures is the monitoring of environmental conditions such as temperature and relative humidity, critical factors that can significantly impact employee well-being. Understanding California
New AirGate 4G Cellular Router from Novus
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

All 4 Releases


More Releases for TIME_DIFF

High-Speed Recording of Frequency Trigger Points
ADwin Systems Log Data at Speeds of 25 Nanoseconds At CAS DataLoggers we occasionally have customers in the power generation industry whose application involves a quickly-fluctuating waveform. These technicians need to accurately determine the frequency of a given waveform at each of its cycles. This can occur when manufacturers and servicers need to ensure the stability and reliability of their generators. For these applications, we offer real-time ADwin-Light Data Acquisition Systems