This paper first discusses some experimental verification of proposed ultraviolet (UV) radiation curing process models and then it outlines a robust process optimization and control scheme for layer-by-layer UV processing of a thick composite laminate. The experiments include UV transmission, cure kinetics, and in situ temperature measurements for UV curing of a one-dimensional (1D) composite material sample. The validated models are used to motivate how optimizing the layer-by-layer curing process can help address the challenge of maintaining through-cure due to the in-domain attenuation of the UV input during thick-part fabrication. The key insight offered is to model the layer-by-layer deposition and curing process as a multimode hybrid dynamic system with a growing spatial domain, where the interlayer hold times and the UV intensity at each layer addition can be taken as the augmented control variables to be selected optimally. Specifically, the control input is set to have feed forward and output feedback components, which act on the UV intensity at each layer and are constructed to track a reference surface temperature trajectory. The feedback gains at each layer addition are designed by posing a robust optimization problem that penalizes the sensitivity of the objective function to process uncertainties. It is illustrated using simulation analyses that augmented control with robust optimal static feedback of UV intensity at each layer and nominal optimization of the interlayer hold times gives very close tracking of a desired final cure level distribution in the presence of parametric uncertainty.

## Introduction

Composite materials are attractive for many structural light weighting applications such as automotive and aerospace. While row material costs continue to decline [1], the time and costs associated with the complexities of manufacturing processes for composites are still a challenge. For example, the dominant processes for curing composites involve the use of autoclave facilities (thermal curing). These typically feature high capital costs, high-energy consumption, and long processing times [2,3]. To overcome this challenge, radiation-based technology such as UV processing of composite laminates has been considered as a viable out of autoclave (OOA) alternative because of its energy efficiency and accelerated processing time [4,5]. As an example, a comparative study in Ref. [4] showed that UV curing for a fiberglass composite only takes 10 mins to produce a product of acceptable quality while the thermal counterpart takes over 4 hrs while involving higher level of styrene emission (four times higher).

Despite these advantages, adoption of UV technology is limited to curing of thin sections because of the significant attenuation of UV radiation as it passes through thick target materials [6]. This could be compensated by feedback control design. Such feedback compensation [7] only yields good results for parts of limited thickness (<5 mm). To overcome this attenuation or cure penetration problem for relatively large thickness, an approach of layer-by-layer deposition and curing of composite laminates is often adopted. Duan et al. [2] conducted an experiment that demonstrated the feasibility of layer-by-layer curing approach, which resulted in improved mechanical properties in the end product. In another work, Wang [8] conducted model-based investigations of in situ UV-laser curing of polymer composites using the filament winding method that aims to cure relatively large thicknesses by applying the UV-laser on the tow while it is being wound on the mandrel. However, still some challenges remain such as differing material shrinkage and thermal stresses between layers due to cure level and temperature gradients across layers that lead to distortion of the end product [9].

To overcome these challenges, in our previous work [10], we proposed a stepped-concurrent layering and curing (SCC) processes, where new layers are added before previous ones cure completely in such a way that there is an effective reduction of cure level deviation and thermal stress in all layers. To further exploit the potential of the SCC approach, we then developed a systematic model-based dynamic optimization scheme by modeling the layering process a hybrid dynamic system. In SCC, the successive addition of each layer changes both the spatial domains and the initial conditions of the physical processes. As a result, the SCC process is naturally regarded as a multimode hybrid system with a predefined mode sequence and a growing spatial domain (which leads to a growing state dimension in discretized form). In Ref. [10], we motivated the need of optimal interlayer hold times for SCC and developed an optimization algorithm to compute this optimal hold times by treating them as the control inputs. Later in Ref. [11], we studied the effect of the augmented optimization of both layer-by-layer UV input intensity and interlayer hold times as the control variables. Both of our previous works only dealt with model-based optimizations that consider nominal process parameters. However, uncertain model parameters related to cure kinetics such as constants related to reaction order and activation energy affect the validity of the optimization results. In our recent work [12], we refined the optimization scheme by defining a multi-objective cost function that penalizes the sensitivity of performance objective to model parameter uncertainties. This is an offline robust optimization generates open-loop references. It does not include provisions for feedback compensation of uncertainties. In the current paper, we extend our previous work [12] as follows: (1) first we update the UV curing process model in Ref. [13] using our own recent experimental results on UV curing of a composite layer and (2) we then use the experimentally validated process model to pursue robust optimization of a closed-loop scheme that incorporates feedback control at each layer addition.

