NTNUJAVA Virtual Physics Laboratory
Enjoy the fun of physics with simulations!
Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/
November 22, 2017, 11:02:51 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Progress is impossible without change; and those who cannot change their minds cannot change anything. ..."George Bernard Shaw(1865-1950, Irish dramatist, essayist and critic, Nobel Prize for Literature 1925)"
Google Bookmarks Yahoo My Web MSN Live Netscape Del.icio.us FURL Stumble Upon Delirious Ask FaceBook

Pages: [1] 2   Go Down
  Print  
Author Topic: Ejs Open Source Direct Current Electrical Motor Model Java Applet ( DC Motor )  (Read 53600 times)
0 Members and 1 Guest are viewing this topic. Click to toggle author information(expand message area).
lookang
Moderator
Hero Member
*****
Offline Offline

Posts: 1784


http://weelookang.blogspot.com


WWW
«
Embed this message
on: October 23, 2009, 05:14:56 pm » posted from:SINGAPORE,SINGAPORE,SINGAPORE

Ejs Open Source DC Motor Model by Fu-Kwun Hwang and lookang
now March2010 added Torque, Inertia.
this is a derived work based on http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=912.0
Direct Current Electrical Motor Model

Direct Current Electrical Motor Model
Electric motors turn electricity into motion by exploiting electromagnetic induction. A current-carrying loop that is placed in a magnetic field experiences a turning effect.A simple direct current (DC) motor is illustrated here. ABCD is mounted on an axle PQ. The ends of the wire are connected to a split ring commutator at position X & Y. The commutator rotates with the loop. Two carbon brushes are made to press lightly against the commutators.
The motor features a external magnet (called the stator because it’s fixed in place) and an turning coil of wire called an armature ( rotor or coil, because it rotates). The armature, carrying current provided by the battery, is an electromagnet, because a current-carrying wire generates a magnetic field; invisible magnetic field lines are circulating all around the wire of the armature.
The key to producing motion is positioning the electromagnet within the magnetic field of the permanent magnet (its field runs from its north to south poles). The armature experiences a force described by the left hand rule. This interplay of magnetic fields and moving charged particles (the electrons in the current) results in the magnetic force (depicted by the green arrows) that makes the armature spin because of the torque. Use the slider current I to see what happens when the flow of current is reversed. The checkbox current flow & electron flow alows different visualization since I = d(Q)/dt and Q= number of charge*e. The Play & Pause button allows freezing the 3D view for visualizing these forces, for checking for consistency with the left hand rule .

Description:
the following case describe a postive current i, postive B field, θ start = 90o , split-ring commutator gap β2= 80o
The split-ring commutator allows electricity flows from the positive terminal of the battery through the circuit, passes through a copper brush [rectangle black boxes] to the commutator, then to the armature.
Postive current runs through ABCD as shown in the diagram (select the checkbox labels?), a +y direction force would act on AB. An -y direction force would act on CD. Taking moments about the axle conveniently, reveals a resultant torque T = Fmag*AD*cosθ acts on the coil loop. The coil loop rotates in an clockwise manner (view from battery side) starting 90o until it reaches the θ = 170o position (assuming that split ring angle are default at β2 = 80o). At this θ = 170+o position, the current is cut off. However, the momentum of the loop carries it past the horizontal position until the coil loop reaches θ = 190o position. Contact between loop and split ring commutator is established again and the current in the coil loop is now reversed (note that current i is still positive). A -y direction force now acts on AB while a +y direction force acts on CD. The rotation motion is reinforced clockwise (view from battery side) as θ continues to rotate from 190o to 350o. At this θ = 350+o position, the current is cut off. However, the momentum of the loop carries it past the verticall position until the coil loop reaches θ = 10o position. Contact between loop and split ring commutator is established again and the current in the coil loop is now reversed back to same as at θ = 90o. A a +y direction force would act on AB. An -y direction force would act on CD and the loop reaches θ = 90o . The cycle repeats after θ = 90o allowing the armature to experience torque in the reinforced direction at the right time to keep it spinning.
Function of split-ring commutator:
The purpose of the commutator is to reverses the direction of the current in the loop ABCD for every half a cycle.
A swing back and fro motion (maybe θ = 90o increase to 270o and decrease back to 90o) is all you would get out of this motor if it weren't for the split-ring commutator — the circular metal device split into parts (shown here in teal with a gap of β2) that connects the armature to the circuit.

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!


* dcmotoraxesrotated.png (39.39 KB, 758x634 - viewed 816 times.)
« Last Edit: November 17, 2011, 10:55:52 pm by lookang » Logged
lookang
Moderator
Hero Member
*****
Offline Offline

Posts: 1784


http://weelookang.blogspot.com


WWW
«
Embed this message
Reply #1 on: October 23, 2009, 05:30:24 pm » posted from:SINGAPORE,SINGAPORE,SINGAPORE

O level Syllabus
This helps students learn
explain how a current-carrying coil in a magnetic field experiences a turning effect and that the effect is increased by increasing
(i) the number of turns on the coil,
(ii) the current
discuss how this turning effect is used in the action of an electric motor
describe the action of a split-ring commutator in a two-pole, single-coil motor and the effect of winding the coil on to a soft-iron cylinder


Exercises:

