Previous in Forum: File Sharing on a Network Using Windows 7   Next in Forum: Set FQDN
Close
Close
Close
9 comments
Rate Comments: Nested
Power-User

Join Date: Feb 2011
Location: Shimurali, Westbengal,India
Posts: 119

Inverse Fourier Transform in VBA Excel

05/02/2015 12:39 AM

For an electrical system I have harmonic magnitudes in amps for various frequencies. Now, I want to construct the time domain signal of the same using VBA code in excel. Please provide me the VBA code in excel.
Below is the harmonic data:

1st- 3499.195

Amp

2nd283.4348Amp
3rd664.8471Amp
4th178.459Amp
5th395.4091Amp
6th114.7736Amp
7th108.4751Amp
8th48.98873Amp
9th51.08825Amp

8th 3.786127 amp9th 4.011 amp

Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

Good Answers:

These comments received enough positive votes to make them "good answers".
Guru

Join Date: Mar 2012
Location: Out of your mind! Not in sight!
Posts: 4424
Good Answers: 108
#1

Re: Inverse Fourier Transform in VBA Excel

05/02/2015 1:41 AM
__________________
Common Sense Dictates
Register to Reply
Power-User

Join Date: Feb 2011
Location: Shimurali, Westbengal,India
Posts: 119
#2
In reply to #1

Re: Inverse Fourier Transform in VBA Excel

05/02/2015 4:36 AM

Please provide me in a sample worksheet. I can't do it from the link.

Register to Reply
Guru
Engineering Fields - Power Engineering - New Member

Join Date: May 2007
Location: NYC metropolitan area.
Posts: 3230
Good Answers: 444
#3
In reply to #2

Re: Inverse Fourier Transform in VBA Excel

05/02/2015 3:25 PM

You're correct, the link only tells you what to do, not how to do it. You are going to have to do some of your own work or hire someone who can do it for you. Free advice only goes so far, at some point you have to expend some of your own effort/money. Hint: you're at that point.

__________________
“Tell me and I forget. Teach me and I remember. Involve me and I learn.” Ben Franklin.
Register to Reply
Guru

Join Date: Mar 2012
Location: Out of your mind! Not in sight!
Posts: 4424
Good Answers: 108
#7
In reply to #2

Re: Inverse Fourier Transform in VBA Excel

05/05/2015 12:37 AM

If I was to provide you with a sample sheet, how would you be able to use it?

How would you trouble shoot it? How would you adapt it to your question?

Start from the beginning and not from the end.

Lay it out on paper and then start making your Excel sheet. Using the link I provided you should be able to use Fourier in VBA.

If this is not the case then you need to start even earlier.

How about another web search?

__________________
Common Sense Dictates
Register to Reply
Guru
Safety - Hazmat - New Member United States - US - Statue of Liberty - New Member Engineering Fields - Chemical Engineering - Old Hand

Join Date: Mar 2011
Location: Lubbock, Texas
Posts: 14331
Good Answers: 162
#8
In reply to #1

Re: Inverse Fourier Transform in VBA Excel

05/06/2015 12:46 PM

I can't get the thing to work either after several tries. maybe the input range for the inverse transformation was not set up properly (needs phase vector).

__________________
If it ain't broke, don't fix it. Just build a better one.
Register to Reply
2
Guru

Join Date: Apr 2010
Location: About 4000 miles from the center of the earth (+/-100 mi)
Posts: 9910
Good Answers: 1141
#4

Re: Inverse Fourier Transform in VBA Excel

05/02/2015 6:00 PM

You can't reproduce the time series with just amplitude information. You need phase information also.

Register to Reply Good Answer (Score 2)
Power-User

Join Date: Feb 2007
Posts: 276
Good Answers: 25
#5
In reply to #4

Re: Inverse Fourier Transform in VBA Excel

05/03/2015 12:11 AM

Yup.

Register to Reply
Guru

Join Date: Jun 2011
Location: Phnom Penh
Posts: 4019
Good Answers: 102
#6

Re: Inverse Fourier Transform in VBA Excel

05/04/2015 12:08 AM

What's with the 8th and 9th ambiguity?

Are they all "suspect" values?

True RMS I'm guessing. 50,60 or 400Hz fundamental?

What instrumentation did you use for data collection?

Tell us a tale!

__________________
Difficulty is not an obstacle it is merely an attribute.
Register to Reply
Guru
Popular Science - Cosmology - New Member Technical Fields - Technical Writing - New Member Engineering Fields - Energy Engineering - New Member Engineering Fields - Electrical Engineering - New Member Engineering Fields - Control Engineering - New Member Engineering Fields - Electromechanical Engineering - Old Member, New Association

Join Date: Apr 2008
Location: Lexington, KY
Posts: 1639
Good Answers: 73
#9

Re: Inverse Fourier Transform in VBA Excel

06/05/2015 1:06 PM

What do you intend to do with the time domain? The reason most instruments that give you this kind of information is so that you can consider the effects that those harmonics have on other equipment. From the magnitude of the primary current, I might surmise that you are attempting to calculate the actual peak voltage that is being expressed across a power factor correction capacitor. To do this, you will have to consider if they are additive or subtractive at any instant in time. Then as you sum up the contributing voltages you may discover that you are punching holes in you power factor correction capacitor by exceeding the rated voltage. This causes many of them to eventually catch on fire. The fire department will usually just let them burn unless the power pole is threatened by the flames. Been there, seen it.

I was under the impression that phase shift considerations are taken care of inside the equipment calculations for harmonic content. Otherwise, the information would be essentially useless.

__________________
A great troubleshooting tip...."When you eliminate the impossible, whatever remains, however improbable, must be the truth." Sir Arthur Conan Doyle
Register to Reply
Register to Reply 9 comments

Good Answers:

These comments received enough positive votes to make them "good answers".
Copy to Clipboard

Users who posted comments:

amitabha0107 (1); Ed Watts (1); IdeaSmith (2); James Stewart (1); NotUrOrdinaryJoe (1); RAMConsult (1); Rixter (1); Wal (1)

Previous in Forum: File Sharing on a Network Using Windows 7   Next in Forum: Set FQDN

Advertisement