Beta Phase: Square45 is currently in beta testing. Expect some features or content to be incomplete or missing.
45

Converter Modeling Theory

Sequence of Expressions

Let x(t)\vec{x}(t) be the state vector and u(t)\vec{u}(t) be the input vector. The averaged model is derived by approximating the time-varying dynamics dxdt=f(x,u,s(t))\frac{d\vec{x}}{dt} = f(\vec{x}, \vec{u}, s(t)) using the average operator \langle \cdot \rangle: dxdtAavgx+Bavgu\frac{d\vec{x}}{dt} \approx \vec{A}_{avg}\vec{x} + \vec{B}_{avg}\vec{u} where Aavg=fx\vec{A}_{avg} = \langle \frac{\partial f}{\partial \vec{x}} \rangle and Bavg=fu\vec{B}_{avg} = \langle \frac{\partial f}{\partial \vec{u}} \rangle, representing the time average over the switching period TsT_s.
Define the state vector x(t)Rn\vec{x}(t) \in \mathbb{R}^n and the input vector u(t)Rm\vec{u}(t) \in \mathbb{R}^m. The fundamental continuous-time behavior is modeled by the linear time-invariant (LTI) system: x˙(t)=Ax(t)+Bu(t)\dot{\vec{x}}(t) = \vec{A}\vec{x}(t) + \vec{B}\vec{u}(t) where ARn×n\vec{A} \in \mathbb{R}^{n \times n} and BRn×m\vec{B} \in \mathbb{R}^{n \times m} are the system matrices.
The duty cycle DD is defined as the ratio of the ON time TonT_{on} to the switching period TsT_s: D=TonTsD = \frac{T_{on}}{T_s} For a DC-DC converter, the average output voltage VoutV_{out} is related to the input voltage VinV_{in} and the duty cycle DD by the voltage conversion ratio: VoutVinD1D\frac{V_{out}}{V_{in}} \approx \frac{D}{1-D} (assuming ideal components and steady state).
Let s(t){0,1}s(t) \in \{0, 1\} be the switching state. The instantaneous voltage vsw(t)v_{sw}(t) across the inductor is defined piecewise: vsw(t)=s(t)Vin(1s(t))Voutv_{sw}(t) = s(t) V_{in} - (1-s(t)) V_{out} The system dynamics are governed by the state equation dxdt=f(x,u,s(t))\frac{d\vec{x}}{dt} = f(\vec{x}, \vec{u}, s(t)), where ff incorporates the switching function s(t)s(t) and its associated voltage/current relationships.
Linearization around the steady-state operating point (x0,u0)(\vec{x}_0, \vec{u}_0) yields the small-signal model (SSM) for the deviation variables Δx=xx0\Delta\vec{x} = \vec{x} - \vec{x}_0 and Δu=uu0\Delta\vec{u} = \vec{u} - \vec{u}_0: d(Δx)dt=AssΔx+BssΔu\frac{d(\Delta\vec{x})}{dt} = \vec{A}_{ss}\Delta\vec{x} + \vec{B}_{ss}\Delta\vec{u} where Ass=fx(x0,u0)\vec{A}_{ss} = \left. \frac{\partial f}{\partial \vec{x}} \right|_{(\vec{x}_0, \vec{u}_0)} and Bss=fu(x0,u0)\vec{B}_{ss} = \left. \frac{\partial f}{\partial \vec{u}} \right|_{(\vec{x}_0, \vec{u}_0)} are the Jacobian matrices.
The system dynamics are modeled by applying Kirchhoff's laws to lumped elements. For a general circuit, the state vector x\vec{x} comprises capacitor voltages vc\vec{v}_c and inductor currents iL\vec{i}_L. The governing equations take the form: Cdvcdt=IsourceGvciL\vec{C} \frac{d\vec{v}_c}{dt} = \vec{I}_{source} - \vec{G}\vec{v}_c - \vec{i}_L and diLdt=1L(VinRiLswitching terms)\frac{d\vec{i}_L}{dt} = \frac{1}{L} (V_{in} - R \vec{i}_L - \text{switching terms}) where C\vec{C} and L\vec{L} are diagonal matrices of capacitance and inductance.
At the switching boundaries tkt_k and tk+1t_{k+1}, the physical continuity constraints must be satisfied. Specifically, the inductor current iL(t)i_L(t) and capacitor voltages vc(t)v_c(t) must be continuous: iL(tk+1)=iL(tk)andvc(tk+1)=vc(tk)i_L(t_{k+1}) = i_L(t_k) \quad \text{and} \quad v_c(t_{k+1}) = v_c(t_k) These conditions are used to define the initial state for the next switching interval.
The inductor current iL(t)i_L(t) is approximated by its average value iˉL\bar{i}_L. The state dynamics are simplified by assuming diˉLdt0\frac{d\bar{i}_L}{dt} \approx 0 over the switching period TsT_s. The resulting averaged model relates the average current iˉL\bar{i}_L to the average voltage drop vL\langle v_L \rangle: diˉLdt=1LvL1L(VinVout)DTs\frac{d\bar{i}_L}{dt} = \frac{1}{L} \langle v_L \rangle \approx \frac{1}{L} (V_{in} - V_{out}) \frac{D}{T_s}
Given the state-space representation x˙(t)=Ax(t)+Bu(t)\dot{\vec{x}}(t) = \vec{A}\vec{x}(t) + \vec{B}\vec{u}(t) with initial condition x(0)=x0\vec{x}(0) = \vec{x}_0, the Laplace transform yields the solution X(s)\vec{X}(s): \vec{X}(s) = (s\vec{I} - \vec{A})^{-1} \left( \vec{x}_0 + \vec{B}\ring{\vec{U}}(s) \right) The transfer function G(s)G(s) relating the output Y(s)\vec{Y}(s) to the input U(s)\vec{U}(s) is then defined as: G(s)=Y(s)/U(s)=C(sIA)1BG(s) = \vec{Y}(s) / \vec{U}(s) = \vec{C}(s\vec{I} - \vec{A})^{-1} \vec{B}