The external magnetic field Bz can be varied using the slider Bz. When Bz is positive, it is in the direction vertically up. Vary Bz until it is negative, what is the direction of the Bz then?
The current comes from the battery higher potential end and travels in a wire forming a closed circuit and travels back to the lower potential end of the battery. When θ = 0o current flows from the battery higher potential end, to the top brush, to the RED split ring, through the coil loop in order ABCD, back to BLUE split ring, bottom brush and lower potential end of the battery. What is the direction of the current flow in wire AB? What is the direction of the current flow in wire CD? using Fleming's left-hand rule, deduce the relative directions of force acting on i) AB ii) CD iii) BC iv) DA. hint: note that Fmag = I*B*L*sin(I&B) may be useful.
By taking moments about the axle PQ, consider the forces on AB and CD, deduce the direction of the torque and the motion if the coil loop was initially at rest (ω = 0 deg/s). Select the suitable sliders of your choice and verify your hypothesis for 2 angles. Discuss with your partner what you have discovered. Ask your teacher if there are any problem/issues faced using this virtual lab.
Explain and show the equations involving T ( in earlier part of question), why the forces on wire BC and DA did not contribute to the calculation of rotating torque about axle PQ?
By considering the forces in the x direction for wire BC and DA, suggest what can happen to the coil loop if the forces are large enough. Suggest why it does not happen in terms of the properties of the wires in the coil loop.
Explain how a current-carrying coil in a magnetic field experiences a turning effect and that the effect is increased by increasing (i) the number of turns on the coil, (ii) the current (iii) increasing the magnitude of the external Bz field
After conducting some inquiry learning on the virtual DC motor model discuss how this turning effect is used in allowing the coil loop to rotate. You may right-click within a plot, and select "Open EJS Model" from the pop-up menu to examine the model equations of the motion. You must, of course, have EJS installed on your computer.
Describe the action of a split-ring commutator in a two-pole magnet setup, single-coil motor. Suggest the effect adding a soft-iron cylinder in the winding the coil.

Advanced Learner:
Please submit your remix model that model features that are not available in the existing virtual lab and share your model with the world through NTNUJAVA Virtual Physics Laboratory http://www.phy.ntnu.edu.tw/ntnujava/index.php?board=28.0. Impacting the world with your model today!




This is a derived work to help students understanding DC motors especially the split ring purposes. Thanks to Fu-Kwun Hwang for his original codes! here http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=912.0

Changes made
1 made n =3 to simplify the number of currents to eyeball
2 added battery wires brush + sign to give context of power of DC motor
3 mask a part of the coil to give the illusion of single coil instead of plane previously
4 design the focus to be on just the 2 sides of the coil which has the most force that powered the rotation of DC motor
5 created animated gif as well for wikipedia.com i hope
6 added angle cta from 0 to 360 ^o to give sense of orientation
7 added omega for degree/s
8 added alpha for degre/s^2
9 added logic for split ring angle cta1 and cta2 to provide the ctadoubledot only when the is contact with split ring
10 equation of motion to reflect the no contact part to be without the torque from the magnetic force
11 magnetic force on and off when contact on and off
12 force shown
13 added particles for battery side wires which the particles motion is always from + potential so some code need to be re-purposed.
14 n is 5 now, better look and feel
15 motion of particles on battery wires now stop if there is no closed loop of the electric circuit
16 motion of particles current and electron are correctly reflected after extensive learning and debugging
17 added current can be negative
18 redesigned the angular acceleration and force activation condition into 4 quadrants, divide and conquer, previous original model is without the split ring consideration/model
19 added texts PQ axle, ABCD coil contact XY for ease of verbalization of communicating ideas and hypothesis for learners
20 added description and exercises to complement the virtual lab
21 rectified a major design mistake which i created due to misinterpretation of the usage of variable "sign" and finally got it to work (move) in correct representation/convention even with electron particles by designing with my own logic of how it can be made to do the simulation according to my understanding of the physics involved.
22 created a new logic for negative current in the battery wire to reflect the convention adopted today in physics
23 made the split ring commutator rotate with the coil instead of the original stationary design to conform to textbook explanation and the flash animation below
20March 2010 thanks to Taha Mzoughi http://physci.kennesaw.edu/mzoughi/bio.shtm remixed model, i realized what enhancements can be done.
24 added Torque clockwise positive view from the default perspective
25 Added Inertia to demonstrate the difficulty in increasing the angular velocity over time
26 added step button to allow for closer observation by learners
17 june 2010
27 redo the coil group to be lines instead of a 3D plane because it is drawing the whole plane instead of the perimeter
28 made java syntax false to make the split ring appear, in Ejs 4.3 default is true which the ring didn't show up
29 added simple 3D and Java3D optional from http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=1830
30 submit bugs to http://www.um.es/fem/EjsWiki/Feedback/Feedback?xsort=%E2%80%94created
31 leave the old version at top post and posted a underdevelopment proto-type at the bottom of post
11 feb 2011
 added a new version DCmotor4 at the bottom post in order not to delete good version in case need to revert version
 made beta split ring same color teal as the slider
 made time slider
 adjust the Bz drawing
 made + bigger
 change color of coil to DARKGRAY, the magnet blue and red is rather confusing with old color scheme
