## Abstract

Roll-to-roll (R2R) printing shows great potential for high-throughput and cost-effective production of flexible electronics, including solar cells, wearable sensors, and so on. In roll-to-roll process, precise control of the web speed and tension is critical to ensure product quality, since improper web speed and tension would lead to severe damages to the substrates. In this chapter, we will focus on the advanced control algorithms of web tension and speed control in roll-to-roll system. Two concepts of control algorithms will be presented, which are model-based control and data-based control. For model-based control algorithms, the modeling of web dynamics and an application of robust H∞ controller will be reviewed; for data-based control algorithms, two methods of neural network control learning methods will be introduced, and the application of neural network control in web tension and speed control will be presented. Moreover, performances of different control algorithms are compared.

### Keywords

- roll-to-roll system
- tension control
- speed control
- model-based control
- neural network control

## 1. Introduction

Flexible electronics offer lightweight, thin form factor and unbreakable foldability with maximum design freedom and easy affordability, bringing the world of consumer electronics to a new age. Research works have been carried out to explore its use for a wide range of applications, from simple low-power electronic circuity for conventional logics and mobile devices, smart and paperlike displays, efficient energy harvesting and storage capability, disposable label-free biosensors, and smart skins to autonomous wearable electronics.

In order to realize such a huge potential, appropriate mass production technologies need to be developed. The roll-to-roll (R2R) printing process as a low-cost and fast-throughput patterning, and fabrication technique on flexible substrates is the current focus. Several kinds of printing technologies, such as inkjet printing [1], microcontact printing [2], and gravure printing [3], have been successfully applied on roll-to-roll system to fabricate flexible electronics. The print resolution has achieved 50–100 nm at lab scale, which makes high-resolution flexible devices available. This high-resolution printing process requires high demands on the control of web speed and web tension, as the printed patterns would be destroyed by the fluctuation of the web speed and web tension, even the web itself may be broken or sagged. As a result, web tension and speed are two key variables that affect the quality of the manufactured products.

This chapter is aimed at introducing different methods of web tension and web speed control. The control algorithms are classified into two large groups: model-based control and data-based control. For model-based control, first, the dynamic model of the web handling system is developed. After that, two major control algorithms, PID and decentralized control, are presented. For data-based control, the application of neural network control will be discussed. Moreover, performances of the above control algorithms are compared.

## 2. Model-based control

Model-based control mentioned here refers to plant modeling based on physical laws. The mathematical model conceived is used to identify dynamic characteristics of the plant model. Controllers can be synthesized based on these characteristics. The main steps in model-based method are:

Plant modeling. Plant modeling is based on physical laws, where a model consists in connected blocks that represent the real physical elements of the plant. Usually, certain parameters are hard to measure, such as the model of load cells and motors in roll-to-roll system. In this situation, parameter optimization could be applied. It is done in several steps in order to reduce the number of parameters to identify at each step.

Controller analysis and synthesis. Based on the model of the plant, differential-algebraic equations can be derived which governs plant dynamics. Different control algorithms can then be designed.

In this section, the modeling of roll-to-roll web handling system is derived. A robust

### 2.1 Dynamic model

A typical roll-to-roll system can be divided into two parts: web handling part and printing part. Here, we will focus on the web handling part. Web handling refers to the physical mechanics related to the transport and control of web materials through processing machinery. It is common to divide a process line into several tension zones by denoting the span between two successive driven rollers as a tension zone in web handling. Since the free roller dynamics influences the web tension only during the transients due to acceleration/deceleration of the web line and negligible effect during steady-state operation, the assumption that the free rollers do not contribute to web dynamics during static operation is reasonable. This assumption will be used in developing dynamic model. Also it is assumed that there is no slip between the web and rollers, and the web is elastic.

Figure 1 shows a web line with three tension zones. It consists of four motorized rollers and three load cells. Load cells are mounted between each pair of rollers which are used to measure the web tension. The driving motors are donated by * M* for

_{i}

*= 0, 1, 2, and 3,*i

*donates input torque from the*u

_{i}

*th motor,*i

*represents the linear web speed on the*v

_{i}

*th roller, and*i

*represents the web tension in the span between (*t

_{i}

*− 1)th and*i

