LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

HOW TO INTRODUCE VOLTAGE SPIKE ON FREQUENCY SPECTRUM AT REGULAR INTERVALS

Solved!
Go to solution

Good Day everybody

 

Can you guide me how can I add the amplitude spikes of -200 dB magnitude at frequency intervals of 60,120,180,240,300 Hz in the frequency spectrum that I obtained using FFT Power spectrum. I have attched the graph in which I want to have addition of amplitude spikes.

 

Regards

 

Automata

0 Kudos
Message 1 of 8
(2,650 Views)

Do you want to artificially set the value of each of your listed frequencies to -200dB or are you asking how to design your hardware to have notches in the response? Considering the second one isn't practically achievable, I'm guessing you just want to add artificial values to your graph display. The step size of an FFT is sampling frequency (Fs), divided by the number of samples (n) collected. The first point in the FFT array should be DC, the next point will be at frequency Fs/n. Suppose your Fs/n = 10, then 60Hz will be in the seventh bin (0, 10, 20, 30, 40, 50, 60). Simply replace index 6 with your desired value (-200dB). Let me know if I have completely misunderstood your question.

Charles Chickering
Architecture is art with rules.

...and the rules are more like guidelines
0 Kudos
Message 2 of 8
(2,649 Views)

Instead of replacing, you might actually want to add to the value in that index.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 8
(2,642 Views)

Dear Sir

 

You under stand my question. I want to add artificial values in graph. My Fs=25000S/sec and n=200000 so Fs/n=0.125. So for 60 hz my bin will at 480. Now how I replace index 480 with -200dB.


Attach is my block diagram.

 

Kind Regards

 

Automata

0 Kudos
Message 4 of 8
(2,616 Views)

See attached.

Charles Chickering
Architecture is art with rules.

...and the rules are more like guidelines
0 Kudos
Message 5 of 8
(2,612 Views)

Dear Sir

 

I am using version8.2 of LabView. Can you send me the file after converting it into 8.2 version

 

Kind Regards

 

Automata

0 Kudos
Message 6 of 8
(2,608 Views)
Solution
Accepted by topic author AutomationUET

Here it is in 8.2 Format.

Charles Chickering
Architecture is art with rules.

...and the rules are more like guidelines
Message 7 of 8
(2,602 Views)

Dear Charles

 

Your attention and consideration is highly appreciated. Thank you

 

Best Regards

 

Automata

0 Kudos
Message 8 of 8
(2,591 Views)