Solve equations with symbolic variables "syms" (DC motor equtions)
2 views (last 30 days)
Show older comments
By useing the "syms" command for symbolic variables i would like to calculate/solve equations.
I got two equations for a DC motor J * dw(t)/dt = Km * i(t) - c * w(t) L * di(t)/dt = Va(t) - R * i(t) Ke * w(t)
1) how can i in matlab solve the two equations by useing "syms" so i get i(t)= i(t) = 1/Km * (J * dw(t)/dt + c * w(t)) i(t) = 1/R * (Va(t) - Ke * w(t) - L * di(t)/dt)
2) is there anyway i can transfor from time domain (t) to laplace (s)? and how?
i(t) = 1/Km * (J * dw(t)/dt + c * w(t)) => i(s) = 1/Km * (J * s * w(s) + c * w(s))
i(t) = 1/R * (Va(t) - Ke * w(t) - L * di(t)/dt) => i(s) = 1/R * (Va(s) - Ke * w(s) - L * s * i(s)
i(s) = i(s) => 1/Km * (J * s * w(s) + c * w(s)) = 1/R * (Va(s) - Ke * w(s) - L * s * i(s)
and some how collect(w/Va) so i get: w(s)/Va = Km/(R*c + Ke*Km + J*R*s + L*c*s + J*L*s^2) ??
Thanks!
0 Comments
Answers (0)
Communities
More Answers in the Power Electronics Control
See Also
Categories
Find more on Assumptions 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!