Calculation of dead time and time constant for non linear system
20 次查看(过去 30 天)
显示 更早的评论
Hello ,
I am simulating a non linear system on simulink . I used the scope to show the output and saved the output signal with time to the workspace . Is there any function to calculate the dead time and time constant given the output with time ?
0 个评论
回答(3 个)
surya
2012-3-9
Calculation of dead time is a bit debatable aspect, you might want to look at a data based approach, like system identification.. System delay calculation. Might not be very accurate.. but gives an approximate idea.
0 个评论
Rajiv Singh
2012-3-16
Delays are not necessarily separable from system dynamics such as effect of poles and zeros on the response. However, in many cases, DELAYEST in System Identification Toolbox works fine to deliver delays as number of multiples of data sample time. See also http://www.mathworks.com/products/sysid/demos.html?file=/products/demos/shipping/ident/iddemo3.html
1 个评论
Ashim
2017-9-22
you can easily perform the time constant analysis on the output, if you know the objective non-linear function
options = optimoptions(...); % select the options that match your data
objfcn = @(y,t) y(1) + y(2)*(1-exp(y(3)*t)) - yobs; % objective function for time constant where y2 is usually the differential. use Taylor series to construct such an equation
y0 = [y10, y20, y30]; initial guesses
lb = [10, 10, 1]...; %lower bound
ub = [100, 100, 10]; % upper bound
[haty, resnorm, res, output, exitflag] = lsqnonlin(objfcn, y0, lb,
ub, options); non-linear least squares fitting
Ashim
2017-9-22
you can easily perform the time constant analysis on the output, if you know the objective non-linear function
options = optimoptions(...); % select the options that match your data
objfcn = @(y,t) y(1) + y(2)*(1-exp(y(3)*t)) - yobs; % objective function for time constant where y2 is usually the differential. use Taylor series to construct such an equation
y0 = [y10, y20, y30]; initial guesses
lb = [10, 10, 1]...; %lower bound
ub = [100, 100, 10]; % upper bound
[haty, resnorm, res, output, exitflag] = lsqnonlin(objfcn, y0, lb,
ub, options); non-linear least squares fitting
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Linear Model Identification 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!