*th rollers. There are four sections in the web line in Figure 1, which are the unwind section, master speed roller, process section, and rewind section. Master speed roll is used to set the reference speed of the whole web process lines. The unwind roll and rewind roll release/accumulate material to/from the processing section of the web line. Thus, their radius and inertia are time-varying. The dynamics of different sections are introduced in the following.*i

** Unwind section**: A cross-sectional view of the unwind roll is shown in Figure 2. The associated local state variables for the unwind section are web speed

v

_{0}and tension

t

_{1}. At any time

*, the effective inertia*t

J

_{0}(

*) of the unwind roller is given by*t

where _{0} is the gearing ratio between the motor shaft and unwind roll shaft. _{m0} is the inertia of all the rotating parts on the motor side, which includes inertia of motor armature, driving pulley, deriving shaft, etc. _{c0} is the inertia of the driven shaft and the core mounted on it. _{w0} is the inertia of the cylindrical wound web material on the core. Both _{m0} and _{c0} are constant, but _{w0} is not constant due to the releasing the web. The inertia, _{w0}, is given by

where * b* is the width,

_{w}

*is the density of the web material,*pw

R

_{c0}is the radius of the empty core, and

R

_{0}(

*) is the radius of the material roll.*t

The speed dynamics of the unwind roll can be written as

where _{0} is the angular speed of the unwind roll and _{f0} is the coefficient of friction in the unwind roll shaft. The change rate in Jot is only because of the change in _{ω0}(* t*), and from Eq. (2), the rate of change of

J

_{0}(

*) is given by*t

The speed of the web coming off the unwind roll is related to the angular speed of the unwind roll by _{0} = _{0}_{0}. Hence, _{0} can be obtained in terms of _{0} as

Substitute Eqs. (4) and (5) into Eq. (3), we have

The rate of change of radius, _{0}, is a function of the speed _{0} and the web thickness * t* and is approximately given by

_{w}

This is because the thickness affects the rate of change of the radius of the roll only after each revolution of the roll; the continuous approximation is valid since the thickness is generally very small. Hence, Eq. (6) can be simplified to

To derive the dynamic behavior of the web tension as shown in Figure 3, we need three laws:

Hooke’s law, which models the elasticity of the web

Coulomb’s law, which gives the web tension variation due to the fraction and to the contact force between web and roll

Mass conservation law, which expresses the cross-coupling between web velocity and web strain

For Hooke’s law, the tension t of an elastic web is the function of the web strain * ε*:

where * E* is Young’s modulus,

*is the web section,*S

*is the web length under stress, and*L

L

_{0}is the nominal web length. Note that Hooke’s law is valid for most web materials, if the tension is not too large. Moreover, the Young’s modulus is very sensitive to the temperature and the humidity level. On the processing line, the web may go through different processes. Therefore, its elasticity properties may considerably change during the process.

Coulomb’s law: The study of the web tension on a roll can be considered as a problem of friction between solids. On the roll, the web tension is constant on a sticking zone which is an arc of length * a* and varies on a sliding zone which is an arc of length

*. Then, the web strain between the first contact point of a roll and the first contact point of the flowing roll is given by*g

where * μ* is the friction coefficient and

*=*L

_{t}

*+*a

*+*g

*.*l

The tension change occurs on the sliding zone, while the web speed is equal to the roll speed on the sticking zone. A sliding zone can also appear at the roll entry if the tension varies at high rate.

Mass conservation law: Consider a web of length * L* =

L

_{0}(1 +

*) with weight density*ε

*, under a unidirectional stress. If the cross section stays constant, then, according to the mass conservation law, the mass of the web remains constant between the state without stress and the state under stress*ρ

Based on these three laws, web tension between two successive rolls can be obtained. The equation of continuity applied to the web transport system gives

where * V* represents the web speed in the control volume. Using Eq. (12), we integrate on the control volume

*defined by the first contact points between the web and the rolls:*V

If the web section is constant, * dV* =

*, we can integrate with respect the variable*Sdx

*from 0 to*x

*:*L

_{t}

Using Eq. (11) and assuming that * a* +

*≪*g

*, we can obtain*L

Let * ε*(0,

*) =*t

ε

