# Questions tagged [state-space]

The tag has no usage guidance.

87 questions
Filter by
Sorted by
Tagged with
10k views

### Is a Kalman filter suitable to filter projected points positions, given Euler angles of the capturing device?

My system is the following. I use the camera of a mobile device to track an object. From this tracking, I get four 3D points that I project on the screen, to get four 2D points. These 8 values are ...
10k views

### How do I find a system's impulse response from its state-space repersentation using the state transition matrix?

Suppose we have a linear represented in the standard state space notation: $$\dot{x}(t)=Ax(t)+Bu(t)$$ $$y(t) = Cx(t) + Du(t)$$ In order to get its impulse response, it is possible to take its ...
11k views

### When Is a Kalman Filter Different from a Moving Average?

this thread asks when a discrete time Kalman filter is better/different from a simple moving average of the observations: Why use a Kalman filter instead of keeping a running average? there's no ...
183 views

### Estimating the input to a system from a system state using EKF [closed]

[ Cross-posted from: https://math.stackexchange.com/questions/164169/estimating-the-input-to-a-system-from-a-system-state ] I have a system for which I have obtained a non-linear time-varying state-...
4k views

### Initial conditions for systems described in state space - LTI or not?

Suppose we have some system given by \begin{aligned} \dot{x}(t) &= Ax(t) +Bu(t) \\ y(t) &= Cx(t)+Du(t) \end{aligned} where $x(t)$ are the state variables, $y(t)$ is the output and $u(t)$ ...
239 views

### Can a state space model have changing state size over time?

I have worked with state space models in relation to Kalman estimation. Here I have always seen state space models with fixed state size over time, i.e. the state transition matrix is square. Let us ...
271 views

### Fundamental questions about state-space and Kalman filters

I am a dsp guy, I only did a minimum of control theory back in university. While trying to grok state space analysis and (discrete time) regular Kalman filters, I am hitting a few questions that ...
13k views

### Why eigen values and poles of a system are equivalent?

In control systems engineering, the stability of a system (modeled in the form of Transfer Function) is determined by the poles of the system in the right or left hand sides. When the model is ...
178 views

### How to combine a perfect signal with a limited dynamic range with a poor one with high dynamic range?

I have two sensors that measure speed $v(t)$ of a moving vehicle. The first sensor produces a signal $f(t)$ which is a very accurate estimation of speed. However, it only works for slow to moderate ...
287 views

### State space system identification

Suppose I have a real (physical) dynamical system with some sensors and actuators, and I also have an idealized state-space model of this same system. How, in general, can I adjust the model to match ...
341 views

### Discrete State Space Model - Why Are We Calculating $x \left[ k + 1 \right]$ Instead of $\dot{\boldsymbol{x}} \left( t \right)$?

A continuous state space model is defined as follows. $$\dot{\boldsymbol{x}}(t) = A \boldsymbol{x}(t)+ B \boldsymbol{u}(t) \\ \boldsymbol{y}(t)= C \boldsymbol{x}(t)+ D \boldsymbol{u}(t)$$ If we ...
2k views

### Bilinear transformation of continuous time state space system

I'm trying to understand the derivation of the bilinear transform for a set of continuous time state-space matrices. I've found plenty of websites which list steps to perform the conversion (here 1 or ...
190 views

### Expectation maximization of moving average with binary source input

I am trying to do blind system identification of a univariate linear FIR model: I am unsure if the approach is correct or not and any help to further proceed with the maximization will be great. ...
382 views

### What is wrong with my residue partial expansion method? (Transfer Function into State-Space Modal/Diagonal Form)

I'm using reference from here and here. This is Laplace transfer function of DC Control Speed System: $$\frac{\omega(s)}{V(s)}=\frac{K}{(Js+b)(Ls+R)+K^2}$$ Where, $\omega$ is the motor angular ...
74 views

### How to linearize this state space model and write it in discrete form?

This might not be trivial nor short so in advance thank you all who read this in attempt to help. I'm building a Kalman filter in matlab and I'm fairly certain the software itself is working correctly ...
138 views

### Application of UKF on quaternions

I'm trying to perform a state estimation on quaternions to predict the future orientation of a human head. The only sensor data I can obtain (from the AR headset) is the current orientation of the ...
152 views

### How can the order of a transfer function be derived from its equivalent state space representation?

Suppose I have a discrete state space model: \begin{align} \theta[k+1] &= A \theta[k] + B u[k]\\ y[k] &= C \theta[k] \end{align} I know that the equivalent transfer function can be found by ...
84 views

### Linearized system and State Space

I want to ask about this scheme: $u_0$ should be something as input in specific point given by the initial conditions and $y_0$ output. Block State Spase represented linearized system by A, B, C, D ...
352 views

### State space representation in s-domain

I was supposed to find state space representation and its matrices of this system: and I have no idea, how to do this. We were told not to transfer the system to time domain, but I can only do state ...
521 views

### State space physical meaning

Let $T(s)$ be a transfer function that describes a mechanical system, where the input is force and the output is position. And let $[A,B,C,D]$ be the equivalent state-space representation of $T(s)$, ...
1k views

### Control design: under what conditions can closed-loop poles be placed arbitrarily?

Say we have a single-input linear system $\dot{\mathbf{x}} = A\mathbf{x}+Bu$. With full-state feedback ($u=-G\mathbf{x}$), it is straightforward to arbitrarily place the $n$ closed-loop poles (i.e., ...
1k views

### Python toolboxes for state-space estimation via subspace estimation

Is there (open-source) toolboxes for state-space estimation via subspace estimation in Python? I know this is used in Matlab's n4sid function, but I didn't found any Python's implementation (even in ...
127 views

### How to find the output signal of a filter using state space matrices?

I have a filter. It has two poles and two zeros. I found the state space equations and the matrices A, B, C, and D Now. I have 9 samples that I need to process with my filter. How do I use A,B,C,D ...
516 views

186 views

### Doubt in state space representation

$y$ is scalar observations and so C will be a 1x2 matrix. I want to represent the following model as a state space representation so as to estimate the hidden states from the noisy observations $y$ ...
53 views

### Methods for time series estimation in time domain

I am trying to estimate the clean form of a time series, $u(t)$ that is corrupted by additive White Gaussian noise $w(t)$ at a particular SNR. The received signal is: $$y(t) = u(t) + w(t)$$ My first ...
99 views

### State space equation from differential equation

I have very general system. I don't know whether it is electrical or mechanical or whatever. This system can be modeled by the following differential equation $$\dot q = \frac{Tf_1-f_2}{T+1}$$ where:...
113 views

586 views

### Derivation of ZOH Discretization

I'm trying to understand the derivation of the zero order hold discretization method, and I have a couple of questions about some of the steps. I think I understand the first part, this is just the ...
65 views

### Calculating pre-history of recursive filter from state space representation when optimising for initial z

For a recursive filter, suppose a set of $b$ and $a$ coefficients have been calculated. Assume a state-space representation for which an initial set of $z$-values have also been calculated as in ...
288 views

### Scipy.signal.dimpulse(system): how to translate a StateSpace to a "system"? [closed]

The command scipy.signal.dimpulse(system, x0=None, t=None, n=None) does not seem to accept a scipy StateSpace as an input to its ...
227 views

### Identifiability of a state space model (Dynamic Linear Model)

Take a general linear Gaussian state space model (SSM)(aka Dynamic Linear Model DLM): \begin{align} X_{t+1}&=FX_t + V_t\\ Y&=HX_t+W_t\\ V_t &\sim \mathcal N(0,Q)\\ W_t &\sim \...
136 views

### System classification: unit-time delay

I'm reading a book on linear systems and I can't understand why the unit-time delay is a distributed system. This is the example given in the book: I understand that the initial state of the system ...
222 views

### MATLAB: Implementing Least Squares Estimator for a Given Model

The formula to estimate $\mathbf{h}$ is then $$\hat{\mathbf{h}} = (X^T X)^{-1} X^T \vec{y}\tag{2}$$ I think this can be implemented in Matlab using ...
59 views

### Got stack in calculating state-space representation

I got stack in the process of deriving a state-space representation of the following system: There is an electrical oven described as follows: control of the power supply $u$, heating efficiency ...
204 views

### How does Overlap-Add work for IIR filter?

So let's say I'm trying to implement something like an LPC vocoder. I analyse a speech signal by breaking it up in small chunks and determining their LPC coefficients, which are by design, the ...
65 views

### Equations for particle filter

The particle filter is based on the state and observation model equations $x_{t+1}=f_t(x_t, v_t)$ $y_t=h_t(x_t, u_t)$ The idea is to randomly generate some particles then propagate them through the ...
in regular discrete-time (1 dimensional) kalman filter, it is assumed that we have white gaussian noise affecting the transitions and the observations: $x(t+1) = Ax + w$ $y(t) = Cx(t) + v$ ...