The main optimization/process performance/objective in layer-by-layer UV curing is minimum overall cure level deviation at the final state. A detailed literature review on how to define the robustness terms for such endpoint optimization of nonlinear systems (including hybrid systems) is given in Ref. [12]. Some of the approaches are minimax approach [14] and multiobjective approach such as sensitivity robustness [15] and mean-variance robustness [16] for regular nonlinear systems, and general game theory such as $H\u221e$ performance index for theoretical hybrid systems [17]. Most of these approaches can be used interchangeably for open-loop and closed-loop robust optimization. For open-loop optimization, the control trajectories are predetermined by adding a robustness term that penalizes the degradation of performance in the presence of parameter uncertainties. An extension of this for closed-loop optimization is repeating the robust open-loop optimization online by incorporating some feedback information of measured or online estimated state variables [18]. However, the feasibility of the robust closed-loop optimization techniques depends on the complexity of the adopted process model and computational burden of the optimization algorithm.

As alternatives for direct robust optimization, conceptually different approaches that include online estimation of uncertain parameters [19] and tracking of the necessary optimality conditions (NOC) [20] can be pursued to accommodate uncertainties. Online estimation suffers from loss of observability for the augmented state and parameter, since often, the distributed state needs to be estimated jointly. The NOC-tracking approach avoids repeated real-time optimization by transforming the optimization problem into a simple feedback control problem. To implement the NOC tracking approach, one can first derive the nominal necessary optimality conditions and then construct neighboring-extremal control around the nominal trajectory that penalizes the variations of NOC due to process parameter uncertainties [20,21]. The feasibility of the NOC-tracking approach has been widely tested for batch and semibatch processes [22]. A similar approach was also applied for a hybrid system of few state variables in Ref. [23]. However, its application for a wider class of problems is limited by the need for full state feedback and the need to solve a two-point boundary-value problem (TPBVP) for the neighboring-extremal control. When applying the NOC-tracking approach for our multimode hybrid dynamic system model of the layer-by-layer UV curing process with growing state dimension, stable solutions of the TPBVP were found hard to obtain due to the instability of backward integration of the costate dynamics, especially when considering a large number of layers.

For the layer-by-layer UV curing process, where the uncertain parameters appear as nonlinear functions of the state, we found that the multi-objective robust performance sensitivity approach is a suitable candidate over other approaches. This is largely because it eliminates the need for a disturbance model of the uncertainty, which is generally difficult to identify or bound accurately for nonlinearly entering parameters. We consider deterministic parameter uncertainties and add a robustness term that penalizes the local sensitivity of the objective function to the parameter uncertainties. The closed-loop robust optimization is then carried in two steps. First, we generate a reference trajectory of the surface temperature (where measurements are possible for feedback control) by optimizing the interlayer hold times for the nominal conditions. Then, by fixing the interlayer hold times at their nominal optimal values, the UV intensity input at each layering step is determined as a feedback correction that tracks the nominal surface temperature reference while accommodating the uncertainties. The feedback gain vector is selected by optimizing the augmented objective function comprised of the nominal cost function plus the robustness performance sensitivity term. This augmented optimization problem is solved as a minimization problem by augmenting the auxiliary sensitivity dynamics to the process dynamics.

The remainder of the paper is organized as follows: Section 2 gives a generalized 1D model for a UV curing process, and discusses a set of experiments and model validation for a composite laminate that constitutes glass fiber and unsaturated polyester resin. Section 3 discusses the closed-loop robust optimization control implementation including the hybrid modeling formulation of the layer-by-layer build-up process. Section 4 offers demonstrative numerical simulation results and discussions. Section 5 gives the conclusions of the work.

## Ultraviolet Curing Process Model and Experimental

### One-Dimensional UV Curing Process Model.

Consider the 1D UV curing process setup for a fiberglass composite laminate shown in Fig. 1. The process model has three submodels: (1) cure kinetics model that predicts the cure level evolution; (2) heat transfer model that accounts for heat generation due to exothermic reactions; and (3) a UV radiation attenuation model that accounts for the attention of UV intensity across the layer in the *z*-direction according to Beer‐Lambert's law [24]. Other modeling considerations can be referred from Refs. [13] and [25]. The following coupled partial differential equation (PDE)–ordinary differential equation (ODE) system, along with the boundary and initial conditions, summarize 1D process model for UV curing of a single layer:

