Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Elektromagnetic levitation system with simulink

Status
Not open for further replies.

pcwortex

Junior Member level 3
Joined
Jun 23, 2009
Messages
27
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Vilnius
Activity points
1,428
Hi
I am trying to make Elektromagnetic levitation system with simulink (Matlab). I create system and it you can to see below. I want to ask whether I make correct system with simulink? Coil induction is constant, because metal ball is very small and don't have influence on magnetic field.

38546fb3d1a8133affdb5cd9915c6192593.JPG


I used this equation show below.

58bab61f802b1ba960fdc73b842b40da632.JPG


And magnetic system you see below

410ebdf4128bb0d1fb0a08ddc52d8c40388.JPG


Thank everybody for advice
 
Last edited:

A "levitation system" would need a kind of position control feedback manipulating the electromagnet current current. The present equations of motion make the ball either fall down or jump up and stick on the magnetic pole.
 

Yesterday, I tryed to make this system with state space, but I confronted with problem, because need linearization equations around working point. I don't know how need do it.
 

Years ago I saw someone's website telling how he made a similar levitation project.

He used a lightweight globe about 2 inches diameter. It had a magnet at the top.

However he found it was impossible to adjust the pulses so finely that the globe would float. It either fell or popped up to the electromagnet.

He tried positioning an LED to send a narrow optical beam under the globe to a light detector.

As the globe fell it interrupted the beam. The light detector activated power to the electromagnet. The globe rose. When it exposed the light beam, the electromagnet was turned off.

This took place many times a second. The globe was automatically suspended in midair. That was the idea anyway.

Now I remember it wasn't so simple. The feedback circuit did not act quickly enough. The globe still fell.

I seem to remember the designer found a way to anticipate the globe's up-and-down motion. He found he could take advantage of a capacitor's current-lead characteristic with AC.

He made a circuit which automatically adjusted to the frequency of motion, and took a current sense through the capacitor at the right moment, to send a pulse to the electromagnet just before the globe could fall too far.

It worked. His project may still be on the internet somewhere.
 
I took as granted, that the magnetic levitation apparatus is a common playground for applied control engineering, together with some other advanced problems like inverted pendulum. It's of course technically feasible. I was however surprized, that the above system diagram is missing any control loop.
 
I made this system. The feedback system I made from one IR diode and 2 IR tranzistors. I am using atmega8 two ADC and one PWM schannels. PWM control MOSFET tranzistor which working how transistor switch and it activated power to the elektromagnet. Now I think to use liner hall-effect sensor.
Curently need to make mathematical model this system with simulink (Matlab). I have problem with linearization.

---------- Post added at 23:50 ---------- Previous post was at 23:44 ----------

Maybe you know how need make control loop in this system?
 

I made this system.
Your initially post would have been clearer if you mentioned this connection to control system design.
Curently need to make mathematical model this system with simulink (Matlab). I have problem with linearization.
I don't excatly understand the problem. The shown model can be expected to represent the behaviour of the real system (with some simplifications). It's obviously non-linear. A linear controller can be only adjusted to control process parameters in a particular state. Or try to compensates control process non-linearities in part.An easy compensation can be made for the quadratic F = f(i) magnet characteristic, F = f(y) is more complicated.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top