-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
Stiff System: Voltage-Controlled DC Motor Arm
State & Dynamics
State vector:
| Subsystem | Equation | Time Constant |
|---|---|---|
| Electrical |
|
|
| Mechanical |
|
|
| Control | — |
Student implementation note: Implicit methods allow ~1000× larger
Demo Outline
- Sweep
$K_p \in [10, 10^4]$ - Compare step counts: explicit RK4 vs student-implemented backward Euler vs
Radau - Plot Jacobian eigenvalues vs gain
- Measure wall-clock time to show implicit overhead vs stability benefit
Notes
- Equations follow standard DC motor model (Kirchhoff + Newton-Euler)
- Voltage-mode control assumed (not torque-mode)
-
$K_d\dot{\theta}$ term couples into electrical dynamics via$v$ , contributing additional stiffness - Production solvers: SciPy's
Radau(implicit RK) and MATLAB'sode15s(BDF, a multistep method) both handle stiffness; this course focuses on RK formulations
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request