# Measuring frequency response with white noise signal

I need to measure a frequency response of an eleсtric circuit (simple like an RC-filter). I suppose that I can generate an input signal that has spectrum like white noise (for example, m-sequence signal or sine sweep), measure an output signal of a circuit and do calculations. And I can get a spectrum if I divide an output signal spectrum by an input signal spectrum.

Am I right? Or am I describing a wrong method?

• Yes, but you need to perform a long measurement or average many shorter measurements. The spectrum of white noise is only flat on average; for a short time interval, it is random.
– MBaz
Apr 10 at 21:04
• This can be a bit more involved that a mere division. can you tell more? Apr 10 at 21:28
• I generate an MLS (maximum length sequence) on DAC. This signal looks like a white noise in frequency domain. MLS is an input signal for a circuit and I measure an output signal with ADC. I suspect that I can do a few measurements, find FFT of each and calculate average values. I am also not sure should I do division because MLS should be like a white noise. Apr 11 at 8:43
• I checked a few papers, a method I described is called 'Dual-channel FFT' or somethind like this. But it usually explaned for sine sweep signal and I don't know can it be used with MLS. Apr 11 at 9:03
• In fact, with a testing signal (MSL or otherwise) at the input of your system, you have a deconvolution problem when seeking to restore the transfer function/frequency response given the input and output data. The deconvolution problem can be solved with spectral division which can be extended to Wiener deconvolution, see my answer to the other dsp question: dsp.stackexchange.com/questions/72501/inverse-system-of-sinc/…. But maybe you are overthinking the problem of measuring "a frequency response of an eleсtric circuit (simple like an RC-filter)", see my answer here. Apr 11 at 11:18