17 April 2011 (Saturday going Sunday at midnight after thinking about it every moment for a saturday)
major break through in bug fix now electron/current + splitring/ or without all bugs fix
added show graph angle, magnetic force, magnetic torque vs time and angle included even with data analysis
add N number of turns in coil
add inertia
add lengthx as slider with all associated drawing of the particles
add lengthz as slider
add Torque
fix a bug in evolution page domega/dt = (getAlpha(cta) -bf*omega)/Inertia where getAlpha(cta) is magnetic torque a2*Math.abs(Math.cos(cta)) where a2 = a2=N*I*B*L*b*1;
new assumption in sim is inertia is not affect by N, each slider controller is for conceptual exploration, not exactly mimicking real equipment so to speak.
 26 April 2011
added more text battery brush split ring coil to situate the association of the drawings more clearly labels? will deactivate them
F drawn shorter now
added axes a powerful feature to allow sim to display in XYZ to XZY so that it is immediately the same setup as some textbooks and internet graphics
added decoration = axes as suggested by collaborator Sim KS
added worksheet is jar itself for scalability as lesser chance of losing curriculum material to accompany the simulation
added angle drawn theta with checkbox
added checkbox to show hide the magnets for printing the 3 view front side and top
03 May 2011
add Bcorrect to get the correct direction for the Z , using Bcorrect = -B;
made the text black for clearly print out
background made lighter for clearly print out
re-orientate the sim to be more textbook example like customize to O level
redesign the worksheet
08 July 2011
fixed a bug with B and Bcorrect after a sharing that i realized the left hand rule should be correct now.



other reference:
http://www.magnet.fsu.edu/education/tutorials/java/dcmotor/index.html
http://www.walter-fendt.de/ph11e/electricmotor.htm


* motor.gif (187.83 KB, 640x480 - viewed 1088 times.)

* dcmotor.JPG (52.9 KB, 640x480 - viewed 628 times.)

*** There are 7 more attached files. You need to login to acces it!
« Last Edit: July 08, 2011, 03:23:56 pm by lookang » Logged
lookang
Moderator
Hero Member
*****
Offline Offline

Posts: 1784


http://weelookang.blogspot.com


WWW
«
Embed this message
Reply #2 on: October 29, 2009, 12:37:47 pm » posted from:SINGAPORE,SINGAPORE,SINGAPORE

in these few 6 days, i have spent many hours trying to understand how this applet is made.
I have remixed and redesigned some parts to be a interactive tool that i can be true to myself when i say that this work will impact the classroom of schools positively as a virtual lab.
i suggest teachers to buy a real physical DC motor to teach and supplement it with the virtual lab as a safe and hassle free way of allowing learners centered activities.

do post your experiences and ways to improve the virtual lab.
once again, i would like to thank the Ejs community especially Fu-Kwun Hwang, Francisco Esquembre & Christian Wolfgang!
The power to create is in our hands now.
Enjoy

will make a youtube video asap
Youtube video HD ready!


*** There are 4 more attached files. You need to login to acces it!
« Last Edit: November 02, 2009, 10:04:45 am by lookang » Logged
lookang
Moderator
Hero Member
*****
Offline Offline

Posts: 1784


http://weelookang.blogspot.com


WWW
«
Embed this message
Reply #3 on: October 29, 2009, 05:03:45 pm » posted from:SINGAPORE,SINGAPORE,SINGAPORE

chance to visit http://www.educypedia.be/electronics/javamotor.htm and found interesting links
saw these http://fisik.free.fr/ressources/MccComplet.swfhttp://fisik.free.fr/ressources/MccComplet.swf and
http://www.gearseds.com/curriculum/images/figures/dcmotor.swfhttp://www.gearseds.com/curriculum/images/figures/dcmotor.swf
i think i need to redesign the behavior of the split ring to rotate instead of the original stationary design.

http://www.fairlysimple.com/applets/21Electromagnetism.dcr
like. give context to use of dc motor

http://www.walter-fendt.de/ph14e/electricmotor.htm
most popular java applet on DC motor simulation by W. Fendt


* dcmotor.PNG (64.75 KB, 757x419 - viewed 683 times.)

* dcmotorfendt.png (15.85 KB, 510x298 - viewed 617 times.)
« Last Edit: May 10, 2011, 12:15:43 pm by lookang » Logged
lookang
Moderator
Hero Member
*****
Offline Offline

Posts: 1784


http://weelookang.blogspot.com


WWW
«
Embed this message
Reply #4 on: November 02, 2009, 08:41:56 am » posted from:SINGAPORE,SINGAPORE,SINGAPORE

Youtube video HD ready!
« Last Edit: November 02, 2009, 10:04:19 am by lookang » Logged
VerAye
Newbie
*
Offline Offline

Posts: 1

«
Embed this message
Reply #5 on: November 21, 2009, 12:52:34 pm » posted from:,,Philippines

   Those videos are interesting. There is something on my mind that is really bothering me about this Electrical Motor Model. I do not have much knowledge about this. Can you please help me?

« Last Edit: November 21, 2009, 02:41:01 pm by lookang » Logged
lookang
Moderator
Hero Member
*****
Offline Offline

Posts: 1784


http://weelookang.blogspot.com


WWW
«
Embed this message
Reply #6 on: November 21, 2009, 02:48:26 pm » posted from:Singapore,,Singapore

Those videos are interesting.
They are used to introduce the power of learning from the simulation. Thanks.

