Joint Time Frequency and Order Analysis Tool for DIAdem
Overview
When performing vibrational analysis there are several types of frequency spectrum that are commonly used. The joint time frequency spectrum provides vibrational information on a data set divided up into time intervals. For rotating machinery, order analysis is very effective for examining vibrational magnitudes as a unit under test's rotation varies. National Instruments provides two solutions for performing those analyses using our software. The LabVIEW Order Analysis toolset provides the solution for online vibration data analysis. The order analysis tools found in DIAdem Professional Edition provide the offline vibration data analysis and reporting solution. This document outlines downloading and using a tool created for DIAdem that provides an easy to use, interactive interface for performing joint time frequency and order analysis.
Table of Contents
Online and Offline Vibration Analysis
LabVIEW has an extensive library of order analysis functions available in the LabVIEW Order Analysis Toolkit. These tools are very useful for performing online analyses of vibration data. The term online essentially means that the vibration analysis is done at the time of acquisition. DIAdem's order analysis capabilities are a great solution for offline, interactive vibration data management. Offline analysis is done after the acquisition takes place, and the raw vibration data has been stored in a file or a database. DIAdem is a great solution for accessing test data saved in files and databases while also providing an excellent environment for creating sophisticated waterfall plots and 3D surface graphs that are required to interpret vibration data. DIAdem, along with the Joint Time Frequency and Order Analysis tool, delivers an easy to use, non-programming approach to manage, inspect, analyze, and report your vibration data.
Overview of Analysis Types
There are three primary types of vibrational spectra that are examined when doing analysis on rotating machinery: Joint Time Frequency Spectrum, Order Analysis Frequency Spectrum, and Order Analysis Order Spectrum.
Joint-Time Frequency analysis divides a data set into time intervals and performs Fast-Fourier Transforms (FFTs) on those sub-sets of data. This allows for inspection of the frequency content of a signal as time proceeds. Time is usually displayed on the 'X' axis, Frequency on the 'Y' axis, and the frequency magnitudes on the 'Z,' or intensity, axis.

Figure 1. Joint Time Frequency Spectrum Graph
For the Order Analysis Frequency Spectrum case, the magnitude of the frequency content is examined slightly differently. Frequency is usually displayed on the 'X' axis, RPM on the 'Y' axis, and frequency magnitudes on the 'Z,' or intensity, axis. The RPM values represent the rotational speed of the Unit Under Test (UUT). This allows for is the inspection of vibrational magnitudes over a range of RPM values. For example, as an engine is run from startup (0 RPM) to idle speed (1000 RPM), the vibration the engine experiences changes according to its RPM. Order analysis allows for inspection of those vibrational magnitudes over a range of engine RPMs, perhaps to examine natural frequencies or other design problems.

Figure 2. Order Analysis Frequency Spectrum Graph
The Order Analysis Order Spectrum case is very similar to the Order Analysis Frequency Spectrum case. Its only fundamental difference is that instead of having frequency on the 'X' axis, a quantity called order is placed there. Order simply represents the frequency of the vibration divided by the rotational frequency of the UUT (RPM). This allows for a nice visualization of the vibrational harmonics.

Figure 3. Order Analysis Order Spectrum Graph
All of these graphs were generated by the Joint Time Frequency and Order Analysis tool in DIAdem. The tool is essentially a collection of DIAdem resource files (VBScript files, VAS files, and SUD dialog source files), which combine to form a simple, interactive user interface that resides in the DIAdem environment.
The tool allows the user to change graph axes limits, analysis types, report templates, and other analysis parameters very quickly and easily. For more information on these analyses, please see the Order Analysis Presentation linked below.
See Also:
Order Analysis Presentation
Order Analysis for Machine Monitoring and NVH Interactive Tutorial
Introduction to the Tool
The Joint Time Frequency and Order Analysis tool consists of three main components: Joint-Time Frequency Spectrum, Order Analysis Frequency Spectrum, and Order Analysis Order Spectrum. One way to visualize the difference in these analyses is to look at what data is generated and displayed.

