The Art of Choosing an Estimator: Verifiable Agents Inspired by Rudolf E. Kalman and Hassan K. Khalil
This paper presents a framework that explicitly links specific engineering error requirements—such as average accuracy versus guaranteed worst-case bounds—to the selection between Kalman filtering and high-gain observers, demonstrating through simulations that while Kalman filters minimize mean-square error, high-gain observers provide tighter guaranteed error limits under bounded disturbances.
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
Every machine that moves, from a robotic arm in a factory to a hydraulic boom lifting heavy loads, relies on a silent partnership between what it can see and what it must guess. Sensors are the eyes of these machines, but they are often limited; a camera might see the angle of a joint, but the controller needs to know how fast that joint is turning. The speed is not directly measured; it must be calculated from the changing angle. This is a fundamental problem in engineering: how to reconstruct a hidden truth from imperfect, noisy clues. For decades, two distinct schools of thought have offered solutions. One approach treats the unknown errors as random fluctuations, like static on a radio, and seeks an answer that is correct on average. The other treats the unknown as a bounded force, like a wind that never blows harder than a specific limit, and seeks an answer that is guaranteed to stay within a safe envelope, no matter how the wind behaves. Choosing between these two paths has traditionally been a matter of intuition and experience, a decision made by seasoned engineers who could sense which philosophy fit the job.
A new framework developed by researchers at Tampere University transforms this intuitive art into a verifiable process. The team, led by Mehdi Heydari Shahna and Jouni Mattila, built a system that acts as a rigorous gatekeeper between an engineer's request and the mathematical tool used to solve it. Instead of guessing which method is best, the system forces the engineer to state exactly what they need: do they want the smallest average error, or do they need a hard guarantee that the error will never exceed a specific limit? The system then checks the facts provided, such as the sensor's precision and the maximum possible disturbance, against two established mathematical methods. One method, inspired by the work of Rudolf E. Kalman, excels at minimizing average error when the noise is random. The other, rooted in the high-gain observer theory of Hassan K. Khalil, excels at providing a strict, unbreakable limit on error when the disturbances are bounded but unknown. The system does not just pick a winner; it verifies that the chosen method can actually meet the specific demand under the stated conditions, and if it cannot, it explains why.
The researchers tested this framework with a series of simulated scenarios, including a hydraulic boom and a rotating joint, to see how the choice of estimator changes based on the question asked. In one striking example involving a servo axis, the system was asked to find the best way to estimate speed given a sensor that could be off by a tiny amount and an unmodeled force that could push the system. When the engineer asked for the smallest average error, the system selected the Kalman-style filter, which produced a result that was statistically the best on average. However, when the engineer changed the request to demand a guaranteed limit on the error after a specific time, the system switched to the high-gain observer. This second method provided a tighter, mathematically proven guarantee that the error would stay below a certain threshold, a feat the first method could not promise. The system found that for the same machine and the same sensor, the "best" estimator completely reversed depending on whether the goal was average accuracy or absolute safety.
To ensure these decisions were not just theoretical, the researchers built the system with a layer of strict verification. The mathematical code that performs the calculations was checked against separate, independently written reference programs to ensure the numbers were correct down to the smallest decimal. Furthermore, the system includes a "coordinator" that acts as a deterministic judge. It does not guess or learn from patterns in a way that might be unpredictable; instead, it follows a fixed set of logical rules to determine if a request is valid, if the data is sufficient, or if the goal is impossible to reach. If an engineer asks for a guarantee that the laws of physics say cannot be met, the system refuses the request and provides a proof of impossibility. If a crucial piece of information, such as the maximum speed of the initial movement, is missing, the system asks a specific question to fill the gap before proceeding. This prevents the release of a design that looks good on paper but fails in reality because a hidden assumption was wrong.
The framework also addresses the human element of communication. Engineers often describe their needs in natural language, using phrases like "half a millisecond" or "a few degrees of error." The system includes a trained reader that translates these words into precise numbers and units, but it does not act alone. Before any calculation begins, the system presents the engineer with a plain-language summary of what it understood. The engineer must confirm this reading or correct it. This step ensures that the machine is solving the problem the human actually intended, not a problem created by a misinterpretation of a vague phrase. In tests, this confirmation step proved vital, catching errors that simpler keyword-based systems missed and ensuring that the final design was built on a foundation of agreed-upon facts.
In a final demonstration, the researchers put the chosen estimator into a simulated feedback loop with a rotating joint. The system selected the high-gain observer because the engineer had asked for a guaranteed error limit. The observer successfully estimated the speed of the joint, keeping the error well within the certified bound of 0.120 radians per second, even as the system faced unknown disturbances and sensor noise. While the estimated speed was highly accurate, the researchers noted an interesting side effect: the control system using this estimate required more torque variation to track the desired path compared to a system using the true speed. This highlights a key insight of the work: a better estimate does not always mean a simpler control problem, and the choice of estimator is a trade-off that must be made with full knowledge of the consequences. The system does not hide these trade-offs; it lays them bare, allowing the engineer to see exactly what is gained and what is lost.
The result is a tool that preserves the deep expertise of control theory while making it accessible and executable. It does not replace the engineer; rather, it acts as a rigorous partner that ensures every decision is backed by evidence. By making the reasoning behind the choice of estimator visible and checkable, the framework turns a complex, often intuitive judgment into a transparent process. It shows that the "right" answer depends entirely on the question asked, and that in the world of precise engineering, the difference between a good guess and a guaranteed truth is often just a matter of asking the right question and having the tools to prove the answer. The code, data, and scripts used in this research are available for others to examine, ensuring that the method itself remains open to scrutiny and reuse.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.