Title :
Flexible generation of Kalman filter code
Author :
Richardson, Julian ; Wilson, Edward
Author_Institution :
RIACS, NASA Ames Res. Center, Moffett Field, CA
Abstract :
Domain-specific program synthesis can automatically generate high quality code in complex domains from succinct specifications, but the range of programs which can be generated by a given synthesis system is typically narrow. Obtaining code which falls outside this narrow scope necessitates either 1) extension of the code generator, which is usually very expensive, or 2) manual modification of the generated code, which is often difficult and which must be redone whenever changes are made to the program specification. In this paper, we describe adaptations and extensions of the AUTOFILTER Kalman filter synthesis system which greatly extend the range of programs which can be generated. Users augment the input specification with a specification of code fragments and how those fragments should interleave with or replace parts of the synthesized filter. This allows users to generate a much wider range of programs without their needing to modify the synthesis system or edit generated code. We demonstrate the usefulness of the approach by applying it to the synthesis of a complex state estimator which combines code from several Kalman filters with user-specified code. The work described in this paper allows the complex design decisions necessary for real-world applications to be reflected in the synthesized code. When executed on simulated input data, the generated state estimator was found to produce comparable estimates to those produced by a hand-coded estimator
Keywords :
Kalman filters; formal specification; program compilers; state estimation; AUTOFILTER Kalman filter synthesis system; Kalman filter code; code generation; code modification; complex state estimator; domain-specific program synthesis; program generation; program specification; DSL; Domain specific languages; Filters; NASA; National electric code; Network address translation; Prototypes; Specification languages; State estimation; Uninterruptible power systems;
Conference_Titel :
Aerospace Conference, 2006 IEEE
Conference_Location :
Big Sky, MT
Print_ISBN :
0-7803-9545-X
DOI :
10.1109/AERO.2006.1656030