_{1},

*(*ε

*,*L

_{t}

*) =*t

ε

_{2},

*(0,*V

*) =*t

V

_{1}and

*(*V

*,*L

_{t}

*) =*t

V

_{2}; then, the final relationship is

Assuming that _{1}≪1, _{2}≪1, then

Considerable mathematical simplification can be obtained by using Eqs. (18) in (17) as follows:

Rearranging equation and using Eq. (1) gives

Hence, dynamic behavior of the web tension _{1} is given by

Master speed roller: The dynamics of the master speed roller are given by

** Processing section**: The web tension and web velocity dynamics in the process section are given by

Sometimes there are idler rolls in processing section; in that case, we can ignore the torque generated by the motor in Eq. (24).

** Rewind section**: The web dynamics of speed in rewinding section are similar to those in unwind section, and the only difference is that the radius of rewind roll is increasing. The web tension and speed dynamics in rewind section are

Equations (9) and (21)–(26) represent the dynamics of the web handling. Extension to other web lines can be easily made based on this model. However, it is necessary to emphasize all the assumptions when using this model:

The length of contact region between the web material and a roller is negligible compared to the length of free web span between the rollers (i.e., the strain variations in the contact region are negligible).

The thickness of the web is very small compared with the radius of rollers over where the web is wrapped.

There is no slippage between the web material and the rollers.

There is no mass transfer between the web material and the environment (i.e., no humidification or evaporation).

The strain in the web is small (much less than unity).

The strain is uniform within the web span.

The web cross section in the unstretched state does not vary along the web.

The density and the modulus of elasticity of the web in the unstretched state are constant over the cross section.

The web is perfectly elastic.

The web material is isotropic.

The web properties do not change with temperature or humidity.

### 2.2 Model-based robust H ∞ control

To synthesize the controllers, we need a linearized model of the plant. The linear model is obtained by linearizing the simplified form of the equations around the nominal web tension and velocity, by assuming slow variations of the radius and inertia. Let * T* =

*−*t

t

_{0},

*=*V

*−*v

v

_{0}, where

t

_{0}and

v

_{0}are tension and speed reference and

*and*T

*are the variants in tension and speed, respectively. At the initial steady-state operating condition, the equation must be satisfied:*V

The following linearized model results from applying Eq. (27) with Eq. (21), and dropping second-order terms:

Using Eqs. (14), (22), (24), (26), and (28), the state-space representation of the nominal model around an operation point, * V* =

_{i}

V

_{0}, for

*= 1, 2, 3, 4, 5,*i

*=*T

_{i}

T

_{0}for

*= 2, 3, 4, 5, with a web tension on the unwound roller equal to zero can be expressed as*i

Here, model Eq. (29) is called nominal model _{0} of the web handling system.

Robust _{0} with full unwind roller and empty rewind roller. The robust * w* is the exogenous inputs and

*is the controlled signals.*z

The frequency-weighting functions * W*,

_{p}

*, and*W

_{u}

*appear in the closed-loop transfer function matrix in the following manner:*W

_{t}

where * S* is the sensitivity function,

*is the complementary sensitivity function*T

The controller * K* is calculated using “γ-iterations” [9]. It is a stabilizing controller such that the

*and*w

*is*z

With * γ* close to

γ

_{min}, the smallest possible value of

*. In a sense, the controller*γ

*“minimizes” the transfer between*K

*and the controlled signal*w

*.*z

The frequency-weighting function * W* is usually selected with a high gain at low frequency to reject low-frequency perturbations and to reduce steady-state error. The structure of

_{p}

*is as follows:*W

_{p}

where * M* is the maximum peak magnitude of

*,*S

*is the required bandwidth frequency, and*w

_{B}

ε

_{0}is the steady-state error allowed. The weighting function

*is used to avoid large control signals, and the weighting function*W

_{u}

*increases the roll-off at high frequency. Figure 5 shows the performances of PID controller and multivariable*W

_{t}

## 3. Data-based control