There is something on my mind that is really bothering me about this Electrical Motor Model. I do not have much knowledge about this. Can you please help me?
what do you want to know? maybe you can read the text that introduce the simulation first and ask specific questions about it. I can only help if i know what you ask specifically. Grin
Logged
lookang
Moderator
Hero Member
*****
Offline Offline

Posts: 1784


http://weelookang.blogspot.com


WWW
«
Embed this message
Reply #7 on: December 11, 2009, 12:37:01 pm » posted from:SINGAPORE,SINGAPORE,SINGAPORE

found this activity to be super cool. I can watch it again and again because despite the video being clear, i learn more things everytime i watch it again.
http://www.aps.org/programs/education/teachers/teachers-days/presentations/video.cfm

Watch physicists Becky Thompson-Flagg and Ted Hodapp trade quips as they show how to take apart a small DC motor and find out how it works. They get the armature of the motor spinning with just a battery, a few wires, and a permanent magnet. The experiment in this video is the same one described in the DC Motor Annotated Activity Handout. http://www.aps.org/programs/education/teachers/teachers-days/presentations/upload/090819-DC-motor-annotated-web.pdf

I love this!!

« Last Edit: April 25, 2011, 10:26:23 am by lookang » Logged
lookang
Moderator
Hero Member
*****
Offline Offline

Posts: 1784


http://weelookang.blogspot.com


WWW
«
Embed this message
Reply #8 on: March 20, 2010, 05:49:47 pm »

found http://physci.kennesaw.edu/mzoughi/Simulations.shtm using this model too Smiley
http://physci.kennesaw.edu/ejs/ejs_TM_NTNU_DCmotor.jar

Taha Mzoughi's implementation of the torque looks ok but i don't understand why his model the inertia of the DC motor affects the magnetic force.
strange.

anyway,
looks like
torque and inertia are desirable for future versions of the DC motor!


* Screen shot 2010-03-20 at PM 06.47.45.png (62.43 KB, 830x800 - viewed 605 times.)

* Screen shot 2010-03-20 at PM 06.48.09.png (62.16 KB, 831x798 - viewed 675 times.)
« Last Edit: March 20, 2010, 07:30:05 pm by lookang » Logged
lookang
Moderator
Hero Member
*****
Offline Offline

Posts: 1784


http://weelookang.blogspot.com


WWW
«
Embed this message
Reply #9 on: June 17, 2010, 01:15:45 pm » posted from:SINGAPORE,SINGAPORE,SINGAPORE

This proto-type version with 3dJava is currently under development.
U can test out Java3D with Ejs but it is still not working very well yet for complex models  Grin Grin

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!


* dcmotorwith3djava.png (46.76 KB, 608x634 - viewed 578 times.)
« Last Edit: June 17, 2010, 01:18:28 pm by lookang » Logged
lookang
Moderator
Hero Member
*****
Offline Offline

Posts: 1784


http://weelookang.blogspot.com


WWW
«
Embed this message
Reply #10 on: September 30, 2010, 09:22:59 pm »

found http://webphysics.davidson.edu/physlet_resources/bu_semester2/c18_generators.html

the explanation is good.
A electric motor is a device for transforming electrical energy into mechanical energy; an electric generator does the reverse, using mechanical energy to generate electricity. At the heart of both motors and generators is a wire coil in a magnetic field. In fact, the same device can be used as a motor or a generator.

When the device is used as a motor, a current is passed through the coil. The interaction of the magnetic field with the current causes the coil to spin. To use the device as a generator, the coil is spun, inducing a current in the coil.

Let's say we spin a coil of N turns and area A at a constant rate in a uniform magnetic field B. By Faraday's law, the induced emf is given by:

ε = -N d(BA cos(Φ))/dt

B and A are constants, and if the angular speed w of the loop is constant the angle is:
θ = wt

The induced emf is then:

ε = -NBA d(cos(wt))/dt = wNBA sin(wt) = εo sin(wt)

Spinning a loop in a magnetic field at a constant rate is an easy way to generate sinusoidally oscillating voltage...in other words, to generate AC electricity. The amplitude of the voltage is:
εo = wNBA

In North America, AC electricity from a wall socket has a frequency of 60 Hz. but in Singapore is 50 Hz The angular frequency of coils or magnets where the electricity is generated is therefore 60 Hz in USA or 50 Hz in Singapore.

To generate DC electricity, use the same kind of split-ring commutator used in a DC motor to ensure the polarity of the voltage is always the same. In a very simple DC generator with a single rotating loop, the voltage level would constantly fluctuate. The voltage from many loops (out of synch with each other) is usually added together to obtain a relatively steady voltage.

Rather than using a spinning coil in a constant magnetic field, another way to utilize electromagnetic induction is to keep the coil stationary and to spin permanent magnets (providing the magnetic field and flux) around the coil. A good example of this is the way power is generated, such as at a hydro-electric power plant. The energy of falling water is used to spin permanent magnets around a fixed loop, producing AC power.
Logged
lookang
Moderator
Hero Member
*****
Offline Offline

Posts: 1784


http://weelookang.blogspot.com


WWW
«
Embed this message
Reply #11 on: November 23, 2010, 06:03:24 pm » posted from:Singapore,,Singapore

