For school I was asked to model the transfer function $H(s)=\frac{3}{(s+4)(s+5)}$ in both the time and frequency domains using initial conditions $y(0)=2,y'(0)=3$, a step input, and Simulink. I would appreciate any help in better understanding this problem and any real world example would also be appreciated as the coursework is not typically related to real applications.
TL;DR:
- How do I pick which factor to apply each initial condition to in the frequency domain ($s+4$ vs. $s+5$)?
- What changes should I make in my Simulink models to reach the same system response in both the time and frequency domain?
- Do you have any words of wisdom to help me understand this topic more in depth?
The differential equation of this system is $3(e^{-4t}-e^{-5t})$ which I used to set up the frequency domain simulation, summing $\frac{3}{s^2-9s-20}$ with $y(0)*3e^{-4t}$ and $y'(0)*3e^{-5t}$.
My professor claimed the following response was accurate, but I have not been able to get the time domain representation using integrators to match.
Here is my attempt at the time domain model:
I passed $y'(0)=3$ into Integrator
and $y(0)=2$ into Integrator1
as initial conditions, which yields the response:
It is my understanding the two responses should be the same. I can get a very similar response in the frequency domain by switching which expression to multiply with the initial conditions (that is swapping the constant blocks used as product inputs) but it is not exact.
y(0)
applies to the DE froms+5
overs+4
? $\endgroup$s+4
ors+5
just like that. I have not seen the initial condition being apportioned to poles before. There might be some theory which I am not familiar with or which I can't recall now. $\endgroup$