Experiments with Higher Order Sliding Mode Differentiators: Practical Considerations
This study empirically evaluates higher-order sliding mode differentiators on a servomotor to demonstrate that replacing the discontinuous sign function with a saturation function can mitigate stability and accuracy degradation caused by low sampling rates, thereby providing practical implementation guidelines for hardware-constrained applications.
Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
In the world of robotics and automated machinery, machines need to know not just where they are, but how fast they are moving and how quickly that speed is changing. This information is crucial for keeping a robotic arm steady or a drone hovering in place. However, the sensors that tell a machine its position are often noisy, sending back a jumpy, imperfect signal. To get the speed and acceleration from this shaky position data, engineers use mathematical tools called differentiators. Think of these tools as a way to smooth out the noise and calculate the rate of change. For decades, a popular family of these tools, known as sliding mode differentiators, has been celebrated in computer simulations for its ability to cut through noise and deliver precise answers almost instantly. These simulations, however, often run in a perfect, continuous world where data flows without interruption.
The real world is not so smooth. Real machines run on digital computers that take snapshots of data at fixed, often slow, intervals. When these ideal mathematical tools are forced to run on real hardware with limited speed, the results can be disastrous. The very feature that makes them robust in theory—their sharp, instant switching between states—can turn into a violent shaking known as chattering. This shaking can destroy the accuracy of the speed estimate, rendering the machine's control system useless. This gap between the perfect world of simulation and the messy reality of physical sensors is the central problem researchers Jessica Hamer and Farbod Fahimi set out to solve. They wanted to find out which mathematical settings actually work when the clock is ticking slowly, and which ones are merely illusions created by fast computers.
To find the truth, the researchers built a testbed using a standard servomotor, a common type of electric motor used in robotics. They connected this motor to a small computer board and programmed it to move in precise steps. The motor's position was measured by a sensor, and the researchers fed this raw data into three different mathematical algorithms designed to estimate the motor's speed. They tested these algorithms under a variety of conditions, specifically changing how often the computer took a snapshot of the motor's position. They ran tests at sampling rates of 100, 50, 25, and 10 times per second, a range that covers everything from high-performance industrial robots to slower, more constrained embedded systems.
The researchers also tested two different ways the algorithms could make their decisions. The first was a sharp, discontinuous switch that jumps instantly from one value to another, much like a light switch being flipped on and off. The second was a smoother approach that allowed for a small, gradual transition zone, softening the jump. By mixing these switching styles with the different sampling speeds, they created a matrix of 16 different scenarios to see which combination survived the transition from theory to practice. They measured the results by comparing the estimated speed against the known, theoretical speed of the motor, looking for two main things: how much the estimate wobbled around the true value, and how far off the average estimate was from the truth.
The results revealed a stark divide between what works in theory and what works in reality. When the computer sampled the motor's position very quickly, at 100 times per second, the sharp, discontinuous switching method performed beautifully for two of the algorithms tested. It provided fast, accurate speed estimates with very little noise. However, as the sampling rate slowed down, the sharp switching method began to fail. At 50 and 25 times per second, the estimates became jittery and unreliable, with the error growing significantly. At the slowest rate of 10 times per second, the sharp switching method collapsed entirely, producing estimates that were wildly inaccurate and unusable for any real control task.
The solution, the researchers found, was to replace the sharp switch with the smoother transition zone, but only if the size of that zone was tuned correctly. When the sampling rate dropped to 50 or 25 times per second, switching to the smoother method with a very thin transition zone restored the accuracy to levels nearly identical to the high-speed tests. This was a critical discovery: it meant that engineers could potentially run these powerful algorithms on slower, cheaper, or less powerful hardware without sacrificing performance, provided they adjusted the smoothing parameter. However, this fix had limits. At the lowest speed of 10 times per second, even the smoothest transition could not save the algorithm; the data simply arrived too slowly for the math to keep up, and the estimates remained poor.
The study also compared two different families of algorithms. One family, known as the Ghanes method, offered a flexible design that could switch between different modes of operation. The researchers found that while one mode of this method worked well at high speeds, a fully linear version of it failed to provide any viable solution at any speed tested. The other family, based on the work of Basin, included both second-order and third-order versions. The second-order version, which estimates speed, worked well at high speeds but struggled at lower speeds unless the smoothing technique was applied. The third-order version, which attempts to estimate acceleration as well, showed a tendency to overshoot the target speed significantly, making it less suitable for applications where rapid changes in speed occur, unless the acceleration estimate was strictly required.
Ultimately, the paper provides a clear set of guidelines for engineers building real-world systems. It confirms that the high-speed, sharp-switching methods often seen in textbooks are not always the best choice for physical hardware. Instead, the study suggests that for systems operating at moderate speeds, a carefully tuned smoothing technique can rescue performance, allowing for accurate speed estimation even when the computer cannot sample data very quickly. However, there is a hard floor: if the sampling rate drops too low, no amount of mathematical tweaking can recover the lost accuracy. The work serves as a practical map, showing where the theoretical tools of control engineering can safely be deployed and where they will stumble, ensuring that the next generation of robots and machines can rely on their sensors to keep them moving smoothly.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.