DC motor with gears: step response, current limitation tweaks

Antonio Sala, UPV

Difficulty: ** ,       Relevance: PIC,      Duration: 14:40

*Enlace a Spanish version

Materials:    [ Cód.: MotorSimSimple.mlx ] [ PDF ]

Summary:

In this video, belonging to the DC motor driving a gearbox with some load, we compute the step response of the transfer function model we obtained in previous video [motgeartfEN]. The step input is a 48 V DC voltage. Outputs are current and rotation speed in rpm.

The response is obtained first via just a couple of lines with the Matlab Control Systems Toolbox (introducing the state-space equations with the ss command and, subsequently, executing stepplot); later, it is obtained with the Symbolic Math toolbox, by multiplying the two transfer functions times 48/s (Laplace transform of the step input), carrying out partial fraction expansion with partfrac and then, carrying out inverse Laplace transform with ilaplace, yielding exponentials as all system poles are real. Step response can also be obtained from the state-space representations via matrix exponentials, as discussed in video [motstepssEN].

The second part of the video considers the issue that the startup current reaches a very high peak, close to the stall current as rotation speed is very low in the initial instants of the transient but electrical dynamics are fast. In order to limit the current, the 48 V step is divided onto three separate steps, at different switching times, so that current does not exceed 80 A during the transient. Step amplitudes and times have been obtained by trial and error. A transient with current below 80 A is also obtained by a manually tuned ramp transition. These kinds of startup waveforms are sometimes intentionally programmed in electronic motor drives to avoid overcurrents.

*Link to my [whole collection] of videos in English. Link to larger [Colección completa] in Spanish.

Full collection in ENGLISH [View all]:

© 2026, A. Sala. All rights reserved for materials from authors affiliated to Universitat Politecnica de Valencia.
Please consult original source/authors for info regarding rights of materials from third parties.