where $\rho $ and $cp$ are the (homogenized) density and specific heat capacity of the composite laminate, respectively; $kz$ is the thermal conductivity of the laminate in the *z*-direction; $T(z,t)$ is temperature distribution at depth *z* and time $t$; $vr$ is volumetric fraction of resin in the composite matrix; $\rho r$ is density of resin; and $\Delta Hr$ is polymerization enthalpy of resin conversion; $\u03d1$ is absorptivity constant of the UV radiation at the boundary; $I0$ is UV input intensity at the surface; $h$ is convective heat transfer at the top boundary; $l$ is the thickness of a single layer; $T\u221e$ is constant ambient temperature; $d\alpha (z,t)/dt$ is the rate of cure conversion (rate of polymerization); $s0$ is photoinitiator concentration; $pq$ are constant exponents; $br$ is absorption coefficient in the resin plus fiber without photoinitiator; $bPI$ is absorption coefficient due to photoinitiator; $\lambda c$ is the absorption coefficient in the resin plus fiber; $B\xaf$ is constant parameter related to reaction orders; $\xi $ is diffusion constant; $\alpha c$ is critical value of cure level; $A1A2$ are pre-exponential rate constants; $E1E2$ are activation energies; $R$ is gas constant; $Tabs(z,t)$ is absolute temperature in Kelvin; and $\alpha (z,t)$ is cure level/state distribution.

### Experimental Model Verification.

In our previous work [13], we identified some of the above process parameters from partial experiments that include in-process UV transmission and thermal measurements. Measurement of the UV transmission through the composite laminate with and without photo-initiator is used to determine the UV attenuation constant $\lambda $. Model parameters related with heat convection and conduction were identified and validated based on a separate set of temperature measurements recorded after complete cure of the composite laminate which excludes the heat generation term (cure kinetics model) from the heat transfer model. The rest of the parameters related to cure kinetics ($A1,A2,E1,E2,andB\xaf$*)* were extracted from the literature [26], which considered the UV curing of unsaturated polyester resins without fibers. Then, we modified the parameters from Ref. [26] based on the temperature measurements recorded while curing composite laminate samples. However, cure kinetics experiments were not conducted for the selected resin system.

For the present paper, we conducted explicit cure kinetics studies for unsaturated polyester resin using Q2000 differential scanning calorimeter (DSC) with a photocalorimetry accessory (PCA) from TA instruments. The PCA contains UV light guide and UV power supply of an Omni-cure s2000 powered by high-pressure mercury lamp. It emits light in the range of 320–500 nm, with peak emission at 365 nm. The UV light guide is used to guide the UV radiation from the power source to affect only the sample and reference pan placed inside the chamber of the DSC device.

The rate of the photopolymerization reactions in UV curing is affected by the concentration of the photoinitiator, curing temperature, intensity, and exposure time of the target to the UV radiation [26]. To evaluate and model the influence of these process parameters, three sets of isothermal kinetics studies were conducted using photo-DSC. The photo-DSC instrument is used to measure heat flow rate per sample weight when curing photo-initiated unsaturated polyester resin sample. The heat flow was recorded for three sets of experiments intended to investigate the effect of photoinitiator concentration (Experiment #1), curing temperature (Experiment #2), and UV intensity (Experiment #3). These experiments were conducted by varying one parameter at time while keeping the rest constant as summarized in Table 1.

For each experiment run, photocuring is initiated first by placing the photo-initiated resin and reference sample inside the DSC sample chamber using the Aluminum pan. Then, a desired UV intensity was applied to the resin sample and reference pan by adjusting the light guide adapter base position from the sample by using the positioning screw in addition to appropriate filter installed in the light guide head. Finally, the resin sample was set to the desired curing temperature for 1 min before the curing is initiated to maintain an isothermal curing condition. Then, the UV power was turned on to initiate the UV curing and the exothermic heat released due to photopolymerization was measured. The results are plotted in Figs. 2–4 for the three experiment sets.

Note that from the Table 1, the largest total heat of polymerization is close to the one published in Ref. [27] for the same resin system of the unsaturated polyester. Here, we use a $\Delta Hp$ value of 315 J/g in the following analysis to compare the cure conversion for different curing conditions.

### Prediction of Cure Kinetics Parameters.

*b*) to make the model more suitable for our control and optimization computations. This change, already included in the model summarized in Eq. (1), is to use the form