From the physical model of the web handling part, we can see that the model is nonlinear and time-variant, which leads to difficulties in monitoring the dynamics. Besides, in order to implement controllers, the model is linearized by dropping the high-order terms. Thus, the designed controller can’t follow closely enough the dynamics of the system during all the winding process. Moreover, up to 11 assumptions are made to derive the model. However, we can’t guarantee that all the assumptions are satisfied, which may cause a large difference between the performance of the model and the real plant. To overcome these disadvantages of model-based control, data-based control was carried out. In data-based control, the identification of the plant model and/or the design of the controller are based entirely on experimental data collected from the plant. The controlled plants in data-based control are treated as black-boxes, which the dynamics of plants can be learned using a large amount of sensory data.

The standard approach in data-based control system design has two steps:

Model identification: The basic idea of data-based control is to make use of the wealth of data obtained from sensors to learn the dynamics of the plant. These data are also called training data.

Controller design: The controller design could be done in the same way as in model-based control, such as neural generalized predictive control (GPC). Meanwhile, training method can also be applied for training the controller, like neural network control.

In this section, we will introduce an application of one data-based control algorithm, i.e., neural network control, in web tension and speed control of roll-to-roll system.

### 3.1 Neural network

Neural network is a universal approximator, which is capable of approximating any measurable function to any desired degree of accuracy. Hence, we could use neural network to learn the dynamics of plants. Here, we use the classical definition of neural network in Ref. [10]. Neural network consists of networks of artificial neurons in which the data flows through and their weights are changed to reduce the error in the learning process. A one-layer neural network is typically presented by a network diagram as in Figure 6. Derived features * Z* are created from linear combinations of the inputs; then the output

_{m}

*is modeled as a function of linear combinations of the*Y

*:*Z

_{m}

The activation function

* β* and

*are additional bias feeding into every unit in the hidden and output layers, which captures the intercepts of*α

α

_{0m}and

β

_{0k}in model.

For output function _{k}(* T*), we usually choose the identity function

g

_{k}(

*) = T.*T

The units in the middle of the network are called hidden units as the values * Z* are not observed directly. Generally, there can be more than one hidden layer.

_{m}

ANN encompasses various types of learning algorithms, the most popular of which include feedforward neural network and recurrent neural network.

In feedforward neural network, the data flow is one directional, which is from the input layer through hidden layers to the output layer without loop and feedback.

In recurrent neural network, some of the outputs are fed back to the input layer. One of the applications of recurrent neural network is time series prediction, which then can be applied in predictive control [11].

After a certain neural network is built, it needs to get training, which is to find a set of weights to minimize the error between the real outputs and predicted outputs. Backpropagation is a method used in neural networks to calculate a gradient that is need in the calculation of the desired weights based on mean squared error loss function [12]. This method has two steps: first data are fed into the network from input layer, and the activations for each layer of neurons are cascaded forward; then based on the loss, we calculate the gradient from the output layer to the input layer and update the weights.

### 3.2 Neural network control

In control system, in order to implement an effective algorithmic controller, we must have a thorough understanding of the plant that is to be controlled, which is very difficult in practice. A neural network controller performs a specific form of adaptive control, as it has nonlinear network and adaptable parameters. The learning process gradually tunes the weights so that the errors between the desired outputs and actual plant outputs are minimized. Here we introduce two learning structures to minimize the error signal, which are both simple and easy to understand and implement [13].

Figure 7 shows the general learning method for training the neural network controller that does minimize the overall error. The training sequence is as follows. A plant input * u* is applied to the plant to get a corresponding

*. The network is trained to reproduce*y

*at its output from*u

*. Then the trained neural network controller should be able to reproduce an appropriate input*y

*based on the desired output*u

*. This will certainly work if the desired output*d

*is sufficiently close to one of the training data*d

*. Thus, the success of this method highly relies on the ability of the neural network to learn to respond correctly to inputs that are not applied in the training phase. Notice that we can’t select the training data in regions of interest as we don’t know which plant inputs correspond to the desired outputs*y

*. Thus, we typically try to uniformly populate the input space of the plant with training data so that the neural network can interpolate the intermediate region. In this case, the general learning method may have to learn a larger operational range than is necessary which is time consuming.*d

Figure 8 shows the specialized learning method for training the neural network controller to operate properly in regions of interest only. The desired output * d* is used as the input to the network. The neural network is training to find the input

*that derives the system output*u

