Modelling ODE in Simulink when input multiplied by ouput
조회 수: 2(최근 30일)
표시 이전 댓글
Hi, so I have this hysteresis equation of a battery, this equation will be combined with other ODE (which could be easily modelled with transfer function) to generate a battery model
where h is the output and i is the input, sgn is the sign of i(t), and the rest are constant. I had tried to make a laplace transfer function and it is not working because the input multiplied by output (h multiplied by i). How can I model this equation in simulink? Could I make this equation in a discrete block and combine with continoues block at the same model?
Ghazwan 2022년 10월 10일
What you are looking for is available here
Sam Chak 2022년 10월 10일
Hi @aizo zeo
The given ODE cannot be modeled in the Laplace transform sense because it is a non-affine system due to the product term .
However, it can be modeled in continuous-time using the fundamental blocks like the following:
Find more on Ordinary Differential Equations 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!