A General Continuous-Time CCD Formulation
Combining the pieces gives the broad formulation
Decision variables, objective, physical dynamics, and constraint sets together define the CCD problem.
The objective measures performance. The differential equations encode physical behavior. Path constraints impose time-dependent engineering limits. Boundary constraints enforce endpoint requirements. Bounds restrict finite-dimensional plant and controller decisions.
Recovering passive design as a special case¶
The general formulation above specializes naturally. If the controller is removed from the decision set entirely—no , no , and the dynamics are evaluated with —the same structure reduces to a passive physical-system design problem: minimize an objective built from (or a Lagrange or Bolza generalization of it) subject to and the physical-constraint set introduced earlier. Restoring and as decisions recovers the full simultaneous co-design problem above. The two formulations share the same dynamics structure, the same objective forms, and the same physical-constraint function; only the decision-variable set differs. Seeing passive design as a restriction of the general CCD formulation—rather than as a separately posed, unrelated problem—is what makes it meaningful to compare a passive-only design against a co-designed one on a common objective.
Continuous-time and numerical formulations¶
The continuous-time problem is infinite-dimensional because state and control trajectories are functions. Numerical solution requires a finite representation through parameterization, sampling, or transcription.
Mathematical formulation precedes numerical transcription and solution.
The numerical stage typically parameterizes trajectories, enforces dynamics through simulation or defect equations, and approximates integrals by quadrature. Those choices should come after the engineering formulation is correct.
Activity 4.3: Complete Continuous-Time CCD Formulation with Free Final Time¶
Activity 4.3: Complete Continuous-Time CCD Formulation with Free Final Time
Consider the controlled mass–spring–damper system
where
The plant design variables are
and the final time is also a design variable:
The control trajectory satisfies
The initial and terminal conditions are
and
The displacement and velocity must satisfy
Minimize
Define a first-order state vector and derive the state equations in the form
Define the complete plant-design vector, control trajectory, state trajectory, and free-time variable.
Write the problem in the general Bolza form
together with all path, boundary, and bound constraints.
Classify every constraint as one of the following:
dynamic equality constraint;
path inequality constraint;
boundary equality constraint; or
simple bound.
Determine whether is redundant when is also bounded. Explain why it is still a meaningful plant or actuator-design variable in this formulation.
Replace the terminal equalities with the terminal tolerance
and write the equivalent scalar inequality constraint.
Explain which terms in the objective discourage the optimizer from selecting the largest possible actuator, the stiffest possible spring, or the longest possible maneuver time.
Activity 4.4: Time Normalization for a Free-Final-Time CCD Problem¶
Activity 4.4: Time Normalization for a Free-Final-Time CCD Problem
Consider the general free-final-time CCD problem
subject to
Introduce normalized time
Derive
Show that the transformed dynamics are
Transform the integral objective to the fixed interval .
Transform the path constraint
Transform the explicit time-dependent disturbance
For the scalar system
write the complete normalized-time formulation when
Explain why appears in both the transformed dynamics and the transformed running cost.
State the condition that must be imposed to prevent the optimizer from selecting .
Activity 4.5: Multi-Scenario Robust CCD Formulation¶
Activity 4.5: Multi-Scenario Robust CCD Formulation
A controlled system is described under scenario by
where is a common plant design and contains scenario-dependent parameters. Each scenario has objective
The robust objective is
where
Write the complete multi-scenario CCD problem when the plant design is common to all scenarios but each scenario has its own open-loop control trajectory .
Introduce an epigraph variable and replace
with smooth algebraic inequalities.
Write the resulting objective and all epigraph constraints.
Add scenario-wise path constraints
Add the common actuator-capacity variable and impose
Now assume that one causal feedback controller
must be shared by all scenarios. Rewrite the decision-variable set.
Explain the difference between scenario-dependent open-loop controls and a common feedback law from the viewpoint of information availability and implementability.
If each scenario has states, controls, and transcription nodes, determine the total number of trajectory decision variables for:
scenario-dependent open-loop controls; and
common parameterized feedback with controller parameters.
Activity 4.6: Multiphase Hybrid Control Co-Design Formulation¶
Activity 4.6: Multiphase Hybrid Control Co-Design Formulation
A robotic system performs two phases:
a free-motion phase; and
a contact phase.
During phase 1,
At contact, the state undergoes the jump
During phase 2,
The switching time and final time are decision variables. The objective is
Write the full multiphase CCD decision set, including plant variables, both state trajectories, both control trajectories, , and .
Write the dynamic equality constraints for both phases.
Write the phase-linkage constraint associated with the jump map.
Add the event condition
Add the time-ordering constraints
Suppose the normal contact force in phase 2 is
Write the unilateral-contact path constraint.
Suppose the impact impulse must satisfy
Classify this as a path or boundary constraint and justify your answer.
Convert both phases to fixed normalized-time intervals
Derive the scaled dynamics for each phase.
Explain why using one continuous dynamic model without the jump map would produce an incorrect formulation.
Describe how the formulation would change if the contact sequence itself were an architecture decision rather than fixed in advance.