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
|
 |
«
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
|
 |
«
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  What is the meaning of  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
|
 |
«
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?  , and what is the value of  ? 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
|
 |
«
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
|
 |
«
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 listPress 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
|
 |
«
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
|
 |
«
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
|
 |
«
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
|
|
|
|
|