In Eq. (3), the reaction order $m$ is determined by taking derivative of $d\alpha /dt$ with respect to $\alpha $ and setting it to zero. This results in $m=2\alpha p$, where $\alpha p$ is the cure conversion at maximum cure rate. The exponent terms $pq$ are determined based on the experimental data recorded at room temperature by varying photoinitiator concentration and UV intensity, respectively. Then, the activation energy $E$ appearing in the Arrhenius term $K(T)=A\u2009exp\u2009(\u2212E/RTabs)$) is determined based on the experimental data measured by varying cuing temperatures. For the detail derivation and identification of model parameters, one can also refer to Ref. [26]. For the modified model with Eq. (4), we use the exponent terms $pq$ identified from the previous model to determine the Arrhenius components $K1&K2$ and reaction constant $B\xaf$. These constant terms are determined by fitting the experimental data of cure rate $d\alpha /dt$ to the cure conversion $\alpha $ using the nonlinear Levenberg–Marquardt algorithm for curve fitting [31]. Then, parameters related to Arrhenius components of $K1K2$ such as activation energies $E1E2$ and the pre-exponential rate constants $A1A2$ are determined by developing linear curve fits to the $K1K2$ versus $1/T$ data for varying curing temperature.

The rate of cure from the experimental data and those predicted by the two versions of phenomenological model are compared in Fig. 5. In Fig. 5, model-1 represents the modified kinetics model given with Eq. (4) (which we find computationally expedient for the optimizations to be outlined later), while model-2 represents the one given by Eq. (3). The initial and peak rates of cure are best captured by model-2 while some tolerable deviation is observed for the prediction by model-1. However, for higher cure temperatures (*T* = 80 °C), the prediction by model-2 has larger overall error than model-1. This can be explained by the relationship of the Arrhenius term $Kversus1/T$. For the prediction by model-2, this relationship is not linear for the entire range of curing temperature where constant activation energy is calculated. Similar observation was also made in Ref. [26], which suggested change of the activation energy for curing temperatures above 60 °C for a similar resin system. For the prediction by model-1, a linear relation is obtained with constant activation energy for the entire curing temperature.

The complete set of experimentally identified UV curing process parameters including the attenuation constant, convective heat transfer coefficients, and other thermal properties of the composite are summarized in Table 2 for the modified kinetic model (model-1). To validate the modified process parameters, we simulated the UV curing process model in (1 a)–(1 i) and compared the results measurements conducted while curing a sample of 5 mm thickness with applied UV intensity of 100 mW/cm^{2}^{}. The simulated and measured in situ cure temperatures in the composite laminate (top ($z=0$) and bottom ($z=l$) surface) are shown in Figs. 6(a) and 6(b). The simulated cure state evolution at the top, middle. and bottom of the sample are also plotted in Fig. 6(c). The in situ temperature measurement (via thermocouples), cure sample preparation, and simulation considerations are detailed in Ref. [13] and are skipped here for brevity.

In Fig. 6, the process parameters identified through three different experimental studies: kinetics study, UV transmission measurement, and in situ temperature measurement result in a good match of simulated temperature with that of the measured one. The corresponding cure conversion simulation in Fig. 6(c) predicts a complete cure for layers at the top and maximum of over 80% conversion for the bottom. Although there was no direct measurement available to quantify the local cure conversion, for the cured sample, an average hardness value of about 98% of the top surface is measured at the bottom surface. This relative hardness value can be used to infer that the bottom cure conversion is closer to the top one.

The identified process parameters given in Table 2 will be used for simulation studies on the model-based robust optimal control schemes proposed and detailed in the rest of the paper.

## Closed-Loop Robust Optimal Control Via Hybrid System Modeling

### Overall Control Scheme.

The need for optimal control of the UV curing process can be motivated by examining the simulated cure state shown in Fig. 6(c) above. For the 5 mm sample thickness, the top surface comes to complete cure in faster time and continues to over-cure while the bottom cures slowly with attenuated UV intensity reaching there. For larger sample thicknesses, this deviation will be higher and there may be even no cure conversion at the bottom because of attenuation. A layer-by-layer curing process can be systematically optimized to overcome this attenuation challenge for thick composite laminate fabrication. We propose to use the above process model in the optimizations and incorporate feedback means for accommodating process uncertainties.

