Follow on Google News News By Tag Industry News News By Place Country(s) Industry News
Follow on Google News | High-Speed Recording of Waveform Frequency Trigger PointsBy: CAS DataLoggers 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 (https://www.dataloggerinc.com/ 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- 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 (https://www.dataloggerinc.com/ 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= 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) 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 (https://www.dataloggerinc.com/ End
Account Email Address Account Phone Number Disclaimer Report Abuse
|
|