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.(adsbygoogle = window.adsbygoogle || []).push({});

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.

http://i.imgur.com/4eo1x.png

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.

**Physics Forums - The Fusion of Science and Community**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Find Transfer Function from Experimental Data

Loading...

Similar Threads - Find Transfer Function | Date |
---|---|

Finding the Torque vs RPM curve for a 3-phase AC induction motor | Sunday at 11:53 AM |

Need to find an old variable capacitor | Feb 9, 2018 |

3N187, where to find this type of MOSFET in LTSpice | Dec 20, 2017 |

Need to Find the Total Resistance | Nov 23, 2017 |

How to find transfer function of real world system? | Aug 5, 2015 |

**Physics Forums - The Fusion of Science and Community**