I'm a software engineer with a CS degree working in machine learning. I'm trying to learn about Kalman Filters.
In this short YouTube video from Mathworks, there's a discussion on a Kalman Filter with regard to a rocket:
- We want to measure a rocket engine's internal temperature $T_{in}$.
- We can't put a temperature sensor directly inside the exhaust port because it's too hot.
- Instead, we put an external temperature sensor outside the engine exhaust to measure $T_{ext}$.
- We know how much fuel we're using: $W_{fuel}$.
The video says that we want to reduce the error between the measured external temperature $T_{ext}$ and an estimate of the external temperature $\hat{T}_{ext}$. In turn, that will reduce the error between the unobserved temperature $T_{in}$ and its estimate $\hat{T}_{in}$.
I work in machine learning, so I'm confused by what are the inputs and outputs of this system. My specific questions are:
$T_{ext}$ is an input to the system using an external sensor. Why is it shown as an output of this system?
We are trying to predict $\hat{T}_{in}$. Presumably it is a function of $W_{fuel}$ and $T_{ext}$; that is, $\hat{T}_{in} = f(W_{fuel}, T_{ext})$. Why is this system even trying to predict the external temperature $\hat{T}_{ext}$ if the true external temperature $T_{ext}$ is measured?
If I were to solve this problem using machine learning, I'd implement a regression model to predict exactly $\hat{T}_{in} = f(W_{fuel}, T_{ext})$ with $W_{fuel}$ and $T_{ext}$ as input features to linear regression or a neural network model. Why do we need to set up this Kalman Filter system at all?
Thanks for any help.

No Text is only an output of the Kalman filter since you don't measure it. Are you referring to $\hat{T}{ext}$ ? I know that variable is predicted. But $T{ext}$ (without the hat ^) is directly measured in this example. – stackoverflowuser2010 Aug 12 '21 at 20:56