Skip to content
antonays edited this page Feb 10, 2016 · 4 revisions

Kalman Estimator


Given a set of input and output samples, the target is to find the Transfer Function which may generate these samples.

1st step would be to generate a step response of the given samples, and analyze the response to identify the order of the function.

2nd step would be to apply the Recursive Kalman Estimation Algorithm.

In the given examples, 1st and 2nd order kalman estimation programs are written in C code. Same thing can easily be accomplished with an environment like matlab, which allows easy calculations. C code was chosen to apply these programs in an Adaptive Control program for Mechatronics applications using National Instruments MyRio Device and a program written in LabView environment which allows integrating c code as a controller.

Some notes:

  • The C Code block of LabView does not allow C Code pointers, methods and external libraries. So i uploaded my entire development process: starting from a C program with pointers, through a C program without pointers, and ending with a C program in which the entire code is in one function. The last one is a disgusting monster for a software guy, but nothing can be done.
  • The most commented versions are the 1st and 2nd order with Pointers, there i try to explain my entire solution.

Kalman Estimation Algorithm


Clone this wiki locally