Documentation

CslibFrontier.Foundations.Analysis.ODE.PulseContamination

Inter-pulse contamination of a measurement window #

The question. A pulse drives a linear channel, and some time later a gated or integrating readout integrates the channel output over a window. How much of the reading can still be the tail of the earlier pulse? For a single-input, single-output LTI system ẋ = A x + B u, y = C x (no direct feedthrough) at rest before the pulse, the answer here is a bound on the window integral of the output in terms of the pulse's L¹ norm and the energy left in the tail of the impulse response:

|∫_{a+T}^{a+T+W} y| ≤ ∫_{a+T}^{a+T+W} |y| ≤ ‖p‖₁ √(W E_T),

where the pulse p ends at time a, the window opens T ≥ 0 after it and has length W ≥ 0, and ∫_T^∞ h² ≤ E_T for the impulse response h t = C exp (t A) B (LTISystem.window_integral_bounds_of_tail). Kernel-checked decay certificates give E_T as a rational number (Cslib.LinearAlgebra.DecayInequalities.sq_window_integral_le_of_tailBelow), so the squared bound (∫ y)² ≤ ‖p‖₁² W E_T is a rational inequality.

Model and assumptions.

theorem LTISystem.window_integral_bounds_of_tail {n : Type u_1} [Fintype n] [DecidableEq n] {S : LTISystem n (Fin 1) (Fin 1)} {p : ℝ → ℝ} {a T W E : ℝ} (hT : 0 ≤ T) (htail : MeasureTheory.IntegrableOn (fun (t : ℝ) => ∑ i : Fin 1, ∑ j : Fin 1, S.responseKernel t i j ^ 2) (Set.Ioi T) MeasureTheory.volume) (hE : ∫ (t : ℝ) in Set.Ioi T, ∑ i : Fin 1, ∑ j : Fin 1, S.responseKernel t i j ^ 2 ≤ E) (hp : MeasureTheory.Integrable p MeasureTheory.volume) (hpa : ∀ (s : ℝ), a < s → p s = 0) (hW : 0 ≤ W) :
IntervalIntegrable (fun (t : ℝ) => ∫ (s : ℝ), (Set.Ici 0).indicator (fun (τ : ℝ) => S.responseKernel τ 0 0) (t - s) * p s) MeasureTheory.volume (a + T) (a + T + W) ∧ ∫ (t : ℝ) in a + T..a + T + W, |∫ (s : ℝ), (Set.Ici 0).indicator (fun (τ : ℝ) => S.responseKernel τ 0 0) (t - s) * p s| ≤ (∫ (s : ℝ), |p s|) * √(W * E) ∧ |∫ (t : ℝ) in a + T..a + T + W, ∫ (s : ℝ), (Set.Ici 0).indicator (fun (τ : ℝ) => S.responseKernel τ 0 0) (t - s) * p s| ≤ (∫ (s : ℝ), |p s|) * √(W * E)

Inter-pulse contamination bound. Let S be a single-input, single-output system whose response kernel has finite tail energy ∫_T^∞ ‖h t‖_F² ≤ E for some T ≥ 0 (for a SISO system ‖h t‖_F² = h t ²). Let the input p be integrable and vanish after time a, and let y t = ∫ s, h⁺ (t - s) * p s be the zero-state output, with h⁺ = (Set.Ici 0).indicator h. Then for every window [a + T, a + T + W] with W ≥ 0, y is integrable on the window, and ∫_{a+T}^{a+T+W} |y| ≤ ‖p‖₁ √(W E) and |∫_{a+T}^{a+T+W} y| ≤ ‖p‖₁ √(W E), where ‖p‖₁ = ∫ s, |p s|. The output y is the zero-state response; with S.D = 0 it is the whole output (see the module docstring for the modelling assumptions).