Figure 5. Fundamental Analyses Provided by the Tool: Joint-Time Frequency Spectrum (Left), Order Analysis Frequency Spectrum (Center), and Order Analysis Order Spectrum (Right)
To switch between these components, simply select the type of analysis in the Analysis Type pull-down box.

Figure 6. Analysis Type Pull-Down Menu
Switching between these components will, as appropriate, make certain components visible/invisible on the dialog. There is also an additional function that is provided by the tool: the RPMs Channel from Tach. Channel selection. This routine generates an RPM channel from a tachometer pulse or rotary encoder channel. For more information, see the Additional Tool Functions section of this document.
There are many Automatic Axis Value Checking routines that are built into the tool. Due to the nature of the analysis algorithms, there are many limitations on what values can be put into the axis high, low, and mesh line input boxes. There are several routines built into the tool that will automatically check and prevent illegal values from being placed into the axis value boxes.
Installing and Using the Tool
Installing the Tool
As previously mentioned, the Joint Time Frequency and Order Analysis tool is essentially a collection of DIAdem resource files (VBScript files, VAS files, and SU Dialog source files). There is no actual 'installation' for the tool, all that is necessary is to have the DIAdem software. If you do not have DIAdem currently, the tool is fully functional on the Evaluation Version. All that is necessary is to download the example program to your computer and extract the files to any directory. The tool will then be ready to use.
To open and run the tool:
- Open up DIAdem and select 'SCRIPT,' the automation component of DIAdem. A blank VBScript file will be present on the screen.
- Select File»Open. . . or click the Open button on the toolbar. A dialog box should appear.
- Make sure that VBScript (*.VBS) is selected in the Files of Type box. Navigate to the directory where you downloaded and extracted the files. Select the script named Time Frequency Order Analysis.VBS and select Open.
- To run the tool, now click the 'Run Script' icon on the toolbar, or push Ctrl-F5.
The tool will now be running on your screen. If there was not any data loaded into DIAdem when the tool was launched, it will automatically prompt you to load a data set. To load a new data set at any time, simply click the New Data File button. You can now perform the three vibrational analyses on your data. Any registered DIAdem file type, whether its a built in format (*.DAT, *.TDM, *.LVM) or a custom format, will be able to be loaded and used.
To follow along with this tutorial, load the Vibration.DAT data set, located in the Sample Data sub-directory of the tool.
Joint Time Frequency Analysis
A screen shot of the dialog when Joint Time Frequency Spectrum is selected is shown below:

