Simulink Control Design™ - MathWorks

(Tuis.) #1

oppoint=findop('magball',20)


This syntax returns the following operating point:


Operating Point for the Model magball.
(Time-Varying Components Evaluated at time t=20)


States:


(1.) magball/Controller/PID Controller/Filter
x: 2.33e-007
(2.) magball/Controller/PID Controller/Integrator
x: 14
(3.) magball/Magnetic Ball Plant/Current
x: 7
(4.) magball/Magnetic Ball Plant/dhdt
x: 3.6e-008
(5.) magball/Magnetic Ball Plant/height
x: 0.05


Inputs: None


Use these operating point values as initial values in an operating point specification
object.


opspec=operspec('magball');
newopspec=initopspec(opspec,oppoint)


The new operating point specification object is displayed.


Operating Specification for the Model magball.
(Time-Varying Components Evaluated at time t=0)


States:


(1.) magball/Controller/PID Controller/Filter
spec: dx = 0, initial guess: 2.33e-007
(2.) magball/Controller/PID Controller/Integrator
spec: dx = 0, initial guess: 14
(3.) magball/Magnetic Ball Plant/Current
spec: dx = 0, initial guess: 7
(4.) magball/Magnetic Ball Plant/dhdt
spec: dx = 0, initial guess: 3.6e-008
(5.) magball/Magnetic Ball Plant/height


initopspec
Free download pdf