Tag: electromagnetics

Python & PID Controlled Magnetic Levitation

It can be tough to find detailed information about electromagnetic simulations online – at least as things stand in the present internet. Where information is present it is provided in some standard form as outlined by textbooks and it is not always immediately apparent how this textbook knowledge can be translated into implementations. In this article, I build a very simple and maybe inaccurate PID control system that very superficially pretends to run on a microcontroller. To support this, since I don’t have a real system to test on, I outline a very quick and dirty approach to modeling electromagnetic levitation of a set of coils above a track using python and a recently developed package: Magpylib.

Who the Devil is Maxwell?

Maxwell? Who is he? Why should we even care who he is? And ohhh … god! What is the insanity behind his equations?! … these my friends are the questions that run chills down the spines of us normal folks. We are like fish out of water, thrashing about in an insane desperate struggle to comprehend the great questions of the universe. Well, lets try diving back into the ocean … and gaze upon the incredible deliciousness of physics at work.