You are on page 1of 15

m=

Continuous-time linear grey box model defined by @TLPlanta2 function:

dx/dt = A x(t) + B u(t) + K e(t)

y(t) = C x(t) + D u(t) + e(t)

A=

x1 x2

x1 0 1

x2 -4.545e+06 -2e+04

B=

voltaje

x1 0

x2 4.545e+06

C=

x1 x2

voltaje 1 0

D=
voltaje

voltaje 0

K=

voltaje

x1 0

x2 0

Model parameters:

G=1

tau = 0.0044

Parameterization:

ODE Function: @TLPlanta2

(parameterizes both continuous- and discrete-time equations)

Disturbance component: fixed

Initial state: 'fixed'

Number of free coefficients: 2

Use "getpvec", "getcov" for parameters and their uncertainties.

Status:

Estimated using GREYEST on time domain data "circuito-TL082".

Fit to estimation data: 96.89%

FPE: 0.0002352, MSE: 0.0002343

>>
Status:

Estimated using GREYEST on time domain data "circuito-TL082".

Fit to estimation data: 96.89%

FPE: 0.0002352, MSE: 0.0002343

>> conversion_ss_t

NUM =

0 0 4545000

DEN =

1.0e+06 *

0.0000 0.0200 4.5450


PID_rediseno

Ti =

5.0000e-04

Td =
5.0000e-04

Current plot held

T=

1.0000e-03

Gdt =

(28334198897217871443017*z^2 - 1176466*z + 9444732965739291443017)/


(18889465931478580854784000*(z^2 - 1))

GDt =

0.0015 z^2 - 6.228e-20 z + 0.0005

---------------------------------

z^2 - 1

Sample time: 0.001 seconds

Discrete-time transfer function.

num/den =

0.0015 z^2 - 6.2282e-20 z + 0.0005

----------------------------------

z^2 - 1
>>

Caja gris pid chancafe


>> PID_rediseno

Ti =

5.0076e-04

Td =

5.0000e-04

Current plot held

T=

1.0000e-03

Gdt =
(19042234487199415605299679*z^2 - 19361702579765727838142*z +
6340957594873214565299679)/(193617025797655453761536000*(z^2 - 1))

GDt =

0.09835 z^2 - 0.0001 z + 0.03275

--------------------------------

z^2 - 1

Sample time: 0.001 seconds

Discrete-time transfer function.

num/den =

0.09835 z^2 - 0.0001 z + 0.03275

--------------------------------

z^2 - 1
>>

You might also like