*to the desired*y

*. The training is accomplished by using the error between the desired*d

*and actual plant output to adjust the weights using gradient decent procedure; during each iteration the weights are adjusted to reduce the error. Notice that this procedure needs knowledge of the Jacobian of the plant. This method can be learned in the region of specialization and can be trained online. However, the general method must be trained offline. Feedforward neural networks are nondynamical systems and, therefore, input-output stable. Consequently, offline training presents no stability problem for the control system. Intuitively, we expect no stability problem in offline training, if we add penalty to the weights in loss function and the learning rate is slower enough.*d

### 3.3 Neural network control application in web tension and speed control

Figure 9 presents the prototype of our roll-to-roll system. Here, we only use the web handling part to test the neural network controller. The web handling part consists of one unwind roll, one rewind roll, one idler roll, and one tension-measuring roll. The web unwinds at unwinder and passes through the idler roll and tension-measuring roll and rewinds at rewind roll. A ring encoder and a readhead (RENISHAW MF100F and LM10) are mounted on the idler roll, which the diameter is 3 inches, to measure the linear web moving speed with a resolution of 1,310,720 CPR. The tension-measuring roll (FMS RMG1922) is used to measure the tension of the web with 1 kHz sampling rate and 0.25 N resolution. The unwind roll and rewind roll are driven by two servo motors (YASKAWA SIGMA-7). The rewind roll is used to control the web speed according to the measured speed from the encoder. The unwind roll is used to control the tension based on the feedback signals from the tension-measuring roll. The diameter of unwind roll and unwind roll are both 3.25 inches after installing the core. The web we used here is MYLAR type A film with 5 mil thickness and 4 inches width.

The data acquisition, A/D conversion, data processing, and control algorithm are all carried out using NI CompactRIO (NI CompactRIO 9049). The motor control is done by LabVIEW SoftMotion Module. The integrated field-programmable gate array (FPGA) in CompactRIO is used to receive the encoder signals and tension signals with up to 40 MHz sampling rate.

A single-layer feedforward neural network with time-delayed structure is generated to learn the plant using generalized learning method. The structure is shown in Figure 10. The inputs to this network consist of external inputs, * u*(

*) and*t

*(*y

*− 1), and their corresponding delay nodes,*t

*(*u

*− 1), …,*t

*(*u

*−*t

*) and*d

_{u}

*(*y

*− 2), …,*t

*(*y

*−*t

*). The parameters*d

_{y}

*and*d

_{u}

*represent the number of delay nodes. The advantage of this time-delayed structure is to help the neural network to learn the dynamics of the plant with time-variant parameters. As mentioned above, the disadvantage of generalized learning method is that we need to train the model in a large region. To overcome it, we demonstrate a simple method to find the possible region of interest. We first applied an untuned PID controller to the system. The input to the PID controller is the desired tension or speed. Then we recorded the outputs of the PID controller, which are the real inputs to the plant and the real outputs of the plant. These data are fed into the neural network. Here, we set the time delay*d

_{y}

*and*d

_{u}

*to 8 and the size of hidden layers here is 10; the activation function is*d

_{y}

*for the hidden layer and*tansig

*for output layer.*purelin

The building and training of the neural network are both done in MATLAB. In Ref. [14], the trained neural network is called in LabVIEW through MATLAB scripts. However, we find that this implementation would consume a rather long time, which is about 100 ms in our application. Since this delay is caused by the communication between MATLAB program in personal computer and LabVIEW program in NI CompactRIO, if we put the neural network into the CompactRIO directly, the delay could be eliminated entirely. Therefore, we complied the MATLAB code into a shared objects file (.so) which can be integrated to CompactRIO directly. The resulted time to call the neural network is reduced to 20 μm, which is fast enough for real-time application.

Figure 11 shows the results of using neural network to control web speed and tension. The reference speed and tension are set to 3 inch/second and 20 N, respectively. We have recorded the web tension and speed during the whole process. The maximum deviation (ΔT/T) of measured tension is 7 and 4% for speed (ΔV/V). The standard deviation is 0.2% for tension and 0.1% for speed. The tension requirement in roll-to-roll fabrication is error within 10%. Thus, the neural network controller meets the requirements. Moreover, using neural network to control web speed and tension saves lots of work and time in identifying the mathematical motel of roll-to-roll system. We should mention that, during the starting phase, the variation of speed and tension is both larger than the other phases. The possible reason is that the training data from PID controller doesn’t cover the region of interest in this phase, so that the interpolation of neural network is not accurate. Our future work will include investigating this issue.

