Physics Forums

Physics Forums (http://www.physicsforums.com/index.php)
-   Electrical Engineering (http://www.physicsforums.com/forumdisplay.php?f=102)
-   -   Obtain transfer function of a system and simulate it with a PID controller (http://www.physicsforums.com/showthread.php?t=347371)

cristian1500 Oct20-09 02:20 PM

Obtain transfer function of a system and simulate it with a PID controller
 
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/mas...el/Model5.html

dlgoff Oct20-09 05:23 PM

Re: Obtain transfer function of a system and simulate it with a PID controller
 
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.

bassplayer142 Oct20-09 10:38 PM

Re: Obtain transfer function of a system and simulate it with a PID controller
 
I would use simulink in matlab.

siddartha2 Feb21-10 12:13 PM

Re: Obtain transfer function of a system and simulate it with a PID controller
 
can anyone tell me how can i generate a sine or cos wave signal with increasing frequency as the simulation time proceeds

f95toli Feb21-10 12:22 PM

Re: Obtain transfer function of a system and simulate it with a PID controller
 
You mean a chirp?
Using what software? In Matlab you would -not surprisingly- use the "chirp" command...

siddartha2 Feb22-10 09:13 AM

Re: Obtain transfer function of a system and simulate it with a PID controller
 
@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


All times are GMT -5. The time now is 01:00 PM.

Powered by vBulletin Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2014 Physics Forums