How to enhance frequency resolution of fft spectrum on x-axis

Dear Sir
I get the frequency spectrum of my real time signal. Frequency span that I want to analyze is 0~500hz. I get that span by setting the sampling rate. But the frequency resolution coming on graph is of 100hz (as shown in attachment). My requirement is to have frequency resolution of 10hz with same frequency span. Please guide me how can I achieve this.
I shall be thankful to you
Kind Regards
Muhammad Irfan
Student
UTP Malaysia
0060149087570
Solved!
Go to Solution.
Attachments:
fft graph1.JPG ‏40 KB

I set the dt value to 0.002. For this I set sampling rate 2000hz and no.of samples 1000000. In this way I achieve frequency span of 250hz. But resolution is still 100hz (as shown in attach 1). My question is how can I set resolution to 10hz? I increase the number of samples but from doing this only the frequency span changes and resolution remain same as 100hz. Resolution become 10hz only when I set total frequency span to 50 hz (but My frequency span of intrest is 0~500hz or 0~250hz not below thos).
I am attaching the gaph in attachment 2 from where you can undersatnd what type of resolution and frequency span I want.
Attachments:
fft graph2.JPG ‏39 KB
desired values for scales.JPG ‏35 KB

Similar Messages

  • How come in frequency/ Time domain there is no negative axis?

    Hi guys!
    I m doing a tutorial to represent sine wave in its frequency domian? ALthough i get the 2 compoents from(exp(jwt)*cos wt) but all the  frequency components are in positive domain???
    Its completely different from what I had studided?
    AM I wrong?
    Pls correct... Learning in jeopardise...lolx..
    Thank u!

    See reply here:  http://forums.ni.com/ni/board/message?board.id=170&view=by_date_descending&message.id=322149#M322149

  • How do I get my DAQ to have frequency resolution of 0.5 hz after FFT ?

    Hi all,
    I was just wondering how do I get a frequency resolution of 0.5hz after the FFT from this VI.
    Or perhaps there can be some advice on where I must improve it.
    Appreciate all advice, thanks!
    -How81
    as of now, the waveform graph i obtained, I wanted it to be of 0.5 hz, hence I used its property to set it at 0.5hz.
    Message Edited by How81 on 10-13-2007 03:31 AM
    Attachments:
    Final DAQ.vi ‏107 KB

    Hi How81,
       I won't comment on your code, I'm unable to see it (I have LV 71.1).  So I'll discuss a little bit the DSP.
       If you want such a low frequency resolution, you have to sample a little longer.  If your top-frequency is 25 Hz, I don't see the need for sampling at 1 kS/s, that gives a Nyquist freq. of 500 Hz!!! You'll only have a large amount of data, not of your interest!
       Another good advice, is to sample for a long time.  To have a REAL resolution of 0.5 Hz, It is not sufficient to sample 2 MSample for one microsecond! So, you have to sample at least for 2 seconds, but I strongly suggest to sample for a longer time.  In DSP,you almost always have to use some tolerances.
       Another matter is FFT resolution due to number of samples. If you sample 2 kS/s for 1 second, and you'll get a "2000 point FFT (...)", you'll see 1000 equally spaced frequency samples, from 0 to 1000 Hz (ie 1 Hz spacing), you can't have a resolution of more than 1 Hz. I would suggest something like sampling at (say for tolerance) 100 S/s, (top freq. you seee in FFT: 50 Hz), for 10 seconds: so you have 1000 points, but you have a resolution of 0.1 Hz.
       A part from this, always consider that FFT works in 2-powers, so it's better to do a 1024 points FFT.   Then you can use zero padding techniques to "adjust" fft to see samples at right frequencies, or sample 1024*10 samples in time at 1024 S/s and then decimate..... you have many choices.
       Hope this can help. Have a nice day!
    graziano

  • Performing an fft with specific frequency resolution

    I have a 24 kHZ signal that was sampled for 16 seconds. When I take the fft I have a delta f of about 0.06 Hz. What I really need is to be able to see the data with a frequency resolution of something like 3.75 Hz as a part of order analysis. I realize that in order to do something like that I need to either reduce my number of samples or resample the data. Resampling has turned into a problem due to the amount of memory that it takes up. I have tried breaking the data up into chunks that will give me that 3.75 Hz resolution and then taking the ffts of each of those chunks. Now I want to take the average of all of these ffts but I am at a loss as to how to do this. Can anyone help me? Or am I just going about this completely the wrong way?

    Attachments:
    ensemble.png ‏31 KB

  • I upload iPhone pics to Shutterfly, which gives me a "low resolution" warning and blurry prints. Does anyone know how to enhance resolution/printing quality of iPhone pictures? iPhone 5

    i upload iPhone pics to Shutterfly, which gives me a "low resolution" warning and blurry prints. Does anyone know how to enhance resolution/printing quality of iPhone pictures?
    iPhone 5

    How does iPhoto play a part in this?  You're in the iPhoto forum.  Shouldn't you be asking your question in the iPhone forum?  I'll ask the powers to be to move you question to the iPhone forum.
    OT

  • FFT Frequency Resolution vs. Graph Update Rate of a Vibration Signal

    Hello,
    First, what I know:
    The frequency resolution (Hz) of an fft is 1/acquisitionTime (e.g. if 2 seconds of data are acquired, the frequency resolution is 1/2s = 0.5Hz).
    What I'm Wondering:
    Let's say I'm displaying an acquired signal on a graph and freq res = 0.5Hz.  The graph update rate is therefore approx 2sec.  This may appear to be an application with a problem from a user's perspective.
    Can I increase the update rate?
    It seems that with vibration data (i.e. mostly non-periodic) I could create a buffer that is 2sec long.  The first data acquisition sequence will fil the buffer with 2sec of data.  Then I could just acquire something shorter than 2sec of data (let's say 1/4sec).  If I am acquiring data continuously and I push the 1/4sec of data into the front of my buffer then perform the fft again, I have effectively increased my graph update rate to 1/4sec and my users think I'm great.
    Can anyone shed any light on whether or not (why/why not) this will work?
    Thanks for your time,
    Chris  

    The best tool NI provides for your application is the Zoom FFT.  This allows you to specify the span (frequency range of the FFT) and the zoom (the delta f such as 0.5hz) in the FFT.  The Zoom FFT has a built in buffer, called overlap and allows you to set the overlap so that it updates at the appropriate rate, event though you may need many seconds of data to get the delta-f in the FFT you are looking for.  We package all this and manage units to display the correct units for power density, power, linear, magnitude, rms, 0 to peak, peak to peak, etc.  We even provide a express VI for the zoom FFT and it is also part of the Sound and Vibration Assistant, requiring no programming at all.
    http://digital.ni.com/public.nsf/allkb/F70DB3441DC5AB9986256E97005BA825
    http://zone.ni.com/devzone/cda/tut/p/id/6107
    http://zone.ni.com/devzone/cda/epd/p/id/5505
    http://sine.ni.com/nips/cds/view/p/lang/en/nid/12152
    Preston Johnson
    Principal Sales Engineer
    Condition Monitoring Systems
    Vibration Analyst III - www.vibinst.org, www.mobiusinstitute.com
    National Instruments
    [email protected]
    www.ni.com/mcm
    www.ni.com/soundandvibration
    www.ni.com/biganalogdata
    512-683-5444

  • How can i create an indicator to read the RMS value of my FFT using FFT Spectrum (Mag-Phase).vi

    Hai to all,
    how can i create an indicator to read the RMS value of my FFT using FFT Spectrum (Mag-Phase).vi.
    as u can see in my block diagram(attached), i can use statistic to read the RMS value for the data but i cant's use it on the FFT Spectrum (mag-Phase).vi .
    Thank you for helping.
    Attachments:
    block diagram.jpg ‏48 KB

    hafizzuddin wrote:
    thank you for the opinions, for now i am not using any express Vi..
    In the long run you will benefit from this. Anyway is your problem solved, or do you need more help?
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • Frequency Response Function & FFT & Inverse FFT (problem of unit Volts-RMS)

    Hello everyone,
    I am currently working on a VI in order to compare two analog signals : the first one corresponds to the output signal (my reference) which is sent by my data acquisition card to a shaker and the second one corresponds to the input signal recorded by an accelerometer fixed on the same shaker. The final goal of the VI is to correct the analog output signal by using the analog input recorded signal in order to have the vibrations on the shaker which corresponds to what we really want.
    To summary, I have a problem of unit with the Volts-RMS...
    So this is my method for the VI :
    First, I have to calculate the Frequency Response Function between the two analog signals (output and input). For it, I use the " Frequency Response Function (Real-Im).vi " which returns the complex values of the FRF in Volts-RMS (but I don't want to use this unit).
    Then, I want to calculate the FFT of the analog output signal (my reference). There are two different blocs which can be used : " FFT Spectrum (Real-Im).vi " and " FFT.vi ".
    The " FFT Spectrum (Real-Im).vi " returns the FFT complex values of the signal in Volts-RMS and the " FFT.vi " returns the FFT complex values in Volts (or say me if I am wrong, thank you). I really would like to use the second one because of the unit.
    Then, I divide the FFT just calculated with the Frequency Response Function calculated just before.
    For the end, I calculate the inverse FFT of that with the " Inverse FFT.vi " which use the complex values with the same unit than for the " FFT.vi ".
    I don't want to use the Volts-RMS unit because I absolutly want to use the blocs " FFT.vi " and " Inverse FFT.vi ".
    The problem is that I don't find a bloc which use the same unit for the Frequency Response Function. The " Frequency Response Function (Real-Im).vi " returns only the complex values in Volts-RMS unit. Maybe it is possible to convert it correctly? Or maybe there is an other bloc which can be used in order to calculate the Frequency Response Function with the same init than for the FFT and Inverse FFT ? Because I can't mix everything for the moment...
    Thank you for your help,
    Best regards,
    Sebastien

    Hello Preston,
    No, I have not use the Sound and Vibration toolkit. I have only used the signal processing toolkit with the two toolboxes " Waveform measurement " and " Transforms ".
    But I think that what I have done for the moment in my VI is correct (I have finished the complete VI). But I am not sure of the units (Volts, Volts-RMS...) and I would like to understand.
    I have tried with the Sound and Vibration toolkit for the frequency response function (because you say me that it deals with all the unit conversion) and I can obtain the same results than with the " Frequency Response Function.vi " of the toolbox " Waveform measurement ".
    But I would like to understand the units (see my previous post please). For example, for the FFT (the result is a complex), why sometimes it is in Volts, sometimes it is in Volts-RMS ? Is it possible to convert it ? How ?
    If you want, I can attach on the forum my VI and that will maybe help you to explain me. Maybe it will help other people interested.
    And if someone else can give me other precisions or advices about it, do not hesitate.
    Thank you for your help,
    Sebastien

  • Normalization of FFT Spectrum

    Dear Sir
    I take FFT of my real time data that I collect from current probe. I successfully get the FFT spectrum. But my supervisor ask me to normalize the harmonic component present at 25 Hz in the FFT spectrum with fundamental component. Can you please guide me how I should do this task.
    Also what is normalization and what are its benefits.
    The frequency of fundamental component is 50 Hz.
    Your attention and consideration will be highly appreciated.
    Kind Regards
    Urfee
    Solved!
    Go to Solution.
    Attachments:
    LabVIEW 6281-50.vi ‏61 KB

    The problem is to know what to use as a reference for the normalization. The image below shows an expanded view of the Instantaneous Current Spectrum with the display style set to show the actual data points. I also moved the frequency indicator wired to the Tone Measurements VI into the image. The frequency as detected is not exactly 50 Hz. Note that the data points in the spectrum are not symmetrical about 50 Hz. This is another indication that the sampling is not perfectly synchronous. The result is that the spectrum contains 11 points fro 49 to 51 Hz which are within 60 dB of the highest point.  If you want to normaize to the fundamental, you need to determine the total energy in the fundamental component. That probably includes the data points in that 2 Hz range or maybe slightly more.
    Although you stated that you are sampling at 25 kHz, the latest VI you posted shows 8 kHz sampling.
    Multiplying the voltage and current waveforms will give you instantaneous power - almost. If you are using a multiplexed A/D converter, then there is a small time delay between channels. That produces a phase shift that will introduce errors in the instantaneous power and other results like power factor. For example sampling two channels at 8 kHz means that each sample on one channel is 12.5 us apart. Consecutive voltage and current samples may be separated by half that much (assuming you are only sampling two channels). The phase shift at 50 Hz from a 6.25 us delay is 0.11 degrees. You will need to decide it that introduces more error than you can tolerate.  Faster sampling will reduce that. Using a simultaneous sampling DAQ device (which contains one A/D converter per channel) will eliminate it.
    Lynn

  • What is the difference between SMT zoom FFT, FFT spectrum, SVT FFT spectrum, complex FFT vi, real FFT vi

    what is the difference between SMT zoom FFT, FFT spectrum, SVT FFT spectrum, complex FFT vi, real FFT vi in the labview functions palette. I am getting different spectrums on performing the above mentioned ffts on the same time domain data

    Complex FFT takes a complex input array and gives a complex output array. Real FFT assumes the input data is real valued only, ie imaginary parts are zero. It can be computed quicker than the complex FFT so if data is real it is better to use this. There is a Power Spectrum vi that computes normalised power of the complex output of the FFT for a real input sequence(sum of squares of real and imaginary parts). Auto Power spectrum gives a single sided output ie positive frequencies only. This is normalised as well. Just check the help on the vis for the normalisation factor. The Zoom FFT isn't in the professional edition of LV. I know zoom FFT comes with the S&V toolkit. It allows one to measure the spectrum of a signal with improved frequency re
    solution over a limited band. I think SVT stands for Sound and Vibration Toolset.

  • FFT Spectrum

    Hello Everyone,
    I am using the FFT Spectrum (Mag-Phase).vi
    But whatever avering parameters I use, I always get the same Magnitude Spectrum. I also wonder if I am using the VI in the correct way. I included an example.
    Can anybody help me on this please?
    Attachments:
    SpectrumAnalyzer.vi ‏104 KB

    There are two problems in the way your are using the VI. First, the re-start averaging is set to "True" which mean you actually re-start your averaging every time. Next, to average correctly you need to place the VI in a loop (Typically a "For" loop if you are doing linear averaging or a "While" loop for exponential averaging). The VI automatically reset (restarts) it self the first time it is called. Then you can activate the restart boolean when you want to restart the avergaging. I have made a simple VI that shows how it work (see attachement).
    Attachments:
    Averaged_FFT.vi ‏51 KB

  • FFT Spectrum (Mag-Phase​) unit

      Hi,
    I used the VI  "FFT Spectrum (Mag-Phase) " for 1 Chanfor 1 channel with input data in V.
    The magnitude seems to be in volts-rms (Vrms).
    Is it possible to have the result of the magnitude in V?
    I have seen different topics about that, but no clearly reponse.
      Regards
      Julien
    link to LabVIEW help
    http://zone.ni.com/reference/en-XX/help/371361D-01​/lvwave/fft_spectrum_mag_phase/ 

    Hi Massif,
    Please Read the following KB - What is the definition of root mean square (RMS) voltage?
    Here it mentions how you can convert the Vrms value to a V peak value.
    I have attached a small VI which you can use to do this conversion.
    Enjoy.
    Message Edited by Kabul on 06-10-2008 01:09 PM
    CLA | LabVIEW 7.1... 2013
    www.renishaw.com
    Attachments:
    VRms to Vpeak1.vi ‏13 KB

  • On 11in Macbook Air (10.10), how do I increase resolution of built-in display to 2560 by 1600 pixels?

    On 11in Macbook Air (10.10), how do I increase resolution of built-in display to 2560 by 1600 pixels?
    It can be accomplished when an external display is connected, so I expect it can be done without an external display.

    You're getting full native resolution 1366 x 768 on your internal display, nothing more.
    http://www.apple.com/macbook-air/specs.html
    April 2014 11" MacBook Air Specs:
    DISPLAY: 11.6-inch (diagonal) LED-backlit glossy widescreen display with support for millions of colors
    Supported resolutions:
    1366 by 768 (native), 1344 by 756, and 1280 by 720 pixels at 16:9 aspect ratio; 1152 by 720 and 1024 by 640 pixels at 16:10 aspect ratio; 1024 by 768 and 800 by 600 pixels at 4:3 aspect ratio
    GRAPHICS & VIDEO SUPPORT:
    Intel HD Graphics 5000
    Dual display and video mirroring: Simultaneously supports full native resolution on the built-in display and up to 2560 by 1600 pixels on an external display, both at millions of colors
    http://www.everymac.com/systems/apple/macbook-air/specs/macbook-air-core-i7-1.7- 11-early-2014-specs.html

  • How to enhance table control in DMS. Need to display doknr more than 25 cha

    Hi there.
    In transaction IL03 - document tab - I need to display a doknr which is longer than 25 characters.
    I search for exit/enhancement for DMS - saplcv140/control SUB_DOC, but cant find anything.
    If it is not possible to enhance this field, i would like to add a new field (more than 25 char) and fill in the long doknr.
    The documents that are attached contains both an internal docnumber(from the external system) and an external docnumber (functional location type of number). It is very important to show external documentno in the table control.
    Actually in the table DRAW the external dok number is in the field MRK_FILEP. Can this field somehow get in the tablecontrol?
    Anybody has experience with docno longer than 25 characters? Or how to enhance tablecontrol sub_doc (screen 0204) in fuction group CV140.
    Br,
    Liselotte.

    The BAdI CRM_BADI_RF_Q1O_SEARCH is for enhancing OneOrder based searches. Not for business partners.
    The BAdI CRM_BUPA_IL_SEARCH is the way to go. I just checked in our system.
    In the method SEARCH_CRITERIA_INITIAL check if your field is supplied in IS_PARAMETERS. If yes return CV_IS_NOT_INITIAL = 'X'.
    Then in SEARCH_PARTNERS you delete the entries from table CT_PARTNER_KEYS according to your parameter.
    However this is not very performant. If you have a search with criteria only of your own for the BAdI SAP coding will first select everything and then you filter out.
    Anyway, it is much faster to implement than a new search...
    cheers Carsten
    Edited by: Carsten Kasper on Nov 18, 2008 7:44 PM

  • How to check the resolution of a pdf file using Acrobat 9 pro?

    How to check the resolution of a pdf file using Acrobat 9 pro?

    PDF files don't have one resolution, but may have none or many different resolutions, one per image. You can check the maximum/minimum resoluion with preflight in Acrobat Pro, but not in Adobe Reader.

Maybe you are looking for

  • Problem During NWDS start up

    Hi all,     I have installed Net weaver IDE in my system.Now i have started my IDE by clicking on the icon. It was shown me a Browse option to select workspace. I have selected default workspace. But it is giving me an error saying : Problem during s

  • Mail doesn't send stationary header image

    Hey guys, I'm working on a custom made stationary but I'm running into some problems. When I compose a message using my stationary ... everything appears like I want but when I hit SEND and refresh my inbox, all I get is the bottom part of the mail w

  • SQL Loader: Multiple data files to Multiple Tables

    How do you create one control file that refrences multiple data file and each file loads data in a different table. Eg. DataFile1 --> Table 1 DataFile2 --> Table 2 Contents and Structure of both data files are different. Data file is comma seperated.

  • Cannot place file?

    I've done a lot of work on a logo and I'm trying to use the benefits of placing a file, rather than embedding it so any updates to it will be reflected over the different documents. I've attached a video, I used same method as many times before yet t

  • Slideshows in PSE elements 8

    I created a slideshow the other day and upon completion did the "output" thing and it was successfully created.  A day or two later I went into PSE to edit the slideshow and all the pictures were gone.  The graphics were there, as well the audio but