January - February Update

We've implemented a number improvements to the Tinymovr firmware, the most important of which is the introduction of a deadband parameter for the velocity integrator.

The velocity integrator is important in ensuring accurate tracking of velocities, and as an extension also contributes to position tracking. One side effect of the use of the velocity integrator is the "hunting" behavior which can be witnessed as a low-frequency, low amplitude oscillation of the rotor at standstill. The main cause here is the cogging torque of the motor. Small position offsets from setpoint due to cogging torque cause integrator windup. At some point, the integrator value causes enough torque to overcome the cogging torque. This in turn causes overshoot of the setpoint, so that the rotor position now lies on the other side of the setpoint. As such, the phenomenon is repeated in the opposite direction.

The latest firmware introduces a configurable deadband around the position setpoint, within which the integrator value is not updated. As such, even if there is a small error in position, the torque applied is constant (following the current integrator value).

The deadband value can be configured using the relevant endpoint. To revert to the original pre-deadband behavior, just set the deadband parameter to zero. Note that the deadband only kicks in when in position control model. Velocity control applies the integrator as usual.

As a result of this change, we went on to perform a small rearrangement on the CAN endpoints map, splitting motor configuration in two separate endpoints and enabling better resolution figures into motor parameters.

Finally, we've performed some optimizations in the MCU HAL, resulting in more streamlined peripheral access with less overhead.

The new firmware is available on the releases page, and corresponding Studio on the Tinymovr Pypi page.

 

Back to blog
  • Celebrating Milestones and Looking Forward to 2024

    Celebrating Milestones and Looking Forward to 2024

    Reflecting on a Year of Innovation and Growth at Tinymovr - Discover our journey through 2023, where we launched next-generation firmware, unveiled the ultra-compact Tinymovr M5, and announced the exciting...

    Celebrating Milestones and Looking Forward to 2024

    Reflecting on a Year of Innovation and Growth at Tinymovr - Discover our journey through 2023, where we launched next-generation firmware, unveiled the ultra-compact Tinymovr M5, and announced the exciting...

  • Unveiling the Tinymovr ROS Hardware Interface

    Unveiling the Tinymovr ROS Hardware Interface

    We are excited to introduce the Tinymovr ROS Hardware Interface, a ROS package designed to bridge the Tinymovr motor controllers with ROS-based robotic systems seamlessly. This interface facilitates real-time monitoring...

    Unveiling the Tinymovr ROS Hardware Interface

    We are excited to introduce the Tinymovr ROS Hardware Interface, a ROS package designed to bridge the Tinymovr motor controllers with ROS-based robotic systems seamlessly. This interface facilitates real-time monitoring...

  • Announcing Tinymovr FW+Studio 1.6.0

    Announcing Tinymovr FW+Studio 1.6.0

    Hey Tinymovr Community,One of the things we kept hearing was the need for a smoother, simpler way to upgrade the firmware on your Tinymovr. Up until our latest release, you...

    Announcing Tinymovr FW+Studio 1.6.0

    Hey Tinymovr Community,One of the things we kept hearing was the need for a smoother, simpler way to upgrade the firmware on your Tinymovr. Up until our latest release, you...

1 of 3