how to write code for controller

Hi everyone; Can anyone guide me the simple steps that how can I write my own code for pid controller without using any built in command. Please guide me.

Risposte (1)

Walter Roberson
Walter Roberson il 24 Nov 2012

0 voti

3 Commenti

azan
azan il 25 Nov 2012
I have seen many codes on pid controller in which input is step or ramp I haven't seen a single code in which input to pid is a scalar quantity and output is shown for that. I was having no idea that is it possible to write such code for pid controller. According to my experience it is not always necessary to use built in commands one can also write the code without using them.
Did you read the link I gave? It lists the kinds of code that it is possible to write in MATLAB without using any built-in commands. PID controllers are not possible without using an built-in commands.
azan
azan il 25 Nov 2012
ok sir now I got the point but using the built in commands for pid controller is it possible to give it a scalar input rather than ramp or step.

Accedi per commentare.

Prodotti

Richiesto:

il 24 Nov 2012

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by