13
votes
Why eigen values and poles of a system are equivalent?
Let's consider a discrete-time state space model (the derivation for a coninuous-time system is completely analogous):
$$\begin{align}\mathbf{q}[n+1]&=\mathbf{Aq}[n]+\mathbf{b}x[n]\\
y[n]&=\...
11
votes
Accepted
What sensors can be fused using the Kalman Filter framework
Remark: I will answer this using the Linear framework of the Kalman Filter but the idea is the same.
The Kalman Filter basically propagate and fuses Gaussian Distributions in order to calculate the ...
8
votes
When Is a Kalman Filter Different from a Moving Average?
I won't add any equations, I will just add some intuition.
I will also limit my self for Additive Gaussian White Noise.
Now, in that case the Kalman filter can written as a Least Squares problem to ...
8
votes
Accepted
Discrete State Space Model - Why Are We Calculating $ x \left[ k + 1 \right] $ Instead of $ \dot{\boldsymbol{x}} \left( t \right) $?
I will ask you something that will give you intuition.
How would you calculate the Gradient of an image?
Image is a discretization of reality, so how would you estimate the gradient of the "Reality" ...
6
votes
State space physical meaning
As you pointed out, there are many state-space realizations of one particular transfer function. The reason is that a transfer function only represents the input-output behavior of a system (...
5
votes
When Is a Kalman Filter Different from a Moving Average?
as the first answer (with the most votes) says, the kalman filter is better in Any case when signal is changing.
Notice the problem statement These use the algorithm to estimate some constant voltage. ...
5
votes
Accepted
Bilinear transformation of continuous time state space system
I've had the same question last week, but I've managed to find how to derive it (getting rid of those $z$ terms is indeed tricky). I will give here detailed demonstration of how to arrive to the ...
5
votes
System classification: unit-time delay
You are right that a distributed system could be "something like a transmission line". Note that the system
$$y(t)=x(t-T)\tag{1}$$
is a simple model of a transmission line, where just a frequency-...
5
votes
Accepted
Linear Time-Invariant system without State-space form
This seems like a homework problem, but I'll bite.
The thing with a state-space representation is that it needs to have finite dimension:
$$
x_{k+1} = \mathbf{A} x_k + \mathbf{B} u_k\\
y_k = \mathbf{C}...
5
votes
Accepted
Intuition for $\mathbf{P} = \mathbf{0}$ in steady-state when $\mathbf{Q} = \mathbf{0}$ (Kalman filter)
We each have different life experiences to fuel our intuition, but try this one out:
Let $\mathbf A = 1$ and $\mathbf Q = 0$, and $\mathbf C = 1$ -- i.e., the actual state variable just doesn't change,...
4
votes
When Is a Kalman Filter Different from a Moving Average?
Another take: The Kalman Filter lets you add more information about how the system you're filtering works. In other words, you can use a signal model to improve the output of the filter.
Sure, a ...
4
votes
Discrete State Space Model - Why Are We Calculating $ x \left[ k + 1 \right] $ Instead of $ \dot{\boldsymbol{x}} \left( t \right) $?
Hi: I've been wondering about the same exact thing myself and the light bulb finally turned on a few days ago when I went back to Kalman's 1960 paper. ( I've read it many times but not recently ). ...
4
votes
Accepted
What is wrong with my residue partial expansion method? (Transfer Function into State-Space Modal/Diagonal Form)
The discrepancy between your derivation and matlab's computation results because of a convention mismatch you used during the partial fraction expansion:
Given that the function to be expanded is $H(s)...
4
votes
What sensors can be fused using the Kalman Filter framework
Are there types of measurements that are not compatible for sensor fusion? Can any measurement be fused to better inform the underlying model?
Any sensor that gives you more information about the ...
3
votes
Accepted
MATLAB: Implementing Least Squares Estimator for a Given Model
The equation you're trying to solve is
$$
\mathbf{y}=\mathbf{X}\mathbf{h},
$$
where $\mathbf{h}$ is your unknown. The matrix $\mathbf{X}$ is going to have a time-shifted structure that reflects the ...
3
votes
Accepted
Control design: under what conditions can closed-loop poles be placed arbitrarily?
Unnecessary additional information that might help
From a pragmatic point of view, there might be a problem when trying to control a given plant using only its transfer function $G_p(s)$. In general, ...
3
votes
Accepted
$N$ point moving average filters in state space
Yes sure they are LTI. Let $A$ be the $(L-1)\times (L-1)$ shift matrix
$$
A := \begin{pmatrix}0 & 1 & 0 && \dots & 0\\0 & 0 & 1 & 0 &\dots &0\\\vdots &&...
3
votes
Accepted
Expectation maximization of moving average with binary source input
I think your E-step is correct(only one term missing in the last expression: $-N\ln\sigma_w$ ).
To obtain the M-step you have to differentiate with respect to all your parameters. You don't have to ...
3
votes
Can a state space model have changing state size over time?
Short answer: Yes but no.
Long answer:
If a system matrix is rectangular then it means either;
There are more number of states than the number of their derivatives which is not meaningful. If you ...
3
votes
Accepted
Got stack in calculating state-space representation
Model your deterministic input as a $2 \times 1$ matrix :
$$ \begin{bmatrix}
u \\
T_a \\
\end{bmatrix}
$$
Then your state space equations will be:
$$ \begin{bmatrix} \dot x_1 \\ \dot x_2 \\ \...
3
votes
Accepted
How to linearize this state space model and write it in discrete form?
You have
$$
f\left(\mathbf x, u\right) = \begin{bmatrix}\frac{-1}{T}\tau+\frac{K}{T} u \\ \frac{\tau}{mr} \\ 0 \end{bmatrix} \tag a
$$
From which you (eventually) derive
$$
\mathbf {A}_d=\begin{...
2
votes
Why is my discretized transfer function unstable when my discretized state-space model is stable?
You're using a high order model so you might be running into numerical precision issues.
Make sure the realization of model_state_space is minimal. You can do this with
...
2
votes
kalman filter with time-varying noise?
1) It depends on what you call the standard Kalman filter -- I will call the equations in the picture below to be the "standard Kalman filter". You can easily derive an expression for the Kalman ...
2
votes
Accepted
How to find the output signal of a filter using state space matrices?
We don't know anything about your system, but general rule is:
$$\begin{array}
&y[n] &= \mathbf{C}x[n] + \mathbf{D}u[n]\\
x[n+1] &=\mathbf{A}x[n] + \mathbf{B}u[n] \\
\end{array}$$
Where $...
2
votes
Accepted
How to represent the nonlinear model as a state space in Unscented Kalman Filter
Rather than write
$$
x_t = Ax_{t-1} + f(u_{t-1},\mathbf{w})
$$
as the state update equation, I'd write:
$$
\xi = \left[ \begin{array}{c}
x_t\\
u_t
\end{array}
\right]
$$
and then
$$
\xi_t = g(\...
2
votes
Accepted
Learner level information on Kalman filtering for different input kinds
I am most convinced you should try Hidden Markov Chains (which i am not explaining here), just justifying its use:
Kalman Filter: continuous state space, discrete observations
https://stats....
2
votes
MATLAB: Implementing Least Squares Estimator for a Given Model
If X is your design matrix then the matlab implementation of Ordinary Least Squares is:
h_hat = X'*X\(X'*y);
I attempted to answer your other question here: ...
2
votes
Why is it necessary to have two state variables
Let's rewrite your system as
$$
m \ddot{x}(t) + b \dot{x}(t) + k x(t) = f(t)
$$
then you can see what you're saying: Everything I need to know is in $x(t)$!
But is it really?
State space systems ...
2
votes
Accepted
Discrete time non-linear time invariant system dynamics descriptions (state-space or input-output relationship)
Well, any input-output representation obviously admits a state-sapce form. for your equation in $y[k]$ you can easily construct one as follows. Create a "shift" system (an integrator chain) as
$$
\...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
state-space × 93kalman-filters × 22
control-systems × 16
linear-systems × 15
matlab × 14
discrete-signals × 14
transfer-function × 12
filters × 9
estimation × 7
system-identification × 6
python × 5
self-study × 5
finite-impulse-response × 4
z-transform × 4
signal-analysis × 3
noise × 3
continuous-signals × 3
time-series × 3
least-squares × 3
non-linear × 3
discretization × 3
dynamic-system × 3
filter-design × 2
sampling × 2
frequency-response × 2