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

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 5K views
cristian1500
Messages
8
Reaction score
0
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
 
Engineering news on Phys.org
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.
 
I would use simulink in matlab.
 
can anyone tell me how can i generate a sine or cos wave signal with increasing frequency as the simulation time proceeds
 
@f95toli: thanks 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