Initial Conditions for first derivative defined as a transfer function
Mostrar comentarios más antiguos
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 comentarios
Paul
el 8 de Jul. de 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
el 13 de Jul. de 2020
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Additional Math and Discrete en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!