Figure 7. Joint-Time Frequency Spectrum Dialog
To perform this analysis:
- Set the Time Channel and Signal Channel boxes to the Time and Vibration channels. When you select these channels, the frequency and time scale boxes should be automatically populated with suggested values.
- Select the Spectrum 2D Blue.LPD report under the Report Template input. Any selection, however, is appropriate for this analysis.
- Leave the Frequency Averaging, Amplitude Type, Amplitude Scale, and Window Type boxes as their defaults. For more information about these inputs, click the Help button and select 'Joint Time Frequency Analysis.'
- The values for the data ranges (High Y Value, # Y Mesh Lines, etc) should be automatically populated, but they could be changed if desired. If an invalid value is placed in one of the boxes, it will be coerced into a valid value.
- Click the Run Analysis button. This will generate all of the data and automatically draw the data on the report template selected in Report Template.
- To show and hide the data portal (DIAdem 9.0 and later) click on the Portal button, located on the right hand side below the New Data File button.
- To change the report type that is displayed, simply change the selection in the Report Template box and click Load Template.
- To interactively rotate the axes of the report that is generated, click on the Interactive 3D Axis Rotation button located to the left of the Portal button.
Order Analysis Frequency Spectrum
A screen shot of the dialog when Order Analysis Frequency Spectrum is selected is shown below:

Figure 8. Order Analysis Frequency Spectrum Dialog
To perform this analysis:
- Set the Time Channel, RPMs Channel, and Signal Channel boxes to the Time, Revolutions, and Vibration channels respectively. If you do not have an RPM channel in your data set, but rather have a tachometer pulse or rotary encoder channel, you can convert that channel into an RPM channel. See the Additional Tool Functions section for how to use this routine. When you select these channels, the Frequency and Revolutions scale boxes will automatically populate with suggested values.
- Select the Spectrum 2D Blue.LPD report under the Report Template input. Any selection, however, is appropriate for this analysis.
- Leave the Frequency Averaging, Amplitude Type, Amplitude Scale, and Window Type boxes as their defaults. For more information about these inputs, click the Help button and select 'Order Analysis Frequency Spectrum.'
- The values for the data ranges (High Y Value, # Y Mesh Lines, etc) should be automatically populated, but they could be changed if desired. If an invalid value is placed in one of the boxes, it will be coerced into a valid value.
- Click the Run Analysis button. This will generate all of the data and automatically draw the data on the report template selected in Report Template.
- To show and hide the data portal (DIAdem 9.0 and later) click on the Portal button, located on the right hand side below the New Data File button.
- To change the report type that is displayed, simply change the selection in the Report Template box and click Load Template.
- To interactively rotate the axes of the report that is generated, click on the Interactive 3D Axis Rotation button located to the left of the Portal button.
Order Analysis Order Spectrum
A screen shot of the dialog when Order Analysis Order Spectrum is selected is shown below:

Figure 9. Order Analysis Order Spectrum Dialog
To perform the analysis:
- Set the Time Channel, RPMs Channel, and Signal Channel boxes to the Time, Revolutions, and Vibration channels respectively. If you do not have an RPM channel in your data set, but rather have a tachometer pulse or rotary encoder channel, you will can convert that channel into an RPM channel. See the Additional Tool Functions section for how to use this routine. When you select these channels, the Order and Revolutions scale boxes will automatically populate with suggested values.
- Select the Spectrum 2D Blue.LPD report under the Report Template input. Any selection, however, is appropriate for this analysis.
- Leave the Amplitude Type, Amplitude Scale, and Window Type boxes as their defaults. For more information about these inputs, click the Help button and select 'Order Analysis Frequency Spectrum.'
- The values for the data ranges (High Y Value, # Y Mesh Lines, etc) should be automatically populated, but they could be changed if desired. If an invalid value is placed in one of the boxes, it will be coerced into a valid value.
- Click the Run Analysis button. This will generate all of the data and automatically draw the data on the report template selected in Report Template.
- To show and hide the data portal (DIAdem 9.0 and later) click on the Portal button, located on the right hand side below the New Data File button.
- To change the report type that is displayed, simply change the selection in the Report Template box and click Load Template.
- To interactively rotate the axes of the report that is generated, click on the Interactive 3D Axis Rotation button located to the left of the Portal button.
- Now let's zoom in on the dominant order feature of the order spectrum graph. Input 0 and 3 into the Low X Value: and High X Value: boxes respectively, and then click the Run Analysis button. This will re-generate the graph zoomed in on the specified X and Y ranges. Zooming in using the Axis Value Range boxes (Low X Value, High X Value, etc) will yield improved resolution and detail for the region of interest. Interactively change the Axis Value Range boxes to examine other features of the graph.
Additional Information
- As previously mentioned, there are several routines built into the tool that will automatically check and prevent illegal values from being placed into the axis value boxes. These routines are executed in one of two ways:
- Place the values that you would like in the boxes and select Run Analysis. Before the analysis is run, the values for the axis ranges and mesh densities are checked (and coerced if necessary) against valid values. When the analysis is done and the report is shown, the actual values used during the analysis will be populated in the axis value boxes.
- Place a desired value into one of the boxes and click on an ‘open area’ (not on another control) of the tool. When the tool receives the Dialog.Click event, the values inside of the boxes are run through the axis value checking routines. If any of the values are out of range or not allowed, the corrected value will be placed in the appropriate box.
- As a general rule, the greater number of mesh lines will give you finer resolution, but will also make the analysis take longer.
- Changing the scale values (High Y Val, # Y Mesh Lines, etc) and clicking on Load Template will have no effect. You must re-calculate the data sets by clicking Run Analysis for those changes to show up on the report.
- To load a new data set at any time, simply click the New Data File button.
See Also:
Joint Time Frequency and Order Analysis Tool - Download
Download DIAdem 9.0 Evaluation Version
Additional Tool Functions
Along with the three main functions of the Joint Time Frequency and Order Analysis tool, there are some additional features added for ease of use and visualization. These three features are the Interactive 3D Axis Rotation, the RPMs Channel from Tach. Channel function, and the Toggle Time Channel DateTime function.
Interactive 3D Axis Rotation
To access this functionality, click the
A screen shot of the Interactive 3D Axis tool is shown below:

Figure 10. Interactive 3D Axis Tool
This tool allows for an interactive rotation of your Joint Time Frequency and Order Analysis data. To use this tool:
- Click the Interactive 3D Axis Rotation button located next to the Portal button.
- Once the tool is visible, click, hold, and drag your mouse on the 3D axes that are shown at the bottom of the tool. As you drag your mouse, a preview of the rotation is shown on the 3D axes.
***NOTE: The 3D graph control will not be present if you do not have the ComponentWorks ActiveX object installed on your computer. If you have LabVIEW or LabWindows/CVI installed on your computer, this component will be present. If it is not present, then the graph will not be shown at the bottom of the tool. To rotate the axes, simply move the slider bars to a desired position. - Once the axes are set, click the Rotate! button, and the report template containing your data will rotate and reflect the axes changes.
RPMs Channel from Tach. Channel
When doing order analysis, it is necessary to have an RPM channel that corresponds with your time data. There must be a one-to-one correlation between each point in time and an RPM value at that time in order for the order analysis functions to work. Frequently, when doing vibrational data acquisition with a Dynamic Signal Acquisition device, an RPM channel is not available. Instead, an analog waveform of a tachometer pulse signal or a rotary encoder signal is acquired, which can then later be converted to an RPM channel. The Joint Time Frequency and Order Analysis tool provides this functionality in an easy to use, interactive interface.
A screen shot of the dialog when RPMs Channel from Tach. Channel is selected is shown below:

Figure 11. RPMs Channel from Tach. Channel Dialog
To use this function:
- Click the New Data File button and load the CenteredPeak.DAT, located in the Sample Data sub-directory.
- Select the Time Channel and the Tach. Channel as Time and Tachometer in the pull down boxes.
- Input 1 into the Pulses/Revolution box. This is the number of pulses per revolution that your tachometer pulse provides.
- Input the values for the #Y Mesh Lines and # X Mesh Lines. For this function, these values represent the frequency of a low-pass filter that is applied to the data. In most cases, the default values are acceptable. For more information about these parameters, see the section for RPMs Channel from Tach. Channel in the help file for the tool.
- Click on Run Analysis. The RPM channel will be created with the name R.P.M.s. Also, a preview of the created RPMs channel will appear inside DIAdem.
This channel can now be used in the RPMs Channel pull down box when performing the order analysis functions.
Toggle Time Channel DateTime
For visualization, sometimes it might be necessary to convert your time channel into a DIAdem Date/Time channel. The Joint Time Frequency and Order Analysis tool provides a quick method for converting your time channel.
To use this function, simply click the
Conclusion
This tool takes advantage of DIAdem's technology: the ability to interactively manage, inspect, analyze, and report data. By using DIAdem VBScripts, we can perform complicated frequency analyses on very large data sets, and in seconds view and inspect our results. The tool provides an easy to use, non-programming interface to performing three common types of frequency analysis: joint time frequency analysis, order analysis frequency spectrum, and order analysis order spectrum. The tool also provides additional functionality to convert tachometer data into RPM data, to convert time channels into DIAdem Date/Time channels, and to interactively rotate the 3D reports that are generated by the tool.
Related Links:
Joint Time Frequency and Order Analysis Tool - Download
Learn More About DIAdem!!
Reader Comments | Submit a comment »
Legal
This tutorial (this "tutorial") was developed by National Instruments ("NI"). Although technical support of this tutorial may be made available by National Instruments, the content in this tutorial may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this content with each new revision of related products and drivers. THIS TUTORIAL IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).