doing some literature review on "Electric Generator simulation physics" and found this.
http://imej.wfu.edu/articles/2001/2/02/demo/demo1-ac/ac.html
http://heebok.kongju.ac.kr/VRPS/
currently what these Superscape's Viscape plugin simulation allows
changing the intensity of the magnetic field B
direction of the magnetic field B
change the viewpoint to see details of the generators
watch the output voltage in a voltmeter but it appears to be qualitative, lack mathematics representation?
adjusting the frequency of revolutions

can this be a research gap to be argued for designing simulations on DC and Ac generators to address difficulties in learning electromagnetism for my study?
i can argue on several learning features desired as my research gap findings to justify my designing simulation study approach

1 E&M has force and charge particles that are invisible (Chabay & Sherwood, 2006) hence cannot be readily related to daily life.
2 to show theoretical idealized field are represented by ideas like field lines, field vectors, flux, (Thong & Gunstone, 2008) are intellectual theoretical constructs, not empirical phenomena (Guisasola, Almudi, & Zubimendi, 2004)
3 need for flux, current, resistor, due to many intrarelated concepts within E&M are difficult to distinguish and discriminate (Albe, Venturini, & Lascours, 2001; Chabay & Sherwood, 2006; Planinic, 2006; Saglam & Millar, 2006; Singh, 2006; Taasoobshirazi & Carr, 2008)
4 mechanical concepts forces, angular displacement, velocity acceleration, representation due to the interlink concepts to the broader realm of mechanics (Bonham, et al., 1999; Galili, 1995), gives initial difficulties.
5 provide mathematical representation due to mathematical complexity (Albe, et al., 2001; Chabay & Sherwood, 2006; Dunn & Barbanel, 2000; Y. Lee, 2009; L. C. McDermott & Redish, 1999) and large numbers of disconnected formula (Chabay & Sherwood, 2006) and the conditions for which the use is valid
6 1D-2D-3D Macro world with appropriate quantities superimposed visualization, sub-micro and symbolic and mathematical representation could be added to the simulation as pedagogical hints (Wee & Esquembre, 2008) (scientific graphs and plots) (Gilbert, 2005; Gilbert & Boulter, 2000; Singh, 2006)
7 Guided inquiry based learning and experience activities such as real-time display of data and even analyze the data to verify their hypothesis
8 Formative assessment could also be added like a simple game

hi prof hwang
any thoughts?





*** There are 3 more attached files. You need to login to acces it!
« Last Edit: February 11, 2011, 04:08:44 pm by lookang » Logged
lookang
Moderator
Hero Member
*****
Offline Offline

Posts: 1784


http://weelookang.blogspot.com


WWW
«
Embed this message
Reply #12 on: February 11, 2011, 04:12:53 pm » posted from:SINGAPORE,SINGAPORE,SINGAPORE

seems like this model (too complex) is rather unstable when compiled using different version of Ejs. it works and it can don't work
i am going to create different versions and upload there instead to prevent losing the work.


11 feb 2011
 added a new version DCmotor4 at the bottom post in order not to delete good version in case need to revert version
 made beta split ring same color teal as the slider
 made time slider
 adjust the Bz drawing
 made + bigger
 change color of coil to DARKGRAY, the magnet blue and red is rather confusing with old color scheme

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!


*** There are 4 more attached files. You need to login to acces it!
« Last Edit: April 15, 2011, 03:23:39 pm by lookang » Logged
lookang
Moderator
Hero Member
*****
Offline Offline

Posts: 1784


http://weelookang.blogspot.com


WWW
«
Embed this message
Reply #13 on: April 15, 2011, 03:28:21 pm » posted from:SINGAPORE,SINGAPORE,SINGAPORE

i made a mistake in the codes and i cannot get the model to run correctly as it should be.


the splitring is not working correctly with the electrons, current is correct.
the force direction appears to be also wrong

http://www.phy.ntnu.edu.tw/ntnujava/index.php?action=dlattach;topic=1266.0;attach=4115

appreciate any help to fix my bugs Grin
« Last Edit: April 15, 2011, 03:30:17 pm by lookang » Logged
Fu-Kwun Hwang
Administrator
Hero Member
*****
Offline Offline

Posts: 3080



WWW
«
Embed this message
Reply #14 on: April 16, 2011, 09:23:58 am » posted from:Taipei,T'ai-pei,Taiwan

I am sorry that I do not fully understand what you mean.
Could you show me with screen shot and indicate the problem?

I also need the jar file. Because several files were missing when I load your xml file.
Logged
lookang
Moderator
Hero Member
*****
Offline Offline

Posts: 1784


http://weelookang.blogspot.com


WWW
«
Embed this message
Reply #15 on: April 16, 2011, 10:06:05 pm » posted from:Singapore,,Singapore

Let me try to fix the bug.
It is rather complex now and unreasonable to ask u to debug it. Smiley
I have a splitring function now that is difficult to implement without understanding all the codes.
I think I need to invent another way for the electrons to be control instead of using only sign as a means of changing the current n electron .
I will try to add a new variable to the checkbox to control the electron sign.



Btw
You can download any older jar it should have all the files there.
Logged
lookang
Moderator
Hero Member
*****
Offline Offline

Posts: 1784


http://weelookang.blogspot.com


WWW
«
Embed this message
Reply #16 on: April 16, 2011, 11:34:26 pm » posted from:Singapore,,Singapore

