NTNUJAVA Virtual Physics LaboratoryEnjoy the fun of physics with simulations! Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/
October 28, 2020, 09:50:02 pm
 Welcome, Guest. Please login or register.Did you miss your activation email? 1 Hour 1 Day 1 Week 1 Month Forever Login with username, password and session length

 Home Help Search Login Register
Peaceful solution is always the best solution. ...Wisdom

 Pages: [1]   Go Down
 Author Topic: Magnetic levitation model  (Read 17440 times) 0 Members and 1 Guest are viewing this topic. Click to toggle author information(expand message area).
pavwell
Jr. Member

Offline

Posts: 25

 « Embed this message on: May 21, 2010, 12:37:43 pm » posted from:Zilina,Zilina,Slovakia

Hello !
Please, could anyone hepl me with creating Magnetic Levitation of small ball model in EJS ?

Thanks a lot !

 Logged
Fu-Kwun Hwang
Administrator
Hero Member

Offline

Posts: 3086

 « Embed this message Reply #1 on: May 21, 2010, 05:22:36 pm » posted from:Taipei,T'ai-pei,Taiwan

Please provide more information: design/dimension of the system/shape/...etc (whatever  you have in mind)
And the physics to be modeled.
 Logged
pavwell
Jr. Member

Offline

Posts: 25

 « Embed this message Reply #2 on: May 21, 2010, 05:40:44 pm » posted from:Zilina,Zilina,Slovakia

Hello

Parameters and desing is in attachmement
 *** There are 1 more attached files. You need to login to acces it! Logged
Fu-Kwun Hwang
Administrator
Hero Member

Offline

Posts: 3086

 « Embed this message Reply #3 on: May 21, 2010, 09:58:50 pm » posted from:Taipei,T\'ai-pei,Taiwan

There is one thing I do not understand for the main equation in the above document
$m_k \ddot{x}=\frac{i^2k}{(x-x_0)^2}-m_k g$

What is the meaning of $i$ in the above equatoion?
 Logged
pavwell
Jr. Member

Offline

Posts: 25

 « Embed this message Reply #4 on: May 21, 2010, 10:05:43 pm » posted from:Trencin,Trencin,Slovakia

Sorry !
I forget for this. ,,i,, is constant.
 Logged
Fu-Kwun Hwang
Administrator
Hero Member

Offline

Posts: 3086

 « Embed this message Reply #5 on: May 22, 2010, 11:56:07 pm » posted from:Taipei,T'ai-pei,Taiwan

Why there are two constant? $i^2 k$, and what is the value of $i$?
L0=0.019 does it mean 1.9cm?
 Logged
pavwell
Jr. Member

Offline

Posts: 25

 « Embed this message Reply #6 on: May 23, 2010, 01:33:28 am » posted from:Trencin,Trencin,Slovakia

L0 is 1.9 cm...

and ,,i, is : electrical power [A] and value is =0.33 Amper
 Logged
Fu-Kwun Hwang
Administrator
Hero Member

Offline

Posts: 3086

 « Embed this message Reply #7 on: May 23, 2010, 08:30:37 am » posted from:Taipei,T\'ai-pei,Taiwan

Do you mean i is electric current? (instead of power)
Is it a control variable? or it it a constant???

The system seems to be an un-stable equilibrium system. It need some feedback to make it stable, Right?
 Logged
pavwell
Jr. Member

Offline

Posts: 25

 « Embed this message Reply #8 on: May 23, 2010, 12:21:25 pm » posted from:Trencin,Trencin,Slovakia

Yes, it is electric current throught induction. And feedback is needed. In attachment I send you basic scheme.
 Logged
Fu-Kwun Hwang
Administrator
Hero Member

Offline

Posts: 3086

 « Embed this message Reply #9 on: May 23, 2010, 02:43:22 pm » posted from:Taipei,T'ai-pei,Taiwan

I try to implement a virtual feedback to create the following stable case.
However, you need to change parameters to fit with your own system.

