• Yondoza@sh.itjust.works
    link
    fedilink
    arrow-up
    0
    ·
    24 days ago

    I have a system dynamics question! Maybe you could point me in the right direction? If I have the system response to a step input, what is the simplist way to derive the transfer function? I’ve only ever learned how to use a system to do modeling, not how to reverse engineer the model.

    • T4V0@lemmy.pt
      link
      fedilink
      arrow-up
      0
      ·
      24 days ago

      In a broad solution, you need to reverse the convolution of your system’s output.

      Assuming it’s a linear continuous system, and a Single Input and Single Output (SISO), you do the Laplace transform of the signal L{y(t)}=Y(s) and obtain the Laplace transform of the input L{x(t)}=X(s) and the transfer function of the system is H(s)=Y(s)/X(s), and the transfer function of the step is 1/s, therefore: H(s)=Y(s)/(1/s) => H(s)=sY(s), then you do the inverse Laplace transform: L-¹{H(s)}=L-¹{sY(s)}, which, depending on your system, may require partial fraction expansion. By the end you have h(t) (got a bit lazy here since y(t) is not known, but the step function is very well known).

      Of course I made a bunch of assumptions about your system, if your system has discrete steps, the Z transform is of interest, with its own caveats mind you. Then there a filters and other numerical approximations for a reverse convolution.