Actually if you have any system with inputs and outputs and a linear function that describes the evolution of its states through time, you can apply the Kalman filter to observe its states.
So, firstly you need to build the model that you want to observe and and simply apply the linear Kalman filter between its output and input following the standard procedure, prediction, gain calculation and estimation.