Products

How system simulation helps size electric motors for quadruped robots

From a robot that falls after a few steps to a robot that walks reliably

Designing a quadruped robot is an exciting engineering challenge. At first glance, making a robotic dog walk may seem like a matter of programming the right gait and connecting some electric motors to the legs. In reality, one of the most critical design decisions is the sizing of the actuation system. If the electric motors are undersized, the robot may stand up and even take a few steps before stalling, losing balance, and eventually falling. If they are oversized, the robot can walk reliably, but at the expense of higher weight, cost, power consumption, and battery requirements.

A recent independent project documenting the complete development of an Arduino-based robot dog illustrates this challenge very well. The creator initially struggled with insufficient actuator performance and later achieved stable walking after improving the actuation system and overall design.

Arduino robot dog – Full development process  – Source: LubLune Projects

This is where system simulation using Simcenter Amesim software can help engineers identify actuator-sizing problems before building hardware. Instead of discovering motor sizing problems after manufacturing and assembling physical prototypes, engineers can predict them during the early design phase through multidomain simulation.

The motor sizing challenge in quadruped robots

A quadruped robot consists of four legs, each containing multiple joints typically driven by electric motors through gear reductions. During locomotion, every actuator must generate sufficient torque and speed to support the robot weight, accelerate the leg segments, absorb impacts during foot-ground contact, maintain stability during dynamic motions or recover from disturbances.

The difficulty comes from the fact that actuator requirements vary continuously throughout the gait cycle. For example:

  • During the swing phase, high speed may be required while torque demand remains relatively low.
  • During the stance phase, the motor may need to generate significantly higher torque to support the robot body.
  • Starting motion, climbing slopes, or carrying payloads can create torque peaks much higher than average operating conditions.
Simcenter system simulation enables end-to-end engineering across the entire product development cycle

When the motor is too small, the available torque may be lower than what is required at critical moments. The result is typically some joint tracking errors, reduced step length, unstable gait, increased motor current, thermal overload or the robot could collapse after a few steps.

Many robotics developers discover these issues only after building a prototype. Simulation allows them to identify the problem much earlier.

Why Simcenter Amesim is well suited for this problem

Simcenter Amesim is a system simulation platform capable of combining multiple engineering domains within a single model. For quadruped robots, engineers can simultaneously model mechanical dynamics, electric motors, power electronics, battery systems, control algorithms, or ground contact interactions. Instead of analyzing individual components separately, engineers can evaluate the entire system behavior.

One of the key advantages of Simcenter Amesim is that engineers do not start from scratch. Instead of creating custom equations and models for every new project, engineers can assemble and calibrate digital twins from validated, reusable components that reflect established physics.

A virtual quadruped model may include:

Electrical domain: DC motors or servo motors, motor drivers, current limitations, voltage limitations, battery models.

Validated components to address electrical challenges faster

Mechanical domain: robot body mass, leg kinematics, joint inertias, gearboxes, friction effects, ground contact forces.

Predefined components to design complex mechanical systems right the first time

Control domain: position controllers, torque controllers, gait generation, balance algorithms

The interaction between these domains often reveals issues that would otherwise remain hidden until physical testing.

Ready-to-use components to create control logistics for components and entire system

Identifying insufficient torque before building hardware

Suppose a robot designer selects a compact and inexpensive motor based only on catalog data. The motor appears capable of producing a nominal torque of 3 Nm with a peak torque of 6 Nm. After integrating the motor into the Simcenter Amesim model and running a walking simulation, the results may reveal that some joints require a continuous torque of 4.5 Nm with a peak torque: 9 Nm. The simulation immediately shows that the selected motor is inadequate.

Typical symptoms would include a saturated torque output, poor trajectory tracking, slower leg movements, or instability of the walking pattern. Engineers can visualize these effects through time histories of joint positions, motor speed, torque demand, or the available torque margin. Without simulation, this issue would likely appear only after assembling the prototype.

Considering electrical effects

Motor sizing is not only a mechanical problem. Whenever higher torque is demanded, the motor draws more current. This creates interactions with the electrical system that can significantly affect overall robot performance.

Simcenter Amesim digital twin of the quadruped robot with its electric motors and controls
Digital twin in Simcenter Amesim with the electric motors and controls for actuation

Simcenter Amesim enables engineers to evaluate:

Current consumption: An undersized motor often operates near its limits. Simulation may reveal: high peak currents, continuous overcurrent conditions, excessive voltage drops.

Battery performance: The battery can be modeled with internal resistance, state of charge, or voltage dynamics. During aggressive movements, large current spikes may cause battery voltage sag. The consequences include reduced motor performance, controller resets, or reduced autonomy.

Driver limitations: Motor drivers are not infinitely powerful. Typical limitations include the maximum current, maximum voltage, or thermal protection.

They are not disconnected from the real scenario. For example, we use the control component below to compute the inverse kinematics of the quadruped legs, determining the necessary joint angles based on the desired foot position. The leg is determined by 3 segments of length L1, L2 and L3, connected by pivot junctions. The first pivot is along the X main axis, while the second and third pivots are along the Y axis.

Inverse kinematics of the quadruped legs for the left and right legs

We then just need to connect the different parts of the mechanical legs with the electric motors and controls to get the main body of the quadruped robot ready to walk:

Zoom on the articulated legs of the Simcenter Amesim digital twin for the quadruped robot
Articulated legs with electric motors and controls in Simcenter Amesim

