derivative block doesn't answer correctly.

2 次查看(过去 30 天)
i have an equation system noted down. my input "y1ref" and "y2ref" comes from a block and with the equations below, the "y1dot" and "y2dot" are calculated. (2 equations are separated and k11,k21,k22 are constant gains) using of derivative made may answers infinite numbers in some points. how can i prevent this from happening(for example how to turn equation to integrator?) i appreciate the help
the simulated sustem

回答(1 个)

Yogananda Jeppu
Yogananda Jeppu 2017-11-11
You require a set of integrator. Your input is ddot(Y2ref) and dot(Y1ref). Use integrator in series to get ddot(Y2ref)->dot(Y2ref)-> Y2ref and dot(Y1ref)->Y1ref. Construct the equation dot(y1) and ddot(y2). Use the integrator in series to get y1, dot(y2) and y2. Use these equations back on the ddot(y2) and dot(y1). This is better than differentiating.
  1 个评论
Hamid Ghaedi
Hamid Ghaedi 2017-11-13
thanks Mr.jeppu but i think that's not correct. my inputs are y1 y2 y1ref and y2ref and the output are y1dot and y2ddot(second derivative) (my apologies because i gave the wrong input in my question.) now,based on these in/outputs how can i got outputs without any problem?
here is the model i'm working on. on>signal>FBC subsytem.
thanks for your help again.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by