derivative block doesn't answer correctly.
Ältere Kommentare anzeigen
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

2 Kommentare
Birdman
am 11 Nov. 2017
Can you share the model(Export to r2015a) and all necessary variables?
Hamid Ghaedi
am 13 Nov. 2017
Antworten (1)
Yogananda Jeppu
am 11 Nov. 2017
0 Stimmen
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 Kommentar
Hamid Ghaedi
am 13 Nov. 2017
Kategorien
Mehr zu Programming finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!