Path: ...!Xl.tags.giganews.com!local-4.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Tue, 19 Nov 2024 18:51:10 +0000 From: Joe Gwinn Newsgroups: sci.electronics.design Subject: Re: 80dB now but still needs improvement at 1KHz Date: Tue, 19 Nov 2024 13:50:46 -0500 Message-ID: References: <1r37pyc.1bodve2fz5t4wN%liz@poppyrecords.invalid.invalid> <1r3a1m9.1lg1mngftnegwN%liz@poppyrecords.invalid.invalid> User-Agent: ForteAgent/8.00.32.1272 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 34 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-4fNBgUirzsgWCc6bfzE7YunDuN59jxLIWzPoZZgEKwaG3NYa2013+k7VqpiwmSm++k1j32JieWg6pIF!mVUE+s+PwmBY59zyZ+1l+O3omEgAV1Cip8Vc3VfM1cGRO3flfDb3veko/P9qJEbnbb5EICs= X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 Bytes: 3061 On Tue, 19 Nov 2024 19:12:18 +0100, Jeroen Belleman wrote: >On 11/19/24 17:47, Edward Rawde wrote: >> "Liz Tuddenham" wrote in message news:1r3a1m9.1lg1mngftnegwN%liz@poppyrecords.invalid.invalid... >[...] >>> >>> The startup transient of the FFT would have to be included, so that may >>> set a limit to the accuracy of the simulation measurements. Even if you >>> start on a zero-axis crossing, you will get spurious results because of >>> the finite length of the sample. >> >> Yes I understand that. It's actually a sinewave multiplied by a rectangular function. >> That's why I try to use a sample length of many tens of seconds. >> A window function might help but then I'd have to decide which window to use. >> >>> >>> This can be demonstrated by doing FFT on samples of fewer and fewer >>> cycles from the middle of an apparently pure sinewave. As the sample >>> length decreases, spurious harmonics begin to appear, even though they >>> don't exist in reality. > >An FFT implicitly connects the end of the recording back to the >beginning. It's sufficient that the number of periods is integer. If testing with sine waves that all fit with an integral number of cycles per window, the FFT noise floor will be determined by the precision of the arithmetic used. But there is often a splice error at that join because the fit into the window is approximate, which is a good reason to use a window function. The default choice in the radar world is Taylor. Joe Gwinn