paper-with-me

홈 › Papers

Automated Physics-Derived Code Generation for Sensor Fusion and State Estimation

2020-04-28

We present a new method for automatically generating the implementation of state-estimation algorithms from a machine-readable specification of the physics of a sensing system and physics of its signals and signal constraints. We implement the new state-estimator code generation method as a backend for a physics specification language and we apply the backend to generate complete C code implementations of state estimators for both linear systems (Kalman filters) and non-linear systems (extended Kalman filters). The state estimator code generation from physics specification is completely automated and requires no manual intervention. The generated filters can incorporate an Automatic Differentiation technique which combines function evaluation and differentiation in a single process. Using the description of physical system of a range of complexities, we generate extended Kalman filters, which we evaluate in terms of prediction accuracy using simulation traces. The results show that our automatically-generated sensor fusion and state estimation implementations provide state estimation within the same error bound as the human-written hand-optimized counterparts. We additionally quantify the code size and dynamic instruction count requirements of the generated state estimator implementations on the RISC-V architecture. The results show that our synthesized state estimation implementation employing Automatic Differentiation leads to an average improvement in the dynamic instruction count of the generated Kalman filter of 7%-16% compared to the standard differentiation technique. This is improvement comes at the limited cost of an average 4.5% increase in the code size of the generated filters.

📄 PDF Abstract BibTeX arXiv:2004.13873

Code (0)

등록된 구현이 없습니다.

Tasks

C++ codeCode GenerationSensor FusionState Estimation

Similar Papers 제목 키워드 기반

Automated Digital Twin Construction for Highway Scenarios Using LiDAR Point Clouds and OpenStreetMap

2026-06-15 · Yongqi Zhao, Dong Bi, Paul Kovacevic, Tomislav Mihalj 외 arxiv

Accurate road environment modeling is fundamental to the simulation and validation of automated driving systems. However, constructing road maps in standardized formats such as ASAM OpenDRIVE from real-world sensor data …

Point Clouds

Perceptual Self-Reflection in Agentic Physics Simulation Code Generation

2026-02-12 · Prashant Shende, Bradley Camburn arxiv

We present a multi-agent framework for generating physics simulation code from natural language descriptions, featuring a novel perceptual self-reflection mechanism for validation. The system employs four specialized age…

Code Generation

PIM: Physics-Informed Multi-task Pre-training for Improving Inertial Sensor-Based Human Activity Recognition

2025-03-23 · Dominique Nshimyimana, Vitor Fortes Rey, Sungho Suh, Bo Zhou 외

Human activity recognition (HAR) with deep learning models relies on large amounts of labeled data, often challenging to obtain due to associated cost, time, and labor. Self-supervised learning (SSL) has emerged as an ef…

Activity RecognitionData AugmentationHuman Activity RecognitionSelf-Supervised Learning

MatTools: Benchmarking Large Language Models for Materials Science Tools

2025-05-16 · Siyu Liu, Jiamin Xu, Beilin Ye, Bo Hu 외

Large language models (LLMs) are increasingly applied to materials science questions, including literature comprehension, property prediction, materials discovery and alloy design. At the same time, a wide range of physi…

BenchmarkingQuestion AnsweringText Generation

On the Rate Coding Response of Peripheral Sensory Neurons

2013-07-24 · Willy Wong

The rate coding response of a single peripheral sensory neuron in the asymptotic, near-equilibrium limit can be derived using information theory, asymptotic Bayesian statistics and a theory of complex systems. Almost no …