## 4. Conclusion

Roll-to-roll fabrication is known as a cost-effective method in producing electronic devices on flexible substrates. However, improper tension and speed may cause manufacturing defects of the substrate, including web wrinkling, edge cracks, and web misalignment, which lead to damages and wastes of the products. Hence, the study and control of web handling systems are carried out for decades. In this chapter, we introduce the two set of control algorithms in web handing field, model-based control and data-based control. In model-based control, a mathematical model of web tension and speed is derived. Based on the model, a robust H controller is applied. In data-based model, neural network control is discussed in detail. Two major learning methods are compared. A real application of neural network control in web handling is realized in roll-to-roll system. Both control algorithms have advantages and disadvantages. For model-based control, the physical laws behind the dynamics of plant are clear; however, certain parameters of the model are difficult to identify, and some control algorithms are hard to realize in real life. For data-based control, the design of the controllers is simple and easy to implement, but we don’t know what happens inside the controller. Consequently, it is worth to explore different control algorithms for a certain roll-to-roll system and then choose the one with the best performance.

## Acknowledgments

We also thank Mehdi Riza, Neel Prakashchandra, Mehta Jonathan Lombardi, and Patrick Caviston for their help in the setup of the roll-to-roll machine.

## Conflict of interest

The authors declared that they have no conflicts of interest to this work.

## References

- 1.
Sirringhaus H, Kawase T, Friend R, Shimoda T, Inbasekaran M, Wu W, et al. High-resolution inkjet printing of all-polymer transistor circuits. Science. 2000; 290 (5499):2123-2126 - 2.
Perl A, Reinhoudt DN, Huskens J. Microcontact printing: Limitations and achievements. Advanced Materials. 2009; 21 (22):2257-2268 - 3.
Noh J, Yeom D, Lim C, Cha H, Han J, Kim J, et al. Scalability of roll-to-roll gravure-printed electrodes on plastic foils. IEEE Transactions on Electronics Packaging Manufacturing. 2010; 33 (4):275-283 - 4.
Pagilla PR, Siraskar NB, Dwivedula RV. Decentralized control of web processing lines. IEEE Transactions on Control Systems Technology. 2007; 15 (1):106-117 - 5.
Koc H, Knittel D, De Mathelin M, Abba G. Modeling and robust control of winding systems for elastic webs. IEEE Transactions on Control Systems Technology. 2002; 10 (2):197-208 - 6.
Shin KH. Distributed Control of Tension in Multi-Span Web Transport Systems [thesis]. Stillwater: Oklahoma State University; 1991 - 7.
Skogestad S, Postlethwaite I. Multivariable Feedback Control: Analysis and Design. New York: Wiley; 2007 - 8.
Kwakernaak H. Robust control and H ^{∞}-optimization—Tutorial paper. Automatica. 1993;29 (2):255-273 - 9.
Zhou K, Doyle JC, Glover K. Robust and Optimal Control. New Jersey: Prentice Hall; 1996 - 10.
Friedman J, Hastie T, Tibshirani R. The Elements of Statistical Learning: Springer Series in Statistics. New York: Springer; 2001 - 11.
Soloway D, Haley PJ, editors. Neural generalized predictive control. In: Proceedings of the 1996 IEEE International Symposium on Intelligent Control; Dearborn: IEEE; 1996 - 12.
Hecht-Nielsen R. Theory of the backpropagation neural network. In: Neural Networks for Perception. Cambridge, Massachusetts: Academic Press; 1992. pp. 65-93 - 13.
Psaltis D, Sideris A, Yamamura AA. A multilayered neural network controller. IEEE Control Systems Magazine. 1988; 8 (2):17-21 - 14.
Horng J-H. Hybrid MATLAB and LabVIEW with neural network to implement a SCADA system of AC servo motor. Advances in Engineering Software. 2008; 39 (3):149-155