Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Direct Transcription

Direct transcription treats state and control samples as optimization variables and replaces differential equations with algebraic defects.

Continuous trajectories transformed into node variables, defect constraints, bounds, and a sparse nonlinear program.

Discretize first, then optimize all trajectory and design variables together.

A time-ordered decision vector may be

z=[xp,xc,x0,u0,,xN,uN]T.\mathbf{z}=[\mathbf{x}_p,\mathbf{x}_c,\mathbf{x}_0,\mathbf{u}_0,\ldots,\mathbf{x}_N,\mathbf{u}_N]^T.

A generic transcription is

minimizezΦ^(z)+k=0NwkL(xk,uk,xp,xc,tk)subject toζk(xk,uk,xk+1,uk+1,xp,xc)=0,c(xk,uk,xp,xc,tk)0,b(x0,xN,xp,xc)=0,zLzzU.\begin{aligned} \underset{\mathbf{z}}{\text{minimize}}\quad &\widehat{\Phi}(\mathbf{z})+\sum_{k=0}^Nw_kL(\mathbf{x}_k,\mathbf{u}_k,\mathbf{x}_p,\mathbf{x}_c,t_k)\\ \text{subject to}\quad &\boldsymbol{\zeta}_k(\mathbf{x}_k,\mathbf{u}_k,\mathbf{x}_{k+1},\mathbf{u}_{k+1},\mathbf{x}_p,\mathbf{x}_c)=\mathbf{0},\\ &\mathbf{c}(\mathbf{x}_k,\mathbf{u}_k,\mathbf{x}_p,\mathbf{x}_c,t_k)\leq\mathbf{0},\\ &\mathbf{b}(\mathbf{x}_0,\mathbf{x}_N,\mathbf{x}_p,\mathbf{x}_c)=\mathbf{0},\\ &\mathbf{z}^L\leq\mathbf{z}\leq\mathbf{z}^U. \end{aligned}

Direct transcription is valuable for CCD because it handles nonlinear plant-dependent dynamics, unstable systems, strong coupling, state/control path limits, and terminal constraints while exposing local sparsity.

Activity 7.3: Plant and Actuator Co-Design of a Dynamic System