The proposed robust optimization and closed-loop control scheme is depicted schematically in Fig. 7. The high level or outer-loop control solves an offline optimization of the layer-by-layer curing process using the hybrid modeling framework to be described below. This optimization considers nominal process model parameters and it provides: (1) a reference trajectory of the surface temperature, $Tiref$ and (2) the nominally optimal interlayer hold times $\tau i$. In this paper, the nominal UV intensity, $uinom$ is taken as constant control input for all stages of the layer addition while the layering times are selected optimally. Both $uinom$ and $\tau i$ form the augmented feed forward control inputs to the process.

where $Tisurface$ is the measured boundary temperature and $Li$ is stagewise static feedback gain at each layer addition. The feedback control signal is computed to track the bottom boundary temperature instead of the top (open) boundary. For the top boundary, there is a sudden drop of temperature as new layers add on (interlayer cooling) and this may result in undesirable spikes in the feedback control signal. For the bottom boundary, this sudden drop at the interface does not show up immediately because of the poor thermal conductivity of polymer materials.

The feedback term considered in Eq. (5) is intended to compensate for degradation of the nominal optimality due to process uncertainties. The static feedback gains themselves are then selected by a separate offline optimization that considers the parameter uncertainties. An explicit optimization scheme is discussed below after elaborating on the formulation of the layer-by-layer UV curing process as a hybrid system.

### Formulation of the Layer-By-Layer UV Curing Process as a Hybrid System.

During the layer-by-layer build-up process, the successive addition of a new layer changes the dynamics of the processes. This change introduces new initial and boundary conditions as well as a growing spatial domain that results in different process dynamics after each layer addition. The layer addition process can be treated as a switching of the dynamics from one mode to another with predefined switching sequence. This mode switch represents a discrete event on the otherwise continuous curing process with its associated thermal evolution and cure-reaction phenomena. This makes the layer-by-layer curing process a naturally switched hybrid system. This hybrid system view of the layer-by-layer curing process is depicted schematically in Fig. 7. In the following, a “mode” represents the state dynamics (PDE–ODE pair given by Eq. (1)) before or after the addition of a new layer. The first mode (Mode 1) has only one layer, and all other modes have more, in increasing numbers, as shown in the top block of Fig. 7. The mode switching times are denoted by $\tau 1$ through $\tau N$. In this hybrid system view, the switching/layering times and the UV radiation input can both be considered as control variables that can be manipulated for a desired effect, in this case, for minimization of cure level deviations in a multilayer part. Further details of this hybrid system realization of the layer-by-layer curing process, including additional assumptions and observations useful for extending the 1D UV curing process dynamics to the layer-by-layer manufacturing processes, are given in our previous paper [11,32]. Here, we summarize the mathematical description of the layer-by-layer process in the hybrid framework.

*y*-axis and the local

*z*-axis, and introducing notations $Tti(y,t),Tyi(y,t),Tyyi(y,t)$ and $\alpha ti(y,t)$ for $\u2202Ti(y,t)/\u2202t,\u2202Ti(y,t)/\u2202y,\u22022Ti(y,t)/\u2202y2$ and $\u2202\alpha i(y,t)/\u2202t$, respectively, the state evolution for mode $i$ in the time interval, $t\u2208[\tau i\u22121,\tau i]$ takes the form

