Error in harmonic distortion VI Analyzer?

Hello

Today, I tried to use the harmonic distortion VI Analyzer and it seems that there is a mistake in the VI (or I misunderstood something...).

The phenomenon I've observed may very well shown in the attached example.

Description:

-THD - calc: output for the THD calculated by hand with the amplitudes (in this example: THD = sqrt(2^2+3^2)/4 = 0.901)

-THD - VI: output calculated by the VI of harmonic distortion Analyzer

The two results are the same if the number of analyzed periods is > = 3 (periods # = number of samples * fundamental frequency / Fs). If only 1 or 2 periods are analysed, the harmonic distortion Analyzer VI gives an incorrect result.

What is the error? I did a wrong settings or is this a problem with VI?

Thanks in advance for the help.

Best regards

Stefan

If you open the block diagram of VI harmonic distortion Analyzer, you'll see he's using Fourier transform techniques to calculate the rate of HARMONICS.  TFF does not work well with a small number of cycles and can have significant errors when fractional cycles are involved.

In VI you posted increasing the number of samples to 300 product results identical to 5 significant digits. To 200 samples the error is about 10%.

When working with the FFT based analysis tools, use a lot of cycles.

Lynn

Tags: NI Software

Similar Questions

  • Harmonic distortion VI Analyzer

    Hi all

    I am analysis of data from the ADC with some of the waveform measurement palette live. The "Harmonic Distortion Analyzer vi' seems that all useful but gives me heard sometime. I compared the amplitude fundamental and harmonic signal in two ways: from a FFT and by converting the amplitudes dBV (I'm able Volts). The two emerged from the same vi, but there is a gap of about 3 dB between the two. Am I missing something basic?

    Hope you could help me with this.

    Amir

    Hey Amir,

    I tried to reproduce what you call, and I am able to see a small gap (about 3 dB) between my two outputs. That's when the FFT Ridge to Ridge, with Hanning window (which is default for the VI of harmonic distortion Analyzer).

    This discrepancy disappears when TFF going to RMS, which indicates that the VI Analyzer of harmonic distortion output of RMS amplitudes. To make sure that it is correct, try to change the settings of your FFT and see if the gap disappears.

    If this isn't the case, please go ahead and post a sample of your procedure VI, as Anna suggested, so that we can solve this further.

    Thank you

  • Video Copilot 3D and error messages from distortion of the heat element

    I have a problem with the 3D and plugins of distortion of the heat element. My work optical flares and contraction with After Effects. I have version 10 of Windows and CC 2015. When I choose a new composition and set a solid color. I applied element 3D or distortion of the heat to test if the plugins worked. It shows a Panel to check-in After Effects, including optical flares and the shaking never asked me to register on behalf of video Copilot.Screenshot (56).png

    It displays an error message after I have shut down the Panel.

    Screenshot (57).png

    How can I fix it? Brucgovn

    > How do I know the plug-ins of VC for the current version?

    You can get this information on the site of video Copilot:

    VIDEO COPILOT

  • Error: Field {0} of {1} Analyzer bean references undefined {2}

    Hello world

    I see the message "error: field {0} {1} parser references undefined bean {2} ' in my 11.1.1.2 JDeveloper. and my Linux OEL-5 jdeveloper. and this error message is displayed in the view Extenstions-journal of Jdeveloper.
    Please help me with this message.

    With respect,
    KSD

    KSD,

    You can ignore the message.

    John

  • Impossible to analyze your diet. Invalid XML: error on line 190: name of the "disabled" attribute associated with an element type "button" should be followed by the "=" character.

    Hello I am trying to download an episode of my Podcast podcast connect and get this error?

    Impossible to analyze your diet. Invalid XML: error on line 190: name of the "disabled" attribute associated with an element type "button" should be followed by the "=" character.

    my diet is validated? http://beprovidedhealthradio.libsyn.com/RSS

    It worked for my first episode? I don't know why it doesn't work for the second episode. I also use Libsyn if that helps.

    Your show is already in iTunes.

    https://iTunes.Apple.com/podcast/id1151562400?MT=2 & ls = 1

    And everything seems fine with it and your diet.  You ONLY SUBMIT YOUR FEED ONCE.

    That's it - better to stay outside of your podcast connect account - only bad things happen to go there and play with things.  Once again, your show is very well and is in iTunes and your flow is good with it.

    Both episodes show when you subscribe - and your most recent episode appears on the page of the iTunes, general store with in 24 hours from when you posted it.

    Rob W

    https://iTunes.Apple.com/us/podcast/beprovided-health-radio/id1151562400?MT=2 https://iTunes.Apple.com/us/podcast/beprovided-health-radio/id1151562400?MT=2

  • How to get the values of phase of the harmonic component digitally?

    Hello

    Basically, what I'm trying to do is to analyze the quality of acquired signals. What interests me are amplitude and phase at some frequencies (for example 50 Hz, 150 Hz, 250 Hz, etc.) of a waveform. I tried to use "measurment spectral express VI' to achieve my goals. It works well, but so far, I can handle only show spectra in graphics. Then, I tried to use "harmonic distortion Vi' to obtain the amplitudes of harmonic components digitally and it's absolutely perfect. My question is that how can I get the phase of the harmonic components digitally?

    Thank you very much

    Hao

    FFT and a manipulation of the results seems to work quite well.

    I used some tones and noise Waveform.vi to generate a test signal. .Vi (Mag Phase) FFT spectrum analysis the signal. I find the amplitude peaks and extract the phases in these places. Results are quite close to the entrance of the values even when the noise is larger than some of the harmonics.

    Lynn

  • COULD NOT PARSE THE HIVE '\REGISTRY\HKEY_USERS\FILECACHE '. THIS REGISTRY KEY ACCESS IS DENIED (ERROR 60).

    Problem noted by me when I started to analyze and Defrag my registry.  After analyzing the registry, he said "ERROR 60. IMPOSSIBLE TO ANALYZE \REGISTRY\USER\FILECACHE. ACCESS to THE REGISTRY KEY HKEY_USERS\FILECACHE is denied. Access could have been denied manually or by your antivirus program. Please disable your Antivirus, check your admin rights, restart your computer, and then try again. »

    I tried all the... Disabled my antivirus, same I removed my antivirus... and I checked the admin rights... even, I restarted my computer... BUT still I am facing this problem... All other questions will be useful to me if you're suggesting that he... AND YES I ALSO TRIED TO CHANGE THE PERMISSION OF THIS FOLDER IN THE REGISTRY WHICH IS "FILECACHE"... BUT IT SAYS ACCESS IS DENIED... SO PLEASE HELP ME... :'((:'(

    I AM ALSO ATTACHING THE SCREENSHOT OF THE PRESENT.

    AND OH YES, I USE WINDOWS 7 ULTIMATE.

    This problem noticed by me when I started to analyze and Defrag my registry. . BUT THE THREAD you provided ISN'T a REGISTRY PROBLEM... IT IS A CAUSE OF .NET FRAMEWORK THREAD. !!!

    The registry affect every application on your PC. If your registry database "cleaner" done the wrong thing then .net framework no longer works as it should.

  • ThinkVanmtage System Update 5 'error in the collection of user information'

    I use ThinkVantage System Update 5.06.0027; Windows 7 64-bit, SP 1; Lenovo Thinkpad E540

    Whenever I click on 'Get new Updates', after 10% finished I get the message "an error has occurred all." by collecting user information I read many other positions on this subject, and I checked my Mappinginterface.xml file. He already understands the code for Windows 7 SP 1, so I think that changing the code to include my operating system is not the solution.

    If anyone has other solutions to this bug, I would be grateful of your.

    Thank you.

    I have reviewed your logs. Your breaking point is:

    Severe 2015-02-15, 05:57:51
    at Tvsu.Engine.Process.HelloProcess.Start)
    Message: Error getting of the Egather Analyzer
    Exception:
    Internal message: error-2147483648, program abort()
    Type: Tvsu.Egather.Exceptions.EgatherGeneralException

    > The same mistake as the user altoid666

    General idea of what's going on

    (1) su needs to collect information system on your machine

    (2) the program IA.exe (inventory agent) is given control / launched

    (3) via the command TVSU launcher that also interacts with the SUservice.

    My tests of SU

  • CS4 - installation error

    I tried to download CS4 on my laptop and get:

    "Setup error - Setup has encountered an error and cannot continue." Contact Adobe customer support for assistance. »

    I found only that the forums are available for assistance, but could not find something that helps. I was wondering if anyone has any advice.

    Processor: 2.6 GHz

    RAM: 4.00 GB

    System type: 64-bit

    Thank you!

    Hi Kimh92165871,

    Kindly try to download and install CS 4 products from the link below and see if that solves the problem: Download Adobe Creative Suite 4 products

    Follow this procedure if it fails again below:

    Solution 1:

    1 use the cleanup tool to remove all associated with your machine CS 4: use of the Adobe Creative Cloud cleaning tool to solve installation problems

    2 remove the "Caps" folder to the location:

    WIN 64 Bit: program files x86\Common Files\Adobe\caps\caps.db

    WIN 32 bit: Program Files Files\Adobe\caps\caps.db

    3. after that, install the downloaded file.

    Solution 2:

    1. create new admin account.

    2 - install from this account.

    3 - Once installed, you are free to delete the account and all the files in the new account.

    If it still gives you an error, I recommend you to analyze the installation log file to know the root cause of the error, see:

    Troubleshoot installation with log files in Adobe Creative Suite (CS5, CS5.5 CS6), PS Elements and Premiere Elements

    How to examine the Installation log files?

    Let us know if this helps solve the problem, waiting for your response.

  • I get an error message when you try to install PS CS6. Telling me missing file and I need to download the support Counsellor who no longer exists.

    Need help re install PS CS6, who disappeared off a pc users. I connected to Adobe and downloaded the installer. When I try to run the installer I get an error pop up. "We met the following problems Installer failed to initialize. This could be due to a missing file. Please download Adobe Support Advisor to detect the problem. "Such advice no longer exists! Help

    Hi PCBs % century 40,.

    'Download Support Advisor' is a generic error, and we need to understand what is causing the problem. Most of the time, its a problem with the download was not successful or downloaded correctly. So, in this case, re-download the software and do not forget to compare the file size of the file downloaded with the file on the server.  Download Creative Suite 6 applications

    Allows you to check in this case as well and make sure that the download is complete, if the size of the file is correct, to the install.log file.

    Navigate in the log files in one of the following folder:

    Mac OS: / Library/Logs/Adobe/Installers /.

    C:\Program Files (x 86) \Common Files\Adobe\Installers\

    The name of the log file includes the name of the product and installation date, followed of ".". log.gz."the .gz extension indicates a compressed format.

    You can use WIN RAR to extract the 7z or gz file:

    WINDOWS: http://www.rarlab.com/rar/winrar-x64-531.exe

    MAC: WinRAR download and support: post-Télécharger

    Once unzipped, the log file is a text file, open the .log using TextEdit (Mac OS) and notebook (OS Win)

    Scroll to the bottom of the log. Look in the section - summary - for lines that begin with ERROR or FATAL and signals a failure during the installation process.

    Copy and paste this section SUMMARIZED here so that we can check for errors. Alternatively, you can analyze the logs yourself. http://helpx.Adobe.com/Creative-Suite/KB/troubleshoot-install-logs-CS5-CS5.html

    Let us know if that helps.

  • 3328 Sub 103 error error code

    Hello

    Since the installation of new certificates, we get the following error on license applications:

    Error code error Code 3328 Sub [ServerErrorTryAgain] = 103 =

    License server logs contain this detail:

    Application analysis of error

    com.adobe.flashaccess.sdk.protocol.HandlerParsingException: java.lang.IllegalArgumentException: Invalid fill (error Code: 103): impossible to analyze the request

    at com.adobe.flashaccess.sdk.protocol.AbstractHandler.parseRequest(AbstractHandler.java:82)

    Could you give me some ideas what can cause this error or pointers to debug more?

    Thank you

    Mark

    This has been resolved. The issue was due to missing attributes on public and private keys, generated on the HSM.

  • Error while trying to run DBMS_STAT. GATHER_TABLE_STATS

    Hi gurus,

    I am trying to run DBMS_STAT. GATHER_TABLE_STATS a procedure of a DBA role granted to the user, I get the following error:

    ORA-20000: impossible to analyze the TABLE '< SCHEMA_NAME >. "" < table_name > ', the lack of privileges or does not exist
    ORA-06512: at "SYS." DBMS_STATS", line 13046
    ORA-06512: at "SYS." DBMS_STATS", line 13076
    ORA-06512: at line 2

    Did miss me something?

    Help, please...


    saby

    It is a quite common problem...
    Privileges through roles does not work inside stored procedures. So the DBA role it does not work inside the procedure.
    See Metalink Note 168168.1.

    If you want to run dbms_stats.gather_table_stats from inside the procedure,
    You must grant 'ANY ANALYSIS' directly to that user.

    Thank you
    Tomasz K.

  • Average implement properly sampling frequency

    I am writing a program for the acquisition of data that reads the voltage and data current with a 3 phase generator, IE. There are 3 channels of voltage and data 3 (also represented under tension) current data channels come in my USB-6009.

    The waveform is not yet known but probably roughly sinusoidal until about a power of say 1.5 kHz frequency. I need to work on the (reliable) frequency in real time I know the speed of the generator. I use the 'harmonic distortion Analyzer' VI do basically this deep down it's a FFT on the data. I suspect it's too much an overload of treatment because if I increase to more than 1000 Hz sampling frequency, I'm starting to have problems - and if the data max 1,5 KHz I need to sample and analyze at least 3 kHz, of course.

    Yes - the question is, how can I get the sample to say 3-5 kHz and work on the fundamental frequency of a channel in real time without causing any fall?

    All responses are greatly appreciated.

    Dave

    Dave,

    (1) I prefer to put all of the analyses (as TFF) in a separate loop.  The loop of the acquisition is acquisition.  He acquires the data and puts it into a queue or motor of action to be used elsewhere.  In this way the acquisition schedule is not dependent on the time required for analysis or display or save to file...

    (2) lines are built in features that allow the data to be passed to independent parties to the program efficiently and without risk of conditions of competition inherent in global or local variables.  They also have interesting features like the clusters of the error and wait times.  Motor action are the screws in the form of a while loop with a shift register uninitialized to retain this data.  They contain generally structure case to allow the selection of different actions, such as Initialize, writing and reading, or more complex things like subset of return or average accumulate data.  Research on the Forum for the nugget of Ben and many other messages on the subject.

    (3) convert the data type as a whole.  Obviously, you cannot acquire a fraction of a sample, by using a representation of data that supports the fractions is not necessary.  In this case, it is not a big deal, but constraint points can tell you that LV is doing additional work behind the scenes to change data types, maybe not the way you wanted changed them.

    (4) Yes and no.  The FFT should work even if the signal to noise ratio is reduced.  Think of the component continues as being the 'noise' in this calculation.  If you want zero crossings, so it is essential that the offset be withdrawn.  With the current shift zero crossings will be moved off the middle of the sine wave points or the signal may cross any zero if the oofset is greater than the peak of the periodic component value.

    (5) I suspected something like that.  Multiplying is a bit faster than dividing so it is best if the speed is important.  If it is more convenient for the user or the programmer to get dividers, let the programme calculate the reciprocal multipliers.  Do it once, outside the loop where it does not affect the time.

    (6) I missed that you move data between the loops.  Can't do it with the register shift.  See point 2) on the queues or the drivers of the Action.  Notifier could be used also for the stop.  My opinion: the only place where you need a local variable is if you need to write a value to a control, such that when you set a saved a file configuration.

    A lot to learn.

    Another question: in the original post you said that you needed the determination of the frequency in 'real time '.  It is a slippery term.  You use it for anything other than the number of samples to read?  How fast can change the frequency?  What are the consequences of a delay in obtaining the frequency?  How late can tolerate you before that consequences are unacceptable?

    Lynn

  • Adaptive Filter

    Hi all! Stage of a part, I need to develop a system of data analysis of a three-dimensional accelerometer. With overall good progress in my project I encounter however a problem of filtering:

    I want to realize an AutoFilter (who lisserai my signal to optimally curves) in Labview 8.6.

    After long hours of research, I came across various information about wiener filter only I did not understand everything not absolutely sure it's solution to my problem besides being...

    Is there a kind soul to remove me this bone of the foot?

    If you think of an idea, a method, see United Nations VI, please answer me.

    Thanking you in advance,

    Hi all

    Finally, I think anyway, found the answer to my problem with the 'Harmonic distortion Analyzer' VI gives me the Nyquist frequency, which is ultimately what I tried.

    Thanks to her determination I can impose it as cutoff frequency pour my "Adaptive Filter' (a simple first order low pass pour info) and therefore automatically filter every signals.

    Again thanks Krsone pour your answer, it is true that pour an optimal smoothing of the solution you had proposed to me seems very effective

  • Measurement of deformation of the sine wave

    Hi people.

    I'm trying to measure the deformation of the signal coming from a range. Its a sine wave typical that distorts the increase of entry (see attachments). I was initially just to subtract a known since the signal signal to give the difference. The fault point by point is great for this. I also try to figure out the slope over time and rapid changes of the slope would indicate the point. However, point-by-point calculation of the slope gives too much error. Is it possible to generate accurate slopes or y at - it a function that determines if a signal is not sinusoidal?

    Thank you

    Select this option.

    For a quick visual check, you can use vi tone detection and the export of the residual signal, maybe the effective value of the residues is a nice value (THDN)

    Measures of deformation of a periodic signal (in general) often made in the frequency domain and called harmonic distortion. Also, there are screws that can already do it for you.  (SINAD). The level of DHT is usually used.   See signal processing - wfrm measure

    Your traces resemble a calibration of accelerometer ball steel 1 g for me.

Maybe you are looking for