Initial Conditions for first derivative defined as a transfer function
Show older comments
I have defined defined a second order underdamped system in the time domain with a non zero initial condition for Y'(t) but can not implement this in the laplace domain.
My transfer function
In the time domain I have defined my function:
with initial conditions:
Y(0) = 0
Y'(0) = D
when I set D to zero I get the same result from the two methods so I am confident that I have correctly defined the transfer function but I do not understand how I can implement this into my simulink model such that D is non zero.
I tried using the tf2ss but even without trying to apply any initial conditions the output curve is different? I have also tried using the transfer function with initial states but with no luck.
sys = tf(numerator,denominator);
stepplot(sys)
[A,B,C,D] = tf2ss(numerator,denominator);
Any help is appreciated!
2 Comments
Paul
on 8 Jul 2020
What exactly are you trying to do? Generate the output of your second order system in response to a step input with a non-zero initial condition on the derivative of the output?
Is Y(t) as defined above the output of the system in response to a particular type of input? If so, what is that input? It would be helpul if you showed the code for the "two methods" so we can see exactly what you're trying to do.
Rob Robinson
on 13 Jul 2020
Accepted Answer
More Answers (0)
Categories
Find more on Additional Math and Discrete in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!