Register to reply

Find Transfer Function from Experimental Data

by arcticMouse
Tags: experimental data, transfer function
Share this thread:
Dec16-12, 02:45 PM
P: 1
I would like to find a useful function to predict the output based on the input. I'm trying to figure out how to get the transfer function given actual input and output data.

What I've tried is getting a transfer function using fourier transforms. I'm attemping to do a fft on both the input and the output and dividing the output over the input and using fft of the absolute value to get the transfer function. The problem is it doesn't allow me to predict the output very well, though it does give me something that looks like a sum of exponential which is what I expect. Do I need to subtract an offset or apply gain and an offset? (y = mx + b sort of thing). I think I'm missing some key concept that I don't know how to describe.

Here's a simple sketch of what I'm trying to do.

Here's some pseudo code of what I've tried. I don't have matlab or anything fancy to do this for me, I'm trying to write it for an arduino project.

input_fft = fft(input);
output_fft = fft(output);
tf_fd = output_fft / input_fft;
tf = fft(abs(tf_fd));

Just a point in the right direction would be great! Maybe I'm going about this all wrong.
Phys.Org News Partner Engineering news on
New filter technology uses inert gas to bore holes in high-quality steel
Augmented reality helps in industrial troubleshooting
How wireless technology can dramatically improve ship safety
Dec17-12, 01:40 AM
P: 588
You can download opensource Octave. It has system identification functions, arx for example.
I like Serena
Dec17-12, 10:08 AM
HW Helper
I like Serena's Avatar
P: 6,187
Welcome to PF, arcticMouse!

Are you aware that you should calculate a newoutput for some newinput with:
newoutput = fftinverse(fft(newinput) * tf_fd)

Register to reply

Related Discussions
How to find terminal velocity from experimental data? Introductory Physics Homework 7
How to find the transfer function (frequency response function) given the EOM Mechanical Engineering 1
Estimate and apply transfer function to vibration data Math & Science Software 2
Where can I find experimental data High Energy, Nuclear, Particle Physics 3
Calculating heat transfer coefficient from experimental data Classical Physics 6