swen_s
Member level 1
- Joined
- Nov 29, 2012
- Messages
- 40
- Helped
- 1
- Reputation
- 2
- Reaction score
- 1
- Trophy points
- 1,288
- Activity points
- 1,598
Hello
I need to calculate the slope of a temperature (Kelvin/s) from a temperature sensor.
The solution today is an Kalman filter with static kalman gain. This filter gives wery smooth derivative/slope. But it causes a phase shift of the derivative.
I don't know how to fine tune the Kalman gain.
Is there another method for calculating slope in real time?
I can't just take (T - T(n-1)) / sampletime. It gets too noisy. And if I filter the temperature first it gets a phase shift.
I need to calculate the slope of a temperature (Kelvin/s) from a temperature sensor.
The solution today is an Kalman filter with static kalman gain. This filter gives wery smooth derivative/slope. But it causes a phase shift of the derivative.
I don't know how to fine tune the Kalman gain.
Is there another method for calculating slope in real time?
I can't just take (T - T(n-1)) / sampletime. It gets too noisy. And if I filter the temperature first it gets a phase shift.