where both the temperature state $Ti(y,t)$ and cure state $\alpha i(y,t)$ evolve in the spatiotemporal domain defined by $\u2126\tau i=[0,il]\xd7[\tau i\u22121,\tau i]$. $0\u2264\tau 0<\tau 1<,\u2026,<\tau N<\u221e$. The boundary conditions are also defined on $\Gamma 1i={il}\xd7[\tau i\u22121,\tau i]$ and $\Gamma 2i={0}\xd7[\tau i\u22121,\tau i]$. $\theta \u2208\u211cm$ is a vector of uncertain parameters; and $d(y)=s0q\u2009exp\u2009(\u2212\lambda p(il\u2212y))$, $b(y)=d(y)(vr\Delta Hr\rho r/\rho cp)$*,*$a=kz/\rho cp$, $c=h/kz,$ and $e=\u03d1/kz$; $KD,K1,andK2$ are as given in (1*f*)–(1 *h*). In the following analysis, for brevity, we use $fi(Ti,\alpha i,Li,\theta )$ instead of $fi(Ti(y,t),\alpha i(y,t),Li,\theta )$, dropping the spatial and temporal indices of the state. Note that in Eq. (6), the UV radiation $I0$ is the UV input $ui(t)$. For the UV curing process, the main uncertain parameters may include cure kinetics parameter constants: $\theta =[E1,E2,B\xaf]\u2032$. To avoid confusion with the temperature state $T$, the transpose of a vector is denoted by $[\u22c5]\u2032$ instead of the usual $[\u22c5]T$.

*,*the transition to the new mode defines new initial conditions for the next mode. This is described compactly for both the temperature and cure state by

where $Ti(y,\tau i\u2212)$ and $Ti+1(y,\tau i+)$ are the left-hand and right-hand limit values of the temperature state in mode $i$ and mode $i+1$, respectively, at the switching time $\tau i$. $Fi:\u2126i\u2192\u2126i+1$ is the mode transition operator for the temperature state at switching time $\tau i$ defined over $\u2126i\u2208[0,il]$. Since both states coexist in the spatial domain in all modes, similar definitions hold for the cure state (8*b*) as well.

To give a particular example of the mode transition operator for this application, the starting temperature at switching time $\tau i$ is taken as the average temperature at the interface of the new layer and the layer in the curing process. The cure state at the interface is taken as that of the cure state already in the curing process because cure conversion is an irreversible process. For all other locations in the domain away from the interface (all previous layers already being cured), the initial values of the temperature and cure states in the new mode take their values from the end of the previous mode. The initial value of all state elements corresponding to locations in the new layer will take on ambient conditions.

Equations (6)–(10) complete the hybrid formulation for the layer-by-layer UV curing process.

### Closed-Loop Robust Optimization.

While the above hybrid formulation admits both the UV input and the layering times as optimizable control inputs, in the current work, after some analysis, we chose to separate the utility of these control inputs as follows. The layering times will be selected via offline optimization using the nominal hybrid process model. The UV input is to be manipulated online around a nominal (feed forward) setting to accommodate process uncertainties via optimal feedback (see Eq. (5)).

where $g\xaf$ represents the desired objective function at final time $\tau N$. The second term in Eq. (11) defines the robustness consideration with sensitivity of the nominal cost function to parameter changes; $S\chi N,j(y,\tau N\u2212)=\u2202\chi N(y,\tau N\u2212)/\u2202\theta j$ is the sensitivity of final state w.r.t parameter uncertainty; and $\chi =[T,\alpha ]\u2032$ is augmented state of temperature and cure level. The initial time $\tau 0$ and state $\chi (y,\tau 0)$ are assumed fixed, while the final time $\tau N$ and state $\chi (y,\tau N\u2212)$ are free to be optimized. $\theta $ is again the vector of uncertain parameters. For normalized state variables, the weighting function $\beta $ ($0\u2264\beta \u22641$) is considered as a robustness measure that defines a tradeoff between good nominal performance and minimizing performance loss due to uncertainty. The choice of $\beta $ reflects the emphasis given by the designer to accommodate expected uncertainty. The higher the value of $\beta $, the more weight is given to the sensitivity of the cost (final state) to the expected uncertainty, which leads to final state optimal inputs that are less sensitive to this uncertainty. However, this comes at a loss of nominal performance. Alternatively, if there is a high confidence in model parameters, then the designer can select a small value of β. Some simulation results are included later to illustrate this tradeoff.

In Eq. (11), in addition to the first moment sensitivity of the nominal cost function; we included additional quadratic final state sensitivity term to improve the performance of the robust optimization. The first moment consideration alone prematurely stops the optimization iteration as the actual cure state deviation approaches to zero before the cure state sensitivity goes to zero. The addition of the quadratic sensitivity term helped to overcome this challenge.