Fixed! amazing i managed to fix bug cause i was so worried i couldn't find it and come up with a solution.
indeed some rest and try again helps for this situation. when tired, just rest and let it incubate in my mind. creativity works with there is enough time, not pressure.
this top post is the latest sim!

17 April 2011 (Saturday going Sunday at midnight after thinking about it every moment for a saturday)
major break through in bug fix now electron/current + splitring/ or without all bugs fix
added show graph angle, magnetic force, magnetic torque vs time and angle included even with data analysis
add N number of turns in coil
add inertia
add lengthx as slider with all associated drawing of the particles
add lengthz as slider
add Torque
fix a bug in evolution page domega/dt = (getAlpha(cta) -bf*omega)/Inertia where getAlpha(cta) is magnetic torque a2*Math.abs(Math.cos(cta)) where a2 = a2=N*I*B*L*b*1;
new assumption in sim is inertia is not affect by N, each slider controller is for conceptual exploration, not exactly mimicking real equipment so to speak.



Attached is my latest worksheet for research


*** There are 3 more attached files. You need to login to acces it!
« Last Edit: May 04, 2011, 04:20:32 pm by lookang » Logged
lookang
Moderator
Hero Member
*****
Offline Offline

Posts: 1784


http://weelookang.blogspot.com


WWW
«
Embed this message
Reply #17 on: April 25, 2011, 04:31:38 pm » posted from:SINGAPORE,SINGAPORE,SINGAPORE

latest copy for research

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
lookang
Moderator
Hero Member
*****
Offline Offline

Posts: 1784


http://weelookang.blogspot.com


WWW
«
Embed this message
Reply #18 on: April 26, 2011, 08:24:21 pm » posted from:Singapore,,Singapore

a collaborator friend teacher tested the worksheet and gave good feedback
below are the comments and my proposed solution to co-developed the lesson.


Based on the pages in the word doc:

Page2, last paragraph, line 2. I was initially confused by the y-direction force indicated. It's after tinkering that i realised your Z is vertical, y is horizontal. Could be a potential confusing point for my students.

solution:
implemented decoration = axes


Page 4: In Qn4, the attached ss of the sliders is very dark, especially the 2nd and 3rd one. Guess the students can refer to the simulation for these.

made alpha = background white

Page6: Qn11. Sorry, i dotn know the answer to this. Qn 10 seems to be wanting me to know the coil might be pulled apart if the forces are large enough. . . but why it doesnt, i dunno.

Yes! the structural strength of the coil keep the shape intact.
in addition, if students can explain why real Dc motor are with a iron core to strengthen the B field as well as provide the material of the coils to remain its shape.


Page 7. Explore Activity B. Do they have to design experiments for all 3 parts? How much to design? Seems no need to write, but simply just rotate among the variables given as independent variables? How much time would that entail?
Page 7 Qn 13. Would the students know which "inquiry learning" you are refering to?

so long as it takes for student to explore meaningfully as productive activity, teacher need to support the weaker groups?
inquiry learning is a standard word in MOE science curriculum framework  
http://www.moe.gov.sg/education/syllabuses/sciences/files/science-lower-secondary-2008.pdf page 1
should be fine Smiley


Page 8. Qn 15: "....by varying..." this i changed on my system.
Page 8. Extend problem. Graphs. There are redundant axis labels. Eg the first pair only refers to FBy rather than the indicated angle and TB. Can these be removed? On my system, i just cover the redundant ones with a rectangle.

agreed

Page 9. Graphs, same problem as Page 8 graphs. Same solution.

agreed

Page 10. Qn25. the angle cta . . . can change to some other symbol thats more angle-like? theta or alpha or something? I dunno the reason for the choice of "cta".

beta better? = β i changed in my worksheet
it is intended not to cause confusion with the other typical symbols commonly used and the simulation already used θ, α



lastly, just a general comment that this worksheet requires more brains and thinking than i initially expected. Its probably because I'm too lazy to think through the entire worksheet properly, but just scanning through. Some answers are not immediately obvious to me.

that is a good observation, the learning is intended to be more thinking than memorization Smiley
Logged
lookang
Moderator
Hero Member
*****
Offline Offline

Posts: 1784


http://weelookang.blogspot.com


WWW
«
Embed this message
Reply #19 on: April 26, 2011, 08:42:50 pm » posted from:Singapore,,Singapore

26 April 2011
added more text battery brush split ring coil to situate the association of the drawings more clearly labels? will deactivate them
F drawn shorter now
added axes a powerful feature to allow sim to display in XYZ to XZY so that it is immediately the same setup as some textbooks and internet graphics
added decoration = axes as suggested by collaborator Sim KS
added worksheet is jar itself for scalability as lesser chance of losing curriculum material to accompany the simulation
added angle drawn theta with checkbox
added checkbox to show hide the magnets for printing the 3 view front side and top
complied in Ejs 4.3.3 as the latest version is causing some display frame ghost lines with changing orientation


* DCmotor1 (1).PNG (44.78 KB, 838x808 - viewed 778 times.)

* dcmotoraxesrotated.png (39.39 KB, 758x634 - viewed 758 times.)
« Last Edit: April 26, 2011, 08:45:56 pm by lookang » Logged
ahmedelshfie
Ahmed
Hero Member
*
Offline Offline

Posts: 954



«
Embed this message
Reply #20 on: May 12, 2011, 11:37:41 pm » posted from:SAO PAULO,SAO PAULO,BRAZIL

