A Real-Time Energy-Optimal Trajectory Generation Method for a Servomotor System | Synapse