The robust optimization problem (11) subjected to process dynamics constraints (6)–(10) is solved in two steps. First, the layer addition time vector is optimized by fixing $\theta $ at its nominal value $\theta \xaf$ and setting $\beta =0$. This gives nominal layering times and the open-loop nominal optimal trajectory for the temperature state. Then, fixing the layering times at their nominal optimal values, the static feedback gain vector is optimized to track the nominal reference trajectory of the bottom surface temperature to accommodate uncertainty modeled by selecting the robustness weight $\beta 0$. For detailed derivations of the optimality conditions and numerical optimization algorithm for the case of the nominal optimization problem (with only the first term in the objective, $\beta =0$), the reader is referred to our previous work [11].

For $\beta >0$ with uncertainty considerations, conventional optimization techniques cannot be used directly because the added sensitivity terms for robustness analysis contain sensitivity states (e.g., $\u2202\chi N(y,\tau N\u2212)/\u2202\theta $), which are not explicit in the process dynamics. As a result, derivation of additional auxiliary dynamics is required to solve for the sensitivity state directly. Then, the robust optimization problem (11) can be solved as a regular minimization problem by augmenting the auxiliary sensitivity dynamics to the process dynamics. In the current paper, for a solution of robust optimal static feedback gain, the optimality conditions along with the sensitivity dynamics constraints can be derived following the derivation procedure detailed in Ref. [12].

## Results and Discussions

For the simulation study, the thermal properties of unsaturated polyester resin are extracted from published work [33]. For the fiberglass, E-glass thermal properties such as thermal conductivity ($kz=0.01\u2009W/cm\xb0C$), specific heat ($cp=0.8\u2009J/g\xb0C$), and density ($\rho =2.54\u2009g/cm3$) are used. The resin volume fraction is assumed to be 60% for computing the average thermal properties of the composite laminate. Other experimentally verified nominal process parameters are summarized in Table 2 given in Sec. 2.2.

For the process simulation and implementation of the optimization algorithm, a 10-node spatial discretization is adopted to convert the temperature and associated state PDEs to a set of ODEs in time, for each layer. In the simulations, we considered a layer made from three fiber plies with an approximate thickness of 1 mm per layer. The results are generated for a sample thickness of 10 mm with total number of ten layers. A cure level of 90% was set as a desired final cure level. A constant UV-intensity of $100mW/cm2$ is used for the entire curing duration as the nominal feedforward UV input, while the layering times (the other feed forward control) are determined by the nominal optimization.

We illustrate the advantages of the proposed closed-loop robust optimization scheme by comparing the results of the following cases. Case 1: A nonoptimal approach with equal-interval layering time and constant UV input; Case 2: Nominal optimal approach with nominal optimal layering time control and constant UV input; and Case 3: Closed-loop robust optimization approach with nominal optimal layering time control and constant feedforward plus optimized gain-feedback UV input control (Eq. (5)).

For the nonoptimal approach of equal-interval layering time (Case 1), the length of overall curing time is kept the same as that of the overall curing duration of the nominal optimal approach (Case 2). For the nominal optimal case, the optimization is executed until the desired performance is achieved. For the closed-loop robust optimal approach (Case 3), the optimization is executed until the robustness term of the cost function defined by system sensitivity reaches near zero. The overall execution time for optimization case 2 took about 13.24 min while execution time for case 3 took a relatively longer time about 34.56 mins because of added dynamics constraint related to sensitivity. The comparison of the results in final cure state distribution in the three cases, along with corresponding control inputs, is given in Figs. 8–10 below.

For the robust optimization cases, first we investigated the effect of each uncertain parameter in the vector $\theta =[E1,E2,B\xaf]\u2032$ on the nominally optimal result considering $\xb110%$ deviation for each parameter, taken one at a time. The effect of positive and negative sides of the parameter deviations is not symmetric. This can be explained by the differences in cure rate with increase and decrease of these parameters. For example, in case of parameter $E2$, the deviation in the positive direction decreases the cure rate and this results in incomplete cure and it leads to larger deviations of the final cure level as the parameter deviates more. Whereas the deviation in the negative direction increases the cure rate but the rate of increment after a critical cure level of $\alpha c=0.92$ (which is closer to the desired cure level of $\alpha =0.9$*)* is not significant because of the diffusion-controlled effect. With the current set of experimentally validated process parameters, we also found that a decrease of $B\xaf$ is as equally important as an increase of $E2$. In the simulation results plotted below, we presented the results where the cited worst-case uncertainty in $E2B\xaf$ is added to the process/plant model and the robust optimizations are done with the weight $\beta =0.25$.