Good job,i like the modified version by lookang could you explain about data tool i didn't understand the job of this option  Shocked


* datatool.jpg (142.94 KB, 728x550 - viewed 645 times.)
Logged
lookang
Moderator
Hero Member
*****
Offline Offline

Posts: 1784


http://weelookang.blogspot.com


WWW
«
Embed this message
Reply #21 on: May 13, 2011, 07:38:41 am » posted from:SINGAPORE,SINGAPORE,SINGAPORE

Hi ahmedelshfie,
the intend is to allow a deeper exploration possible through the data analysis and perhaps even some simple mathematical model equation to curve fit the data.

exactly what to do, i have not figure out yet.
the feature was ported from the AC generator as there is a sine and cosine curve for the emf and current.

Dc motor i need to think what to do in order to deepen the appreciation of the physics through mathematical analysis of the data.


any suggestions is welcome!
Logged
ahmedelshfie
Ahmed
Hero Member
*
Offline Offline

Posts: 954



«
Embed this message
Reply #22 on: May 13, 2011, 07:23:50 pm » posted from:SAO PAULO,SAO PAULO,BRAZIL

actually i was interested to know what is the job to this tool i see the applet that you done is too good
I like the modified version later have free time im gonna publish on egtecno.com.
oh by the way my name is just ahmed but elshfie name my family  Grin
Good job what you done.
Logged
lookang
Moderator
Hero Member
*****
Offline Offline

Posts: 1784


http://weelookang.blogspot.com


WWW
«
Embed this message
Reply #23 on: July 08, 2011, 03:24:54 pm » posted from:SINGAPORE,SINGAPORE,SINGAPORE

08 July 2011
fixed a bug with B and Bcorrect after a sharing that i realized the left hand rule should be correct now.
Logged
lookang
Moderator
Hero Member
*****
Offline Offline

Posts: 1784


http://weelookang.blogspot.com


WWW
«
Embed this message
Reply #24 on: October 04, 2011, 02:47:06 pm » posted from:SINGAPORE,SINGAPORE,SINGAPORE

same problem in the iMac.
the default Java Machine is /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/

java.lang.NullPointerException
   at users.sgeducation.lookang.DCmotor10_pkg.DCmotor10View.reset(DCmotor10View.java:3835)
   at org.colos.ejs.library.Animation.reset(Unknown Source)
   at users.sgeducation.lookang.DCmotor10_pkg.DCmotor10Simulation.(DCmotor10Simulation.java:23)
   at users.sgeducation.lookang.DCmotor10_pkg.DCmotor10.(DCmotor10.java:147)
   at users.sgeducation.lookang.DCmotor10_pkg.DCmotor10Applet.init(DCmotor10Applet.java:25)
   at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Plugin2Manager.java:1640)
   at java.lang.Thread.run(Thread.java:680)

it works well in windows.
Logged
zionism07
Newbie
*
Offline Offline

Posts: 2

«
Embed this message
Reply #25 on: March 22, 2012, 05:27:49 pm » posted from:SINGAPORE,SINGAPORE,SINGAPORE

Hi Lookang,

I've problems trying to download the jar file from the link stated in the threads.

It seems like the zip file only contains the source files but not the jar.

is it possible for you to upload the jar version of the applet?

It's really useful for the kids to understand the concept of DC motor.
Logged
lookang
Moderator
Hero Member
*****
Offline Offline

Posts: 1784


http://weelookang.blogspot.com


WWW
«
Embed this message
Reply #26 on: March 22, 2012, 05:36:55 pm » posted from:SINGAPORE,SINGAPORE,SINGAPORE

Hi Lookang,

I've problems trying to download the jar file from the link stated in the threads.

It seems like the zip file only contains the source files but not the jar.

is it possible for you to upload the jar version of the applet?

It's really useful for the kids to understand the concept of DC motor.
Hi
Download EJS jar file(1686.6kB):double click downloaded file to run it. (157 times by 51 users) ,
The file is actually a jar file.
I suspect you are using Singapore school
SSOE machine on Internet explorer ?
U need to use Firefox to download the file correctly as SSOE Internet explorer some how associate the file as a zip extension instead of a jar extension.

Could u try to download at home using your own PC ?
Logged
zionism07
Newbie
*
Offline Offline

Posts: 2

«
Embed this message
Reply #27 on: March 23, 2012, 07:23:34 am » posted from:SINGAPORE,SINGAPORE,SINGAPORE

Hi Lookang,

yah, i'm actually "stuck" in a local sec sch trying to push IT initiatives for physics within my dept.

Haizz, it's really a tough job to plough the whole internet finding resources and programs created by others, in a way, praying that someone has really come up with suitable programs and uploads them on the internet.

Speaking of the file extension, u gave me the idea to add ".jar" to the document name before saving it and it works.

Thanks for your efforts in pushing great reforms to our sch system as I feel it's still lacking on the IT fronts.
Logged
lookang
Moderator
Hero Member
*****
Offline Offline

Posts: 1784


http://weelookang.blogspot.com


WWW
«
Embed this message
Reply #28 on: July 26, 2013, 10:38:42 am » posted from:SINGAPORE,SINGAPORE,SINGAPORE

3 requests already possible!
enjoy!

received an email and Facebook request for the following features! actually it is all possible already hahaha.

This is the most fantastic simulation for DC motor, thanks to Professor Fu-Kwun Hwang!


















Leong Tze Kwangposted tohttps://fbstatic-a.akamaihd.net/rsrc.php/v2/yI/r/aoGVaWCuzdk.png); background-position: -134px -135px; background-repeat: no-repeat no-repeat; background-size: auto; border: 0px; height: 9px; margin: 0px 5px; width: 11px;" />Loo Kang Lawrence Wee





31 minutes ago near Singapore · https://fbstatic-a.akamaihd.net/rsrc.php/v2/ya/r/wjorsTVUCAf.png); background-position: -219px -325px; background-repeat: no-repeat no-repeat; background-size: auto; bottom: -1px; display: inline-block; height: 12px; margin-bottom: -5px; margin-top: 2px; position: relative; vertical-align: top; width: 13px;">









  • Hi Loo Kang, I'm using your motor applet (http://weelookang.blogspot.sg/2010/06/ejs-open-source-direct-current.html) and really like your applet. Is it possible to make the following changes when you are free to better serve my teaching needs. Thanks.
    1) Adding arrows to show current direction instead of electrons motions which are too fast and too small to see.
    2) Adding an arrow for force like this video to show the direction and magnitude of the force
    https://www.youtube.com/watch?v=Xi7o8cMPI0E&feature=player_embedded
    3) Adding a button to prevent angular acceleration (i.e. rotate at constant speed). The motor spins too fast after a while and is very hard to analyze. Alternative add in back emf so that it is more realistic and hence will have a maximum angular velocity.
    Thanks so much for helping the community of teaching and
    learning. https://fbstatic-a.akamaihd.net/rsrc.php/v2/ym/r/0Gtf20tdcer.png); background-position: -17px -717px; background-repeat: no-repeat no-repeat; background-size: auto; display: inline-block; height: 16px; vertical-align: -3px; width: 16px;">










1. click on the check-box velocity.




request 1.Adding arrows to show current direction instead of electrons motions which are too fast and too small to see.

must sure current flow check-box is selected (YELLOW) and velocity (MAGENTA)



2. click on the FBy check-box




request 2) Adding an arrow for force like this video to show the direction and magnitude of the force

https://www.youtube.com/watch?v=Xi7o8cMPI0E&feature=player_embedded

already available, select FBy checkbox!





3. slide Ff = -0.1*w  for example, Friction force = -0.1*angular velocity, the higher the lower the terminal rotational speed






request 3) Adding a button to prevent angular acceleration (i.e. rotate at constant speed). The motor spins too fast after a while and is very hard to analyze. Alternative add in back emf so that it is more realistic and hence will have a maximum angular velocity.

slide slide Ff = -0.1*w  for example, Friction force = -0.1*angular velocity, the higher the lower the terminal rotational speed







enjoy!




http://weelookang.blogspot.sg/2010/06/ejs-open-source-direct-current.html

Ejs Open Source Direct Current Electrical Motor Model Java Applet ( DC Motor ) « on: October 23, 2009, 06:14:56 PM » posted from:Singapore,,Singapore

 author: fu-kwun hwang and lookang https://dl.dropboxusercontent.com/u/44365627/lookangEJSworkspace/export/ejs_users_sgeducation_lookang_DCmotor10.jar 

Logged
lookang
Moderator
Hero Member
*****
Offline Offline

Posts: 1784


http://weelookang.blogspot.com


WWW
«
Embed this message
Reply #29 on: December 16, 2015, 07:39:57 am » posted from:SINGAPORE,SINGAPORE,SINGAPORE

Alternative host http://iwant2study.org/ospsg/index.php/interactive-resources/physics/05-electricity-and-magnetism/09-electromagnetic-induction/313-ejs-model-dcmotor10

Enjoy!
« Last Edit: December 16, 2015, 10:03:08 am by lookang » Logged
Pages: [1] 2   Go Up
  Print  
Progress is impossible without change; and those who cannot change their minds cannot change anything. ..."George Bernard Shaw(1865-1950, Irish dramatist, essayist and critic, Nobel Prize for Literature 1925)"
 
Jump to:  


Related Topics
Subject Started by Replies Views Last post
Ejs Open Source Alternating Current Generator Model Java Applet ( AC Generator )
Collaborative Community of EJS
lookang 7 29156 Last post December 17, 2015, 12:46:56 pm
by lookang
Ejs Open Source Lorentz force on a current carrying wire java applet
Collaborative Community of EJS
lookang 5 18901 Last post December 14, 2010, 02:32:34 pm
by Fu-Kwun Hwang
Ejs Open Source Direct Current Electrical Motor Model Java Applet ( DC Motor )
dynamics
ahmedelshfie 4 7830 Last post April 28, 2010, 02:35:02 am
by ahmedelshfie
Current Loop in magnetic field (How motor works!)
electromagnetism
ahmedelshfie 0 4048 Last post June 08, 2010, 01:40:56 am
by ahmedelshfie
Ejs Open Source AC power and current waveform java applet
Collaborative Community of EJS
lookang 1 7277 Last post September 14, 2010, 06:41:42 pm
by lookang
Powered by MySQL Powered by PHP Powered by SMF 1.1.13 | SMF © 2006-2011, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.132 seconds with 23 queries.since 2011/06/15