DC Motor Simulator

Link to program & source code (use ctrl-drag to orbit the camera)

Final project for AP Physics C with Ms. Sharaf. I worked with Aareeb Jamil for this project. The premise was to create a simulation using VPython that showed a few of the concepts we learned in Mechanics, E&M, or both! We decided to incorporate both with a DC motor simulator.

View this page on desktop/landscape to see the interactive simulation embedded.

Features

  • 3D visuals
  • Realtime data visualization
  • RK4 iterative method
  • Direction of current indicator (to show the use of brushes)
  • Back-emf and internal friction accounted for
  • Adjustable parameters
    • Simulation speed
    • Magnetic field strength
    • Winding loop count
    • Battery voltage
    • Internal resistance
    • Physical size