Tone and Distortion VIs

Sound and Vibration Measurement Help


Edition Date: March 2018
Part Number: 372416L-01
View Product Info

DOWNLOAD (Windows Only)


LabVIEW 2018 Sound and Vibration Toolkit Help
LabVIEW 2019 Sound and Vibration Toolkit Help

Owning Palette: Sound and Vibration VIs, Stimulus-Response Test VIs

Use the Tone and Distortion VIs to perform single-tone analysis and distortion measurements.

The VIs on this palette can return general LabVIEW error codes or specific sound and vibration error codes.

Refer to the labview\examples\Sound and Vibration directory for an example of using the Tone and Distortion VIs.

Palette ObjectDescription
SVL AC & DC LevelComputes the AC level and DC level of a signal. Wire data to the scaled signal [EU] input to determine the polymorphic instance to use or manually select the instance.
SVT CrosstalkComputes the crosstalk between stimulus signal X and idle-channel response signal Y to a response signal at the fundamental frequency. This VI returns the detected tone stimulus, detected tone idle-channel response, and crosstalk. This VI does not maintain state internally; you can use this VI in a loop to process multiple blocks. Wire data to the stimulus signal X and idle-channel response signal Y inputs to determine the polymorphic instance to use or manually select the instance.
SVT Dynamic RangeComputes the dynamic range of a channel based on scaled signal and full scale amplitude and returns the detected fundamental frequency, detected fundamental amplitude, and dynamic range. This VI does not maintain state internally; you can use this VI in a loop to process multiple blocks. Wire data to the scaled signal [EU] input to determine the polymorphic instance to use or manually select the instance.
SVT GainComputes the gain of a channel based on scaled signal and amplitude at the fundamental frequency. This VI returns the detected fundamental frequency, detected fundamental amplitude, and gain. This VI does not maintain state internally; you can use this VI in a loop to process multiple blocks. Wire data to the scaled signal [EU] input to determine the polymorphic instance to use or manually select the instance.
SVT Gain and PhaseComputes the gain and phase between stimulus signal X and response signal Y at the fundamental frequency. This VI returns the detected fundamental frequency, detected response amplitude, gain, and phase lag. This VI does not maintain state internally; you can use this VI in a loop to process multiple blocks. Wire data to the stimulus signal X [Eux] and response signal Y [Euy] inputs to determine the polymorphic instance to use or manually select the instance.
SVT Idle Channel NoiseComputes idle channel noise, median noise level, and maximum spur of scaled signal and frequency range. This VI also computes the signal-to-noise ratio (SNR) measured without a signal, provided you supply a full-scale level. Wire data to the scaled signal [EU] input to determine the polymorphic instance to use or manually select the instance.
SVT SINADPerforms a signal in noise and distortion (SINAD) analysis, including measuring the fundamental tone, and returns the detected fundamental frequency, detected fundamental amplitude, and SINAD level in dB. Total harmonic distortion plus noise (THD + N) is the negative of SINAD in dB. Wire data to the scaled signal [EU] input to determine the polymorphic instance to use or manually select the instance.





The following formula calculates SINAD:




SINAD = sqrt(F^2 + N^2 + H^2) / sqrt(H^2 + N^2)




where F is the fundamental tone RMS level, N is the noise RMS level, and H is the harmonic RMS level.
SVT SNR without HarmonicsPerforms a signal and noise analysis, including measuring the fundamental tone, and returns the detected fundamental frequency, detected fundamental amplitude, and signal-to-noise ratio (SNR) (without harmonics). The SNR measurement excludes harmonics of the fundamental frequency. Wire data to the scaled signal [EU] input to determine the polymorphic instance to use or manually select the instance.





The following formula calculates SNR:




SNR = F / N




where F is the fundamental tone RMS level and N is the noise RMS.
SVT Spurious Free Dynamic RangeComputes the spurious-free dynamic range (SFDR) of scaled signal and returns the detected fundamental frequency, detected fundamental amplitude, spurious free dynamic range, and all detected peaks. Wire data to the scaled signal [EU] input to determine the polymorphic instance to use or manually select the instance.
SVT THD and Harmonic ComponentsPerforms a total harmonic distortion analysis, including measuring the fundamental tone and harmonics, and returns the detected fundamental frequency, detected fundamental amplitude, harmonic components, and total harmonic distortion (THD). Wire data to the scaled signal [EU] input to determine the polymorphic instance to use or manually select the instance.





The following formula calculates THD:




THD = H / F




where H is the harmonic RMS level and F is the fundamental tone RMS level.
SVT THD+NPerforms a total harmonic distortion plus noise (THD+N) analysis, including measuring the fundamental tone, and returns the detected fundamental frequency, detected fundamental amplitude, and THD+N. Signal in noise and distortion (SINAD) is the negative of THD+N in dB. Wire data to the scaled signal [EU] input to determine the polymorphic instance to use or manually select the instance.





The following formula calculates THD+N:




THD+N = sqrt(H^2 + N^2) / sqrt(F^2 + N^2 + H^2)




where H is the harmonic RMS level, N is the noise RMS level, and F is the fundamental tone RMS level.

WAS THIS ARTICLE HELPFUL?

Not Helpful