electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

How does the Hspice calculate the DFT of a signal ?


Post new topic  Reply to topic    EDAboard.com Forum Index -> Analog Circuit Design -> How does the Hspice calculate the DFT of a signal ?
Author Message
jiangwp



Joined: 27 Jul 2004
Posts: 184
Helped: 9


Post29 Dec 2004 13:16   

How does the Hspice calculate the DFT of a signal ?


When i do the DFT of a signal by hspice such as :

.FFT v(x) NP=25536 window=bartlet FMIN=1K FMAX=20MEG

I do not known how hspice transfer a continuous time signal v(x) to a discrete frequency signal . However, the DFT mathematic equation can transfer a signal from the time domain to the frequency , how does it approximate a period to a
frequency unit ? and how does it present the spectrum ?
Back to top
andy1



Joined: 24 Jul 2004
Posts: 126
Helped: 2


Post29 Dec 2004 18:58   

Re: How does the Hspice calculate the DFT of a signal ?


I believe it uses FFT to do discrete Fourier transform. FFt treats the entire window of signal as one period. For example, given x(t) for t = t1 to t2, then one period equals t1 to t2 (t2 - t1). FFt assumes that x(t) repeats after t2 with the same period.
Back to top
jiangwp



Joined: 27 Jul 2004
Posts: 184
Helped: 9


Post30 Dec 2004 10:20   

Re: How does the Hspice calculate the DFT of a signal ?


Yeath , you are right.
In the mean while , i know the step frequency (approximating delta frequency=2/(Tstop)) , by it , we can calculate the point number for frequency range estimated by fft .
But the frequency step effects the time of estimation and the accauracy. How does we select the step as resonable as possible . Is there equation for it.
Back to top
lakeoffire



Joined: 10 Dec 2002
Posts: 54
Helped: 2


Post31 Dec 2004 5:10   

How does the Hspice calculate the DFT of a signal ?


1/Time window will determines the frequency step in DFT. So for the sake of accuracy, you need to run longer transient simulation.
Back to top
Google
AdSense
Google Adsense




Post31 Dec 2004 5:10   

Ads




Back to top
andy1



Joined: 24 Jul 2004
Posts: 126
Helped: 2


Post01 Jan 2005 6:33   

Re: How does the Hspice calculate the DFT of a signal ?


jiangwp wrote:
Yeath , you are right.
In the mean while , i know the step frequency (approximating delta frequency=2/(Tstop)) , by it , we can calculate the point number for frequency range estimated by fft .
But the frequency step effects the time of estimation and the accauracy. How does we select the step as resonable as possible . Is there equation for it.


I am not quite sure what you mean and it may have been answered by lakeoffire but if you're looking for finer step or better resolution in the frequency domain then just take more point during transient analysis but keeping the same period.
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Analog Circuit Design -> How does the Hspice calculate the DFT of a signal ?
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
How does the HFSS calculate the impedance of a lumped port? (1)
how does the ICC calculate the EM problems?? (1)
How to calculate the value of a Vacator using Hspice? (1)
How to calculate the transient power disspation by Hspice? (4)
Does anyone know how to calculate the inductance ofmicrostip (5)
how to calculate the frequency of a signal ... (3)
How to calculate the track length of a signal? (4)
How can I calculate the period of this signal? (23)
how to calculate the THD+N=THD(%)+noise(nv^2/hz) in hspice?? (2)
how to load signal from the hspice for matlab simulation? (2)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS