Electric generator
An interactive electric generator simulator demonstrates electromagnetic induction through a rotating coil animation and live sinusoidal voltage waveform. The canvas-based visualization uses HTML5 Canvas API with requestAnimationFrame for real-time rendering, displaying magnetic field lines, coil rotation, and computed electrical parameters including peak voltage, frequency, and magnetic flux. Users adjust speed, magnetic field strength, and coil turns via range sliders, with the waveform updating dynamically according to Faraday's Law calculations. The simulator provides educational insight into AC generator operation through interactive parameter manipulation and immediate visual feedback.
AI-generated descriptionElectric Generator Simulator
An interactive educational tool for electrical engineers to understand the principles of electromagnetic induction and AC generator operation.
Features
- Real-time Animation: Visual representation of a rotating coil in a magnetic field
- Live Waveform Display: Shows the generated AC voltage in real-time
- Adjustable Parameters:
- Speed (RPM): 10-200 RPM
- Magnetic Field Strength: 0.1-2.0 Tesla
- Number of Coil Turns: 10-500 turns
- Electrical Parameters Display:
- Instantaneous voltage
- Frequency
- Peak voltage
- RMS voltage
- Angular velocity
- Magnetic flux
Theory
Based on Faraday's Law of Electromagnetic Induction:
- ε = -N × dΦ/dt
- Generated voltage: V(t) = V_peak × sin(ωt)
- V_peak = N × B × A × ω
Usage
- Click Start to begin the simulation
- Adjust sliders to change generator parameters
- Observe how changes affect the output voltage waveform
- Click Stop to pause the simulation
Educational Purpose
This simulator demonstrates:
- Electromagnetic induction principles
- AC voltage generation
- Relationship between mechanical rotation and electrical frequency
- Effect of magnetic field strength on output voltage
- Importance of coil turns in voltage generation
Perfect for students and engineers learning about power generation and AC machines.