Porometric Families & Models and Non-Parametric Modeling
Porometric Families & Models
- Output Error (OE)
- Equation: A(q)y(t)=B(q)u(t)+e(t)
- Where:
- A,C,D,F=1
- y(t)=G(q;θ)u(t)+e(t)
- e(t) is white noise.
- G(q;θ)=A(q;θ)B(q;θ)
- B(q)=b<em>0+b</em>1q−1+…+b<em>n</em>bq−nb
- IIR assumption
- Iterative optimization is required.
- y^(t∣t−1;θ)=G(q;θ)u(t)
- J(θ)=N1∑t=1N[y(t)−y^(t∣t−1;θ)]2
- J(θ) is generally a nonlinear function of θ, thus non-convex.
- Equation: A(q)y(t)=B(q)u(t)
- Where:
- C,D,F=1
- y(t)=A(q)B(q)u(t)
- Some poles, no zeros; similar to G
- y^(t∣t−1;θ)=A(q;θ)B(q;θ)u(t)
- A(q)=1+a<em>1q−1+…+a</em>n<em>aq−n</em>a
- J(θ)=N1∑t=1N[A(q;θ)y(t)−B(q;θ)u(t)]2
- [1+a<em>1q−1+…+a</em>n<em>aq−n</em>a]y(t)−[b<em>0+b</em>1q−1+…+b<em>n</em>bq−nb]u(t)
ARX Model Details
- Equation: y(t)=b<em>0u(t)+b</em>1u(t−1)+…−a<em>1y(t−1)−…−a</em>n<em>ay(t−n</em>a)
- Linear in parameters
- θ=[b<em>0,b</em>1,…,a<em>1,…a</em>na]
- J(θ) is quadratic in parameters.
- Globally convex, global minimum.
- Equation: A(q)y(t)=B(q)u(t)+C(q)e(t)
- Where: F=1
- y^(t∣t−1)=A(q)B(q)u(t)+A(q)C(q)−A(q)y(t)
- C(q)=1+c1q−1+…
- Shares poles with G, independent zeros
- J(θ) is generally non-convex.
Box-Jenkins (BJ)
- Equation: y(t)=F(q)B(q)u(t)+D(q)C(q)e(t)
- Where: A=1
- Most general LTI model.
Non-Parametric Modeling
- Data-Generating Process:
- y(t)=G0(q)u(t)+ν(t)
- Where: G0(q) is the ground truth, and ν(t) is zero-mean noise (not necessarily white).
- Goal: Learn G0(q) without parametrization.
- Approach: G0(q)=g(0)+g(1)q−1+g(2)q−2+…
- Learn the impulse response.
- Ground truth.
Possible Approaches
- Impulse-Response Analysis
- y(t)=G0(q)u(t)+ν(t)
- u(t)=δ(t)
- Noise-to-signal ratio (SNR) is infeasible.
- May cause saturation/nonlinearity.
- g^(t)=y(t)
- g^(t)=0
- If t < 0
Impulse Response Analysis Details
- Recall: G0(q)=g(0)+g(1)q−1+g(2)q−2+…
- Coefficients are impulse response (I.R.).
- ν(t)=y(t)−y^(t)
- y^(t)=G<em>0(q)u(t)=∑</em>k=0∞g(t−k)u(k)
- Step-Response Analysis
- u(t)={0amp;tlt;t<em>0 1t≥t</em>0
- Analyze overshoot, gain, rise time, settling time.
Step Response Analysis Equations
- Equation: y(t)=G0(q)u(t)+ν(t)=[g(0)+g(1)q−1+g(2)q−2+…]u(t)+ν(t)
- y(t)=g(0)+g(1)+g(2)+…
- y(t)=∑k=0tg(k)+ν(t)
- Δy(t)=y(t)−y(t−1)
- First difference ~ derivative
- y(t)−y(t−1)=g(t)+ν(t)−ν(t−1)
- g(t)=y(t)−y(t−1)
Step Response Analysis Considerations
- Equation: g(t)=y(t)−y(t−1)
- This still needs work to get the exact result.
- Potential problem: differentiating noise.
- Δν(t)=ν(t)−ν(t−1)
- First difference (LTI)
- Φ<em>Δν(ω)=∣F(ejω)∣2Φ</em>ν(ω)
- Where: F(q)=1−q−1
- F(ejω)=1−e−jω=1−cos(ω)−jsin(ω)
- ∣F(ejω)∣2=[1−cos(ω)]2+[−sin(ω)]2=2−2cos(ω)
- High-pass filter.
Correlation Analysis
- Open-loop experiment:
- y(t)=G0(q)u(t)+ν(t)
- Let u(t) be any quasi-stationary stochastic process (independent of ν(t)).
- y(t)=∑k=0∞g(k)u(t−k)+ν(t)
- y(t)u(t−τ)=∑k=0∞g(k)u(t−k)u(t−τ)+ν(t)u(t−τ)
- E[y(t)u(t−τ)]=∑k=0∞g(k)E[u(t−k)u(t−τ)]+E[ν(t)u(t−τ)]
- Averaging over time/stochasticity.
Correlation Definitions
- Auto-correlation: Ry(τ)=E[y(t)y(t−τ)]
- Cross-correlation: Ryu(τ)=E[y(t)u(t−τ)]
- Back to the equation:
- E[y(t)u(t−τ)]=∑k=0∞g(k)E[u(t−k)u(t−τ)]+E[ν(t)u(t−τ)]
- R<em>yu(τ)=∑</em>k=0∞g(k)Ru(τ−k)
- R<em>yu(τ)=G</em>0(q)Ru(τ)
Correlation Analysis Assumptions
- Assumption: E[ν(t)u(t−τ)]=0
- N1∑t=0N−1[ν(t)u(t−τ)]=0
- So, R<em>yu(τ)=G</em>0(q)Ru(τ)
- Recall: If u(t) = zero mean white noise, then Ru(τ)=λδ(τ)
- Therefore: Ryu(τ)=g(τ)
Practical Considerations
- Question: What if u(t)=δ(t)
- Then y(t)=h(t)
- Note: In practice, we need to approximate.
- R^<em>yu=N1∑</em>t=τN−1y(t)u(t−τ)
- R^<em>u(τ)=N1∑</em>t=τN−1u(t)u(t−τ)
- These become very inaccurate when τ∼N
Linear System of Equations
- R^<em>yu(τ)=G</em>0(q)R^u(τ)
- This is a linear system of equations for τ=0,…,M