Embed a running copy of this simulation

Embed a running copy link(show simulation in a popuped window)
Full screen applet or Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list
Press the Alt key and the left mouse button to drag the applet off the browser and onto the desktop. This work is licensed under a Creative Commons Attribution 2.5 Taiwan License
• Please feel free to post your ideas about how to use the simulation for better teaching and learning.
• Post questions to be asked to help students to think, to explore.
• Upload worksheets as attached files to share with more users.
Let's work together. We can help more users understand physics conceptually and enjoy the fun of learning physics!
 Logged
pavwell
Jr. Member

Offline

Posts: 25

 « Embed this message Reply #10 on: May 23, 2010, 09:20:12 pm » posted from:Trencin,Trencin,Slovakia

Thanks a lot for your job. But when I try to run in EJS 4.2, it gives me an compilation error. Please, what EJS version i need to use ??
 Logged
Fu-Kwun Hwang
Administrator
Hero Member

Offline

Posts: 3086

 « Embed this message Reply #11 on: May 23, 2010, 11:35:36 pm » posted from:Taipei,T'ai-pei,Taiwan

The above simulation was generated with EJS4.2
 Logged
pavwell
Jr. Member

Offline

Posts: 25

 « Embed this message Reply #12 on: May 23, 2010, 11:45:01 pm » posted from:Trencin,Trencin,Slovakia

please, could you make this project at EJS 3.4.7 ?? Thanks a lot !!!
 Logged
Fu-Kwun Hwang
Administrator
Hero Member

Offline

Posts: 3086

 « Embed this message Reply #13 on: May 24, 2010, 08:23:39 am » posted from:Taipei,T\'ai-pei,Taiwan

You should be able to copy the code to 3.47 if you open two version of EJS
Just define  the same variables, copy the same initialization/evolution/... and add similar GUI elements.
The only difference is that there is no two states button in EJS 3.47
So the play/pause button need to be separate as two buttons.

And you need to adjust the code to fit with your system.

I am willing to help you do you job: I already give you an example.
And you should be able to finish it by yourself! You need to at least try it!
 Logged
pavwell
Jr. Member

Offline

Posts: 25

 « Embed this message Reply #14 on: May 25, 2010, 03:29:02 am » posted from:Trencin,Trencin,Slovakia

When i try to run this XML file under Ejs 4.2 , system gives me an error ! Compilation error. When i look over the code i found one red line ay=calF(....). Dont you konw what could be a problem ??
 Logged
Fu-Kwun Hwang
Administrator
Hero Member

Offline

Posts: 3086

 « Embed this message Reply #15 on: May 25, 2010, 07:57:39 am » posted from:Taipei,T\'ai-pei,Taiwan

I also use EJS 4.2 However, I did not find any error. So I do not know how to help.

The ay was defined as double with initial value "calF(y,vy)/m-g"
It can be re-assigned to 0. without affect the code.

 Logged
 Pages: [1]   Go Up
Peaceful solution is always the best solution. ...Wisdom
Jump to:

 Related Topics Subject Started by Replies Views Last post Ejs Open Source Bar Magnet & Compass Model with Earth visualization java applet Collaborative Community of EJS lookang 9 23779 April 26, 2010, 01:04:01 pm by lookang Runtime error in Magnetic Bar Field Model Questions related to EJS lookang 3 6792 April 18, 2010, 11:34:56 pm by lookang Magnetic Force Three Wires Model Simulations from other web sites ahmedelshfie 0 6321 April 19, 2010, 08:11:59 pm by ahmedelshfie Magnetic levitation model electromagnetism ahmedelshfie 3 8366 May 24, 2010, 07:21:19 pm by ahmedelshfie Magnetic levitation model 2 Request for physics Simulations cruels 12 14008 March 08, 2013, 05:45:06 pm by homertyson
Page created in 0.348 seconds with 23 queries.since 2011/06/15