While for the actuation system, Simcenter Amesim allows implementation of realistic saturation blocks. For example, a maximum current of 5 A, with a maximum voltage of 24 V. Whenever the controller requests more than these limits, the driver saturates. The resulting torque reduction is immediately reflected in the mechanical response of the robot. This enables engineers to determine whether instability originates from the motor limitations, the driver limitations, the battery limitation, or the control limitations.

The connection with the ground is modeled by a contact between a sphere (at the end of each leg) and an infinite plane (the ground). It is possible to replace the simple sphere-plane contact with a more complex contact model (for example sphere-mesh contact to better simulate the interaction with a non-flat terrain). However, as the current control is designed for a flat ground, some insight of the height of the terrain would be required to ensure stability of the quadruped robot.

Finally, the trajectory path follower is responsible for ensuring that the foot follows the desired trajectory accurately. It compares the current position of the front of the body with the desired trajectory and generates the necessary value for the turning command signal to minimize the error.

Trajectory path follower in Simcenter Amesim

Simulating multiphysics with coupled effects

The digital twin developed in Simcenter Amesim is based on real multiphysics models and dynamic equations. The simulation computes the actual physical behavior of the system, including real actuation with electric motors, motion dynamics, contact forces, power consumption, and controls.

This means engineers can access results for virtually every physical domain: motor currents, torques, position and trajectories, energy consumption, or control system behavior.

Typical results for the Simcenter Amesim digital twin of the quadruped robot
Typical results in Simcenter Amesim for the complete mission – All variables are accessible from components and subsystems

One of the most useful analyses consists of introducing realistic behaviors of the components and subsystems. For example, in an ideal simulation, a motor could provide infinite current and unlimited torque. Such models often produce unrealistic results. Instead, engineers can include the current saturation, the voltage saturation, or the torque saturation. When saturation occurs, the virtual robot behaves much more like the real system.

Often, engineers observe a short successful walking sequence, progressive degradation of gait, inability to recover balance or eventual collapse. These behaviors closely resemble what is frequently observed during physical prototyping.

Comparing small and large motors

A very informative study consists of running the same walking scenario with different actuator sizes.

Case 1: Undersized motors

Simulation results may show a continuous torque saturation, high current consumption, reduced walking speed, motor overheating risk, or instability after a few gait cycles. The robot may walk two or three steps before collapsing. We use here a maximal power for drives of 80 W.

Dynamic behavior for the walk with the undersized motors

Case 2: Correctly sized motors

Simulation may demonstrate an adequate torque margin, lower current peaks, stable gait execution, improved energy efficiency, or a longer operating duration. The robot can maintain continuous walking over long distances without losing stability.

We use here a maximal power for drives of 120 W. So not far away from the 80 W used before, except it drastically changes the quadruped behavior with now a perfect walk with the right sizing of the electric motors.

Dynamic behavior for the walk with the well-sized motors

These comparative studies provide clear evidence for selecting the most appropriate motor size before ordering hardware.

Finding the optimal trade-off

The objective is not necessarily to select the largest possible motor. Larger motors introduce disadvantages coming with higher cost, higher mass, larger batteries, greater power consumption. The true engineering challenge is finding the optimal compromise between the torque capability, the weight, its efficiency, cost and the battery life.

With Simcenter Amesim, engineers can perform parametric studies in which motor ratings are varied, gear ratios are modified, robot mass is adjusted, or battery size is changed.

The simulation automatically evaluates performance metrics such as:

  • distance traveled
  • energy consumption
  • maximum current
  • torque margin
  • stability indicators

This approach allows rapid exploration of hundreds of design alternatives without manufacturing multiple prototypes.

Reducing development risk

The robot dog project shown in the YouTube video demonstrates a situation familiar to many robotics engineers. The initial actuator choices did not provide the desired walking performance, requiring redesign and iteration before achieving successful locomotion.

Such iterations are valuable learning experiences, but they can also be expensive and time-consuming in industrial development programs. By using Simcenter Amesim early in the design process, engineers can predict actuator requirements, validate electrical architecture, evaluate battery behavior, detect saturation problems, optimize motor sizing, reduce prototype iterations and accelerate development.

Takeaways

Actuator sizing is one of the most important decisions in quadruped robot development. Motors that are too small can lead to torque saturation, excessive current demand, voltage limitations, unstable gait behavior, and ultimately a robot that takes only a few steps before falling. Conversely, properly sized motors allow stable, efficient, and reliable locomotion.

Simcenter Amesim provides a powerful system-level approach by combining mechanical, electrical, and control-domain simulation within a single environment. Engineers can evaluate realistic motor behavior, battery dynamics, current and voltage limitations, and saturation effects before building physical hardware.

The result is a virtual prototype capable of identifying actuator sizing problems early, helping robotics teams move more quickly from concept to a robust quadruped robot that can walk confidently and reliably over long distances.

Learn more about Simcenter Amesim

Simcenter Amesim is the leading integrated, scalable system simulation platform, allowing system simulation engineers to virtually assess and optimize the performance of mechatronic systems.

Stephane Neyrat

Stephane Neyrat has been working at Siemens Digital Industries Software for more than 25 years on System Simulation with mechatronics systems. He obtained a mechanical engineering degree, then started his career in 1998. After being a developer, a project engineer and the manager of a team in charge of the Fluids Systems, he became Product Line Manager for the Simcenter Amesim Platform in connection with the customers' needs. He’s now supporting the business development aspects with a transverse role, including product synergies, and a special focus on the Medical Devices.

This article first appeared on the Siemens Digital Industries Software blog at https://blogs.sw.siemens.com/simcenter/how-system-simulation-helps-size-electric-motors-for-quadruped-robots/