Continuous, single-column reading. Equations, tables, proofs, references and appendices stay in document order.
Contents · 53 sections
CONTROL THEORY AND HIGHER CATEGORIES
Composing Nonlinear Feedback Systems
A higher-categorical development of Thaler and Pastel
Anonymous manuscript
Abstract. A first-order relay oscillator has an exact periodic orbit that its first-harmonic balance equation misses. Sampling its controller yields one or two symmetric cycles at any clock rate. Their periods lie between the continuous period and a strict upper bound four clock intervals above it. The factor four is sharp over the parameter family. We derive these results to develop the analysis and design methods of Thaler and Pastel. Open systems are spans of trajectory sheaves in a slice of an ∞-topos. Wiring is a homotopy pullback. Its universal property gives substitution and descent, while existence, uniqueness and stability require additional hypotheses. Relative sensor calibrations form double cosets, and a repeated orbit carries cyclic isotropy. Worked applications treat mechanical memory, phase portraits, statistical linearization, optimum and dual-mode control, nonlinear compensation, adaptation, simulation and Lur’e stability certificates.
Consider a small thermal chamber. In suitable units its temperature deviation x obeys x˙=a(Km−x), where a,K>0 and the controller selects m=+1 or −1. It heats until the temperature reaches h and cools until it reaches −h, where 0<h<K. A temperature measurement strictly between the thresholds is compatible with either command. The current command is a state variable. Deleting it changes which pairs of successive observations can be joined.
There are three ways to study this device. Integrate each mode until a threshold is reached. Drive the relay with a sinusoid and use the fundamental component of its output. Or implement the switching logic on a clock and hold the command between ticks. These operations produce three different mathematical questions. In the first, closing the loop amounts to matching the continuous temperature history with the event history. In the second, a projected periodic signal must solve a complex scalar equation. In the third, an orbit of a discrete map must have the claimed itinerary. The continuous chamber has period 2a−1log((K+h)/(K−h)). For a=1, K=2, h=1 and a clock interval of 0.1, the digital controller supports symmetric cycles with periods 2.2 and 2.4. Sections 8 and 12 derive these values.
Thaler and Pastel organized their 1962 book around a practical difficulty. A technique that predicts the onset of oscillation may give little information about transient response, while a trajectory traced from one initial condition reveals little about robustness. Their book follows nonlinearities from modeling through phase-plane and describing-function analysis, random excitation, controller design, simulation and stability [1]. Table 1 is a concordance keyed to its printed pagination. The examples below are newly calculated. Familiar control laws are attributed to the classical theory throughout.
Correspondence with the eleven chapters of the 1962 book. Page ranges refer to printed pages, including chapter-end material, not scan leaves.
Ch.
Pages
Method in the book
Development in this manuscript
1
1–14
System models and block diagrams
Sections 2–3. Typed ports, matching witnesses and well-posedness.
2
15–64
Local and fitted linear models, time steps, z forms
Section 4. Closed-loop derivatives, distribution-dependent gains and a discretization bound.
3
65–138
Phase plane, friction, backlash and saturation
Section 5. Return maps, sticking equilibria and a hidden play state.
4
139–228
Describing functions and frequency response
Sections 6 and 8. Higher harmonics, folds, subharmonics and a missed limit cycle.
5
229–252
Random excitation and correlation
Section 7. Kernels, shared noise, Gaussian fitting and spectral identification.
6
253–291
Relay servomechanisms
Section 8. Executions, transversal events and an exact return map.
7
292–333
Optimum, quasi-optimum and dual-mode servos
Section 9. Minimum-time paths, damped braking and a certified handover.
8
334–359
Nonlinear compensation and posicast
Section 10. Saturated restoring forces, nonlinear damping and two-pulse shaping.
9
360–380
Self-adaptive systems
Section 11. Parameter fibers, adaptation, excitation and extremum seeking.
10
381–419
Analog and digital simulation
Section 12. Time scaling, experiment design and exact sampled relay cycles.
11
420–458
Direct Lyapunov method and Lur’e transformation
Section 13. Internal predicates, feedback storage, an integral term and a sector inequality.
Position in the literature
Wiring diagrams give a syntax for building an open differential equation from component equations [2]. Interval sheaves supply a semantics for compatible signal segments and for machines with internal histories [3]. We use an open-cover time site with auxiliary parameter charts. This choice makes the chart changes of an experiment available at the same time as restrictions of its signals. Lurie’s theory supplies the ∞-topos and slice calculus [4]. The coherent composition of correspondences belongs to the theory of spans [5]. The pullback theorem in Section 3 is an application of that calculus.
The contribution is to put particular changes of control model to a common test. A calculation can yield an equivalence of wired models, a one-sided implication for their trajectories, an error estimate in a specified norm, or a prediction under an input law. These have different composition laws. The relay comparison, the sign calibration and the storage inequalities give instances where this distinction changes a conclusion about an experiment. Smooth ordinary differential equations in a fixed chart can be treated entirely with sets of solutions. The additional levels of the semantics become visible when the interfaces themselves admit symmetries.
Trajectories as sheaves of spaces
Time, parameter charts and locality
Use a small skeleton of test objects (U,I), with U a smooth test manifold (coordinate opens suffice) and I a nonempty open interval in R. An arrow (V,J)→(U,I) consists of a smooth map f:V→U and an inclusion J⊆I. A basis for the topology consists of ordinary open-rectangle covers of U×I. Working in a fixed universe, put X=Sh∞(C;S). Here S denotes homotopy types. A section over (U,I) is a family of observations on I, one for each experimental setting in U. Restriction changes the setting through f and observes a smaller time window. For endpoint experiments the same construction uses relatively open windows of [0,T]. Point values at an endpoint are one-sided values of a trace. Smooth data glued along a cover agree on open overlaps. Joining pieces across a single switching instant requires the separate event rule of Section 8.
For example, Sig(A)(U,I)=C∞(U×I,A) models smooth A-valued signals as a sheaf of sets. We regard each set as a discrete space. The topology of a manifold A governs smooth variation over test charts but does not turn two distinct readings into isomorphic readings at a fixed test. Continuous observations and locally absolutely continuous state paths give other sheaves when those are the regularities of the experiment. For an absolutely continuous state we require the differential equation almost everywhere on each time fiber, use pointwise continuous representatives for the state, and compare measurable inputs almost everywhere where specified. Each condition can be checked locally.
Definition 1 (Parameter context). For a manifold P, write P(U,I)=C∞(U,P). An experiment over P is an object of the slice X/P. A parameter value may vary between trials indexed by U and is fixed through a trial. A time-varying parameter belongs to a signal port or to the state equation.
A smooth family x˙=fp(x,u), y=hp(x) defines a trajectory object B. A section is a choice of p:U→P and histories (u,x,y) of the specified regularity satisfying the two equations. Projection gives maps to input and output signal objects over P. Local solutions agreeing on overlaps glue by gluing their component functions. This sheaf property concerns sections that already agree. Existence for a prescribed control or initial condition is a separate statement about the projection out of B. A finite escape time can make that projection fail to cover a long observation window.
A sign ambiguity that can be measured
A twofold angular encoder reports y=z2, with z,y∈S1. For an angle trajectory y(t)=exp(it) on a time interval, a lift is determined by a choice of the initial sign. On an entire cycle with the endpoints identified, a continuous periodic lift would satisfy 2degz=1. No integer does. One can, however, take square roots on short arcs. On overlaps they differ by a sign. Following a root once around the cycle changes it by −1.
Local square roots of one turn of an encoder reading. The product of the transition signs around the time circle is −1 for every choice of the three frames.
Formally, use the same interval charts on the time circle, or work over a circular parameter family in our test site. On a cover, lifts zi and signs gij satisfy zj=gijzi and gik=gjkgij where three charts meet. Replacing zi by ϵizi changes gij to ϵjgijϵi−1. The obstruction is their invariant sign product, the monodromy of the pulled-back covering. For a measured signal of winding d it is (−1)d. A model for an *unframed* encoder may therefore retain the torsor of choices. An actuator that needs the sign of z requires a frame, or additional information fixing one. Figure 1 displays the incompatibility that can appear when the actuator demands a periodic frame.
Descent data and physical equality
For an open cover {Wi→W}, with Wij=Wi∩Wj, the sheaf condition for spaces takes the form B(W)≃[n]∈Δlimi0,…,in∏B(Wi0⋯in). The right side is a homotopy limit of the Čech diagram. A set-valued object asks for equality on double overlaps. A groupoid-valued object carries an isomorphism on each double overlap and the cocycle condition on triple overlaps. Higher values carry higher compatibilities. Equation (1) says that a compatible family determines a global object with a contractible space of choices once the gluing data are fixed. The space of possible gluing data may itself have several components.
For a real voltage port use a set-valued signal object. In a homotopy pullback the matching witness between two readings then exists exactly when they are equal. For two devices with unlabelled sign frames, matching can involve two distinct calibrations. A smooth homotopy through arbitrary voltages would be a family of different experiments. Treating it as equality at the voltage port would change the device one is modeling.
Wiring and well-posed feedback
Definition 2 (Open behavior). Fix the slice E=X/P. An open behavior from A to D is a span A←B→D in E. A map of behaviors over the ports acts on their middle objects and commutes with the port maps up to specified coherent equivalence. An equivalence has an inverse up to such equivalence. Cartesian product in the slice puts independent components in parallel over the same parameter.
If A←B→Y and Y←C→D are connected, the middle object of their composite is B×YhC. At a test object it records a section of each and an identification of the two Y-histories. Its exterior ports are A and D. For a network B exposing an internal input and an internal output of type L, let s,t:B→L denote those ports. Its closed behavior is ClL(B)=B×L×LhL,B(s,t)L2ΔL. All products here are over the parameter. Equivalently, a section of the closure is a section b together with a path s(b)≃t(b) in the declared port type. One may keep external observations and project to them afterwards. Projection as a map retains its realization fibers. Replacing this map by its image retains only the predicate of realizability.
Serial wiring. The top object remembers the identification at Y. Forgetting the internal state amounts to composing the displayed projections with the maps to the exterior ports.
Theorem 3 (Substitution, parameters and descent). For a finite network of port-matching equations in E, let W denote its homotopy limit, with the exterior port maps carried along. Replacing any component by an equivalent behavior over its incident ports induces an equivalence of W over the exterior ports. Closing disjoint internal wires in either order gives canonically equivalent answers, coherently for repeated closures. For any u:Q→P, u∗W≃limhu∗(network). The sections of the resulting network satisfy Čech descent in time and parameter charts.
Proof. For any test object T of the slice, Map(T,W) is the limit of the diagram of port mapping spaces. An objectwise equivalence of coherent diagrams induces an equivalence of these spaces, naturally in T. The same test identifies either order of closure with the space of all compatible matches. The space of limit cones is contractible, giving the associators and their coherences, including the pentagon for four composable spans. The pullback functor between slices preserves finite limits (indeed it is right adjoint to postcomposition). This proves the base-change formula. Limits of sheaves are computed sectionwise and limits of spaces commute with limits. Applying this to the Čech diagram gives the last assertion. ◻
Example 4 (Matching frames before truncation). Let G={+1,−1} and let BG be the groupoid with one object and automorphism group G. Two locally framed instruments can each name the object and present a map ∗→BG. At a point their matched behavior is ∗×BGh∗≃ΩBG≃G. The objects of the matching groupoid are the two possible relative signs. A morphism would consist of frame changes in the two copies of ∗, so only identities are possible. Taking connected components of each instrument and port first gives ∗×∗∗=∗. A later actuator reading v or −v distinguishes the two matches whenever v=0. This computation uses pointed, already framed ends. If either end is also quotiented by its own frame changes, its matching groupoid changes.
Proposition 5 (Relative calibrations). For maps of spaces f:B→Y and g:C→Y, take b∈B, c∈C and a path γ:f(b)≃g(c). Let G=π1(Y,f(b)), let H be the image of π1(B,b), and transport the image of π1(C,c) back along γ to a subgroup K of G. The components of B×YhC lying over ([b],[c]) are in bijection, after this choice of reference match, with H\G/K.
Proof. Any compatible triple over these components can be moved along paths in B,C to one with endpoints b,c. A match is then a path from f(b) to g(c). Using γ to identify endpoint groups turns its relative homotopy class into an element of G. A different path choice for bringing either endpoint to its representative composes with an endpoint loop, acting by H on the left and K on the right (with path concatenation written in traversal order). Conversely such changes and a homotopy of matching paths give a path of triples in the pullback. This proves exactly the double-coset identification. ◻
This is a criterion at a fixed test, before any further sheafification of components. Taking connected components before wiring loses no joint components over this pair precisely when the double-coset set is a singleton. For fully framed ends it has ∣G∣ elements. If one end can absorb every calibration (H=G), it has one. Higher automorphisms can still remain even in that case. For instance the same pointed pullback calculation with K(A,2), A abelian, gives a connected matching space K(A,1) with automorphism group A. This is an algebraic extension of the interface language.
When the closed behavior is a device
At fixed input and initial state, existence means that the realization fiber is inhabited. Uniqueness up to declared symmetries means that the fiber is contractible. For ordinary state histories this reduces to existence of one history. Causality requires compatibility with restriction to prefixes for initialized devices. The unrestricted sheaf includes all histories on an interior window and generally cannot reconstruct an initial state in its past. Initial and boundary conditions are imposed as additional pullbacks at the appropriate endpoints.
For instance, on a compact interval and in a complete signal metric, consider u=Φr(u), where each Φr maps a closed complete domain to itself and has a common Lipschitz constant q<1. Banach iteration converges to exactly one internal signal. If the operators agree on prefixes for matching inputs and the same uniqueness holds on each prefix, these signals form a causal response. Continuous parameter dependence follows when Φr depends continuously on r in the uniform operator bound on that domain. The estimate ∥ur−ur′∥≤1−q∥Φr(ur′)−Φr′(ur′)∥ exhibits its loss of conditioning as q approaches one. Smooth state feedback with a locally Lipschitz vector field gives a second route through the ODE existence theorem. A growth bound, a compact invariant set or a separate extension argument is required for a global horizon.
For the instantaneous loop u=u+r, the internal real value is arbitrary if r=0, and the fiber is empty if r=0. Both cases satisfy the definition of closure. More abstractly, an internal existential assertion in a sheaf topos means existence locally on a cover; it can hold without a chosen global realization. The square-root encoder gives exactly this situation. A globally implemented controller must provide the appropriate section, and a deterministic one must meet its uniqueness and prefix conditions.
Linearization, fitting and time steps
Source correspondence. Thaler and Pastel [1], ch. 2, especially §§2-3–2-6 and 2-9–2-11.
Which linear system is being fitted?
Suppose the plant is x˙=f(x,u), y=h(x,u), and fix a smooth operating trajectory (x0,u0). Differentiating a smooth one-parameter family of solutions gives ξ˙η=fx(x0,u0)ξ+fu(x0,u0)ν,=hx(x0,u0)ξ+hu(x0,u0)ν. At equilibrium the four matrices are constant. Along a general trajectory they vary with time. On a compact tube where f has bounded second derivative and all perturbed solutions exist, Taylor’s integral remainder and Grönwall’s inequality bound the difference between the nonlinear perturbation and its variational solution by CTδ2. Here initial and input perturbations in sup norm are O(δ), the input family is affine in its amplitude or has a bounded quadratic remainder, and T is fixed. This estimate compares two sections with the same experiment and clock.
Feedback introduces another hypothesis. Consider a smooth algebraic constraint F(x,u,r)=0 in addition to the dynamics, and suppose Fu is invertible at the nominal point. In a neighborhood the implicit function theorem gives u=k(x,r) and δu=−Fu−1(Fxδx+Frδr). Substitute this equation into the variational dynamics. The result is the same linear system obtained by differentiating f(x,k(x,r)). In categorical language the linearization of this regular matching diagram agrees with matching its linearizations. Geometrically, the tangent of the constraint manifold is the kernel of dF. Uniform estimates over a trajectory require uniform control of the inverse. For u3=r, closure has a unique real solution for every r. At r=0 its derivative is singular and the purported tangent rule gives 0=δr. Uniqueness alone does not license differential block manipulations.
A fitted gain solves a different problem. If X is a zero-mean scalar input with 0<EX2<∞, the through-origin least-squares fit to f(X) is kμ=argkminE(f(X)−kX)2=E[X2]E[Xf(X)]. This follows by completing the square; f(X) is assumed square integrable. A fitted offset gives the slope Cov(X,f(X))/Var(X) and intercept Ef(X)−kμEX. For the same device f(x)=x3, the tangent gain at zero is zero, a uniform sweep of [−A,A] gives 3A2/5, a sinusoid of peak A sampled uniformly in phase gives 3A2/4, and a normal input of variance σ2 gives 3σ2. The numerator in each case is the fourth moment. An input law or a nominal operating point is part of the experiment specifying the number.
A time step is a second dynamics
Let the autonomous flow be φt on a region where f is L-Lipschitz and exact solutions have ∥x¨∥≤M. Forward Euler is EΔ(x)=x+Δf(x). On an invariant tube containing the exact and discrete iterates we have ∥φΔ(x)−EΔ(x)∥≤21MΔ2. If the initial states coincide and nΔ≤T, iteration of ej+1≤(1+LΔ)ej+MΔ2/2 gives en≤2LMΔ(eLT−1). For L=0 take the continuous limit. The constant and the horizon matter. For x˙=−ax, a>0, the exact multiplier is e−aΔ and Euler’s is 1−aΔ. The latter has modulus below one precisely for 0<aΔ<2. A computed alternating divergence beyond this boundary is a property of the discrete method. An exact sample of the same continuous trajectory always decays.
The z form in the book can also be obtained as a genuine sampled behavior. Hold the scalar input at uj on [jΔ,(j+1)Δ) for x˙=−ax+bu. Integration gives xj+1=λxj+ab(1−λ)uj,λ=e−aΔ. With x0=0 and output xj at the sample time, the unilateral transfer function is (b/a)(1−λ)/(z−λ). A one-step delay is present between the input command and its effect on the sampled state. Changing the sampling phase or using x˙ as the observation changes the ports of this calculation. The exact recurrence supplies comparison data for a numerical simulation.
Phase portraits and mechanical memory
Source correspondence. Thaler and Pastel [1], ch. 3, especially §§3-5, 3-7–3-11 and 3-14.
An orbit with and without a clock
For q˙=v, v˙=F(q,v) the slope of a phase curve is F/v where v=0. Travel time is ∫dq/v on a monotone chart; at a turning point one may instead use dt=dv/F if F=0. Multiplication of the vector field by a strictly positive function preserves oriented geometric arcs and changes these integrals. Thus a phase-plane identification can transport a reachability claim yet change both settling time and closed-loop phase lag.
For example, on the plane in polar form let r˙=μr−r3,θ˙=1. At μ>0, the positive invariant circle has radius μ and period 2π. The variational radial equation there is ξ˙=−2μξ. A transversal return has multiplier exp(−4πμ), so the orbit attracts nearby initial radii. The tangent direction has the neutral multiplier 1 associated with a shift of phase. For μ<0 every positive radius decreases to zero. At μ=0 the decay is algebraic. Dividing out rotations keeps the radial equation and collapses each circle to a point. It preserves the amplitude of this oscillation but removes the time at which an attached sensor sees a crest. Figure 3 shows the quotient and a phase-sensitive observation of the same run.
A radial oscillator with μ=1. The same three initial radii are shown in state space and as functions of time. Two initial angles on any one radius have identical radial traces and different horizontal readouts.
Stiction is a set of reactions
Let a spring of stiffness k>0 act on a mass m>0 with viscous damping d>0 and dry friction level Fc>0. With drive u, one idealization is q˙=v,mv˙=u−kq−dv−η,η∈FcSign(v), where Sign(0)=[−1,1] and away from zero it is the singleton {sgnv}. An absolutely continuous state is paired with a measurable friction selection satisfying the inclusion almost everywhere. From rest with ∣u−kq∣≤Fc and a constant drive, η=u−kq supplies a sticking solution. When the load lies strictly outside the interval, no stationary solution exists. Setting sgn(0)=0 in a numerical program removes equilibria with nonzero load balanced by static friction.
For u=0 the energy E=mv2/2+kq2/2 satisfies E˙=−dv2−Fc∣v∣ almost everywhere. Its equilibrium set contains exactly the points v=0, ∣kq∣≤Fc. Nonincreasing energy cannot imply convergence to the origin for every initial condition because a nonzero point in this strip can remain at rest forever. The observable set of possible static positions is itself a design specification. The inclusion uses equal breakaway and sliding force; distinct levels require a mode or a more detailed friction law.
Backlash as an observed state constraint
Let q be input position, y output position and b>0 the half-width of ideal play. With e=q−y∈[−b,b], require for almost all times y˙∈N[−b,b](e). The outward normal cone is {0} in the interior, [0,∞) at b, and (−∞,0] at −b. For an absolutely continuous input, y is constant while the gap is open. In contact at b, outward motion of q makes y follow it; motion directed back into the gap releases the contact. For a nondecreasing input beginning at (q0,y0) with ∣q0−y0∣≤b, the exact formula is y(t)=max(y0,q(t)−b). For a nonincreasing piece it is min(y0,q(t)+b). These formulas concatenate on a piecewise monotone drive when the output state is retained at each joint.
For two compatible outputs on the same input, monotonicity of the normal cone implies (y˙1−y˙2)(e1−e2)≥0. Since e1−e2=−(y1−y2), the squared distance of the two outputs cannot increase. This proves uniqueness for an initial y0 whenever solutions exist; the monotone-piece formulas provide them for the inputs just considered. Two trials with the same instantaneous q=0 can nevertheless have any y0∈[−b,b]. A memoryless graph q↦y cannot encode these initialization and concatenation laws. Eliminating a contact variable is justified only if one can reconstruct the missing state or prove that every future use is insensitive to it.
Periodic signals and their harmonics
Source correspondence. Thaler and Pastel [1], ch. 4, especially §§4-3–4-5, 4-10 and 4-15–4-17.
A projection with a specified experiment
On a fixed period 2π/ω, write θ=ωt, with reference input Asinθ. Use the convention P1yN(A,ω)=b1sinθ+a1cosθ,=(b1+ia1)/A. For instance b1=π−1∫02πy(θ)sinθdθ. A memory element needs a specified periodic state branch before this output is single-valued. Changing time origin rotates both input and output phasors. Taking their ratio is permissible when the input fundamental is nonzero. The exact periodic state problem requires matching all harmonics and the internal state across a period.
For symmetric saturation satM(x)=max(−M,min(x,M)), with unit small-signal slope, N=1 when A≤M. For r=M/A<1, splitting the quarter-wave integral at arcsinr gives Nsat(A)=π2(arcsinr+r1−r2). The imaginary coefficient vanishes by symmetry. In the large-amplitude limit the leading term is 4M/(πA). This agrees with replacing the saturated output by a square wave in the fundamental calculation. Dead zones, bias and asymmetric limits break some of these simplifications. For a biased forcing one must impose the mean equation as well as the two fundamental coefficient equations.
Proposition 6 (Harmonic projection does not preserve cascades). For two identical static cubers f(x)=x3 driven by sinθ, the exact output fundamental is (126/256)sinθ. Projecting after the first cuber and again after the second gives (81/256)sinθ.
Proof. The coefficient of sinθ in sin2m+1θ is 2−2m(m2m+1). Apply this with m=4 to the exact output sin9θ. The intermediate projection is (3/4)sinθ, whose cube has fundamental (3/4)4sinθ. The discarded third harmonic mixes back into the fundamental at the second device. ◻
For a stable linear plant with periodic response operator G, negative feedback through ϕ and a prescribed periodic disturbance r, write the internal equation x=r−Gϕ(x). In an autonomous oscillation with a candidate first harmonic, the usual phasor equation is 1+G(iω)N(A,ω)=0. Both its existence and its absence concern a projected ansatz. Feedback is a limit of a diagram; P1 is a linear projection on a signal space. Proposition 6 already prevents its interpretation as a wiring-preserving functor for this class.
Why the observation needs a full period
There is also a locality obstruction. Suppose a morphism of the time-window sheaves of smooth signals were to implement periodic P1 on a whole period circle, sending the result back to a time signal. Take a nonzero, nonnegative smooth bump supported inside the positive half-cycle of sinθ, and a nonempty open arc J outside its support. Compare the bump with the zero signal. They agree on J, but the bump has positive sine coefficient. Its fundamental is a nonzero sinusoid and therefore cannot vanish identically on J. Naturality under restriction to J would give the same output for both inputs on J, a contradiction.
To record a harmonic as an observation, the experimental object must include a complete period or a state that accumulates the two Fourier integrals and reports them at an endpoint. The integrals over adjacent windows add with a common phase reference; changing that reference rotates the coefficient pair. This extension makes the required memory and phase convention explicit. It distinguishes two independent failures: projecting intermediate signals can change the final harmonic, and computing a period coefficient itself requires access to a full window.
An error estimate and a remaining equation
There are quantitative conditions under which a projection is informative. On the real periodic Hilbert space H=Lper2 with normalized period integral, let P be orthogonal projection onto retained Fourier modes, Q=1−P and G:H→H bounded. Suppose the pointwise nonlinearity is globally L-Lipschitz. Fix a trial low-mode signal v=Pv. The high-mode equation for w=Qw is w=Q{r−Gϕ(v+w)}.
Proposition 7 (Recovering the discarded modes). If κ=L∥QG∥<1, equation (5) has a unique solution w(v) for each v, and ∥w(v)∥≤1−κ∥Q(r−Gϕ(v))∥. The full periodic equation holds precisely when the remaining residual v−P{r−Gϕ(v+w(v))} vanishes.
Proof. The right side of (5) is a κ-contraction of the closed subspace QH. Compare its fixed point with its value at zero. The low-mode residual supplies the complementary orthogonal projection of the full equation. ◻
For a periodic LTI Fourier multiplier, ∥QG∥ is the supremum of ∣G(inω)∣ over discarded integer modes. A large DC gain must be included if the mean is discarded. The criterion can be much sharper than a contraction requirement on all of G. If additionally L∥G∥<1, any periodic candidate z has the full a posteriori bound ∥x−z∥≤∥z−r+Gϕ(z)∥/(1−L∥G∥). A relay with hysteresis has memory and threshold discontinuities. The contraction estimate does not apply to it without further structure.
Multiple amplitudes and longer periods
For the damped Duffing oscillator x¨+2ζω0x˙+ω02x+βx3=Fcosωt, use x=Acos(ωt−δ). Eliminate the phase between the two fundamental equations to obtain F2D(A)=A2{D(A)2+(2ζω0ω)2},=ω02−ω2+3βA2/4. A fold of the projected response at fixed ω satisfies ∂A[A2{D(A)2+(2ζω0ω)2}]=0 for A>0. This condition diagnoses a possible jump under a parameter sweep. Testing stability and a switch between attracting branches requires the full dynamics, initial state and sweep protocol. In particular the discarded third-harmonic forcing has amplitude ∣β∣A3/4. Its effect depends on the response of the system at 3ω.
Time periodicity also changes the state-matching problem. If ST is the stroboscopic state map for forcing period T, a subharmonic response of exact order k satisfies STk(x)=x and STd(x)=x for each proper divisor d of k. Solving a balance equation on the T-circle excludes these responses by its choice of domain. In the discrete classical state case use ordinary equality at this port. An intentional quotient by a spatial symmetry asks a further question, whether the state has returned up to that symmetry. It can shorten an observed period.
Random inputs and statistical transfer
Source correspondence. Thaler and Pastel [1], ch. 5, especially §§5-3–5-6.
A random component carries its coupling
For a stochastic observation choose standard Borel signal spaces on the stated finite windows (continuous paths with the sup metric are one example). A Markov kernel K:X⇝Y assigns a probability measure K(x,−) measurably in x. In a serial experiment with the specified conditional independence the composite law is (LK)(x,C)=∫YL(y,C)K(x,dy). Copying a realized input to two devices gives a shared sample. Drawing from its law independently gives a different joint experiment. These are standard distinctions of Markov-category semantics [6]. The deterministic matching theorem of Section 3 concerns behavior objects. A stochastic feedback law requires a compatible joint construction, such as a causal recursion with specified innovations or a well-posed stochastic differential equation. Assigning unrelated marginal path laws to the two ports does not provide that construction.
For example, let Z be an equiprobable sign, with two sensors reporting it. Their marginals are identical to the marginals of two independent signs. A differential readout Y1−Y2 is zero with probability one in the shared experiment and with probability 1/2 in the independent one. Both models agree with every single-sensor histogram. Carrying the latent signal and its law through the wiring determines which prediction is warranted.
The Gaussian gain and the spectrum
Let X∼N(0,σ2) and let f be absolutely continuous with integrable derivative under this law, with sufficient growth control for integration by parts; a Lipschitz f suffices. Since xpσ(x)=−σ2pσ′(x), kμ=E[Xf(X)]/σ2=E[f′(X)]. For f(x)=satM(kx) with k,M>0 the derivative is k on ∣x∣<M/k and zero elsewhere almost everywhere. Thus kμ=kerf(M/(2kσ)). The tangent gain at the origin is k and Equation (4) uses a sinusoidal input law. An amplifier has a distribution of output mass at its saturation values as well as a density in between, so even a Gaussian input need not produce a Gaussian output.
For a zero-mean jointly Gaussian stationary process, the Gaussian regression formula gives E[X(t−τ)f(X(t))]=kμRX(τ). Indeed E[X(t−τ)∣X(t)]=RX(τ)X(t)/σ2. The residual f(X)−kμX is uncorrelated with the input at every lag. Independence of that residual would be a stronger condition. Feedback can also invalidate the Gaussian input assumption used in this derivation. Bussgang-type decompositions and their assumptions are discussed in [7].
If y=g∗u+v is stationary, g is an absolutely integrable impulse response, and v is uncorrelated with u at every lag, Fourier transformation gives Syu=GSuu using the output–input cross-spectrum convention. Identification by the quotient works at excited frequencies Suu>0. In a closed loop the disturbance can drive the input and make Svu=0. Introducing a known independent external probe and using its cross-spectrum is then an identifiable experiment when the relevant input–probe spectrum is nonzero.
An exactly sampled noise process
For a,σ>0, the scalar model dX=−aXdt+σdWt gives Xj+1=λXj+ηj,ηj∼N(0,2aσ2(1−λ2)) with λ=exp(−aΔ) and independent innovations, also independent of the past. The formula follows by integrating with factor exp(at) and using the Itô isometry. The stationary variance is σ2/(2a), recovered from the fixed variance equation of the discrete recursion. Replacing each innovation by a fresh draw of variance σ2Δ is the Euler noise prescription and gives a different finite-step variance if paired with the exact multiplier. Coupling two approximations to the same Brownian increments is necessary when measuring a pathwise error. Matching the two variances would test only a moment of their laws.
Hysteresis, events and an exact limit cycle
Source correspondence. Thaler and Pastel [1], ch. 6, especially §§6-3–6-6, together with ch. 4, §4-5.
Executions with a mode
Use the disjoint mode charts (x,+) and (x,−) for the thermal chamber. The rising chart flows at a(K−x) until x=h. Its event changes + to − and leaves x continuous. The falling chart flows at a(−K−x) until x=−h, then changes back to +. We use mandatory switching on arrival, post-event modes at the switch time, and consistent initial states. A hybrid history contains its ordered events, one-sided states and intervening flows. It can be restricted to subwindows, retaining the incoming germ if an event lies on the boundary of an endpoint problem. Equivalence of two such histories preserves physical event times and modes, apart from any explicitly declared relabeling. A time warp of an approximate trace needs a separate error measure.
Mode histories on an open cover glue when their restrictions, event records and continuous coordinates agree. On the chamber’s cycle the positive dwell time proved below implies locally finite events. General hybrid systems require their own rules about simultaneous events, accumulation and continuation. The standard hybrid-inclusion framework provides tools for such questions [8]. Relay models with different plant orders and switching surfaces can have substantially more involved switching behavior [9].
Theorem 8 (A periodic orbit missed by first-harmonic balance). For a>0 and 0<h<K, the continuous chamber has a two-switch periodic orbit, unique up to time origin among alternating periodic executions. Its period is T=a2logK−hK+h. The usual sinusoid-in, first-harmonic-out negative-feedback balance for the very same plant and hysteron has no finite positive frequency solution with input amplitude A>h.
Proof. Start immediately after the lower switch. Until the upper switch, x(t)=K−(K+h)exp(−at). It reaches h at time D=a−1log((K+h)/(K−h)). The reflected falling arc returns exactly to (−h,+) after a further D. Each arc is strictly monotone before arrival. An alternating periodic execution passes through the same post-event state at the lower switch, where its future is unique. Each guard is transversal since the incoming speed has magnitude a(K−h)>0.
For the frequency calculation, let ρ switch to +1 on the rising h crossing and to −1 on the falling −h crossing. The thermal command is m=−ρ(x). For x=Asinθ, set α=arcsin(h/A). The periodic relay output is sgnsin(θ−α), whose first harmonic is (4/π)sin(θ−α). Hence Nh(A)=πA4(1−(h/A)2−ih/A). The plant from m to x is G(s)=aK/(s+a). The open-loop product G(iω)Nh(A) has phase −arctan(ω/a)−α, strictly between −π and 0 for finite ω>0. It never equals the negative real number −1. At A=h, even allowing a switch at a touching peak, the plant’s phase still exceeds −π/2 and finite-frequency closure fails. An amplitude below h cannot switch a sinusoid-driven relay twice per cycle. ◻
How the lost harmonic affects a switch
The periodic command m is an exact unit square wave. Its fundamental has amplitude 4/π. The chamber thus has temperature fundamental A1=π1+(ω/a)24K,ω=T2π. For a=1, K=2, h=1, this gives A1=0.840586… although the actual temperature reaches both ±1. Feeding the temperature fundamental alone into the relay produces no crossings. The physical crossing occurs just where the velocity changes discontinuously after the event. Figure 4 compares the traces. This failure arises even though the plant is stable, linear, first order, and exactly known. Its higher harmonics matter through a threshold operation.
Top, the exact temperature and its fundamental for a=1, K=2, h=1. Bottom, the mode changes at the reaches of the actual waveform. The fundamental stays strictly between both switching levels.
There is a useful independent check on orbital attraction. Append a passive readout z˙=−λz+γx with λ>0 and real γ. It has no effect on switching. On the section immediately after the lower switch its return is z⟼e−λTz+γ∫0Te−λ(T−s)x(s)ds. Its derivative has modulus e−λT<1. In the chamber alone that section consists of one state, so it has no nontrivial transversal coordinate. Adding the readout exhibits a genuine transversal multiplier without mistaking time translation for a decaying perturbation. The time for the first arrival depends smoothly on the starting temperature on a consistent rising branch. It becomes poorly conditioned as K−h becomes small.
Period as symmetry of a timed history
For an autonomous system consider histories on a circle of prescribed duration P. Keep absolute time stamps if the experiment has a clock origin. If the origin is unobserved, the translation group SP1=R/PZ acts by x(t)↦x(t+s), with the same translation on the mode and event histories. We can now take the action groupoid of this specified symmetry. This construction is applied to periodic histories and is additional to the port equalities used to form them.
Proposition 9 (Repeated orbits have isotropy). Let a nonconstant full history have least period T and set P=kT for an integer k≥1. Its orbit in the groupoid of P-periodic histories modulo time origin is equivalent to BCk, with Ck the cyclic group of order k. An equivariant observation can increase the stabilizer and thereby decrease the least observed period.
Proof. The stabilizing shifts are precisely 0,T,…,(k−1)T modulo P. An action groupoid restricted to a transitive orbit is equivalent to the one-object groupoid of the stabilizer. The same statement for these smooth homogeneous orbits follows from [(SP1/Ck)/SP1]≃BCk. If a shift fixes the full history it also fixes its observation, giving the asserted stabilizer inclusion. ◻
For a scalar P-periodic readout in L2, let cj be its complex Fourier coefficients. Translation by s multiplies cj by exp(2πijs/P). For a nonconstant signal the stabilizer has order gcd{∣j∣:j=0,cj=0} by Fourier uniqueness (as an almost-everywhere signal). This gives an observable test of the proposition. The chamber’s signed temperature has a nonzero first harmonic on its primitive period. Its squared temperature has the extra invariance x(t+D)2=x(t)2 and therefore repeats after at most half that period. The phase of a marked temperature peak, the equivalence class of an unmarked run, and the isotropy of a multiple traversal answer different experimental questions.
A higher-order motor-load plant
For a stable linear stage with state ξ∈Rd, ξ˙=Aξ+bm and observed deflection c⊤ξ, the scalar calculation generalizes to a matrix boundary problem. Let Φ(D)=exp(AD) and bD=∫0Dexp(As)bds. A symmetric rise from −X to X with m=+1 requires X=(I+Φ(D))−1bD,c⊤X=h. When A is Hurwitz the inverse exists for D>0. The guard must stay below h at every earlier time on the rising arc, and the two resets must be consistent. Symmetry then verifies the falling arc. For d=1, A=−a and b=aK this reproduces the exact tanh formula. For a second- or third-order plant the observation can turn before it reaches the proposed guard. An algebraic root for D must therefore be checked against the entire intervening trajectory. The check identifies the first hitting time that a physical relay will use.
Sensitivity at a guard
Let an autonomous guard g(x)=0 have normal n=∇g(x−) and let R be a smooth reset to the next chart. Write f− for the incoming vector and f+ for the outgoing vector at R(x−). If n⊤f−=0, a small pre-event perturbation ξ− shifts the event time by δt=−n⊤ξ−/(n⊤f−). Bring the perturbed post-reset state back to the nominal clock time. The result is ξ+=(DR+n⊤f−(f+−DRf−)n⊤)ξ−. The two time corrections come from flowing to the displaced guard and flowing back in the new chart. This is the autonomous saltation matrix [10]. For the chamber at the upper event R is the identity on x, yet the multiplier for fixed-time perturbations at that event is −(K+h)/(K−h). Including both flow factors and both event factors around a full period gives one in the time-shift direction. Treating a mode change as the identity tangent map would miss this check. At a grazing event the denominator can vanish and the formula no longer provides a derivative.
Optimum, quasi-optimum and dual-mode servos
Source correspondence. Thaler and Pastel [1], ch. 7, especially §§7-2–7-4, 7-6 and 7-10.
Feasible histories and their costs
Attach a nonnegative travel time to every admissible endpoint-to-endpoint trajectory. Fixed-endpoint histories form a fiber of the behavior over the two endpoint states. Gluing compatible histories adds their costs. Taking the infimum yields the dynamic programming composition law when admissible controls can be split and concatenated and all intermediate states are allowed. For a fixed pair of stage durations, the infimum of the total running cost is Vs+t(x,z)=yinf{Vs(x,y)+Vt(y,z)}. Use +∞ for an empty feasible set; the running cost must actually be additive across the joint. In the two inequalities proving the identity, split any feasible trajectory at s, then concatenate ϵ-optimal pieces at each feasible y. Attainment is additional information. This is composition of cost-valued relations over the min-plus operations. It forgets the set of optimizing histories, which may matter when a later component can observe an internal path.
An exact switching surface
Consider a positioning table q˙=v, v˙=u, with ∣u∣≤a. To arrive at the origin with zero velocity, maximum braking from a state with v=0 covers signed distance v∣v∣/(2a). Consequently the final braking arc must start on q+2av∣v∣=0. For a rest-to-rest motion from q0>0 the minimum time is 2q0/a. Indeed ∣v(t)∣≤amin(t,T−t) for any candidate of duration T. Thus q0≤∫0T∣v∣dt≤aT2/4. The bound is attained by u=−a for the first half and u=+a for the second half. At the switch q=q0/2 and v=−aq0. This geometric proof gives the lower bound as well as an actual optimizing control. The maximum-principle derivation and general initial-state synthesis for the double integrator are given by Liberzon [11].
For viscous damping v˙=u−bv with b>0, maximum braking from speed s=∣v∣ reaches rest after tb=b−1log(1+bs/a). Its signed travel is sgn(v)[bs−b2alog(1+abs)]. Add this quantity to q to obtain the damped final braking surface. Expansion at b=0 recovers Equation (9). Replacing the undamped plant by the damped one while keeping its control and position ports preserves the algebra of the wiring diagram. It changes the optimum transition guard. Time-optimality is a property of the feasible trajectories, dynamics and cost together.
Handover into a linear capture region
A dual-mode design can use a large-signal relay and a small-signal linear law. Its handover needs a set on which the small-signal dynamics really respect the actuator bound. For q˙=v, v˙=u, take uℓ=−kq−dv, k,d>0, and V=(kq2+v2)/2,Cc={(q,v):V(q,v)≤c}. Cauchy–Schwarz in the (kq,v) coordinates gives ∣kq+dv∣≤2c(k+d2). If 0<c≤a2/[2(k+d2)], the linear law is admissible on Cc. There V˙=−dv2. The only trajectory permanently contained in {v=0} has q=0, so the invariant-set argument gives convergence on Cc. For ideal handover use a latch that selects the linear mode on first entry; the position and speed have identity reset.
The high-power mode must still reach Cc. For the ideal rest-to-rest command above, along the final braking arc q=v2/(2a) for v≤0, hence V=kv4/(8a2)+v2/2 decreases to zero. Every positive Cc is reached before the nominal stop. With a=k=d=1, q0=2, and c=1/4, entry occurs at v=−−2+6 and q=(−2+6)/2. This exact pair satisfies both the entry guard and the actuator bound. Figure 5 draws the optimal approach, the admissible ellipse and the subsequent linear response. The hybrid design gives feasibility and convergence. Counting the final approach as minimum-time would require a separate performance proof, since a linear tail reaches the equilibrium asymptotically.
The table moves from (2,0) towards the origin. After an initial acceleration and a braking arc it enters V≤1/4 and switches to linear feedback. The dashed curve is the time-optimal switching surface for the undamped plant.
Nonlinear compensation and input shaping
Source correspondence. Thaler and Pastel [1], ch. 8, especially §§8-2–8-4 and 8-7.
Saturated gain and velocity damping
Consider a stage whose closed-loop restoring force is position-limited: q˙=v,mv˙=w−satM(kq)−d(v). Here M,k,m>0, w is an external load, and d is locally Lipschitz with d(0)=0 and vd(v)>0 for v=0. The potential U(q)=∫0qsatM(ks)ds equals kq2/2 for ∣q∣≤M/k and M∣q∣−M2/(2k) outside. With E=mv2/2+U, E˙=wv−vd(v). At zero load the energy is proper, the sublevels are invariant and bounded, and the largest invariant subset of v=0 is (0,0). Local regularity, boundedness and continuation give global forward solutions and global asymptotic stability by LaSalle’s principle [12]. Strict local linearization alone would only test the unsaturated neighborhood. Exponential estimates from a quadratic potential do not directly extend to the linear tails of U.
Clipping a velocity-feedback path realizes, for example, d(v)=d0v+d1satM(v) with d0,d1>0. It provides larger small-signal damping and a bounded extra command at high speed. The two branch laws match at the thresholds, and each dissipates the same physical supply. A constant load with ∣w∣>M admits no static equilibrium, since d(0)=0 and the restoring element cannot balance it. For ∣w∣<M there is one equilibrium q=w/k at rest. Biasing the potential by −wq restores a proper Lyapunov function in the latter regime. These conclusions depend on the bound being applied to the restoring force. Saturating the sum of restoring and damping commands is a different wiring.
Amplitude-dependent phase lead and lag
A deliberately nonlinear phase network can be built with a first-order memory state z and a feedthrough path. Take smooth real functions α(u,z) and τ(u,z)>0 and set z˙=(u−z)/τ(u,z),y=z+α(u,z)(u−z). At a constant operating point u=z=r write τ0=τ(r,r), α0=α(r,r). All derivatives of these two coefficients multiply u−z=0, so the local transfer from δu to δy is Hr(s)=1+τ0s1+α0τ0s. For α0>1 the zero occurs below the pole in frequency and the network gives phase lead. For 0<α0<1 it gives phase lag. For example τ≡1, α(u,z)=1+21tanhu yields lag near negative constant inputs and lead near positive ones. Thus the operating point indexes a family of exact tangent networks. Across a large excursion the derivatives of α,τ enter the variational equation and the state z carries memory as it crosses from one operating region to the next. Cascading the frozen transfer functions along that excursion would omit these terms. This example supplies a simple state-space interpretation of the book’s separate nonlinear lead and lag designs.
A two-pulse posicast experiment
Let a linear stage have one isolated underdamped pole pair p,pˉ with p=−σ+iωd, σ,ωd>0. Split a reference command between the present and a copy delayed by τ=π/ωd. In Laplace variables this is a prefilter H(s)=w0+w1exp(−sτ). Put Kdw0=exp(−στ),=1/(1+Kd),w1=Kd/(1+Kd). Then H(0)=1 and exp(−pτ)=−1/Kd, so H(p)=H(pˉ)=0. For zero initial state, a step input and simple poles, their residues in the post-delay response vanish. This is a time-domain compensation method with a delay state (a history buffer), an instance of the input-shaping principle [13]. It uses additional settling time to cancel a specified oscillatory mode.
If the actual pole is p+δ, differentiation gives H′(p)=τw0 and the remnant is τw0δ+O(∣δ∣2). This provides a sensitivity calculation with units. During saturation the plant no longer superposes the responses to its two delayed pulse weights. The cancellation theorem applies on a certified unsaturated region or to the stated linear plant. The wiring diagram for inserting the delay and sum can still be composed for a saturated stage. What fails is the linear identity used to infer pole cancellation.
Adaptation and observational equivalence
Source correspondence. Thaler and Pastel [1], ch. 9, especially §§9-2, 9-4–9-6.
A parameter in a family and an estimate in time
A constant unknown θ indexes a family of plants. Its estimate θ^(t) is an internal state of a controller. A change of coordinates on the parameter manifold transforms the family by reindexing. The update law for θ^ must be pushed forward as a vector field if it is to describe the same controller. For instance, if ϑ=θ3 away from zero then ϑ^˙=3θ^2θ^˙. Writing identical increments in both parameter coordinates generally yields different trajectories, even when both controllers start with estimates of the same plant.
For a concrete regulator let x˙=θx+u, k,γ>0, and use u=−kx−θ^x,θ^˙=γx2. Write θ=θ−θ^. The augmented closed-loop equations give V=x2/2+θ2/(2γ),V˙=−kx2. Proper sublevels yield boundedness and global forward existence. The largest invariant set in x=0 is the entire parameter line there. Hence x(t)→0 and trajectories approach this equilibrium set. When x(0)=0, every initial estimate remains fixed forever. A regulation error tending to zero is therefore compatible with a nonzero parameter error. An estimate of a physical parameter cannot be inferred just from the success of this control objective.
Experiment design changes the observation fiber
In the noise-free scalar regression y(t)=θv(t), two parameter values with the same input and output satisfy (θ−θ′)2∫0Tv2dt=0. A single trial with positive input energy distinguishes all scalar parameters; with v=0 the observation fiber is all of R. For the online update θ^˙=γv(y−θ^v) the parameter error obeys θ(t)=θ(0)exp[−γ∫0tv(s)2ds]. Thus infinite cumulative energy guarantees asymptotic convergence. If every window of length T0 has energy at least α>0, the error contracts by at least the factor exp(−γα) per full window, yielding an exponential bound. A finite pulse can identify the parameter algebraically and still leave a nonzero error in this particular online estimator. Identifiability and convergence of a chosen estimation law have different hypotheses.
For a vector parameter θ∈Rd with y=v⊤θ the information in one exact trial is the Gram matrix M=∫vv⊤dt. The indistinguishable parameters form θ+kerM. Joining independent experiments adds their Gram matrices and intersects their kernels. In the case d=2 a constant probe v=(1,1) leaves the line θ1+θ2=y. A second equal-duration probe (1,−1) makes the combined matrix a positive multiple of the identity. This is a concrete base change and intersection of observation fibers. In a stochastic experiment its analogue requires a likelihood and a noise law.
Extremum seeking at two time scales
One form of self-adaptation injects a small sinusoidal trial into a scalar setting. For a static C3 performance curve J and fixed p, multiply J(p+ϵsinθ) by sinθ and average over the entire period. Taylor’s theorem on the dither interval gives 2π1∫02πJ(p+ϵsinθ)sinθdθ=2ϵJ′(p)+O(ϵ3). The constant is controlled by a local bound on ∣J′′′∣. Hence a synchronous measurement can estimate the gradient of a static response, even when the absolute response is biased by an unknown constant. Using the estimate to evolve p inside a dynamic feedback loop requires bounds on change during the averaging window and on the plant’s transient response. The fixed-parameter identity identifies the experiment behind the update law, and by itself proves no closed-loop averaging limit.
Analog realization, digital clocks and experiments
Source correspondence. Thaler and Pastel [1], ch. 10, especially §§10-2–10-3 and 10-5–10-8, with ch. 2, §2-11.
Exact changes of units and approximate realizations
An ideal analog integrator imposes x˙=u. A summer and a memoryless nonlinear function impose their respective algebraic graphs. Connecting two integrators to q˙=v, v˙=(w−satM(kq)−d(v))/m recovers Equation (10) by matching their signals. Initial capacitor voltages encode q(0),v(0). An actual integrator with a leak instead imposes x˙=u−ℓx. If driven by the same u and initialized equally, the error from leakage obeys e˙=−ℓxactual, so ∣e(T)∣≤ℓTsup[0,T]∣xactual∣. Feeding its output back changes the input too, requiring a loop estimate.
With a nonsingular diagonal scale D, physical time t=t0τ, and state x=Dz, the exact scaled dynamics are dτdz=t0D−1f(Dz,u(t0τ)). Apply the corresponding scale to the readouts, thresholds and initial states. The map on trajectories has an inverse once the time windows are also reindexed. On the fixed-clock site a change of time unit acts by changing the time windows. It is not a port-preserving map over the old numerical clock. If an analog amplifier rails at a specified voltage, equality of behaviors holds only on the part of the scaled trajectory lying within that voltage range. Increasing scale to avoid one rail can reduce resolution somewhere else.
A useful finite-horizon comparison is the residual of a realized trajectory. Let x~ be absolutely continuous, d(t)=x~˙−f(x~,u), and assume f is L-Lipschitz on a common tube. Then ∥x~(t)−x(t)∥≤eLt∥e(0)∥+∫0teL(t−s)∥d(s)∥ds. Subtract the integral equations, take norms and apply Grönwall’s inequality. For hybrid runs this argument controls smooth arcs only. Near a monotone transversal crossing a uniform guard error bounded by ϵ moves its time by at most ϵ/ν when the nominal guard value has slope bounded away from zero by ν over the bracketing interval and the perturbed crossing is correctly bracketed. Ordered guards and control of each reset are needed to propagate such a bound through an itinerary.
Component tolerances in a feedback loop
Suppose a simulator replaces two components y=P(u) and u=Cr(y) on a fixed signal window. Compare actual and simulated runs with the same command r and initialization. On invariant signal domains let δP,δC bound the uniform output discrepancies between each pair of component maps when the inputs coincide. Let gP,gC bound the input Lipschitz constants of the nominal maps. Denote the distances between the two closed-loop signals by dy,du. The triangle inequality applied at each port gives dy≤δP+gPdu,du≤δC+gCdy. If gPgC<1 it follows that dydu≤(δP+gPδC)/(1−gPgC),≤(δC+gCδP)/(1−gPgC). These inequalities compare existing solutions. Existence of a solution for each simulator can, for example, be proved by checking a contraction on its own complete invariant domain. With gP=0.7, gC=0.6, δP=0.02 and δC=0.01, the closed-loop output discrepancy is at most 0.04656 and the command discrepancy at most 0.03794. A tolerance quoted for an isolated amplifier thus has a computable cost when the signal is fed back.
More generally a network may supply componentwise inequalities d≤δ+Γd for a finite matrix of nonnegative gains. If its spectral radius is below one, multiplication by the entrywise nonnegative inverse ∑j≥0Γj=(I−Γ)−1 gives a bound on every port. The series sums repeated passages of discrepancy around the wiring. Exact substitution in Theorem 3 applies to equivalences. This calculation supplies a quantitative comparison when a replacement has a measured defect. A threshold crossing can violate a finite signal Lipschitz bound; event margins then enter as in the preceding subsection.
An exact sampled relay calculation
Suppose a clock measures the chamber temperature every Δ>0, changes the mode if its applicable threshold has been reached, and holds the new mode until the next tick. Put λ=exp(−aΔ). If mj is the post-decision command at tick j, exact integration of the plant yields xj+1mj+1=λxj+(1−λ)Kmj,=⎩⎨⎧−1,+1,mj,mj=+1,xj+1≥h,mj=−1,xj+1≤−h,otherwise. This is a change to the physical controller; there is no numerical integration error in the recurrence. By contrast, observing a continuous controller only at tick times leaves its true event times between ticks.
Theorem 10 (Coexisting symmetric sampled cycles). A symmetric cycle of Equation (12) with n≥1 ticks in each mode has peaks ±Hn and period 2nΔ, where HnK−eaΔ(K−Hn)=Ktanh(anΔ/2),<h≤Hn. These conditions are sufficient. If both inequalities have positive margin, the cycle is locally attracting on its fixed-clock section with return multiplier λ2n. At a=1, K=2, h=1, Δ=0.1 there are exactly two cycles of this symmetric form, up to cyclic shift, with n=11 and n=12.
Proof. From a lower peak −H in heating mode, n held steps give K−(K+H)λn. Equating this to H gives H=K(1−λn)/(1+λn). The preceding tick reads K−(K−H)/λ. The rising sequence is monotone, so the strict inequality at the preceding tick and weak inequality at the peak say precisely that this is the first tick at which the guard orders a change. Symmetry gives the same condition on cooling. At strictly interior guard margins a neighborhood of the trough follows both prescribed n-step branches. Its two-branch return is affine: x⟼λ2nx−K(1−λn)2. Its fixed point is −Hn and its slope is less than one. By reducing the neighborhood around the fixed point one makes it invariant under this return.
Both Hn and its preceding sample increase strictly with n. For the stated parameters H10<0.925<1, while the preceding sample for n=13 exceeds 1.053. Table 2 gives strict margins at 11,12. This exhausts positive integers for the symmetric one-rise, one-fall ansatz. ◻
Exact sampled-cycle formulas, rounded for display. The threshold is 1.
n
Period
Prior tick
Peak Hn
Multiplier
11
2.2
0.895979
1.001040
0.110803
12
2.4
0.976721
1.074099
0.090718
Corollary 11 (A uniform clock bound). For every a,Δ>0 and 0<h<K there are either one or two symmetric cycles of the specified form up to cyclic shift. Their half-cycle counts belong to {n0,n0+1}, where n0=⌈D/Δ⌉ and D=T/2 is the continuous dwell time. Their periods obey 0≤2nΔ−T<4Δ.
Proof. First Hn0≥h, since Ktanh(aD/2)=h. At the preceding tick, a trajectory initialized at −Hn0≤−h has heated for strictly less than D and therefore is still below h. Thus n0 is admissible. For any admissible branch, its overshoot satisfies 0≤Hn−h<(1−e−aΔ)(K−h). This is the preceding-tick inequality rewritten. Inverting the peak formula and subtracting the continuous dwell time gives a(nΔ−D)=logK+hK+Hn+logK−HnK−h. The second term is strictly below aΔ by the overshoot bound. The first is at most (Hn−h)/(K+h)<1−e−aΔ<aΔ. Both are nonnegative. The resulting half-period excess is strictly below 2Δ. An interval [D/Δ,D/Δ+2) contains at most two integers and its least integer is n0. ◻
The constant four is sharp as a uniform bound over all thresholds and clocks. To see this, let δ=aΔ↓0 and set h/K=δ3/2. For n=2 the normalized prior reading is (1−e−δ)2/(1+e−2δ)∼δ2/2, while the normalized peak is tanhδ∼δ. The chosen threshold lies strictly between these readings for every sufficiently small δ. This branch has period 4Δ. Meanwhile T/Δ=4artanh(δ3/2)/δ→0. Therefore (4Δ−T)/Δ→4. This sharpness experiment varies the threshold with the clock. For every fixed threshold the absolute period discrepancy also tends to zero.
At a particular clock interval, Equation (13) decides whether the second branch exists. Figure 6 plots the allowable interval of thresholds for each dwell count. Figure 7 shows how two admissible branches separate with the plant and clock held fixed.
Admissible temperature thresholds by dwell count for a=1, K=2, Δ=0.1. Each interval excludes the preceding-tick value (open dot) and includes its peak (filled dot). The vertical line at h=1 intersects two intervals.Two exact solutions of the same clocked feedback law. The markers show every second sampled value; the curves between samples use the held command and continuous plant. Different initial troughs lead to different switch times.
The benchmark suggests a discriminating experiment. Hold a,K,h and the clock fixed, initialize near each candidate trough, and record both the sensor and the timestamps of actuator transitions. Looking only at one long trajectory can miss the second attracting itinerary. Measuring a period from a downsampled temperature record without the transition times confounds controller sampling with observational sampling. If an unknown time scale a and excursion scale K must be fitted, the single observed period in Equation (6) gives one relation for two unknowns. A dwell time at a second threshold, or a measurement of the initial heating slope a(K+h), supplies another independent observable on appropriate parameter ranges.
Lyapunov and Lur’e certificates under wiring
Source correspondence. Thaler and Pastel [1], ch. 11, especially §§11-2 and 11-5–11-8.
A certificate as a predicate on histories
Fix a behavior B, a nonnegative state storage V and a port supply w. On every compact subinterval [s,t] of every admitted execution impose V(x(t))−V(x(s))≤∫stw(u(σ),y(σ))dσ. This is the storage inequality of dissipativity [14]. For hybrid histories require a nonincrease at ideal resets, or add a specified jump supply for each reset. If V is absolutely continuous on flow segments, a differential inequality almost everywhere implies the integrated one. Conversely the integrated inequality implies the corresponding differential statement at differentiability and Lebesgue points. Finite subdivision and additivity establish that a certificate verified locally in time holds on the joined interval, provided the same storage value is used at common endpoints.
For a fixed test interval the executions satisfying (14) on all subintervals form a subobject of B when the value and supply are invariant under its declared symmetries. Thus a simulation F:B′→B over the relevant states and ports pulls the predicate back to a predicate on B′. If the state map is k, this amounts to using V∘k; in a quotient presentation V must descend across all frame changes. The pulled-back storage can vanish on a whole hidden fiber. Strict positivity in the full state and convergence of that state require their own checks. For example, augment x˙=−x by an unobserved z˙=z: the projection is an exact output simulation, x2 decreases, and the hidden state may grow.
Theorem 12 (Cancellation of internal power). Let two systems admit storages V1,V2 and port supplies ui⊤yi in Equation (14). Suppose the connected ports have compatible dual dimensions, with wiring u1=r1−y2, u2=r2+y1. On every closed execution the sum V1+V2 has external supply r1⊤y1+r2⊤y2. The assertion commutes with restriction and parameter pullback. Any nonnegative dissipation terms on the two components add on the closed trajectory.
Proof. Evaluate both component inequalities on the projections from the matching object. The scalar products −y2⊤y1 and +y1⊤y2 cancel after substitution. Endpoint storage differences add even when hidden states have more than one compatible realization. Restriction and parameter pullback preserve each displayed equality. ◻
At zero external supply this result gives a nonincreasing storage. Asymptotic decay requires control of its zero-dissipation trajectories. On an autonomous locally Lipschitz system, compact invariant sublevels and LaSalle’s theorem identify the limiting invariant set [12]. The stiction interval and the capture ellipse illustrate different such sets for the same type of energy inequality. If the closed behavior is empty the inequality is vacuously true, so a design certificate also includes realizability for the intended initial and input data.
The sector inequality in coordinates
Take a real Lur’e interconnection x˙=Ax−bw,y=c⊤x,w=ϕ(y). Assume ϕ locally Lipschitz, ϕ(0)=0, and w(ky−w)≥0 for all y, k>0. The graph lies in the sector [0,k] and has at most linear growth. For V=x⊤Px, a sufficient condition for V˙≤−ϵ∥x∥2 with ϵ>0 is P=P⊤≻0 and some τ≥0 satisfying [A⊤P+PA+ϵI(−Pb+τkc/2)⊤−Pb+τkc/2−τ]⪯0. To see the sign, evaluate the quadratic form on (x,w). It is V˙+ϵ∥x∥2+τw(ky−w). Dropping the nonnegative sector term proves the claim on actual trajectories. The inequality is imposed on *all* (x,w) to produce one certificate for every admissible nonlinear graph. This is a sufficient multiplier argument of the kind treated in [15].
For the spring-like stage A=[0−21−1],b=(10),c=(01),k=1, choose P=41[7113], ϵ=1/4 and τ=1. Then A⊤P+PA=−I and the off-diagonal block in (15) is (1/4,−3/4)⊤. The top block is −3I/4 and the scalar Schur complement is −1+(4/3)(10/16)=−1/6. Hence the matrix is strictly negative definite. The positive leading entry and determinant 20/16 give P≻0. Integration yields ∥x(t)∥≤λmin(P)λmax(P)exp[−8λmax(P)t]∥x(0)∥. This one exact rational matrix proves a uniform exponential estimate across the entire static sector family. It can accommodate saturation and a dead zone with suitable unit sector bound. A hysteretic relay carrying memory does not in general satisfy the same pointwise sector condition.
Integral storage and the Lur’e change of variables
The classical Lur’e treatment reorganizes the equations and includes the potential of a scalar nonlinearity in the candidate. For η≥0 take Vη(x)=x⊤Px+2η∫0c⊤xϕ(s)ds. The sector assumption makes the integral nonnegative for either sign of c⊤x and bounds it above by k(c⊤x)2/2. Its derivative contributes 2ηwc⊤(Ax−bw). Consequently the upper right block in (15) becomes −Pb+ηA⊤c+τkc/2 and the lower right entry becomes −τ−2ηc⊤b. Coefficients can now be chosen to match both the linear dynamics and the potential term. This is a modern multiplier formulation of the integral-function idea in the book. Its feasibility conditions are explicitly sufficient.
For a coordinate transform x=Tz with T invertible, the triples become (T−1AT,T−1b,T⊤c), the quadratic term becomes T⊤PT, and the scalar integral has unchanged argument. A strict decay term ϵ∥x∥2 transforms to ϵz⊤T⊤Tz. The new matrix inequality is a congruence by diag(T,1). Replacing T⊤T by a scalar multiple of the new identity changes the numerical decay rate according to its smallest eigenvalue. For c=0 one can choose the first new coordinate to be precisely the observed scalar c⊤x. This gives the coordinate meaning of isolating the nonlinear argument before seeking a storage.
Quantifiers in a design specification
Let D be a family of admissible controller choices and B→D the closed histories, restricted to a declared parameter, initial-state and input class. Let J↪B express an invariant predicate with all its quantitative bounds fixed. In the internal logic the good controllers form the subobject ∀B→DJ of D. The universal image is the right adjoint to pullback on subobjects. A test family maps into it exactly when every further base change and every admitted history there satisfies J. Pullback along a change of design context preserves this universal image by the Beck–Chevalley law for pullback squares in a topos. To require a total, deterministic implementation, also require the realization fibers over prescribed data to be contractible. Simply imposing a universal predicate says nothing about empty fibers.
The order of quantifiers expresses an engineering choice. For x˙=bu with unknown sign b∈{+1,−1} and u=−kx, exponential stability holds exactly when bk>0. For each measured b there exists a stabilizing k, and an indexed controller takes k(b)=b. No one real k stabilizes both plants when the sign is unavailable. In this finite case the fibers of admissible gains are the open positive and negative rays, which have empty intersection. Choosing a controller after reindexing the model at each known sign is therefore a different specification from choosing a single gain before the sign is revealed.
Uniformity is another quantifier. Each system x˙=−px with p>0 has exponential decay. The whole open family admits no common strictly positive decay rate, since arbitrarily small p occur. A bound p∈[p0,p1] with p0>0 immediately gives rate p0. Finally, a mere smooth homotopy of vector fields can join x˙=−x to x˙=x via x˙=(2s−1)x. The intermediate field at s=1/2 has every point stationary. Theorem 3 transports predicates along equivalences carrying the relevant structure. Numerical decay estimates also require norms, physical clocks and storage bounds to travel with that structure.
Reproduction and scope
The numerical work uses dimensionless parameters and synthetic inputs. All control conclusions claimed as theorems have analytic derivations above. The source bundle includes the plotting and checking script, the generated tables, the vector figures and the LaTeX manuscript. The following independent comparisons locate the numerical evidence.
For the event model, integration by DOP853 starts at (−1,+) and locates twenty-four successive guards, using relative tolerance 10−12, absolute tolerance 10−14 and maximum step 0.15. Each detected terminal state initiates the next integration with opposite mode. The twelve return periods differ from 2log3 by at most 4.3×10−13 in the recorded run. A 65,536-point uniform Fourier sum on the analytic waveform gives 0.8405861793 for the fundamental, within 6.5×10−10 of Equation (7). The sum uses the piecewise temperature directly. It does not reuse the linear plant’s frequency response.
For the digital model the script iterates Equation (12) and checks eight consecutive cycles for each initial trough −Hn and perturbations ±0.001. It compares the switch ticks and first-return errors to Theorem 10. On the grid h/K∈{0.05,0.2,0.5,0.8,0.98} and aΔ∈{0.025,0.1,0.25,0.6,1,2}, enumeration gives one symmetric branch in 23 cases and two in seven. The largest period excess is 3.200 clock intervals rounded up. The program also checks the sharpness family, cubic Fourier coefficients, ellipse handover and sector matrix. The matrix’s largest eigenvalue is approximately −0.07461; exact definiteness follows from the Schur complement. The output records software versions and unrounded results. These calculations test the formulas for the idealized models.
The comparison can now be read directly at the experiment’s ports. Each exact continuous run carries temperature, mode and event times. Its temperature fundamental can be below the lowest amplitude that induces switching, so a filtered observation cannot be substituted at the controller input. A clocked implementation exposes a different event port and admits two stable itineraries for the chosen settings. A relative sign at a calibration port presents another obstruction to premature identification: the matching alternatives survive even when the separate ports each have a single isomorphism class. In each case the decisive information is a specified piece of data that a later connection can observe.
Authorship and automation.
Prepared as an anonymous manuscript for editorial consideration. An AI assistant drafted the exposition, derived the worked examples, and ran the accompanying numerical checks under the commissioning author’s direction. The submitting author is responsible for the submitted version. The evidence consists of the mathematical arguments and reproducible computations described here. Formal verification in Lean is reserved for a follow-up.
References
G. J. Thaler and M. P. Pastel. Analysis and Design of Nonlinear Feedback Control Systems. McGraw-Hill, 1962. Bibliographic record.
D. Vagner, D. I. Spivak and E. Lerman. Algebras of open dynamical systems on the operad of wiring diagrams. Theory and Applications of Categories 30 (2015), 1793–1822. Journal article.
P. Schultz, D. I. Spivak and C. Vasilakopoulou. Dynamical systems and sheaves. Applied Categorical Structures, 2019. DOI 10.1007/s10485-019-09565-x. Author manuscript and publication record.
J. Lurie. Higher Topos Theory. Annals of Mathematics Studies 170, Princeton University Press, 2009, especially ch. 6. Publisher.
R. Haugseng. Iterated spans and classical topological field theories. Preprint, 2014, arXiv:1409.0837. Author preprint.
T. Fritz. A synthetic approach to Markov kernels, conditional independence and theorems on sufficient statistics. Advances in Mathematics 370 (2020), 107239. Author preprint.
Ö. T. Demir and E. Björnson. The Bussgang decomposition of non-linear systems: basic theory and MIMO extensions. Preprint, 2020, arXiv:2005.01597. Author preprint.
R. Goebel, R. G. Sanfelice and A. R. Teel. Hybrid Dynamical Systems: Modeling, Stability, and Robustness. Princeton University Press, 2012. Digital edition.
K. H. Johansson, A. E. Barabanov and K. J. Åström. Limit cycles with chattering in relay feedback systems. IEEE Transactions on Automatic Control 47 (2002), 1414–1423. Publication record and full text.
N. J. Kong, J. J. Payne, J. Zhu and A. M. Johnson. Saltation matrices: the essential tool for linearizing hybrid dynamical systems. Preprint, 2023, arXiv:2306.06862. Author preprint.
D. Liberzon. Calculus of Variations and Optimal Control Theory: A Concise Introduction. Princeton University Press, 2012, §4.4.1. Author’s example of the double integrator.
H. K. Khalil. Nonlinear Systems. 3rd ed., Prentice Hall, 2002, especially chs. 4 and 7. Publisher and contents.
N. Singer and W. Seering. Preshaping command inputs to reduce system vibration. MIT Artificial Intelligence Laboratory Memo AIM-1027, 1988. MIT technical report.
J. C. Willems. Dissipative dynamical systems, Part I. General theory. Archive for Rational Mechanics and Analysis 45 (1972), 321–351. Author’s copy.
S. Boyd, L. El Ghaoui, E. Feron and V. Balakrishnan. Linear Matrix Inequalities in System and Control Theory. SIAM, 1994. Authors’ book and electronic edition.
Complete flattened LaTeX source
\documentclass[11pt,letterpaper,twocolumn]{article}
\usepackage[T1]{fontenc}
\usepackage{lmodern,amsmath,amssymb,amsthm,mathtools}
\usepackage[letterpaper,left=0.76in,right=0.76in,top=0.84in,bottom=0.84in,headheight=15pt,headsep=14pt,footskip=25pt]{geometry}
\usepackage{microtype,graphicx,xcolor,booktabs,array,tabularx,enumitem,fancyhdr}
\usepackage{tikz}
\usetikzlibrary{arrows.meta,positioning,calc}
\usepackage[font=small,labelfont=bf,labelsep=period]{caption}
\usepackage{titlesec}
\usepackage[colorlinks=true,linkcolor=tealref,citecolor=tealref,urlcolor=tealref,pdfauthor={Anonymous},pdftitle={Composing Nonlinear Feedback Systems}]{hyperref}
\definecolor{deep}{HTML}{142F40}
\definecolor{tealref}{HTML}{086363}
\definecolor{soft}{HTML}{4C5D64}
\definecolor{rulegrey}{HTML}{C1CDCF}
\setlength{\columnsep}{0.31in}
\setlength{\parindent}{1.05em}
\setlength{\tabcolsep}{4pt}
\setlength{\textfloatsep}{10pt plus 2pt minus 2pt}
\setlength{\intextsep}{10pt plus 2pt minus 2pt}
\raggedbottom
\setcounter{topnumber}{3}\setcounter{bottomnumber}{2}\setcounter{totalnumber}{4}
\renewcommand{\topfraction}{.88}\renewcommand{\bottomfraction}{.78}\renewcommand{\textfraction}{.09}
\renewcommand{\dbltopfraction}{.88}
\titleformat{\section}{\large\bfseries\color{deep}}{\thesection}{.55em}{}
\titleformat{\subsection}{\normalsize\bfseries\color{deep}}{\thesubsection}{.55em}{}
\titlespacing*{\section}{0pt}{2.0ex plus .4ex minus .3ex}{.7ex}
\titlespacing*{\subsection}{0pt}{1.4ex plus .3ex minus .2ex}{.4ex}
\pagestyle{fancy}\fancyhf{}
\fancyhead[L]{\footnotesize\textsc{Composing nonlinear feedback systems}}
\fancyhead[R]{\footnotesize\textsc{Research manuscript}}
\fancyfoot[C]{\small\thepage}
\renewcommand{\headrulewidth}{.35pt}
\newtheorem{theorem}{Theorem}[section]
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{corollary}[theorem]{Corollary}
\theoremstyle{definition}
\newtheorem{definition}[theorem]{Definition}
\newtheorem{example}[theorem]{Example}
\newcommand{\R}{\mathbb R}
\newcommand{\Z}{\mathbb Z}
\newcommand{\E}{\mathbb E}
\newcommand{\X}{\mathcal X}
\newcommand{\Sps}{\mathcal S}
\newcommand{\Sh}{\operatorname{Sh}}
\newcommand{\Map}{\operatorname{Map}}
\newcommand{\id}{\operatorname{id}}
\newcommand{\sat}{\operatorname{sat}}
\newcommand{\sgn}{\operatorname{sgn}}
\newcommand{\dd}{\mathrm d}
\newcommand{\ee}{\mathrm e}
\newcommand{\im}{\operatorname{im}}
\newcommand{\Sig}{\mathsf{Sig}}
\newcommand{\Fib}{\operatorname{fib}}
\newcommand{\Cl}{\operatorname{Cl}}
\newcommand{\Norm}[1]{\left\lVert#1\right\rVert}
\newcommand{\src}[1]{\textit{Source correspondence.} Thaler and Pastel~\cite{tp}, #1.}
\newcommand{\fpic}[3]{\begin{figure}[tbp]\centering\includegraphics[width=\columnwidth]{figures/#1.pdf}\caption{#2}\label{#3}\end{figure}}
\newcommand{\weblink}[2]{\href{#1}{#2}}
\setlist{nosep,leftmargin=*}
\begin{document}
\twocolumn[{
\begin{center}
{\small\sffamily\bfseries\color{tealref} CONTROL THEORY AND HIGHER CATEGORIES\par}
\vspace{6pt}
{\fontsize{24}{28}\selectfont\bfseries\color{deep}Composing Nonlinear Feedback Systems\par}
\vspace{4pt}
{\large\itshape A higher-categorical development of Thaler and Pastel\par}
\vspace{7pt}
{\small Anonymous manuscript\par}
\end{center}
\vspace{3pt}
\begin{minipage}{\textwidth}
\small\noindent\textbf{Abstract.}
A first-order relay oscillator has an exact periodic orbit that its first-harmonic balance equation misses. Sampling its controller yields one or two symmetric cycles at any clock rate. Their periods lie between the continuous period and a strict upper bound four clock intervals above it. The factor four is sharp over the parameter family. We derive these results to develop the analysis and design methods of Thaler and Pastel. Open systems are spans of trajectory sheaves in a slice of an $\infty$-topos. Wiring is a homotopy pullback. Its universal property gives substitution and descent, while existence, uniqueness and stability require additional hypotheses. Relative sensor calibrations form double cosets, and a repeated orbit carries cyclic isotropy. Worked applications treat mechanical memory, phase portraits, statistical linearization, optimum and dual-mode control, nonlinear compensation, adaptation, simulation and Lur'e stability certificates.
\par\vspace{5pt}\noindent\textbf{Keywords.} Nonlinear control, trajectory sheaves, homotopy pullbacks, hysteresis, harmonic balance, dissipativity.\par
\end{minipage}
\vspace{10pt}
{\color{rulegrey}\hrule height .6pt}
\vspace{12pt}
}]
\thispagestyle{plain}
\section{What it means to close a loop}\label{s:intro}
Consider a small thermal chamber. In suitable units its temperature deviation $x$ obeys $\dot x=a(Km-x)$, where $a,K>0$ and the controller selects $m=+1$ or $-1$. It heats until the temperature reaches $h$ and cools until it reaches $-h$, where $0<h<K$. A temperature measurement strictly between the thresholds is compatible with either command. The current command is a state variable. Deleting it changes which pairs of successive observations can be joined.
There are three ways to study this device. Integrate each mode until a threshold is reached. Drive the relay with a sinusoid and use the fundamental component of its output. Or implement the switching logic on a clock and hold the command between ticks. These operations produce three different mathematical questions. In the first, closing the loop amounts to matching the continuous temperature history with the event history. In the second, a projected periodic signal must solve a complex scalar equation. In the third, an orbit of a discrete map must have the claimed itinerary. The continuous chamber has period $2a^{-1}\log((K+h)/(K-h))$. For $a=1$, $K=2$, $h=1$ and a clock interval of $0.1$, the digital controller supports symmetric cycles with periods $2.2$ and $2.4$. Sections~\ref{s:relay} and~\ref{s:sim} derive these values.
Thaler and Pastel organized their 1962 book around a practical difficulty. A technique that predicts the onset of oscillation may give little information about transient response, while a trajectory traced from one initial condition reveals little about robustness. Their book follows nonlinearities from modeling through phase-plane and describing-function analysis, random excitation, controller design, simulation and stability~\cite{tp}. Table~\ref{t:map} is a concordance keyed to its printed pagination. The examples below are newly calculated. Familiar control laws are attributed to the classical theory throughout.
\begin{table*}[t]
\caption{Correspondence with the eleven chapters of the 1962 book. Page ranges refer to printed pages, including chapter-end material, not scan leaves.}\label{t:map}
\footnotesize\centering
\begin{tabularx}{\textwidth}{@{}r l p{.245\textwidth} X@{}}
\toprule
Ch. & Pages & Method in the book & Development in this manuscript\\\midrule
1 & 1--14 & System models and block diagrams & Sections~\ref{s:site}--\ref{s:wiring}. Typed ports, matching witnesses and well-posedness.\\
2 & 15--64 & Local and fitted linear models, time steps, $z$ forms & Section~\ref{s:linear}. Closed-loop derivatives, distribution-dependent gains and a discretization bound.\\
3 & 65--138 & Phase plane, friction, backlash and saturation & Section~\ref{s:phase}. Return maps, sticking equilibria and a hidden play state.\\
4 & 139--228 & Describing functions and frequency response & Sections~\ref{s:harm} and~\ref{s:relay}. Higher harmonics, folds, subharmonics and a missed limit cycle.\\
5 & 229--252 & Random excitation and correlation & Section~\ref{s:stoch}. Kernels, shared noise, Gaussian fitting and spectral identification.\\
6 & 253--291 & Relay servomechanisms & Section~\ref{s:relay}. Executions, transversal events and an exact return map.\\
7 & 292--333 & Optimum, quasi-optimum and dual-mode servos & Section~\ref{s:optimal}. Minimum-time paths, damped braking and a certified handover.\\
8 & 334--359 & Nonlinear compensation and posicast & Section~\ref{s:comp}. Saturated restoring forces, nonlinear damping and two-pulse shaping.\\
9 & 360--380 & Self-adaptive systems & Section~\ref{s:adapt}. Parameter fibers, adaptation, excitation and extremum seeking.\\
10 & 381--419 & Analog and digital simulation & Section~\ref{s:sim}. Time scaling, experiment design and exact sampled relay cycles.\\
11 & 420--458 & Direct Lyapunov method and Lur'e transformation & Section~\ref{s:cert}. Internal predicates, feedback storage, an integral term and a sector inequality.\\
\bottomrule
\end{tabularx}
\end{table*}
\subsection{Position in the literature}
Wiring diagrams give a syntax for building an open differential equation from component equations~\cite{vsl}. Interval sheaves supply a semantics for compatible signal segments and for machines with internal histories~\cite{ssv}. We use an open-cover time site with auxiliary parameter charts. This choice makes the chart changes of an experiment available at the same time as restrictions of its signals. Lurie's theory supplies the $\infty$-topos and slice calculus~\cite{htt}. The coherent composition of correspondences belongs to the theory of spans~\cite{haugseng}. The pullback theorem in Section~\ref{s:wiring} is an application of that calculus.
The contribution is to put particular changes of control model to a common test. A calculation can yield an equivalence of wired models, a one-sided implication for their trajectories, an error estimate in a specified norm, or a prediction under an input law. These have different composition laws. The relay comparison, the sign calibration and the storage inequalities give instances where this distinction changes a conclusion about an experiment. Smooth ordinary differential equations in a fixed chart can be treated entirely with sets of solutions. The additional levels of the semantics become visible when the interfaces themselves admit symmetries.
\section{Trajectories as sheaves of spaces}\label{s:site}
\subsection{Time, parameter charts and locality}
Use a small skeleton of test objects $(U,I)$, with $U$ a smooth test manifold (coordinate opens suffice) and $I$ a nonempty open interval in $\R$. An arrow $(V,J)\to(U,I)$ consists of a smooth map $f:V\to U$ and an inclusion $J\subseteq I$. A basis for the topology consists of ordinary open-rectangle covers of $U\times I$. Working in a fixed universe, put
\[
\X=\Sh_\infty(\mathcal C;\Sps).
\]
Here $\Sps$ denotes homotopy types. A section over $(U,I)$ is a family of observations on $I$, one for each experimental setting in $U$. Restriction changes the setting through $f$ and observes a smaller time window. For endpoint experiments the same construction uses relatively open windows of $[0,T]$. Point values at an endpoint are one-sided values of a trace. Smooth data glued along a cover agree on open overlaps. Joining pieces across a single switching instant requires the separate event rule of Section~\ref{s:relay}.
For example, $\Sig(A)(U,I)=C^\infty(U\times I,A)$ models smooth $A$-valued signals as a sheaf of sets. We regard each set as a discrete space. The topology of a manifold $A$ governs smooth variation over test charts but does not turn two distinct readings into isomorphic readings at a fixed test. Continuous observations and locally absolutely continuous state paths give other sheaves when those are the regularities of the experiment. For an absolutely continuous state we require the differential equation almost everywhere on each time fiber, use pointwise continuous representatives for the state, and compare measurable inputs almost everywhere where specified. Each condition can be checked locally.
\begin{definition}[Parameter context]
For a manifold $P$, write $\underline P(U,I)=C^\infty(U,P)$. An experiment over $P$ is an object of the slice $\X_{/\underline P}$. A parameter value may vary between trials indexed by $U$ and is fixed through a trial. A time-varying parameter belongs to a signal port or to the state equation.
\end{definition}
A smooth family $\dot x=f_p(x,u)$, $y=h_p(x)$ defines a trajectory object $B$. A section is a choice of $p:U\to P$ and histories $(u,x,y)$ of the specified regularity satisfying the two equations. Projection gives maps to input and output signal objects over $\underline P$. Local solutions agreeing on overlaps glue by gluing their component functions. This sheaf property concerns sections that already agree. Existence for a prescribed control or initial condition is a separate statement about the projection out of $B$. A finite escape time can make that projection fail to cover a long observation window.
\subsection{A sign ambiguity that can be measured}
A twofold angular encoder reports $y=z^2$, with $z,y\in S^1$. For an angle trajectory $y(t)=\exp(it)$ on a time interval, a lift is determined by a choice of the initial sign. On an entire cycle with the endpoints identified, a continuous periodic lift would satisfy $2\deg z=1$. No integer does. One can, however, take square roots on short arcs. On overlaps they differ by a sign. Following a root once around the cycle changes it by $-1$.
\begin{figure}[tbp]
\centering
\begin{tikzpicture}[x=1cm,y=1cm,>=Stealth,font=\small]
\draw[->,thick,color=deep] (0,0)--(5.35,0) node[right] {$t$};
\draw[thick,color=tealref] (.14,.45)--(2.16,.45);
\draw[thick,color=deep] (1.63,.76)--(3.75,.76);
\draw[thick,color=tealref] (3.23,.45)--(5.20,.45);
\node[above] at (.94,.46) {$z_0$};
\node[above] at (2.66,.76) {$z_1$};
\node[above] at (4.55,.46) {$z_2$};
\draw[dashed] (0.15,-.12)--(.15,.46) (5.20,-.12)--(5.20,.46);
\node[below] at (.25,-.10) {$0$};
\node[below] at (5.08,-.10) {$2\pi$};
\draw[<->,tealref] (.26,-.65)--(5.05,-.65)
node[midway,fill=white,inner sep=2pt] {$z(2\pi)=-z(0)$};
\end{tikzpicture}
\caption{Local square roots of one turn of an encoder reading. The product of the transition signs around the time circle is $-1$ for every choice of the three frames.}\label{f:roots}
\end{figure}
Formally, use the same interval charts on the time circle, or work over a circular parameter family in our test site. On a cover, lifts $z_i$ and signs $g_{ij}$ satisfy $z_j=g_{ij}z_i$ and $g_{ik}=g_{jk}g_{ij}$ where three charts meet. Replacing $z_i$ by $\epsilon_i z_i$ changes $g_{ij}$ to $\epsilon_jg_{ij}\epsilon_i^{-1}$. The obstruction is their invariant sign product, the monodromy of the pulled-back covering. For a measured signal of winding $d$ it is $(-1)^d$. A model for an *unframed* encoder may therefore retain the torsor of choices. An actuator that needs the sign of $z$ requires a frame, or additional information fixing one. Figure~\ref{f:roots} displays the incompatibility that can appear when the actuator demands a periodic frame.
\subsection{Descent data and physical equality}
For an open cover $\{W_i\to W\}$, with $W_{ij}=W_i\cap W_j$, the sheaf condition for spaces takes the form
\begin{equation}
B(W)\simeq\lim_{[n]\in\Delta}
\prod_{i_0,\ldots,i_n} B(W_{i_0\cdots i_n}).
\label{eq:descent}
\end{equation}
The right side is a homotopy limit of the \v Cech diagram. A set-valued object asks for equality on double overlaps. A groupoid-valued object carries an isomorphism on each double overlap and the cocycle condition on triple overlaps. Higher values carry higher compatibilities. Equation~\eqref{eq:descent} says that a compatible family determines a global object with a contractible space of choices once the gluing data are fixed. The space of possible gluing data may itself have several components.
For a real voltage port use a set-valued signal object. In a homotopy pullback the matching witness between two readings then exists exactly when they are equal. For two devices with unlabelled sign frames, matching can involve two distinct calibrations. A smooth homotopy through arbitrary voltages would be a family of different experiments. Treating it as equality at the voltage port would change the device one is modeling.
\section{Wiring and well-posed feedback}\label{s:wiring}
\begin{definition}[Open behavior]
Fix the slice $\mathcal E=\X_{/\underline P}$. An open behavior from $A$ to $D$ is a span $A\leftarrow B\to D$ in $\mathcal E$. A map of behaviors over the ports acts on their middle objects and commutes with the port maps up to specified coherent equivalence. An equivalence has an inverse up to such equivalence. Cartesian product in the slice puts independent components in parallel over the same parameter.
\end{definition}
If $A\leftarrow B\to Y$ and $Y\leftarrow C\to D$ are connected, the middle object of their composite is $B\times_Y^h C$. At a test object it records a section of each and an identification of the two $Y$-histories. Its exterior ports are $A$ and $D$. For a network $B$ exposing an internal input and an internal output of type $L$, let $s,t:B\to L$ denote those ports. Its closed behavior is
\begin{equation}
\Cl_L(B)=B\times^h_{L\times L} L,
\qquad B\xrightarrow{(s,t)}L^2
\xleftarrow{\Delta}L . \label{eq:close}
\end{equation}
All products here are over the parameter. Equivalently, a section of the closure is a section $b$ together with a path $s(b)\simeq t(b)$ in the declared port type. One may keep external observations and project to them afterwards. Projection as a map retains its realization fibers. Replacing this map by its image retains only the predicate of realizability.
\begin{figure}[tbp]\centering
\begin{tikzpicture}[>=Stealth,font=\small,x=1cm,y=1cm]
\node (m) at (0,1.5) {$B\times^h_Y C$};
\node (b) at (-1.35,.40) {$B$};
\node (c) at (1.35,.40) {$C$};
\node (a) at (-2.38,-.72) {$A$};
\node (y) at (0,-.72) {$Y$};
\node (d) at (2.38,-.72) {$D$};
\draw[->,thick,tealref] (m)--(b);\draw[->,thick,tealref] (m)--(c);
\draw[->] (b)--(a);\draw[->] (b)--(y);
\draw[->] (c)--(y);\draw[->] (c)--(d);
\node[color=soft] at (0,.35) {$\simeq$};
\end{tikzpicture}
\caption{Serial wiring. The top object remembers the identification at $Y$. Forgetting the internal state amounts to composing the displayed projections with the maps to the exterior ports.}\label{f:span}
\end{figure}
\begin{theorem}[Substitution, parameters and descent]\label{th:wiring}
For a finite network of port-matching equations in $\mathcal E$, let $W$ denote its homotopy limit, with the exterior port maps carried along. Replacing any component by an equivalent behavior over its incident ports induces an equivalence of $W$ over the exterior ports. Closing disjoint internal wires in either order gives canonically equivalent answers, coherently for repeated closures. For any $u:Q\to P$,
\[
u^*W \simeq \lim\nolimits^h u^*(\text{network}).
\]
The sections of the resulting network satisfy \v Cech descent in time and parameter charts.
\end{theorem}
\begin{proof}
For any test object $T$ of the slice, $\Map(T,W)$ is the limit of the diagram of port mapping spaces. An objectwise equivalence of coherent diagrams induces an equivalence of these spaces, naturally in $T$. The same test identifies either order of closure with the space of all compatible matches. The space of limit cones is contractible, giving the associators and their coherences, including the pentagon for four composable spans. The pullback functor between slices preserves finite limits (indeed it is right adjoint to postcomposition). This proves the base-change formula. Limits of sheaves are computed sectionwise and limits of spaces commute with limits. Applying this to the \v Cech diagram gives the last assertion. \end{proof}
\begin{example}[Matching frames before truncation]\label{ex:gauge}
Let $G=\{+1,-1\}$ and let $BG$ be the groupoid with one object and automorphism group $G$. Two locally framed instruments can each name the object and present a map $*\to BG$. At a point their matched behavior is
\[
*\times^h_{BG}*\simeq\Omega BG\simeq G .
\]
The objects of the matching groupoid are the two possible relative signs. A morphism would consist of frame changes in the two copies of $*$, so only identities are possible. Taking connected components of each instrument and port first gives $*\times_{*}*=*$. A later actuator reading $v$ or $-v$ distinguishes the two matches whenever $v\ne0$. This computation uses pointed, already framed ends. If either end is also quotiented by its own frame changes, its matching groupoid changes.
\end{example}
\begin{proposition}[Relative calibrations]\label{pr:doublecoset}
For maps of spaces $f:B\to Y$ and $g:C\to Y$, take $b\in B$, $c\in C$ and a path $\gamma:f(b)\simeq g(c)$. Let $G=\pi_1(Y,f(b))$, let $H$ be the image of $\pi_1(B,b)$, and transport the image of $\pi_1(C,c)$ back along $\gamma$ to a subgroup $K$ of $G$. The components of $B\times^h_Y C$ lying over $([b],[c])$ are in bijection, after this choice of reference match, with
\[
H\backslash G/K .
\]
\end{proposition}
\begin{proof}
Any compatible triple over these components can be moved along paths in $B,C$ to one with endpoints $b,c$. A match is then a path from $f(b)$ to $g(c)$. Using $\gamma$ to identify endpoint groups turns its relative homotopy class into an element of $G$. A different path choice for bringing either endpoint to its representative composes with an endpoint loop, acting by $H$ on the left and $K$ on the right (with path concatenation written in traversal order). Conversely such changes and a homotopy of matching paths give a path of triples in the pullback. This proves exactly the double-coset identification. \end{proof}
This is a criterion at a fixed test, before any further sheafification of components. Taking connected components before wiring loses no joint components over this pair precisely when the double-coset set is a singleton. For fully framed ends it has $|G|$ elements. If one end can absorb every calibration ($H=G$), it has one. Higher automorphisms can still remain even in that case. For instance the same pointed pullback calculation with $K(A,2)$, $A$ abelian, gives a connected matching space $K(A,1)$ with automorphism group $A$. This is an algebraic extension of the interface language.
\subsection{When the closed behavior is a device}
At fixed input and initial state, existence means that the realization fiber is inhabited. Uniqueness up to declared symmetries means that the fiber is contractible. For ordinary state histories this reduces to existence of one history. Causality requires compatibility with restriction to prefixes for initialized devices. The unrestricted sheaf includes all histories on an interior window and generally cannot reconstruct an initial state in its past. Initial and boundary conditions are imposed as additional pullbacks at the appropriate endpoints.
For instance, on a compact interval and in a complete signal metric, consider $u=\Phi_r(u)$, where each $\Phi_r$ maps a closed complete domain to itself and has a common Lipschitz constant $q<1$. Banach iteration converges to exactly one internal signal. If the operators agree on prefixes for matching inputs and the same uniqueness holds on each prefix, these signals form a causal response. Continuous parameter dependence follows when $\Phi_r$ depends continuously on $r$ in the uniform operator bound on that domain. The estimate
\[
\Norm{u_r-u_{r'}}\le
\frac{\Norm{\Phi_r(u_{r'})-\Phi_{r'}(u_{r'})}}{1-q}
\]
exhibits its loss of conditioning as $q$ approaches one. Smooth state feedback with a locally Lipschitz vector field gives a second route through the ODE existence theorem. A growth bound, a compact invariant set or a separate extension argument is required for a global horizon.
For the instantaneous loop $u=u+r$, the internal real value is arbitrary if $r=0$, and the fiber is empty if $r\ne0$. Both cases satisfy the definition of closure. More abstractly, an internal existential assertion in a sheaf topos means existence locally on a cover; it can hold without a chosen global realization. The square-root encoder gives exactly this situation. A globally implemented controller must provide the appropriate section, and a deterministic one must meet its uniqueness and prefix conditions.
\section{Linearization, fitting and time steps}\label{s:linear}
\src{ch.~2, especially \S\S2-3--2-6 and 2-9--2-11}
\subsection{Which linear system is being fitted?}
Suppose the plant is $\dot x=f(x,u)$, $y=h(x,u)$, and fix a smooth operating trajectory $(x_0,u_0)$. Differentiating a smooth one-parameter family of solutions gives
\begin{align*}
\dot \xi &= f_x(x_0,u_0)\xi+f_u(x_0,u_0)\nu,\\
\eta &= h_x(x_0,u_0)\xi+h_u(x_0,u_0)\nu .
\end{align*}
At equilibrium the four matrices are constant. Along a general trajectory they vary with time. On a compact tube where $f$ has bounded second derivative and all perturbed solutions exist, Taylor's integral remainder and Grönwall's inequality bound the difference between the nonlinear perturbation and its variational solution by $C_T\delta^2$. Here initial and input perturbations in sup norm are $O(\delta)$, the input family is affine in its amplitude or has a bounded quadratic remainder, and $T$ is fixed. This estimate compares two sections with the same experiment and clock.
Feedback introduces another hypothesis. Consider a smooth algebraic constraint $F(x,u,r)=0$ in addition to the dynamics, and suppose $F_u$ is invertible at the nominal point. In a neighborhood the implicit function theorem gives $u=k(x,r)$ and
\[
\delta u=-F_u^{-1}(F_x\delta x+F_r\delta r).
\]
Substitute this equation into the variational dynamics. The result is the same linear system obtained by differentiating $f(x,k(x,r))$. In categorical language the linearization of this regular matching diagram agrees with matching its linearizations. Geometrically, the tangent of the constraint manifold is the kernel of $\dd F$. Uniform estimates over a trajectory require uniform control of the inverse. For $u^3=r$, closure has a unique real solution for every $r$. At $r=0$ its derivative is singular and the purported tangent rule gives $0=\delta r$. Uniqueness alone does not license differential block manipulations.
A fitted gain solves a different problem. If $X$ is a zero-mean scalar input with $0<\E X^2<\infty$, the through-origin least-squares fit to $f(X)$ is
\[
k_\mu=\arg\min_k \E(f(X)-kX)^2
=\frac{\E[Xf(X)]}{\E[X^2]} .
\]
This follows by completing the square; $f(X)$ is assumed square integrable. A fitted offset gives the slope $\operatorname{Cov}(X,f(X))/\operatorname{Var}(X)$ and intercept $\E f(X)-k_\mu\E X$. For the same device $f(x)=x^3$, the tangent gain at zero is zero, a uniform sweep of $[-A,A]$ gives $3A^2/5$, a sinusoid of peak $A$ sampled uniformly in phase gives $3A^2/4$, and a normal input of variance $\sigma^2$ gives $3\sigma^2$. The numerator in each case is the fourth moment. An input law or a nominal operating point is part of the experiment specifying the number.
\subsection{A time step is a second dynamics}
Let the autonomous flow be $\varphi_t$ on a region where $f$ is $L$-Lipschitz and exact solutions have $\|\ddot x\|\le M$. Forward Euler is $E_\Delta(x)=x+\Delta f(x)$. On an invariant tube containing the exact and discrete iterates we have
\[
\Norm{\varphi_\Delta(x)-E_\Delta(x)}\le \tfrac12 M\Delta^2.
\]
If the initial states coincide and $n\Delta\le T$, iteration of $e_{j+1}\le(1+L\Delta)e_j+M\Delta^2/2$ gives
\begin{equation}
e_n\le \frac{M\Delta}{2L}(\ee^{LT}-1).
\label{eq:euler}
\end{equation}
For $L=0$ take the continuous limit. The constant and the horizon matter. For $\dot x=-a x$, $a>0$, the exact multiplier is $\ee^{-a\Delta}$ and Euler's is $1-a\Delta$. The latter has modulus below one precisely for $0<a\Delta<2$. A computed alternating divergence beyond this boundary is a property of the discrete method. An exact sample of the same continuous trajectory always decays.
The $z$ form in the book can also be obtained as a genuine sampled behavior. Hold the scalar input at $u_j$ on $[j\Delta,(j+1)\Delta)$ for $\dot x=-a x+bu$. Integration gives
\[
x_{j+1}=\lambda x_j+\tfrac{b}{a}(1-\lambda)u_j,
\qquad \lambda=\ee^{-a\Delta}.
\]
With $x_0=0$ and output $x_j$ at the sample time, the unilateral transfer function is $(b/a)(1-\lambda)/(z-\lambda)$. A one-step delay is present between the input command and its effect on the sampled state. Changing the sampling phase or using $\dot x$ as the observation changes the ports of this calculation. The exact recurrence supplies comparison data for a numerical simulation.
\section{Phase portraits and mechanical memory}\label{s:phase}
\src{ch.~3, especially \S\S3-5, 3-7--3-11 and 3-14}
\subsection{An orbit with and without a clock}
For $\dot q=v$, $\dot v=F(q,v)$ the slope of a phase curve is $F/v$ where $v\ne0$. Travel time is $\int \dd q/v$ on a monotone chart; at a turning point one may instead use $\dd t=\dd v/F$ if $F\ne0$. Multiplication of the vector field by a strictly positive function preserves oriented geometric arcs and changes these integrals. Thus a phase-plane identification can transport a reachability claim yet change both settling time and closed-loop phase lag.
For example, on the plane in polar form let
\[
\dot r=\mu r-r^3,\qquad \dot\theta=1.
\]
At $\mu>0$, the positive invariant circle has radius $\sqrt{\mu}$ and period $2\pi$. The variational radial equation there is $\dot \xi=-2\mu\xi$. A transversal return has multiplier $\exp(-4\pi\mu)$, so the orbit attracts nearby initial radii. The tangent direction has the neutral multiplier $1$ associated with a shift of phase. For $\mu<0$ every positive radius decreases to zero. At $\mu=0$ the decay is algebraic. Dividing out rotations keeps the radial equation and collapses each circle to a point. It preserves the amplitude of this oscillation but removes the time at which an attached sensor sees a crest. Figure~\ref{f:phase} shows the quotient and a phase-sensitive observation of the same run.
\fpic{phase}{A radial oscillator with $\mu=1$. The same three initial radii are shown in state space and as functions of time. Two initial angles on any one radius have identical radial traces and different horizontal readouts.}{f:phase}
\subsection{Stiction is a set of reactions}
Let a spring of stiffness $k>0$ act on a mass $m>0$ with viscous damping $d>0$ and dry friction level $F_c>0$. With drive $u$, one idealization is
\[
\dot q=v,\quad m\dot v=u-kq-dv-\eta,\qquad
\eta\in F_c\,\mathrm{Sign}(v),
\]
where $\mathrm{Sign}(0)=[-1,1]$ and away from zero it is the singleton $\{\sgn v\}$. An absolutely continuous state is paired with a measurable friction selection satisfying the inclusion almost everywhere. From rest with $|u-kq|\le F_c$ and a constant drive, $\eta=u-kq$ supplies a sticking solution. When the load lies strictly outside the interval, no stationary solution exists. Setting $\sgn(0)=0$ in a numerical program removes equilibria with nonzero load balanced by static friction.
For $u=0$ the energy $E=mv^2/2+kq^2/2$ satisfies
\[
\dot E=-dv^2-F_c|v|
\]
almost everywhere. Its equilibrium set contains exactly the points $v=0$, $|kq|\le F_c$. Nonincreasing energy cannot imply convergence to the origin for every initial condition because a nonzero point in this strip can remain at rest forever. The observable set of possible static positions is itself a design specification. The inclusion uses equal breakaway and sliding force; distinct levels require a mode or a more detailed friction law.
\subsection{Backlash as an observed state constraint}
Let $q$ be input position, $y$ output position and $b>0$ the half-width of ideal play. With $e=q-y\in[-b,b]$, require for almost all times
\[
\dot y\in N_{[-b,b]}(e).
\]
The outward normal cone is $\{0\}$ in the interior, $[0,\infty)$ at $b$, and $(-\infty,0]$ at $-b$. For an absolutely continuous input, $y$ is constant while the gap is open. In contact at $b$, outward motion of $q$ makes $y$ follow it; motion directed back into the gap releases the contact. For a nondecreasing input beginning at $(q_0,y_0)$ with $|q_0-y_0|\le b$, the exact formula is $y(t)=\max(y_0,q(t)-b)$. For a nonincreasing piece it is $\min(y_0,q(t)+b)$. These formulas concatenate on a piecewise monotone drive when the output state is retained at each joint.
For two compatible outputs on the same input, monotonicity of the normal cone implies $(\dot y_1-\dot y_2)(e_1-e_2)\ge0$. Since $e_1-e_2=-(y_1-y_2)$, the squared distance of the two outputs cannot increase. This proves uniqueness for an initial $y_0$ whenever solutions exist; the monotone-piece formulas provide them for the inputs just considered. Two trials with the same instantaneous $q=0$ can nevertheless have any $y_0\in[-b,b]$. A memoryless graph $q\mapsto y$ cannot encode these initialization and concatenation laws. Eliminating a contact variable is justified only if one can reconstruct the missing state or prove that every future use is insensitive to it.
\section{Periodic signals and their harmonics}\label{s:harm}
\src{ch.~4, especially \S\S4-3--4-5, 4-10 and 4-15--4-17}
\subsection{A projection with a specified experiment}
On a fixed period $2\pi/\omega$, write $\theta=\omega t$, with reference input $A\sin\theta$. Use the convention
\begin{align*}
P_1y&=b_1\sin\theta+a_1\cos\theta,\\
N(A,\omega)&=(b_1+i a_1)/A .
\end{align*}
For instance $b_1=\pi^{-1}\int_0^{2\pi}y(\theta)\sin\theta\,\dd\theta$. A memory element needs a specified periodic state branch before this output is single-valued. Changing time origin rotates both input and output phasors. Taking their ratio is permissible when the input fundamental is nonzero. The exact periodic state problem requires matching all harmonics and the internal state across a period.
For symmetric saturation $\sat_M(x)=\max(-M,\min(x,M))$, with unit small-signal slope, $N=1$ when $A\le M$. For $r=M/A<1$, splitting the quarter-wave integral at $\arcsin r$ gives
\begin{equation}
N_{\rm sat}(A)=\tfrac{2}{\pi}
\bigl(\arcsin r+r\sqrt{1-r^2}\bigr).
\label{eq:satN}
\end{equation}
The imaginary coefficient vanishes by symmetry. In the large-amplitude limit the leading term is $4M/(\pi A)$. This agrees with replacing the saturated output by a square wave in the fundamental calculation. Dead zones, bias and asymmetric limits break some of these simplifications. For a biased forcing one must impose the mean equation as well as the two fundamental coefficient equations.
\begin{proposition}[Harmonic projection does not preserve cascades]\label{pr:cubic}
For two identical static cubers $f(x)=x^3$ driven by $\sin\theta$, the exact output fundamental is $(126/256)\sin\theta$. Projecting after the first cuber and again after the second gives $(81/256)\sin\theta$.
\end{proposition}
\begin{proof}
The coefficient of $\sin\theta$ in $\sin^{2m+1}\theta$ is $2^{-2m}{2m+1\choose m}$. Apply this with $m=4$ to the exact output $\sin^9\theta$. The intermediate projection is $(3/4)\sin\theta$, whose cube has fundamental $(3/4)^4\sin\theta$. The discarded third harmonic mixes back into the fundamental at the second device. \end{proof}
For a stable linear plant with periodic response operator $G$, negative feedback through $\phi$ and a prescribed periodic disturbance $r$, write the internal equation $x=r-G\phi(x)$. In an autonomous oscillation with a candidate first harmonic, the usual phasor equation is $1+G(i\omega)N(A,\omega)=0$. Both its existence and its absence concern a projected ansatz. Feedback is a limit of a diagram; $P_1$ is a linear projection on a signal space. Proposition~\ref{pr:cubic} already prevents its interpretation as a wiring-preserving functor for this class.
\subsection{Why the observation needs a full period}
There is also a locality obstruction. Suppose a morphism of the time-window sheaves of smooth signals were to implement periodic $P_1$ on a whole period circle, sending the result back to a time signal. Take a nonzero, nonnegative smooth bump supported inside the positive half-cycle of $\sin\theta$, and a nonempty open arc $J$ outside its support. Compare the bump with the zero signal. They agree on $J$, but the bump has positive sine coefficient. Its fundamental is a nonzero sinusoid and therefore cannot vanish identically on $J$. Naturality under restriction to $J$ would give the same output for both inputs on $J$, a contradiction.
To record a harmonic as an observation, the experimental object must include a complete period or a state that accumulates the two Fourier integrals and reports them at an endpoint. The integrals over adjacent windows add with a common phase reference; changing that reference rotates the coefficient pair. This extension makes the required memory and phase convention explicit. It distinguishes two independent failures: projecting intermediate signals can change the final harmonic, and computing a period coefficient itself requires access to a full window.
\subsection{An error estimate and a remaining equation}
There are quantitative conditions under which a projection is informative. On the real periodic Hilbert space $H=L^2_{\rm per}$ with normalized period integral, let $P$ be orthogonal projection onto retained Fourier modes, $Q=1-P$ and $G:H\to H$ bounded. Suppose the pointwise nonlinearity is globally $L$-Lipschitz. Fix a trial low-mode signal $v=Pv$. The high-mode equation for $w=Qw$ is
\begin{equation}
w=Q\{r-G\phi(v+w)\}.
\label{eq:high}
\end{equation}
\begin{proposition}[Recovering the discarded modes]\label{pr:tail}
If $\kappa=L\|QG\|<1$, equation~\eqref{eq:high} has a unique solution $w(v)$ for each $v$, and
\[
\|w(v)\|\le
\frac{\|Q(r-G\phi(v))\|}{1-\kappa}.
\]
The full periodic equation holds precisely when the remaining residual $v-P\{r-G\phi(v+w(v))\}$ vanishes.
\end{proposition}
\begin{proof}
The right side of~\eqref{eq:high} is a $\kappa$-contraction of the closed subspace $QH$. Compare its fixed point with its value at zero. The low-mode residual supplies the complementary orthogonal projection of the full equation. \end{proof}
For a periodic LTI Fourier multiplier, $\|QG\|$ is the supremum of $|G(i n\omega)|$ over discarded integer modes. A large DC gain must be included if the mean is discarded. The criterion can be much sharper than a contraction requirement on all of $G$. If additionally $L\|G\|<1$, any periodic candidate $z$ has the full a posteriori bound $\|x-z\|\le\|z-r+G\phi(z)\|/(1-L\|G\|)$. A relay with hysteresis has memory and threshold discontinuities. The contraction estimate does not apply to it without further structure.
\subsection{Multiple amplitudes and longer periods}
For the damped Duffing oscillator
\[
\ddot x+2\zeta\omega_0\dot x+\omega_0^2x+\beta x^3
=F\cos\omega t ,
\]
use $x=A\cos(\omega t-\delta)$. Eliminate the phase between the two fundamental equations to obtain
\begin{align*}
F^2&=A^2\{D(A)^2+(2\zeta\omega_0\omega)^2\},\\
D(A)&=\omega_0^2-\omega^2+3\beta A^2/4 .
\end{align*}
A fold of the projected response at fixed $\omega$ satisfies $\partial_A[A^2\{D(A)^2+(2\zeta\omega_0\omega)^2\}]=0$ for $A>0$. This condition diagnoses a possible jump under a parameter sweep. Testing stability and a switch between attracting branches requires the full dynamics, initial state and sweep protocol. In particular the discarded third-harmonic forcing has amplitude $|\beta|A^3/4$. Its effect depends on the response of the system at $3\omega$.
Time periodicity also changes the state-matching problem. If $S_T$ is the stroboscopic state map for forcing period $T$, a subharmonic response of exact order $k$ satisfies $S_T^k(x)=x$ and $S_T^d(x)\ne x$ for each proper divisor $d$ of $k$. Solving a balance equation on the $T$-circle excludes these responses by its choice of domain. In the discrete classical state case use ordinary equality at this port. An intentional quotient by a spatial symmetry asks a further question, whether the state has returned up to that symmetry. It can shorten an observed period.
\section{Random inputs and statistical transfer}\label{s:stoch}
\src{ch.~5, especially \S\S5-3--5-6}
\subsection{A random component carries its coupling}
For a stochastic observation choose standard Borel signal spaces on the stated finite windows (continuous paths with the sup metric are one example). A Markov kernel $K:X\rightsquigarrow Y$ assigns a probability measure $K(x,-)$ measurably in $x$. In a serial experiment with the specified conditional independence the composite law is
\[
(L K)(x,C)=\int_Y L(y,C)\,K(x,\dd y).
\]
Copying a realized input to two devices gives a shared sample. Drawing from its law independently gives a different joint experiment. These are standard distinctions of Markov-category semantics~\cite{fritz}. The deterministic matching theorem of Section~\ref{s:wiring} concerns behavior objects. A stochastic feedback law requires a compatible joint construction, such as a causal recursion with specified innovations or a well-posed stochastic differential equation. Assigning unrelated marginal path laws to the two ports does not provide that construction.
For example, let $Z$ be an equiprobable sign, with two sensors reporting it. Their marginals are identical to the marginals of two independent signs. A differential readout $Y_1-Y_2$ is zero with probability one in the shared experiment and with probability $1/2$ in the independent one. Both models agree with every single-sensor histogram. Carrying the latent signal and its law through the wiring determines which prediction is warranted.
\subsection{The Gaussian gain and the spectrum}
Let $X\sim N(0,\sigma^2)$ and let $f$ be absolutely continuous with integrable derivative under this law, with sufficient growth control for integration by parts; a Lipschitz $f$ suffices. Since $x p_\sigma(x)=-\sigma^2 p'_\sigma(x)$,
\[
k_\mu=\E[X f(X)]/\sigma^2=\E[f'(X)] .
\]
For $f(x)=\sat_M(kx)$ with $k,M>0$ the derivative is $k$ on $|x|<M/k$ and zero elsewhere almost everywhere. Thus $k_\mu=k\,\operatorname{erf}(M/(\sqrt2 k\sigma))$. The tangent gain at the origin is $k$ and Equation~\eqref{eq:satN} uses a sinusoidal input law. An amplifier has a distribution of output mass at its saturation values as well as a density in between, so even a Gaussian input need not produce a Gaussian output.
For a zero-mean jointly Gaussian stationary process, the Gaussian regression formula gives
\[
\E[X(t-\tau)f(X(t))]=k_\mu R_X(\tau).
\]
Indeed $\E[X(t-\tau)\mid X(t)]=R_X(\tau)X(t)/\sigma^2$. The residual $f(X)-k_\mu X$ is uncorrelated with the input at every lag. Independence of that residual would be a stronger condition. Feedback can also invalidate the Gaussian input assumption used in this derivation. Bussgang-type decompositions and their assumptions are discussed in~\cite{bussgang}.
If $y=g*u+v$ is stationary, $g$ is an absolutely integrable impulse response, and $v$ is uncorrelated with $u$ at every lag, Fourier transformation gives $S_{yu}=G S_{uu}$ using the output--input cross-spectrum convention. Identification by the quotient works at excited frequencies $S_{uu}>0$. In a closed loop the disturbance can drive the input and make $S_{vu}\ne0$. Introducing a known independent external probe and using its cross-spectrum is then an identifiable experiment when the relevant input--probe spectrum is nonzero.
\subsection{An exactly sampled noise process}
For $a,\sigma>0$, the scalar model $\dd X=-aX\,\dd t+\sigma\,\dd W_t$ gives
\[
X_{j+1}=\lambda X_j+\eta_j,\qquad
\eta_j\sim N\!\left(0,\frac{\sigma^2}{2a}(1-\lambda^2)\right)
\]
with $\lambda=\exp(-a\Delta)$ and independent innovations, also independent of the past. The formula follows by integrating with factor $\exp(at)$ and using the Itô isometry. The stationary variance is $\sigma^2/(2a)$, recovered from the fixed variance equation of the discrete recursion. Replacing each innovation by a fresh draw of variance $\sigma^2\Delta$ is the Euler noise prescription and gives a different finite-step variance if paired with the exact multiplier. Coupling two approximations to the same Brownian increments is necessary when measuring a pathwise error. Matching the two variances would test only a moment of their laws.
\section{Hysteresis, events and an exact limit cycle}\label{s:relay}
\src{ch.~6, especially \S\S6-3--6-6, together with ch.~4, \S4-5}
\subsection{Executions with a mode}
Use the disjoint mode charts $(x,+)$ and $(x,-)$ for the thermal chamber. The rising chart flows at $a(K-x)$ until $x=h$. Its event changes $+$ to $-$ and leaves $x$ continuous. The falling chart flows at $a(-K-x)$ until $x=-h$, then changes back to $+$. We use mandatory switching on arrival, post-event modes at the switch time, and consistent initial states. A hybrid history contains its ordered events, one-sided states and intervening flows. It can be restricted to subwindows, retaining the incoming germ if an event lies on the boundary of an endpoint problem. Equivalence of two such histories preserves physical event times and modes, apart from any explicitly declared relabeling. A time warp of an approximate trace needs a separate error measure.
Mode histories on an open cover glue when their restrictions, event records and continuous coordinates agree. On the chamber's cycle the positive dwell time proved below implies locally finite events. General hybrid systems require their own rules about simultaneous events, accumulation and continuation. The standard hybrid-inclusion framework provides tools for such questions~\cite{hybrid}. Relay models with different plant orders and switching surfaces can have substantially more involved switching behavior~\cite{chatrelay}.
\begin{theorem}[A periodic orbit missed by first-harmonic balance]\label{th:relay}
For $a>0$ and $0<h<K$, the continuous chamber has a two-switch periodic orbit, unique up to time origin among alternating periodic executions. Its period is
\begin{equation}
T=\frac{2}{a}\log\frac{K+h}{K-h}. \label{eq:period}
\end{equation}
The usual sinusoid-in, first-harmonic-out negative-feedback balance for the very same plant and hysteron has no finite positive frequency solution with input amplitude $A>h$.
\end{theorem}
\begin{proof}
Start immediately after the lower switch. Until the upper switch,
$x(t)=K-(K+h)\exp(-at)$. It reaches $h$ at time $D=a^{-1}\log((K+h)/(K-h))$. The reflected falling arc returns exactly to $(-h,+)$ after a further $D$. Each arc is strictly monotone before arrival. An alternating periodic execution passes through the same post-event state at the lower switch, where its future is unique. Each guard is transversal since the incoming speed has magnitude $a(K-h)>0$.
For the frequency calculation, let $\rho$ switch to $+1$ on the rising $h$ crossing and to $-1$ on the falling $-h$ crossing. The thermal command is $m=-\rho(x)$. For $x=A\sin\theta$, set $\alpha=\arcsin(h/A)$. The periodic relay output is $\sgn\sin(\theta-\alpha)$, whose first harmonic is $(4/\pi)\sin(\theta-\alpha)$. Hence
\[
N_h(A)=\frac{4}{\pi A}
\big(\sqrt{1-(h/A)^2}-i\,h/A\big).
\]
The plant from $m$ to $x$ is $G(s)=aK/(s+a)$. The open-loop product $G(i\omega)N_h(A)$ has phase $-\arctan(\omega/a)-\alpha$, strictly between $-\pi$ and $0$ for finite $\omega>0$. It never equals the negative real number $-1$. At $A=h$, even allowing a switch at a touching peak, the plant's phase still exceeds $-\pi/2$ and finite-frequency closure fails. An amplitude below $h$ cannot switch a sinusoid-driven relay twice per cycle. \end{proof}
\subsection{How the lost harmonic affects a switch}
The periodic command $m$ is an exact unit square wave. Its fundamental has amplitude $4/\pi$. The chamber thus has temperature fundamental
\begin{equation}
A_1=\frac{4K}{\pi\sqrt{1+(\omega/a)^2}},
\qquad \omega=\frac{2\pi}{T}. \label{eq:tempA}
\end{equation}
For $a=1$, $K=2$, $h=1$, this gives $A_1=0.840586\ldots$ although the actual temperature reaches both $\pm1$. Feeding the temperature fundamental alone into the relay produces no crossings. The physical crossing occurs just where the velocity changes discontinuously after the event. Figure~\ref{f:relay} compares the traces. This failure arises even though the plant is stable, linear, first order, and exactly known. Its higher harmonics matter through a threshold operation.
\fpic{relay}{Top, the exact temperature and its fundamental for $a=1$, $K=2$, $h=1$. Bottom, the mode changes at the reaches of the actual waveform. The fundamental stays strictly between both switching levels.}{f:relay}
There is a useful independent check on orbital attraction. Append a passive readout $\dot z=-\lambda z+\gamma x$ with $\lambda>0$ and real $\gamma$. It has no effect on switching. On the section immediately after the lower switch its return is
\[
z\longmapsto\ee^{-\lambda T}z+
\gamma\int_0^T\ee^{-\lambda(T-s)}x(s)\,\dd s .
\]
Its derivative has modulus $\ee^{-\lambda T}<1$. In the chamber alone that section consists of one state, so it has no nontrivial transversal coordinate. Adding the readout exhibits a genuine transversal multiplier without mistaking time translation for a decaying perturbation. The time for the first arrival depends smoothly on the starting temperature on a consistent rising branch. It becomes poorly conditioned as $K-h$ becomes small.
\subsection{Period as symmetry of a timed history}
For an autonomous system consider histories on a circle of prescribed duration $P$. Keep absolute time stamps if the experiment has a clock origin. If the origin is unobserved, the translation group $S^1_P=\R/P\Z$ acts by $x(t)\mapsto x(t+s)$, with the same translation on the mode and event histories. We can now take the action groupoid of this specified symmetry. This construction is applied to periodic histories and is additional to the port equalities used to form them.
\begin{proposition}[Repeated orbits have isotropy]\label{pr:periodgroup}
Let a nonconstant full history have least period $T$ and set $P=kT$ for an integer $k\ge1$. Its orbit in the groupoid of $P$-periodic histories modulo time origin is equivalent to $BC_k$, with $C_k$ the cyclic group of order $k$. An equivariant observation can increase the stabilizer and thereby decrease the least observed period.
\end{proposition}
\begin{proof}
The stabilizing shifts are precisely $0,T,\ldots,(k-1)T$ modulo $P$. An action groupoid restricted to a transitive orbit is equivalent to the one-object groupoid of the stabilizer. The same statement for these smooth homogeneous orbits follows from $[\, (S^1_P/C_k)/S^1_P\,]\simeq BC_k$. If a shift fixes the full history it also fixes its observation, giving the asserted stabilizer inclusion. \end{proof}
For a scalar $P$-periodic readout in $L^2$, let $c_j$ be its complex Fourier coefficients. Translation by $s$ multiplies $c_j$ by $\exp(2\pi i j s/P)$. For a nonconstant signal the stabilizer has order $\gcd\{|j|:j\ne0,\ c_j\ne0\}$ by Fourier uniqueness (as an almost-everywhere signal). This gives an observable test of the proposition. The chamber's signed temperature has a nonzero first harmonic on its primitive period. Its squared temperature has the extra invariance $x(t+D)^2=x(t)^2$ and therefore repeats after at most half that period. The phase of a marked temperature peak, the equivalence class of an unmarked run, and the isotropy of a multiple traversal answer different experimental questions.
\subsection{A higher-order motor-load plant}
For a stable linear stage with state $\xi\in\R^d$, $\dot\xi=A\xi+bm$ and observed deflection $c^\top\xi$, the scalar calculation generalizes to a matrix boundary problem. Let $\Phi(D)=\exp(AD)$ and $b_D=\int_0^D\exp(As)b\,\dd s$. A symmetric rise from $-X$ to $X$ with $m=+1$ requires
\[
X=(I+\Phi(D))^{-1}b_D,\qquad c^\top X=h.
\]
When $A$ is Hurwitz the inverse exists for $D>0$. The guard must stay below $h$ at every earlier time on the rising arc, and the two resets must be consistent. Symmetry then verifies the falling arc. For $d=1$, $A=-a$ and $b=aK$ this reproduces the exact $\tanh$ formula. For a second- or third-order plant the observation can turn before it reaches the proposed guard. An algebraic root for $D$ must therefore be checked against the entire intervening trajectory. The check identifies the first hitting time that a physical relay will use.
\subsection{Sensitivity at a guard}
Let an autonomous guard $g(x)=0$ have normal $n=\nabla g(x^-)$ and let $R$ be a smooth reset to the next chart. Write $f^-$ for the incoming vector and $f^+$ for the outgoing vector at $R(x^-)$. If $n^\top f^-\ne0$, a small pre-event perturbation $\xi^-$ shifts the event time by $\delta t=-n^\top\xi^-/(n^\top f^-)$. Bring the perturbed post-reset state back to the nominal clock time. The result is
\begin{equation}
\xi^+=\left(DR+
\frac{(f^+-DR f^-)\,n^\top}{n^\top f^-}\right)\xi^- .
\label{eq:salt}
\end{equation}
The two time corrections come from flowing to the displaced guard and flowing back in the new chart. This is the autonomous saltation matrix~\cite{saltation}. For the chamber at the upper event $R$ is the identity on $x$, yet the multiplier for fixed-time perturbations at that event is $-(K+h)/(K-h)$. Including both flow factors and both event factors around a full period gives one in the time-shift direction. Treating a mode change as the identity tangent map would miss this check. At a grazing event the denominator can vanish and the formula no longer provides a derivative.
\section{Optimum, quasi-optimum and dual-mode servos}\label{s:optimal}
\src{ch.~7, especially \S\S7-2--7-4, 7-6 and 7-10}
\subsection{Feasible histories and their costs}
Attach a nonnegative travel time to every admissible endpoint-to-endpoint trajectory. Fixed-endpoint histories form a fiber of the behavior over the two endpoint states. Gluing compatible histories adds their costs. Taking the infimum yields the dynamic programming composition law when admissible controls can be split and concatenated and all intermediate states are allowed. For a fixed pair of stage durations, the infimum of the total running cost is
\[
V_{s+t}(x,z)=\inf_y\{V_s(x,y)+V_t(y,z)\}.
\]
Use $+\infty$ for an empty feasible set; the running cost must actually be additive across the joint. In the two inequalities proving the identity, split any feasible trajectory at $s$, then concatenate $\epsilon$-optimal pieces at each feasible $y$. Attainment is additional information. This is composition of cost-valued relations over the min-plus operations. It forgets the set of optimizing histories, which may matter when a later component can observe an internal path.
\subsection{An exact switching surface}
Consider a positioning table $\dot q=v$, $\dot v=u$, with $|u|\le a$. To arrive at the origin with zero velocity, maximum braking from a state with $v\ne0$ covers signed distance $v|v|/(2a)$. Consequently the final braking arc must start on
\begin{equation}
q+\frac{v|v|}{2a}=0. \label{eq:bang}
\end{equation}
For a rest-to-rest motion from $q_0>0$ the minimum time is $2\sqrt{q_0/a}$. Indeed $|v(t)|\le a\min(t,T-t)$ for any candidate of duration $T$. Thus $q_0\le\int_0^T|v|\,\dd t\le aT^2/4$. The bound is attained by $u=-a$ for the first half and $u=+a$ for the second half. At the switch $q=q_0/2$ and $v=-\sqrt{a q_0}$. This geometric proof gives the lower bound as well as an actual optimizing control. The maximum-principle derivation and general initial-state synthesis for the double integrator are given by Liberzon~\cite{liberzon}.
For viscous damping $\dot v=u-bv$ with $b>0$, maximum braking from speed $s=|v|$ reaches rest after $t_b=b^{-1}\log(1+bs/a)$. Its signed travel is
\[
\sgn(v)\left[\frac{s}{b}
-\frac{a}{b^2}\log\!\left(1+\frac{bs}{a}\right)\right].
\]
Add this quantity to $q$ to obtain the damped final braking surface. Expansion at $b=0$ recovers Equation~\eqref{eq:bang}. Replacing the undamped plant by the damped one while keeping its control and position ports preserves the algebra of the wiring diagram. It changes the optimum transition guard. Time-optimality is a property of the feasible trajectories, dynamics and cost together.
\subsection{Handover into a linear capture region}
A dual-mode design can use a large-signal relay and a small-signal linear law. Its handover needs a set on which the small-signal dynamics really respect the actuator bound. For $\dot q=v$, $\dot v=u$, take $u_\ell=-kq-dv$, $k,d>0$, and
\[
V=(kq^2+v^2)/2,\qquad
C_c=\{(q,v):V(q,v)\le c\}.
\]
Cauchy--Schwarz in the $(\sqrt{k}q,v)$ coordinates gives $|kq+dv|\le\sqrt{2c(k+d^2)}$. If $0<c\le a^2/[2(k+d^2)]$, the linear law is admissible on $C_c$. There $\dot V=-dv^2$. The only trajectory permanently contained in $\{v=0\}$ has $q=0$, so the invariant-set argument gives convergence on $C_c$. For ideal handover use a latch that selects the linear mode on first entry; the position and speed have identity reset.
The high-power mode must still reach $C_c$. For the ideal rest-to-rest command above, along the final braking arc $q=v^2/(2a)$ for $v\le0$, hence $V=k v^4/(8a^2)+v^2/2$ decreases to zero. Every positive $C_c$ is reached before the nominal stop. With $a=k=d=1$, $q_0=2$, and $c=1/4$, entry occurs at $v=-\sqrt{-2+\sqrt6}$ and $q=(-2+\sqrt6)/2$. This exact pair satisfies both the entry guard and the actuator bound. Figure~\ref{f:brake} draws the optimal approach, the admissible ellipse and the subsequent linear response. The hybrid design gives feasibility and convergence. Counting the final approach as minimum-time would require a separate performance proof, since a linear tail reaches the equilibrium asymptotically.
\fpic{braking}{The table moves from $(2,0)$ towards the origin. After an initial acceleration and a braking arc it enters $V\le1/4$ and switches to linear feedback. The dashed curve is the time-optimal switching surface for the undamped plant.}{f:brake}
\section{Nonlinear compensation and input shaping}\label{s:comp}
\src{ch.~8, especially \S\S8-2--8-4 and 8-7}
\subsection{Saturated gain and velocity damping}
Consider a stage whose closed-loop restoring force is position-limited:
\begin{equation}
\dot q=v,\qquad m\dot v=w-\sat_M(kq)-d(v).
\label{eq:stage}
\end{equation}
Here $M,k,m>0$, $w$ is an external load, and $d$ is locally Lipschitz with $d(0)=0$ and $v d(v)>0$ for $v\ne0$. The potential $U(q)=\int_0^q\sat_M(ks)\,\dd s$ equals $kq^2/2$ for $|q|\le M/k$ and $M|q|-M^2/(2k)$ outside. With $E=mv^2/2+U$,
\[
\dot E=wv-vd(v).
\]
At zero load the energy is proper, the sublevels are invariant and bounded, and the largest invariant subset of $v=0$ is $(0,0)$. Local regularity, boundedness and continuation give global forward solutions and global asymptotic stability by LaSalle's principle~\cite{khalil}. Strict local linearization alone would only test the unsaturated neighborhood. Exponential estimates from a quadratic potential do not directly extend to the linear tails of $U$.
Clipping a velocity-feedback path realizes, for example, $d(v)=d_0v+d_1\sat_M(v)$ with $d_0,d_1>0$. It provides larger small-signal damping and a bounded extra command at high speed. The two branch laws match at the thresholds, and each dissipates the same physical supply. A constant load with $|w|>M$ admits no static equilibrium, since $d(0)=0$ and the restoring element cannot balance it. For $|w|<M$ there is one equilibrium $q=w/k$ at rest. Biasing the potential by $-wq$ restores a proper Lyapunov function in the latter regime. These conclusions depend on the bound being applied to the restoring force. Saturating the sum of restoring and damping commands is a different wiring.
\subsection{Amplitude-dependent phase lead and lag}
A deliberately nonlinear phase network can be built with a first-order memory state $z$ and a feedthrough path. Take smooth real functions $\alpha(u,z)$ and $\tau(u,z)>0$ and set
\[
\dot z=(u-z)/\tau(u,z),\qquad
y=z+\alpha(u,z)(u-z).
\]
At a constant operating point $u=z=r$ write $\tau_0=\tau(r,r)$, $\alpha_0=\alpha(r,r)$. All derivatives of these two coefficients multiply $u-z=0$, so the local transfer from $\delta u$ to $\delta y$ is
\[
H_r(s)=\frac{1+\alpha_0\tau_0s}{1+\tau_0s}.
\]
For $\alpha_0>1$ the zero occurs below the pole in frequency and the network gives phase lead. For $0<\alpha_0<1$ it gives phase lag. For example $\tau\equiv1$, $\alpha(u,z)=1+\tfrac12\tanh u$ yields lag near negative constant inputs and lead near positive ones. Thus the operating point indexes a family of exact tangent networks. Across a large excursion the derivatives of $\alpha,\tau$ enter the variational equation and the state $z$ carries memory as it crosses from one operating region to the next. Cascading the frozen transfer functions along that excursion would omit these terms. This example supplies a simple state-space interpretation of the book's separate nonlinear lead and lag designs.
\subsection{A two-pulse posicast experiment}
Let a linear stage have one isolated underdamped pole pair $p,\bar p$ with $p=-\sigma+i\omega_d$, $\sigma,\omega_d>0$. Split a reference command between the present and a copy delayed by $\tau=\pi/\omega_d$. In Laplace variables this is a prefilter $H(s)=w_0+w_1\exp(-s\tau)$. Put
\begin{align*}
K_d&=\exp(-\sigma\tau),\\
w_0&=1/(1+K_d),\qquad w_1=K_d/(1+K_d).
\end{align*}
Then $H(0)=1$ and $\exp(-p\tau)=-1/K_d$, so $H(p)=H(\bar p)=0$. For zero initial state, a step input and simple poles, their residues in the post-delay response vanish. This is a time-domain compensation method with a delay state (a history buffer), an instance of the input-shaping principle~\cite{shaping}. It uses additional settling time to cancel a specified oscillatory mode.
If the actual pole is $p+\delta$, differentiation gives $H'(p)=\tau w_0$ and the remnant is $\tau w_0\delta+O(|\delta|^2)$. This provides a sensitivity calculation with units. During saturation the plant no longer superposes the responses to its two delayed pulse weights. The cancellation theorem applies on a certified unsaturated region or to the stated linear plant. The wiring diagram for inserting the delay and sum can still be composed for a saturated stage. What fails is the linear identity used to infer pole cancellation.
\section{Adaptation and observational equivalence}\label{s:adapt}
\src{ch.~9, especially \S\S9-2, 9-4--9-6}
\subsection{A parameter in a family and an estimate in time}
A constant unknown $\theta$ indexes a family of plants. Its estimate $\hat\theta(t)$ is an internal state of a controller. A change of coordinates on the parameter manifold transforms the family by reindexing. The update law for $\hat\theta$ must be pushed forward as a vector field if it is to describe the same controller. For instance, if $\vartheta=\theta^3$ away from zero then $\dot{\hat\vartheta}=3\hat\theta^2\dot{\hat\theta}$. Writing identical increments in both parameter coordinates generally yields different trajectories, even when both controllers start with estimates of the same plant.
For a concrete regulator let $\dot x=\theta x+u$, $k,\gamma>0$, and use
\[
u=-kx-\hat\theta x,\qquad
\dot{\hat\theta}=\gamma x^2 .
\]
Write $\widetilde\theta=\theta-\hat\theta$. The augmented closed-loop equations give
\[
V=x^2/2+\widetilde\theta^2/(2\gamma),
\qquad \dot V=-kx^2.
\]
Proper sublevels yield boundedness and global forward existence. The largest invariant set in $x=0$ is the entire parameter line there. Hence $x(t)\to0$ and trajectories approach this equilibrium set. When $x(0)=0$, every initial estimate remains fixed forever. A regulation error tending to zero is therefore compatible with a nonzero parameter error. An estimate of a physical parameter cannot be inferred just from the success of this control objective.
\subsection{Experiment design changes the observation fiber}
In the noise-free scalar regression $y(t)=\theta v(t)$, two parameter values with the same input and output satisfy
\[
(\theta-\theta')^2\int_0^T v^2\,\dd t=0.
\]
A single trial with positive input energy distinguishes all scalar parameters; with $v=0$ the observation fiber is all of $\R$. For the online update $\dot{\hat\theta}=\gamma v(y-\hat\theta v)$ the parameter error obeys
\[
\widetilde\theta(t)=\widetilde\theta(0)
\exp\!\left[-\gamma\int_0^t v(s)^2\,\dd s\right].
\]
Thus infinite cumulative energy guarantees asymptotic convergence. If every window of length $T_0$ has energy at least $\alpha>0$, the error contracts by at least the factor $\exp(-\gamma\alpha)$ per full window, yielding an exponential bound. A finite pulse can identify the parameter algebraically and still leave a nonzero error in this particular online estimator. Identifiability and convergence of a chosen estimation law have different hypotheses.
For a vector parameter $\theta\in\R^d$ with $y=v^\top\theta$ the information in one exact trial is the Gram matrix $M=\int vv^\top\,\dd t$. The indistinguishable parameters form $\theta+\ker M$. Joining independent experiments adds their Gram matrices and intersects their kernels. In the case $d=2$ a constant probe $v=(1,1)$ leaves the line $\theta_1+\theta_2=y$. A second equal-duration probe $(1,-1)$ makes the combined matrix a positive multiple of the identity. This is a concrete base change and intersection of observation fibers. In a stochastic experiment its analogue requires a likelihood and a noise law.
\subsection{Extremum seeking at two time scales}
One form of self-adaptation injects a small sinusoidal trial into a scalar setting. For a static $C^3$ performance curve $J$ and fixed $p$, multiply $J(p+\epsilon\sin\theta)$ by $\sin\theta$ and average over the entire period. Taylor's theorem on the dither interval gives
\[
\frac1{2\pi}\int_0^{2\pi}J(p+\epsilon\sin\theta)
\sin\theta\,\dd\theta
=\frac{\epsilon}{2}J'(p)+O(\epsilon^3).
\]
The constant is controlled by a local bound on $|J'''|$. Hence a synchronous measurement can estimate the gradient of a static response, even when the absolute response is biased by an unknown constant. Using the estimate to evolve $p$ inside a dynamic feedback loop requires bounds on change during the averaging window and on the plant's transient response. The fixed-parameter identity identifies the experiment behind the update law, and by itself proves no closed-loop averaging limit.
\section{Analog realization, digital clocks and experiments}\label{s:sim}
\src{ch.~10, especially \S\S10-2--10-3 and 10-5--10-8, with ch.~2, \S2-11}
\subsection{Exact changes of units and approximate realizations}
An ideal analog integrator imposes $\dot x=u$. A summer and a memoryless nonlinear function impose their respective algebraic graphs. Connecting two integrators to $\dot q=v$, $\dot v=(w-\sat_M(kq)-d(v))/m$ recovers Equation~\eqref{eq:stage} by matching their signals. Initial capacitor voltages encode $q(0),v(0)$. An actual integrator with a leak instead imposes $\dot x=u-\ell x$. If driven by the same $u$ and initialized equally, the error from leakage obeys $\dot e=-\ell x_{\rm actual}$, so $|e(T)|\le\ell T\sup_{[0,T]}|x_{\rm actual}|$. Feeding its output back changes the input too, requiring a loop estimate.
With a nonsingular diagonal scale $D$, physical time $t=t_0\tau$, and state $x=Dz$, the exact scaled dynamics are
\[
\frac{\dd z}{\dd\tau}=t_0D^{-1} f(Dz,u(t_0\tau)).
\]
Apply the corresponding scale to the readouts, thresholds and initial states. The map on trajectories has an inverse once the time windows are also reindexed. On the fixed-clock site a change of time unit acts by changing the time windows. It is not a port-preserving map over the old numerical clock. If an analog amplifier rails at a specified voltage, equality of behaviors holds only on the part of the scaled trajectory lying within that voltage range. Increasing scale to avoid one rail can reduce resolution somewhere else.
A useful finite-horizon comparison is the residual of a realized trajectory. Let $\tilde x$ be absolutely continuous, $d(t)=\dot{\tilde x}-f(\tilde x,u)$, and assume $f$ is $L$-Lipschitz on a common tube. Then
\begin{equation}
\|\tilde x(t)-x(t)\|\le
\ee^{Lt}\|e(0)\|+\int_0^t\ee^{L(t-s)}\|d(s)\|\,\dd s .
\label{eq:defect}
\end{equation}
Subtract the integral equations, take norms and apply Grönwall's inequality. For hybrid runs this argument controls smooth arcs only. Near a monotone transversal crossing a uniform guard error bounded by $\epsilon$ moves its time by at most $\epsilon/\nu$ when the nominal guard value has slope bounded away from zero by $\nu$ over the bracketing interval and the perturbed crossing is correctly bracketed. Ordered guards and control of each reset are needed to propagate such a bound through an itinerary.
\subsection{Component tolerances in a feedback loop}
Suppose a simulator replaces two components $y=P(u)$ and $u=C_r(y)$ on a fixed signal window. Compare actual and simulated runs with the same command $r$ and initialization. On invariant signal domains let $\delta_P,\delta_C$ bound the uniform output discrepancies between each pair of component maps when the inputs coincide. Let $g_P,g_C$ bound the input Lipschitz constants of the nominal maps. Denote the distances between the two closed-loop signals by $d_y,d_u$. The triangle inequality applied at each port gives
\[
d_y\le\delta_P+g_Pd_u,\qquad
d_u\le\delta_C+g_Cd_y .
\]
If $g_Pg_C<1$ it follows that
\begin{align*}
d_y&\le(\delta_P+g_P\delta_C)/(1-g_Pg_C),\\
d_u&\le(\delta_C+g_C\delta_P)/(1-g_Pg_C).
\end{align*}
These inequalities compare existing solutions. Existence of a solution for each simulator can, for example, be proved by checking a contraction on its own complete invariant domain. With $g_P=0.7$, $g_C=0.6$, $\delta_P=0.02$ and $\delta_C=0.01$, the closed-loop output discrepancy is at most $0.04656$ and the command discrepancy at most $0.03794$. A tolerance quoted for an isolated amplifier thus has a computable cost when the signal is fed back.
More generally a network may supply componentwise inequalities $d\le\delta+\Gamma d$ for a finite matrix of nonnegative gains. If its spectral radius is below one, multiplication by the entrywise nonnegative inverse $\sum_{j\ge0}\Gamma^j=(I-\Gamma)^{-1}$ gives a bound on every port. The series sums repeated passages of discrepancy around the wiring. Exact substitution in Theorem~\ref{th:wiring} applies to equivalences. This calculation supplies a quantitative comparison when a replacement has a measured defect. A threshold crossing can violate a finite signal Lipschitz bound; event margins then enter as in the preceding subsection.
\subsection{An exact sampled relay calculation}
Suppose a clock measures the chamber temperature every $\Delta>0$, changes the mode if its applicable threshold has been reached, and holds the new mode until the next tick. Put $\lambda=\exp(-a\Delta)$. If $m_j$ is the post-decision command at tick $j$, exact integration of the plant yields
\begin{align}
x_{j+1}&=\lambda x_j+(1-\lambda)K m_j,\nonumber\\
m_{j+1}&=
\begin{cases}
-1,&m_j=+1,\quad x_{j+1}\ge h,\\
+1,&m_j=-1,\quad x_{j+1}\le-h,\\
m_j,&\text{otherwise}.
\end{cases} \label{eq:sample}
\end{align}
This is a change to the physical controller; there is no numerical integration error in the recurrence. By contrast, observing a continuous controller only at tick times leaves its true event times between ticks.
\begin{theorem}[Coexisting symmetric sampled cycles]\label{th:grid}
A symmetric cycle of Equation~\eqref{eq:sample} with $n\ge1$ ticks in each mode has peaks $\pm H_n$ and period $2n\Delta$, where
\begin{align}
H_n&=K\tanh(a n\Delta/2),\nonumber\\
K-\ee^{a\Delta}(K-H_n)&<h\le H_n. \label{eq:branch}
\end{align}
These conditions are sufficient. If both inequalities have positive margin, the cycle is locally attracting on its fixed-clock section with return multiplier $\lambda^{2n}$. At $a=1$, $K=2$, $h=1$, $\Delta=0.1$ there are exactly two cycles of this symmetric form, up to cyclic shift, with $n=11$ and $n=12$.
\end{theorem}
\begin{proof}
From a lower peak $-H$ in heating mode, $n$ held steps give $K-(K+H)\lambda^n$. Equating this to $H$ gives $H=K(1-\lambda^n)/(1+\lambda^n)$. The preceding tick reads $K-(K-H)/\lambda$. The rising sequence is monotone, so the strict inequality at the preceding tick and weak inequality at the peak say precisely that this is the first tick at which the guard orders a change. Symmetry gives the same condition on cooling. At strictly interior guard margins a neighborhood of the trough follows both prescribed $n$-step branches. Its two-branch return is affine:
\[
x\longmapsto\lambda^{2n}x-K(1-\lambda^n)^2 .
\]
Its fixed point is $-H_n$ and its slope is less than one. By reducing the neighborhood around the fixed point one makes it invariant under this return.
Both $H_n$ and its preceding sample increase strictly with $n$. For the stated parameters $H_{10}<0.925<1$, while the preceding sample for $n=13$ exceeds $1.053$. Table~\ref{t:grid} gives strict margins at $11,12$. This exhausts positive integers for the symmetric one-rise, one-fall ansatz. \end{proof}
\begin{table}[tbp]\centering
\caption{Exact sampled-cycle formulas, rounded for display. The threshold is $1$.}\label{t:grid}
\small\begin{tabular}{@{}rrrrr@{}}
\toprule
$n$ & Period & Prior tick & Peak $H_n$ & Multiplier\\\midrule
11 & 2.2 & 0.895979 & 1.001040 & 0.110803\\
12 & 2.4 & 0.976721 & 1.074099 & 0.090718\\
\bottomrule
\end{tabular}
\end{table}
\begin{corollary}[A uniform clock bound]\label{cor:clock}
For every $a,\Delta>0$ and $0<h<K$ there are either one or two symmetric cycles of the specified form up to cyclic shift. Their half-cycle counts belong to $\{n_0,n_0+1\}$, where $n_0=\lceil D/\Delta\rceil$ and $D=T/2$ is the continuous dwell time. Their periods obey $0\le 2n\Delta-T<4\Delta$.
\end{corollary}
\begin{proof}
First $H_{n_0}\ge h$, since $K\tanh(aD/2)=h$. At the preceding tick, a trajectory initialized at $-H_{n_0}\le-h$ has heated for strictly less than $D$ and therefore is still below $h$. Thus $n_0$ is admissible. For any admissible branch, its overshoot satisfies
\[
0\le H_n-h<(1-\ee^{-a\Delta})(K-h).
\]
This is the preceding-tick inequality rewritten. Inverting the peak formula and subtracting the continuous dwell time gives
\[
a(n\Delta-D)=
\log\frac{K+H_n}{K+h}+\log\frac{K-h}{K-H_n}.
\]
The second term is strictly below $a\Delta$ by the overshoot bound. The first is at most $(H_n-h)/(K+h)<1-\ee^{-a\Delta}<a\Delta$. Both are nonnegative. The resulting half-period excess is strictly below $2\Delta$. An interval $[D/\Delta,D/\Delta+2)$ contains at most two integers and its least integer is $n_0$. \end{proof}
The constant four is sharp as a uniform bound over all thresholds and clocks. To see this, let $\delta=a\Delta\downarrow0$ and set $h/K=\delta^{3/2}$. For $n=2$ the normalized prior reading is $(1-\ee^{-\delta})^2/(1+\ee^{-2\delta})\sim\delta^2/2$, while the normalized peak is $\tanh\delta\sim\delta$. The chosen threshold lies strictly between these readings for every sufficiently small $\delta$. This branch has period $4\Delta$. Meanwhile $T/\Delta=4\operatorname{artanh}(\delta^{3/2})/\delta\to0$. Therefore $(4\Delta-T)/\Delta\to4$. This sharpness experiment varies the threshold with the clock. For every fixed threshold the absolute period discrepancy also tends to zero.
At a particular clock interval, Equation~\eqref{eq:branch} decides whether the second branch exists. Figure~\ref{f:intervals} plots the allowable interval of thresholds for each dwell count. Figure~\ref{f:sampling} shows how two admissible branches separate with the plant and clock held fixed.
\fpic{intervals}{Admissible temperature thresholds by dwell count for $a=1$, $K=2$, $\Delta=0.1$. Each interval excludes the preceding-tick value (open dot) and includes its peak (filled dot). The vertical line at $h=1$ intersects two intervals.}{f:intervals}
\fpic{sampling}{Two exact solutions of the same clocked feedback law. The markers show every second sampled value; the curves between samples use the held command and continuous plant. Different initial troughs lead to different switch times.}{f:sampling}
The benchmark suggests a discriminating experiment. Hold $a,K,h$ and the clock fixed, initialize near each candidate trough, and record both the sensor and the timestamps of actuator transitions. Looking only at one long trajectory can miss the second attracting itinerary. Measuring a period from a downsampled temperature record without the transition times confounds controller sampling with observational sampling. If an unknown time scale $a$ and excursion scale $K$ must be fitted, the single observed period in Equation~\eqref{eq:period} gives one relation for two unknowns. A dwell time at a second threshold, or a measurement of the initial heating slope $a(K+h)$, supplies another independent observable on appropriate parameter ranges.
\section{Lyapunov and Lur'e certificates under wiring}\label{s:cert}
\src{ch.~11, especially \S\S11-2 and 11-5--11-8}
\subsection{A certificate as a predicate on histories}
Fix a behavior $B$, a nonnegative state storage $V$ and a port supply $w$. On every compact subinterval $[s,t]$ of every admitted execution impose
\begin{equation}
V(x(t))-V(x(s))\le\int_s^t w(u(\sigma),y(\sigma))\,\dd\sigma .
\label{eq:storage}
\end{equation}
This is the storage inequality of dissipativity~\cite{willems}. For hybrid histories require a nonincrease at ideal resets, or add a specified jump supply for each reset. If $V$ is absolutely continuous on flow segments, a differential inequality almost everywhere implies the integrated one. Conversely the integrated inequality implies the corresponding differential statement at differentiability and Lebesgue points. Finite subdivision and additivity establish that a certificate verified locally in time holds on the joined interval, provided the same storage value is used at common endpoints.
For a fixed test interval the executions satisfying~\eqref{eq:storage} on all subintervals form a subobject of $B$ when the value and supply are invariant under its declared symmetries. Thus a simulation $F:B'\to B$ over the relevant states and ports pulls the predicate back to a predicate on $B'$. If the state map is $k$, this amounts to using $V\circ k$; in a quotient presentation $V$ must descend across all frame changes. The pulled-back storage can vanish on a whole hidden fiber. Strict positivity in the full state and convergence of that state require their own checks. For example, augment $\dot x=-x$ by an unobserved $\dot z=z$: the projection is an exact output simulation, $x^2$ decreases, and the hidden state may grow.
\begin{theorem}[Cancellation of internal power]\label{th:store}
Let two systems admit storages $V_1,V_2$ and port supplies $u_i^\top y_i$ in Equation~\eqref{eq:storage}. Suppose the connected ports have compatible dual dimensions, with wiring $u_1=r_1-y_2$, $u_2=r_2+y_1$. On every closed execution the sum $V_1+V_2$ has external supply $r_1^\top y_1+r_2^\top y_2$. The assertion commutes with restriction and parameter pullback. Any nonnegative dissipation terms on the two components add on the closed trajectory.
\end{theorem}
\begin{proof}
Evaluate both component inequalities on the projections from the matching object. The scalar products $-y_2^\top y_1$ and $+y_1^\top y_2$ cancel after substitution. Endpoint storage differences add even when hidden states have more than one compatible realization. Restriction and parameter pullback preserve each displayed equality. \end{proof}
At zero external supply this result gives a nonincreasing storage. Asymptotic decay requires control of its zero-dissipation trajectories. On an autonomous locally Lipschitz system, compact invariant sublevels and LaSalle's theorem identify the limiting invariant set~\cite{khalil}. The stiction interval and the capture ellipse illustrate different such sets for the same type of energy inequality. If the closed behavior is empty the inequality is vacuously true, so a design certificate also includes realizability for the intended initial and input data.
\subsection{The sector inequality in coordinates}
Take a real Lur'e interconnection
\[
\dot x=Ax-bw,\qquad y=c^\top x,\qquad w=\phi(y).
\]
Assume $\phi$ locally Lipschitz, $\phi(0)=0$, and $w(ky-w)\ge0$ for all $y$, $k>0$. The graph lies in the sector $[0,k]$ and has at most linear growth. For $V=x^\top Px$, a sufficient condition for $\dot V\le-\epsilon\|x\|^2$ with $\epsilon>0$ is $P=P^\top\succ0$ and some $\tau\ge0$ satisfying
\begin{equation}
\begin{bmatrix}
A^\top P+PA+\epsilon I & -Pb+\tau k c/2\\
(-Pb+\tau k c/2)^\top &-\tau
\end{bmatrix}\preceq0. \label{eq:LMI}
\end{equation}
To see the sign, evaluate the quadratic form on $(x,w)$. It is $\dot V+\epsilon\|x\|^2+\tau w(ky-w)$. Dropping the nonnegative sector term proves the claim on actual trajectories. The inequality is imposed on *all* $(x,w)$ to produce one certificate for every admissible nonlinear graph. This is a sufficient multiplier argument of the kind treated in~\cite{lmi}.
For the spring-like stage
\[
A=\begin{bmatrix}0&1\\-2&-1\end{bmatrix},\
b=\binom{0}{1},\quad c=\binom{1}{0},\quad k=1 ,
\]
choose $P=\tfrac14\left[\begin{smallmatrix}7&1\\1&3\end{smallmatrix}\right]$, $\epsilon=1/4$ and $\tau=1$. Then $A^\top P+PA=-I$ and the off-diagonal block in~\eqref{eq:LMI} is $(1/4,-3/4)^\top$. The top block is $-3I/4$ and the scalar Schur complement is $-1+(4/3)(10/16)=-1/6$. Hence the matrix is strictly negative definite. The positive leading entry and determinant $20/16$ give $P\succ0$. Integration yields
\[
\|x(t)\|\le
\sqrt{\frac{\lambda_{\max}(P)}{\lambda_{\min}(P)}}\,
\exp\!\left[-\frac{t}{8\lambda_{\max}(P)}\right]\|x(0)\|.
\]
This one exact rational matrix proves a uniform exponential estimate across the entire static sector family. It can accommodate saturation and a dead zone with suitable unit sector bound. A hysteretic relay carrying memory does not in general satisfy the same pointwise sector condition.
\subsection{Integral storage and the Lur'e change of variables}
The classical Lur'e treatment reorganizes the equations and includes the potential of a scalar nonlinearity in the candidate. For $\eta\ge0$ take
\[
V_\eta(x)=x^\top Px+2\eta\int_0^{c^\top x}\phi(s)\,\dd s .
\]
The sector assumption makes the integral nonnegative for either sign of $c^\top x$ and bounds it above by $k(c^\top x)^2/2$. Its derivative contributes $2\eta w c^\top(Ax-bw)$. Consequently the upper right block in~\eqref{eq:LMI} becomes $-Pb+\eta A^\top c+\tau k c/2$ and the lower right entry becomes $-\tau-2\eta c^\top b$. Coefficients can now be chosen to match both the linear dynamics and the potential term. This is a modern multiplier formulation of the integral-function idea in the book. Its feasibility conditions are explicitly sufficient.
For a coordinate transform $x=Tz$ with $T$ invertible, the triples become $(T^{-1}AT,T^{-1}b,T^\top c)$, the quadratic term becomes $T^\top PT$, and the scalar integral has unchanged argument. A strict decay term $\epsilon\|x\|^2$ transforms to $\epsilon z^\top T^\top T z$. The new matrix inequality is a congruence by $\operatorname{diag}(T,1)$. Replacing $T^\top T$ by a scalar multiple of the new identity changes the numerical decay rate according to its smallest eigenvalue. For $c\ne0$ one can choose the first new coordinate to be precisely the observed scalar $c^\top x$. This gives the coordinate meaning of isolating the nonlinear argument before seeking a storage.
\subsection{Quantifiers in a design specification}
Let $D$ be a family of admissible controller choices and $B\to D$ the closed histories, restricted to a declared parameter, initial-state and input class. Let $J\hookrightarrow B$ express an invariant predicate with all its quantitative bounds fixed. In the internal logic the good controllers form the subobject $\forall_{B\to D}J$ of $D$. The universal image is the right adjoint to pullback on subobjects. A test family maps into it exactly when every further base change and every admitted history there satisfies $J$. Pullback along a change of design context preserves this universal image by the Beck--Chevalley law for pullback squares in a topos. To require a total, deterministic implementation, also require the realization fibers over prescribed data to be contractible. Simply imposing a universal predicate says nothing about empty fibers.
The order of quantifiers expresses an engineering choice. For $\dot x=bu$ with unknown sign $b\in\{+1,-1\}$ and $u=-kx$, exponential stability holds exactly when $bk>0$. For each measured $b$ there exists a stabilizing $k$, and an indexed controller takes $k(b)=b$. No one real $k$ stabilizes both plants when the sign is unavailable. In this finite case the fibers of admissible gains are the open positive and negative rays, which have empty intersection. Choosing a controller after reindexing the model at each known sign is therefore a different specification from choosing a single gain before the sign is revealed.
Uniformity is another quantifier. Each system $\dot x=-p x$ with $p>0$ has exponential decay. The whole open family admits no common strictly positive decay rate, since arbitrarily small $p$ occur. A bound $p\in[p_0,p_1]$ with $p_0>0$ immediately gives rate $p_0$. Finally, a mere smooth homotopy of vector fields can join $\dot x=-x$ to $\dot x=x$ via $\dot x=(2s-1)x$. The intermediate field at $s=1/2$ has every point stationary. Theorem~\ref{th:wiring} transports predicates along equivalences carrying the relevant structure. Numerical decay estimates also require norms, physical clocks and storage bounds to travel with that structure.
\section{Reproduction and scope}\label{s:evidence}
The numerical work uses dimensionless parameters and synthetic inputs. All control conclusions claimed as theorems have analytic derivations above. The source bundle includes the plotting and checking script, the generated tables, the vector figures and the \LaTeX{} manuscript. The following independent comparisons locate the numerical evidence.
For the event model, integration by DOP853 starts at $(-1,+)$ and locates twenty-four successive guards, using relative tolerance $10^{-12}$, absolute tolerance $10^{-14}$ and maximum step $0.15$. Each detected terminal state initiates the next integration with opposite mode. The twelve return periods differ from $2\log3$ by at most $4.3\times10^{-13}$ in the recorded run. A $65{,}536$-point uniform Fourier sum on the analytic waveform gives $0.8405861793$ for the fundamental, within $6.5\times10^{-10}$ of Equation~\eqref{eq:tempA}. The sum uses the piecewise temperature directly. It does not reuse the linear plant's frequency response.
For the digital model the script iterates Equation~\eqref{eq:sample} and checks eight consecutive cycles for each initial trough $-H_n$ and perturbations $\pm0.001$. It compares the switch ticks and first-return errors to Theorem~\ref{th:grid}. On the grid $h/K\in\{0.05,0.2,0.5,0.8,0.98\}$ and $a\Delta\in\{0.025,0.1,0.25,0.6,1,2\}$, enumeration gives one symmetric branch in 23 cases and two in seven. The largest period excess is $3.200$ clock intervals rounded up. The program also checks the sharpness family, cubic Fourier coefficients, ellipse handover and sector matrix. The matrix's largest eigenvalue is approximately $-0.07461$; exact definiteness follows from the Schur complement. The output records software versions and unrounded results. These calculations test the formulas for the idealized models.
The comparison can now be read directly at the experiment's ports. Each exact continuous run carries temperature, mode and event times. Its temperature fundamental can be below the lowest amplitude that induces switching, so a filtered observation cannot be substituted at the controller input. A clocked implementation exposes a different event port and admits two stable itineraries for the chosen settings. A relative sign at a calibration port presents another obstruction to premature identification: the matching alternatives survive even when the separate ports each have a single isomorphism class. In each case the decisive information is a specified piece of data that a later connection can observe.
\paragraph{Authorship and automation.}
Prepared as an anonymous manuscript for editorial consideration. An AI assistant drafted the exposition, derived the worked examples, and ran the accompanying numerical checks under the commissioning author's direction. The submitting author is responsible for the submitted version. The evidence consists of the mathematical arguments and reproducible computations described here. Formal verification in Lean is reserved for a follow-up.
\begin{thebibliography}{99}\small
\bibitem{tp} G. J. Thaler and M. P. Pastel. \emph{Analysis and Design of Nonlinear Feedback Control Systems}. McGraw-Hill, 1962. \weblink{https://books.google.com/books/about/Analysis_and_Design_of_Nonlinear_Feedbac.html?id=lo08AAAAIAAJ}{Bibliographic record}.
\bibitem{vsl} D. Vagner, D. I. Spivak and E. Lerman. Algebras of open dynamical systems on the operad of wiring diagrams. \emph{Theory and Applications of Categories} 30 (2015), 1793--1822. \weblink{https://tac.mta.ca/tac/volumes/30/51/30-51abs.html}{Journal article}.
\bibitem{ssv} P. Schultz, D. I. Spivak and C. Vasilakopoulou. Dynamical systems and sheaves. \emph{Applied Categorical Structures}, 2019. DOI 10.1007/s10485-019-09565-x. \weblink{https://dspace.mit.edu/entities/publication/b0d954d5-cd9e-479c-a173-db7ab25dfa2e}{Author manuscript and publication record}.
\bibitem{htt} J. Lurie. \emph{Higher Topos Theory}. Annals of Mathematics Studies 170, Princeton University Press, 2009, especially ch.~6. \weblink{https://press.princeton.edu/books/paperback/9780691140490/higher-topos-theory}{Publisher}.
\bibitem{haugseng} R. Haugseng. Iterated spans and classical topological field theories. Preprint, 2014, arXiv:1409.0837. \weblink{https://arxiv.org/abs/1409.0837}{Author preprint}.
\bibitem{fritz} T. Fritz. A synthetic approach to Markov kernels, conditional independence and theorems on sufficient statistics. \emph{Advances in Mathematics} 370 (2020), 107239. \weblink{https://arxiv.org/abs/1908.07021}{Author preprint}.
\bibitem{bussgang} Ö. T. Demir and E. Björnson. The Bussgang decomposition of non-linear systems: basic theory and MIMO extensions. Preprint, 2020, arXiv:2005.01597. \weblink{https://arxiv.org/abs/2005.01597}{Author preprint}.
\bibitem{hybrid} R. Goebel, R. G. Sanfelice and A. R. Teel. \emph{Hybrid Dynamical Systems: Modeling, Stability, and Robustness}. Princeton University Press, 2012. \weblink{https://academic.oup.com/princeton-scholarship-online/book/21191}{Digital edition}.
\bibitem{chatrelay} K. H. Johansson, A. E. Barabanov and K. J. Åström. Limit cycles with chattering in relay feedback systems. \emph{IEEE Transactions on Automatic Control} 47 (2002), 1414--1423. \weblink{https://portal.research.lu.se/en/publications/limit-cycles-with-chattering-in-relay-feedback-systems/}{Publication record and full text}.
\bibitem{saltation} N. J. Kong, J. J. Payne, J. Zhu and A. M. Johnson. Saltation matrices: the essential tool for linearizing hybrid dynamical systems. Preprint, 2023, arXiv:2306.06862. \weblink{https://arxiv.org/abs/2306.06862}{Author preprint}.
\bibitem{liberzon} D. Liberzon. \emph{Calculus of Variations and Optimal Control Theory: A Concise Introduction}. Princeton University Press, 2012, \S4.4.1. \weblink{https://liberzon.csl.illinois.edu/teaching/cvoc/node85.html}{Author's example of the double integrator}.
\bibitem{khalil} H. K. Khalil. \emph{Nonlinear Systems}. 3rd ed., Prentice Hall, 2002, especially chs.~4 and 7. \weblink{https://www.pearson.com/en-us/subject-catalog/p/nonlinear-systems/P200000003306/9780130673893?tab=table-of-contents}{Publisher and contents}.
\bibitem{shaping} N. Singer and W. Seering. Preshaping command inputs to reduce system vibration. MIT Artificial Intelligence Laboratory Memo AIM-1027, 1988. \weblink{https://dspace.mit.edu/entities/publication/a4b1d339-171a-4641-80c4-85d8c48f166b}{MIT technical report}.
\bibitem{willems} J. C. Willems. Dissipative dynamical systems, Part I. General theory. \emph{Archive for Rational Mechanics and Analysis} 45 (1972), 321--351. \weblink{https://homes.esat.kuleuven.be/~sistawww/smc/jwillems/Articles/JournalArticles/1972.1.pdf}{Author's copy}.
\bibitem{lmi} S. Boyd, L. El Ghaoui, E. Feron and V. Balakrishnan. \emph{Linear Matrix Inequalities in System and Control Theory}. SIAM, 1994. \weblink{https://stanford.edu/~boyd/papers/LMI_sys_ctrl.html}{Authors' book and electronic edition}.
\end{thebibliography}
\end{document}