Is the Matlab magnetic levitation model example correct?
4 views (last 30 days)
Show older comments
Hello.
I don't know what to think. The maglev mathematical equation used in every single Neural Network Toolbox user guide and in the 'maglev' plant model look like this:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/155302/image.jpeg)
But lately, my friend told me that his example (also in Matlab) looked like this:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/155303/image.jpeg)
Moreover, the second equation is the result, other people got when building the equation from scratch.
That leaves me with a question. Which one is correct and why? It is very important thing to me, so if any of you could help me, please do.
Kind regards, Mat.
0 Comments
Accepted Answer
Greg Heath
on 20 Jan 2014
If you Google
differential equations magnetic levitation
you will find the y^-2 form
Thank you for formally accepting my answer.
Greg
0 Comments
More Answers (2)
David Sanchez
on 20 Jan 2014
The force experienced by the ball under the influence of electromagnet is given by
F = mg - Kf (i/y)^2
where i is the current in electromagnet (Ampere), y is the distance of the ball from the electromagnet face
Then, the second equation presented by you is the correct one.
0 Comments
See Also
Categories
Find more on Startup and Shutdown 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!