Figure 8 shows that for the nonoptimal case (Case 1) of equal-interval layering time, a slight over cure is observed for the bottom layers while unacceptable cure level is achieved in the last few top layers compared to the desired cure level. The other two optimized results (Cases 2 and 3) offer a much better uniformity in the final cure level distribution as compared to the nonoptimal case. However, the nominal optimization result suffers from process uncertainties. The worst-case consideration of *a* + 10% deviation in $E2$ and a − 10% deviation in $B\xaf$ in the process model reduces the nominal result of near through cure (about 90%) to about 75% on average. This cure level deviation of more than 15% is significantly reduced by the proposed robust optimization of the layer-by-layer feedback gains (Case 3).

Figure 9 shows the trend of the nominal optimal interlayer hold times. It first decreases form its value for the first few bottom most layers, seems to settle to a minimum for the middle layers before becoming highest in magnitude at the end as one adds layers from the bottom to top. The numerical values of this interlayer hold times are summarized in Table 3 along with layerwise feedback gains. The longer hold times computed at the bottom most layers can be explained by a need to precompensate the anticipated large UV attenuation in the bottom layers as layers add on later. Similarly, the longer hold times for the top most layers can be explained by the need for bringing the cure level from zero to the desired 90% quickly while those at the bottom continue to cure with attenuated UV during this time.

Figure 10 shows the evolution of the total robust optimal control input of UV intensity (feedforward plus feedback). For almost all layers except at the top most layers toward the end, the constructed feedback control law computed an additional (positive) UV intensity on top of the constant feedforward input of $100\u2009mW/cm2$. This is can be explained by the final cure level result for the nominal optimal case (Case 2) shown in Fig. 6. For the worst case uncertainty considered, the final cure level reduces from the targeted one; as a result, the robust optimization computes a positive UV intensity to compensate for the cure level degradation in earlier layers to bring them to near complete cure.

Figure 11 shows the sensitivity of the final cure state with for two different values of the robustness measure β. For the considered uncertainty (+10% deviation in both $E2$ and $B\xaf$), by increasing the β value from $0.25$ to $0.4$, it can be seen that the sensitivity of the final cure state (across all layers) to the respective parameters is largely reduced. While there is still room for further improvement by increasing $\beta $, the nominal performance will deteriorate. The tradeoff between nominal performance and the risk due to uncertainty can also be examined by comparing the trends of cost function value plotted in Fig. 12, which shows the progress of the cost function during the computations of the optimization algorithm. As the cost component due to the sensitivity to parameter changes decreases, the nominal cost increases. This departure of the nominal cost from its optimal value will increase for higher values of the robustness measure $\beta $. For $\beta =0.25$, the minimum total cost is achieved after 31 iterations.

## Conclusion

This paper outlined a model-based robust optimization and control scheme for a layer-by-layer curing process for fabricating a thick polymer composite laminate. The paper first outlined experimental model verifications of a UV curing process model. Then, using a proposed hybrid systems modeling framework for the layer-by-layer process, the paper offered an inner and outer loop cascade control structure. At the outer loop, the layering times (the interlayer times) are posed as the control variables to be selected optimally via offline optimizations using the nominal model. Then, the closed-loop control of UV intensity with feedforward and output feedback is constructed to track a nominally optimal surface temperature trajectory. The static feedback gains at every mode or layer addition are optimized to compensate for performance degradation due to process uncertainty by defining the sensitivity of the objective function as a robustness measure and considering it as an additional cost function. The robust optimization problem is posed and solved by adjoining the corresponding system sensitivity and state dynamics within the hybrid framework.

The paper included simulation results for using the experimentally verified UV curing process model considering two uncertain parameters with significant effects on the cure dynamics: increase in activation energy $E2$ and decrease cure reaction constant $B\xaf$. The simulations illustrated the advantages of the robust hybrid optimization schemes in achieving robust process performance via the augmented control inputs of open-loop nominal optimal-inter layer hold times and feedforward plus (optimal) feedback UV intensity in the presence of uncertain parameters.

Continuing investigations include development of an automated layering and control system that experimentally deploys the proposed schemes in a fully instrumented setting.

## Acknowledgment

This research is supported, in part, by NSF under grant no-CMMI-1055254 and the U.S. Department of Energy's GATE Program DE-EE0005571.