Obtain transfer function of a system and simulate it with a PID controller

  1. I want to tune my PID controller. For this I could either do this on-line using the controller on the system, or I could try to obtain the systems' transfer function and then simulate it off-line together with the PID controller to tune it to the desired behavior. I suspect the system is non-linear but I'm not sure.

    Do you have any experience with off-line simulations of a system control loop? Is it possible to obtain a systems' transfer function?

    Here is a first approach to the problem:
    http://www.facstaff.bucknell.edu/mastascu/econtrolhtml/Model/Model5.html
     
  2. jcsd
  3. dlgoff

    dlgoff 3,154
    Science Advisor
    Gold Member
    2014 Award

    I can't image why you would NOT want to tune your controller on the system it's going to control. If you know the system well enough to produce some sort of input signal that simulates it, why not just enter the parameter data into the controller then run your system and see how well you really knew it.
     
  4. I would use simulink in matlab.
     
  5. can anyone tell me how can i generate a sine or cos wave signal with increasing frequency as the simulation time proceeds
     
  6. f95toli

    f95toli 2,438
    Science Advisor
    Gold Member

    You mean a chirp?
    Using what software? In Matlab you would -not surprisingly- use the "chirp" command...
     
  7. @f95toli: thanx for ur reply
    using simulink!
    i know we can use a chirp for cosine ,but how can i change the amplitude of the wave
    and i also need to genrate a similar sine wave with increasing freq and constant amplitude
    can you help me out
     
Know someone interested in this topic? Share this thead via email, Google+, Twitter, or Facebook

Have something to add?
Similar discussions for: Obtain transfer function of a system and simulate it with a PID controller
Loading...