선정목록으로
Modelling And Optimal Control Of Laser-Driven Thermocapillary Motion Of A Droplet
수소연료전지 · (7) MEA(막전극접합체)
기본 정보
- 저자
- DOI
- 10.5281/zenodo.1481662
- 저널
- Zenodo (CERN European Organization for Nuclear Research)
- 발행년도
- 2018
- 발행기관
- European Organization for Nuclear Research
- 피인용수
- 0
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.5281/zenodo.1481662
- 토픽
- Nanomaterials and Printing Technologies
- OpenAlex ID
- W6912008690
평가 내용
- 관련도
- 사업분야
- 수소연료전지 · (7) MEA(막전극접합체)
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '수소연료전지 > MEA(막전극접합체)' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
Thesis for the Master degree in Mechatronics Engineering, Department of Industrial Engineering (DII), University of Trento. Work in collaboration with the Center for Integrative Biology (CIBIO), University of Trento.
본문 365,692자
본문 펼치기
DIPARTIMENTO DI INGEGNERIA INDUSTRIALE
Corso di Laurea Magistrale in Ingegneria Meccatronica
#### Modelling and optimal control of laser-driven thermocapillary motion of a droplet
Candidato:
Alberto De Marchi
Relatori:
Prof. Francesco Biral
Prof. Enrico Bertolazzi
Correlatori:
Prof. Paolo Bosetti
Prof. Martin M. Hanczyc
Anno Accademico 2015–2016
Alberto De Marchi: _Modelling_ _and_ _optimal_ _control_ _of_ _laser-driven_
_thermocapillary_ _motion_ _of_ _a_ _droplet_, Tesi di Laurea Magistrale, October 2016.
_If_ _I_ _have_ _seen_ _further_
_it_ _is_ _by_ _standing_ _on_ _the_ _sholders_ _of_ _Giants._
- Isaac Newton, 1676
# Abstract
The aim of the present thesis is to analyse the migration of a droplet suspended in
another liquid in a flat open container and to explore and exploit different strategies
to control the motion of the droplet. In particular, the actuation mechanism is the
thermocapillary effect, induced by temperature gradients generated by a focused laser
beam.
A mathematical model representing the system dynamics is presented, which
has been employed with different purposes, from the dynamic simulation up to the
synthesis of a controller. Two models are proposed to take into account the thermal
dynamics of the suspending liquid, based on a semi-analytical solution and finite
elements method, respectively. The model presents characteristic parameters that
should be evaluated, therefore the identification problem is discussed and accompanied
by experimental results. Also the state estimation is a key step when the controller
has to be implemented in practice. About this, estimation algorithms are suggested
and analysed. The optimal control theory is utilised to address the considered control
problems, which are the minimum time and the reference tracking problems. Both
trajectory optimization and model-predictive control are investigated and promising
results have been highlighted.
This work aims then at marking the beginning of optimal control in droplet
manipulation, as well as at representing a potential guideline for coping with similar
projects.
vii
# Sommario
Lo scopo di questa tesi è di analizzare il moto di una goccia sospesa in un altro liquido
in un contenitore aperto e piano e di esplorare e applicare diverse strategie di controllo
del moto della goccia. In particolare, il meccanismo di attuazione è basato sull’effetto
termocapillare, indotto dai gradienti termici generati da un fascio laser focalizzato.
Viene presentato un modello matematico che rappresenta la dinamica del sistema;
questo è stato adottato per svariate applicazioni, dalla simulazione alla sintesi del
controllore. Due modelli sono stati proposti per considerare il comportamento termico
del liquido, basati su una soluzione semi-analitica - sul metodo degli elementi finiti. I
parametri caratteristici del modello devono essere valutati, pertanto il problema della
loro identificazione è discusso e accompagnato dai risultati sperimentali. Anche la
stima dello stato del sistema è un passaggio cruciale per poter implementare realmente
il controllore. Per questo alcuni algoritmi di stima vengono suggeriti e analizzati. Infine
la teoria del controllo ottimo viene adottata per affrontare i problemi di controllo in
esame, che sono i problemi di tempo minimo e inseguimento di percorso. Vengono
investigati sia l’ottimizzazione di traiettoria che il controllo ad anello basato sul modello,
ottenendo risultati incoraggianti.
Questo lavoro ambisce quindi a segnare l’introduzione del controllo ottimo nella
manipolazione di gocce, nonché a rappresentare una possibile linea guida per affrontare
progetti simili.
ix
# Contents
1 Introduction 1
1.1 Context . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
2 Modelling 5
2.1 Robot dynamics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.2 Laser-liquid interaction . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.3 Temperature field of liquid domain . . . . . . . . . . . . . . . . . . . . 10
2.3.1 Semi-analytical solution . . . . . . . . . . . . . . . . . . . . . . 11
2.3.2 Finite Elements . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
2.4 Droplet and thermocapillary force modelling . . . . . . . . . . . . . . . 21
3 State and parameters estimation 27
3.1 Experimental setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
3.2 Offline parameters identification . . . . . . . . . . . . . . . . . . . . . 30
3.2.1 Data and results . . . . . . . . . . . . . . . . . . . . . . . . . . 33
3.2.2 Model and parameters validation . . . . . . . . . . . . . . . . . 35
3.2.3 Steady state identification . . . . . . . . . . . . . . . . . . . . . 36
3.3 Robot dual estimation using Kalman Filter . . . . . . . . . . . . . . . 39
3.4 Droplet dual estimation using Unknown Input Kalman Filter . . . . . 43
3.5 Liquid dual estimation using Kalman Filter . . . . . . . . . . . . . . . 48
4 Optimal control 53
4.1 Problem formulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
4.2 Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
4.3 OCP with analytical strategy . . . . . . . . . . . . . . . . . . . . . . . 59
4.3.1 Numerical solution . . . . . . . . . . . . . . . . . . . . . . . . . 63
4.3.2 Simulation results . . . . . . . . . . . . . . . . . . . . . . . . . 64
4.4 MPC with analytical strategy . . . . . . . . . . . . . . . . . . . . . . . 68
4.4.1 Numerical solution . . . . . . . . . . . . . . . . . . . . . . . . . 70
4.4.2 Simulation results . . . . . . . . . . . . . . . . . . . . . . . . . 71
4.5 MPC with FE and direct strategy . . . . . . . . . . . . . . . . . . . . 74
4.5.1 Numerical solution . . . . . . . . . . . . . . . . . . . . . . . . . 78
4.5.2 Simulation results . . . . . . . . . . . . . . . . . . . . . . . . . 78
A Analytical and Finite Elements Solution 85
B Derivation of constraints Jacobian matrix 91
xi
### Chapter 1
# Introduction
Optimization techniques have a fundamental impact on current industrial practice.
Dynamic processes can be driven by optimization-based feedback controllers, that
iteratively solve an optimal control problem (OCP) in order to account for inaccuracies
in the mathematical model of the plant and disturbances. Nowadays a variety of
approaches and algorithms is available to attack this task [1–7].
A challenging application of optimal control theory is thermocapillary driven
droplet manipulation. Droplet-based systems are of growing interest because they can
handle multiple discrete samples compared to continuous flow systems [8]. Microfluidic
devices that manipulate droplets enable fast large-scale complex biological and chemical
assays [9, 10]. Moreover, it has been noticed that droplets can mimic living cells and
perhaps possess the fundamentals of intelligent systems [11].
This thesis deals with the design of a model-based optimal controller for droplet
manipulation. Droplet-based devices promise a broad range of applications, especially
in those fields where cross-contamination and dispersion are not allowed. These devices
are tools or platforms that manipulate droplets and hence need various functionalities,
e. g. droplet generation, transport, dispensing, merging, mixing, splitting and trapping,
and thus different objects like pumps and valves have to be designed [9, 10, 12–16].
The main focus of this work is on, but not restricted to, droplet transport in open
field, i. e. without walls restraining the degrees of freedom of droplets. Instead, in
microfluidic devices, droplets are typically trapped in microchannels and move when
the surrounding continuous phase flows. Many actuation mechanisms have been
investigated and cover a broad range of physical principles, including hydrodynamic
effects [15], temperature gradients [12, 17], electric and magnetic fields [14], optical
and acoustic forces [9, 13] and chemical gradients [18–21]. Droplet transport driven by
Marangoni flow—thermocapillary effect— is considered within this work because it
is more prominent when the scale becomes smaller as compared to a pressure-driven
flow [17]. Furthermore, optical heating is a promising techniques to generate significant
localized temperature gradients with limited changes in temperature.
Droplet manipulation through laser-induced thermocapillary forces is a complex
task. An optimization-based controller requires a mathematical model of the system.
The present work explores a variety of approaches to handle this control problem,
and develops a novel control-oriented model that has been experimentally validated.
1
2 _CHAPTER_ _1._ _INTRODUCTION_
Finally, based on this dynamic model and different optimality criteria, some control
strategies are proposed and tested _in_ _silico_ .
Outline In Chapter 2 the elements of the system are defined and a mathematical
model suitable for control purposes in developed, based on previous knowledge, literature and experimental evidence. Then Chapter 3 describes the experimental work
that has been carried out during the project. Model parameters are identified and
validation of the proposed model is also discussed. Moreover, a procedure for online
state estimation and simultaneous parameters identification is analysed. In Chapter 4
two control problems are formulated following the approach of optimal control theory.
Different strategies to solve these OCPs are suggested and tested by simulations.
##### 1.1 Context
Optimal and model-predictive control Optimal control theory is a highlydeveloped branch of mathematics. Temperature field are in general governed by the heat
equation, that is a PDE. Optimal control of this type of systems or governed by coupled
ODEs and PDEs has been investigated [6, 22–25], and the same for systems constrained
by PDEs [26]. Various approaches have been proposed to manage PDEs in OCPs,
such as full or reduced direct discretization using finite difference schemes [6, 27, 28] or
methods based on finite element (FE) discretization [29–34]. Typically from these OCPs
large-scale non-linear problems arise, and so techniques like reduced-order modelling
(ROM) have been applied to reduce the computational effort [35]. Simplified models
are often adopted to deal with linear systems and/or analytical solutions [36]. Optimal
control theory is applied in model-predictive control (MPC) of dynamical processes.
Many different numerical techniques have been developed to solve OCPs involving
large-scale non-linear systems with real-time capabilities [3, 5, 37–40].
Droplet-based systems Droplet-based (digital) microfluidics has drawn much attention as an enabling technology to handle multiple discrete samples with small volume
requirement, high throughput and sensitivity, no cross-contamination nor dispersion [9].
The European Commission started an initiative on biochemistry-based information technology (CHEM-IT) [41], that funded projects aimed to integrating chemistry, robotics,
artificial life and microbiology. In particular, MATCHIT and EVOBLISS deal with
droplets as the link between electronic and mechanical systems and biochemistry to
design and exploit chemorobotic systems [42–45]. The National Science Foundation
(NSF) recently awarded two projects among others on droplet manipulation, based
on thermotaxis and ratchets respectively. The latter developed low-cost devices for
parallel microfluidics, where droplet are actuated by the anisotropy of the underlying
solid surface [46]. Instead, the first designed a new platform technology on the science
of thermotaxis actuation [8, 47, 48]. This demonstrates the interest in lab-on-chip
applications and droplet-based systems.
Droplet manipulation based on thermocapillary effect has also been investigated
and different technologies have been implemented. For instance, a silicon-based droplet
transportation platform with embedded metal micro-heaters has been developed [8],
or a planar channel with four micro-heaters embedded in the boundaries [49]. Also
the motion along fibers subject to temperature gradients has been experimentally and
theoretically proved [50].
_1.1._ _CONTEXT_ 3
Light-induced Marangoni flows can be generated to handle multiple heavy and
large objects and fulfill different functionalities [9, 12, 13, 51–53], also with transparent
objects [54]. Mode bifurcation and spontaneous symmetry-breaking due to temperatureinduced instabilities have been successfully modelled with a set of simple coupled
differential equations [55]. An up-to-date review on thermocapillarity in microfluidic
applications can be found in [17].
### Chapter 2
# Modelling
The aim of this Chapter is to define a mathematical model of the system composed
by a robot, a laser, a liquid layer and a droplet, Fig. 2.1. These elements are linked
and connected through mass, energy or information transfer. The same is valid also
in relation to the environment. Moreover, the user may act and have an effect on
the system, typically with the purpose of achieving a desired behaviour. We try to
build a control-oriented model, in the sense that it should catch the essence of the
phenomenon but simple enough to find a control policy. A good model may have few
states with a strongly coupled non-linear dynamics or, on the other hand, it may be a
large-scale system with linear dynamics.
The contributions of this Chapter are mathematical models that may represent the
system under analysis and hopefully describe its behaviour. In particular, they are the
following:
_•_ linear dynamical model of a robotic platform;
_•_ thermal model of the laser-liquid interaction;
_•_ semi-analytical solution of the temperature field induced by laser heating on a
thin liquid layer;
_•_ finite element (FE) model of a thin liquid layer and application of laser heating;
_•_ point-mass model of a droplet subject to drag and linear thermocapillary force.
These objects compose a high-level model of the overall system, that is experimentally
validated in Chapter 3 and adopted for control purposes in Chapter 4. Notice that the
semi-analytical solution and the FE thermal model are not employed simultaneously
to describe the temperature field.
Robot dynamical model presented in §2.1 is quite general yet simple. It does not
refer to the specific robotic platform developed by the EVOBLISS project [43], called
EvoBot, but it is a mathematical object that may represent a wider class of mechanical
systems, in which EvoBot falls when in normal operative conditions.
Afterwards, a model of laser-liquid interaction is defined in §2.2. It is worth noticing
that this is the link between the robotic platform (where the emitter device is) and the
liquid layer (where heating is applied). Both assumptions on robot and liquid apply
and are taken into account in modelling this link between subsystems. Effect of laser
5
6 _CHAPTER_ _2._ _MODELLING_
Figure 2.1: Elements of the system: robot head, laser, liquid and droplet.
on temperature field is a key step because it is a filter between control inputs and
droplet motion.
Temperature field evolution is a central part in modelling the system because
thermal gradient induced by laser heating is responsible for the thermocapillary forces
that act on the droplet. Thus, a correct estimation of thermal gradients is important
to accurately predict the droplet behaviour (assuming determinism). At this step, we
derive and implement two different approaches: the first model is based on linearity
of the heat equation and yield to a semi-analytical solution (few states, coupled,
nonlinear), the second one is based on Galerkin finite element (FE) approximation
and leads to a numerical solution (large-scale, sparse, quasi-linear). These two are
presented in §2.3.1 and §2.3.2 respectively. An estimate of thermal gradient in droplet
position is derived, based on analytical or numerical methods.
Finally, we formulate a model for thermocapillary motion of droplets in §2.4. This
model should represent the physical phenomenon more accurately as droplets become
smaller (point mass for thermal gradient and less convective flows, but probably more
sensitive to noise). The model is based on classical works on thermocapillary migration
of droplets and bubbles and more recent experimental investigations.
It is worth to discuss about model order reduction (MOR). This technique aims at
lowering the computational complexity and dimensionality of mathematical models
of processes, for example, in simulations of large scale dynamical systems. An approximation to the original model, i. e. a reduced order model, is computed and its
evaluation is less costly w.r.t. the original full model [56]. Common approaches are
proper orthogonal decomposition (POD), balanced truncation, reduced basis method,
matrix interpolation and transfer function interpolation. Recently, MOR has been
intensively developed and applications have been found also in optimization and control.
In this work MOR is not adopted, but it might be a great step forward when combined
with the FE model proposed for modelling the liquid medium.
##### 2.1 Robot dynamics
Robotic platform developed within the EVOBLISS project [43] is based on a modified
3D printer developed, tested and described in [44, 57]; see Fig. 2.2. Essentially it is
_2.1._ _ROBOT_ _DYNAMICS_ 7
composed by two couples of linear guide rods, actuated by stepper motors and timing
belts, forming a gantry layout (Cartesian kinematics).
The device emitting laser is attached onto the moving head of EvoBot and it is
considered to be rigidly connected to the mechanical system. Within this work position
of the laser spot (referred to as laser position) and actual configuration of the robotic
platform (referred to as robot position) have the same practical meaning.
The EvoBot is a mechatronic product, where electronic devices sense and control
the mechanical structure. Modelling the robotic platform requires to take into account
the kinematic relationship between bodies that constitute the system and all the forces
applied onto those bodies.
Figure 2.2: Robotic platform used within the EVOBLISS project [43].
Let us define vector x that identifies the configuration of the system, and its first
time-derivative v = x ˙ . Entries of x are the Cartesian coordinate that describe the
actual system configuration (thanks to the Cartesian architecture); these are two
uncoupled variables, because the laser motion is planar and axes are independent.
The forces that play a role in robot dynamics are due to control inputs and friction.
In EvoBot, stepper motors drive the moving head, with a target position and reference
velocity profile. Notice that stepper motors involve an inner control loop because they
are position-controlled. In this work we do not deal with this specific feature but we
consider actions linearly dependent on control inputs. This may be the case with DC
motors or stepper motors in non-slipping conditions. Mechanisms of friction may be
various, e. g. Coulomb, viscous, Karnopp, Lugre and Dahl models, and may explain
different effects, like stick-slip and Stribeck effect. From the second Newton’s law we
have that for every time _t_ the model reads
x ˙ ( _t_ ) = v ( _t_ ) (2.1)
_M_ _L_ ( x ( _t_ )) ˙ v ( _t_ ) = _B_ _L_ ( x ( _t_ )) u ( _t_ ) _−_ _C_ _L_ ( x ( _t_ ) _,_ v ( _t_ )) v ( _t_ ) (2.2)
where _M_ _L_ ( x ) is the configuration-dependent mass distribution, _B_ _L_ ( x ) is the input
matrix, u is the control input (e. g. electric signals) and _C_ _L_ ( x ( _t_ ) _,_ v ( _t_ )) accounts for
the frictional effects.
Let us make some assumptions for the EvoBot platform. We have that inertia
properties do not depend on the configuration, thus _M_ _L_ ( x ) = _M_ _L_ . Moreover, neglect
8 _CHAPTER_ _2._ _MODELLING_
ing dynamics of motor drivers we have _B_ _L_ ( x ) = _B_ _L_ . Then, we recall that this work
does not focus on control techniques for friction compensation but on thermocapillary
motion induced by laser heating. The available mechanical system is only a mean to
move the laser beam, and thus we do not deal with friction-related problems in this
work; a linear friction model is considered for simplicity and tractability. Notice that
the same holds for backlashes and geometrical errors present in the physical system.
For the sake of clarity, we repeat that none of these issues is of interest to the aim of
this thesis. With these assumptions the model is simplified and reduces to
_M_ _L_ ˙ v ( _t_ ) = _B_ _L_ u ( _t_ ) _−_ _C_ _L_ v ( _t_ ) (2.3)
An additional assumption is to consider axes with the same properties, making them
indistinguishable. This may be quite accurate for control and friction actions but
inertia properties are not equal, because one of the two axes moves also the other.
However, we can assume independent equal axes, namely ( _I_ is the identity matrix)
_M_ _L_ = _mL_ _I_ _,_ _B_ _L_ = _bL_ _I_ _,_ _C_ _L_ = _cL_ _I_ (2.4)
Parameters _mL_, _bL_ and _cL_ represent mass, input sensitivity and friction coefficient,
respectively, of the two axes. Their values identify behaviour and properties of the
robotic platform as expected from the mathematical model proposed here.
Summary Let us express the linear dynamical model as a first-order system of ODEs
in matrix form. Collecting the robot state in vector y = [ x _,_ v ] <sup>_T_</sup>, the time-invariant
model can be written as
_M_ _y_ y ˙ ( _t_ ) = _A_ _y_ y ( _t_ ) + _B_ _y_ u ( _t_ ) (2.5)
where matrices _M_ _y_, _A_ _y_ and _B_ _y_ depend on properties of the robot and are given by:
_,_ _A_ _y_ =
_I_
�00 _−cL_ _I_
_,_ _B_ _y_ =
_bL_ _I_
- 0
(2.6)
_M_ _y_ =
0
0 _mL_ _I_
- _I_
##### 2.2 Laser-liquid interaction
Let us analyse how to model liquid heating induced by laser absorption. In the
absence of any mass transport phenomena, one can find the temperature field _T_ ( _t,_ x ),
x _∈_ Ω _⊂_ R <sup>2</sup>, by solving the heat equation (energy balance in differential form):
_ϱcp_
_<u>∂T</u>_
_∂t_ <sup>(</sup> <sup>_t,_</sup> <sup>x</sup> <sup>) =</sup> <sup>_∇_</sup> <sup>x</sup> <sup>_·_</sup> <sup>(</sup> <sup>_k∇_</sup> <sup>x</sup> <sup>_T_</sup> <sup>(</sup> <sup>_t,_</sup> <sup>x</sup> <sup>)) +</sup> <sup>_q_</sup> <sup>˙(</sup> <sup>_t,_</sup> <sup>x</sup> <sup>)</sup> (2.7)
where _ϱ_ is the sample specific mass, _cp_ is the heat capacity of the medium at constant
pressure, _q_ ˙ is the thermal power deposited in the medium per unit volume. Thermal
field is supposed to be 2-dimensional (a thin liquid layer with uniform thickness is
considered). Assuming that absorbed light is completely and instantaneously converted
into heat, the intensity reduction per unit thickness is exactly the heating power per
unit volume, namely:
_q_ ˙( _t,_ x ) = <sup><u>∆</u></sup> <sup>_<u>I</u>_</sup> <sup><u>(</u></sup> <sup>_<u>t,</u>_</sup> <sup><u>x</u></sup> <sup><u>)</u></sup> (2.8)
∆ _z_
where ∆ _z_ is the layer thickness; ∆ _I_ is the change of light intensity due to the liquid
layer, i. e. ∆ _I_ = _I_ 0 _−_ _I_ with incident intensity _I_ 0 and transmitted intensity _I_ .
_2.2._ _LASER-LIQUID_ _INTERACTION_ 9
Let us focus on the absorption of electromagnetic waves, that typically generates
localized heating. A beam of light on a material may be scattered, absorbed or
transmitted; often these three phenomena occur simultaneously. Let us recall the
Beer-Lambert law: the transmitted intensity _I_ at depth _z_ depends on the incident
intensity _I_ 0 at _z_ = 0 and on the linear attenuation coefficient _βa_ of the material <sup>1</sup> . If
light scattering is negligible, attenuation coefficient matches the absorption coefficient.
Notice that these coefficients depend on the light wavelength in general, but here we
consider only a monochromatic laser with wavelength _λ_ <sup>_∗_</sup> and denote _βa_ = _βa_ ( _λ_ <sup>_∗_</sup> ). Thus,
for an absorbing layer of thickness ∆ _z_ along the optical axis, from the Beer-Lambert
law, the intensity reduction is given by:
_I_ ( _t,_ x ) = _I_ 0( _t,_ x ) _e_ <sup>_−βa_</sup> <sup>∆</sup> <sup>_z_</sup> _⇒_ ∆ _I_ ( _t,_ x ) = _I_ 0( _t,_ x )
(2.9)
�1 _−_ _e_ <sup>_−βa_</sup> <sup>∆</sup> <sup>_z_</sup> <sup>�</sup>
For a weakly absorbing medium, i. e. _βa_ ∆ _z_ _≪_ 1, the transmitted intensity may be
approximated to a first-order truncation of the Taylor expansion, namely:
_I_ ( _t,_ x ) _≈_ _I_ 0( _t,_ x ) (1 _−_ _βa_ ∆ _z_ ) _⇒_ ∆ _I_ ( _t,_ x ) _≈_ _I_ 0( _t,_ x ) _βa_ ∆ _z_ (2.10)
Inspired by the result in (2.10), let us introduce parameter _β_ to have the same notation
in (2.9) when the assumption on the weakly absorbing medium is not valid. Notice
that in the limit _βa_ ∆ _z_ _→_ 0 the definition in (2.11) leads to _β_ = _βa_ .
∆ _I_ ( _t,_ x ) = _I_ 0( _t,_ x ) _β_ ∆ _z_ _β_ = <sup><u>1</u></sup> <sup>_<u>−</u>_</sup> <sup>_<u>e−βa</u>_</sup> <sup>∆</sup> <sup>_z_</sup> (2.11)
_⇒_ ∆ _z_
So, from the Beer-Lambert law and the definition of _β_, the heating term in (2.7) is
given in general by _q_ ˙( _t,_ x ) = _I_ 0( _t,_ x ) _β_ .
Let us discuss now about the light intensity generated by a laser emitter. Laser
beam may be modelled as pulsed or continuous in time depending on how radiation
is generated. The consequent heating power is influenced also by the photo-thermal
conversion, and in particular on its time scale. Thermal diffusion is characterized by
thecharacteristictime constantlength _τ_ difscale _∼_ _l_ <sup>2</sup> of _/α_ the, havingheat source _α_ = _k/_ <sup>2</sup> . (Considering _ϱcp_ ) the thermala focuseddiffusivityprobe beamand _l_ andthe
water as liquid, we may have _l_ _≈_ 1 _×_ 10 <sup>_−_</sup> <sup>4</sup> m and _α_ _≈_ 1 _×_ 10 <sup>_−_</sup> <sup>7</sup> m <sup>2</sup> _/_ s and then time
scale is about _τ_ dif _≈_ 0 _._ 1 s. Photo-thermal conversion is on a time scale much smaller
than _τ_ dif . Thus, in practice, heat release is not delayed w.r.t. incident radiation, and
so _q_ ˙( _t,_ x ) = _βI_ 0( _t,_ x ) holds. For example, the heat release due to a laser pulse may be
considered instantaneous and modelled with a Dirac delta distribution in time with
finite energy density _ε_ 0( x ), namely
_q_ ˙( _t,_ x ) = _βε_ 0( x ) _δD_ ( _t_ ) (2.12)
1The probability of light being absorbed or scattered out of the beam increases with incident
intensity _I_, linear attenuation coefficient _βa_ ( _λ_ ) and thickness _z_ . Integrating and imposing the initial
condition _I_ ( _x_ )
��� _z_ =0 <sup>=</sup> <sup>_I_</sup> <sup>0,</sup> <sup>the</sup> <sup>Beer-Lambert</sup> <sup>law</sup> <sup>is</sup> <sup>found.</sup>
<u>d</u> _<u>I</u>_
d _z_ <sup>=</sup> <sup>_−βa_</sup> <sup>(</sup> <sup>_λ_</sup> <sup>)</sup> <sup>_I_</sup> _⇒_ _I_ = _I_ 0 _e_ <sup>_−βa_</sup> <sup>(</sup> <sup>_λ_</sup> <sup>)</sup> <sup>_z_</sup>
2Let us introduce dimensionless time _τ_ = _t/τ_ dif and length _ξ_ = _x/l_ into the heat equation with
constant homogeneous physical properties. In this way the heat equation gets normalized coefficients,
then _τ_ dif and _l_ are characteristic quantities of the system.
_<u>∂T</u>_
_<u>q</u>_ <u>˙</u>
x <sup>2</sup> <sup>_T_</sup> <sup>+</sup> _ϱcp_
_<u>∂T</u>_
_⇒_ _∂τ_
_ξ_ <sup>2</sup> <sup>_T_</sup> <sup>+</sup> <sup>_<u>l</u>_</sup> <sup>2</sup> _k_ <sup><u>˙</u></sup> <sup>_<u>q</u>_</sup>
_∂t_ <sup>=</sup> <sup>_α∇_</sup> x <sup>2</sup>
_∂τ_ <sup>=</sup> <sup>_∇_</sup> _ξ_ <sup>2</sup>
_k_
10 _CHAPTER_ _2._ _MODELLING_
Spatial distribution of incident light intensity depends on the transverse profile
of the laser beam. This often occurs in the form of Gaussian beam, that is the
lowest-degree mode and it remains Gaussian also after passing simple optical elements,
therefore it is the most commonly obtained from all stable optical systems [58]. The
intensity profile of a Gaussian laser beam centred in x _L_ with characteristic radius _rL_
and overall laser power _pL_ ( _t_ ) is described as:
_I_ 0( _t,_ x ) = <sup><u>2</u></sup> <sup>_<u>pL</u>_</sup> <sup><u>(</u></sup> <sup>_<u>t</u>_</sup> <sup><u>)</u></sup>
_e_ <sup>_−_</sup> <sup>2(</sup> <sup>_r/rL_</sup> <sup>)2</sup> (2.13)
_r_ = _∥_ x _−_ x _L∥_
_πrL_ <sup>2</sup>
_L_
As the characteristic radius reduces, the Gaussian distribution approaches the Dirac
deltanamelydistribution and eventually the point-wise laser beam is obtained for _rL_ _→_ 0 <sup>+</sup>,
_I_ 0( _t,_ x ) = _pL_ ( _t_ ) _δD_ ( _r_ <sup>2</sup> ) (2.14)
Finally, heating power density _q_ ˙( _t,_ x ) due to a laser pulse with Gaussian beam can
be modelled as:
_q_ ˙( _t,_ x ) = _β_ <sup><u>2</u></sup> <sup>_<u>pL</u>_</sup> <sup><u>(</u></sup> <sup>_<u>t</u>_</sup> <sup><u>)</u></sup>
_e_ <sup>_−_</sup> <sup>2(</sup> <sup>_r/rL_</sup> <sup>)2</sup> (2.15)
_πrL_ <sup>2</sup>
_L_
It is clearly seen from Eq. (2.15) that parameter _β_ represents the efficiency of the
medium in terms of laser absorption. Then, notice that increasing _β_ and laser power _pL_
and decreasing characteristic radius _rL_ lead to higher thermal gradients, and temperature too. It is possible to tune these parameters in order to optimise performance or
efficiency of the droplet manipulation system. For instance, overall energy consumption
or maximum requested power may be minimized setting larger _β_ and smaller _rL_ for a
given laser power _pL_ . Differently in biological application it may be advisable to limit
temperature variations while moving droplets as fast as possible.
##### 2.3 Temperature field of liquid domain
This Section defines two approaches to model the thermal behaviour of a thin liquid
layer when heated by using a laser beam. Heat equation solution procedure is simplified
thanks to assumptions that are meaningful for the particular system in analysis. The
first approach is based on the fact that heat equation is tractable when heat generation
is applied as a series of finite pulses - thanks to assumptions made below and
superposition principle. Instead, the second approach relies on spatial discretization via
Galerkin finite element method (FEM) and transformation into a (large scale) system
of ODEs. Both numerical methods approximate the solution, converging to the actual
solution as spatial and time resolution increases - thanks to consistency and stability
of FEM and convolution integral approximation.
Thermal field is governed by the heat equation (2.7) and controlled through the
heating power density _q_ ˙, that depends on actual laser position and power. Some assumptions on physical properties of the system are introduced to lower the mathematical
complexity of the model. Let us discuss the following assumptions:
1. small temperature variations permit to consider constant homogeneous temperatureindependent parameters;
2. mass transport phenomena are negligible in a thin liquid layer [59], that is
described by two spatial coordinates;
_2.3._ _TEMPERATURE_ _FIELD_ _OF_ _LIQUID_ _DOMAIN_ 11
3. constant homogeneous Dirichlet boundary conditions ensure that temperature
along the boundary is uniform and constant <sup>3</sup> ;
4. spatial distribution of laser intensity is Gaussian, see §2.2.
With these assumptions, projected on a fixed reference frame, given a domain Ω
such that x _∈_ Ω, the model reads
x <sup>2</sup> <sup>_T_</sup> <sup>(</sup> <sup>_t,_</sup> <sup>x</sup> <sup>) +</sup> <sup>_q_</sup> <sup>˙(</sup> <sup>_t,_</sup> <sup>x</sup> <sup>)</sup> (2.16)
_ϱcp_
_<u>∂T</u>_
_<u>∂T</u>_
_∂t_ <sup>(</sup> <sup>_t,_</sup> <sup>x</sup> <sup>) =</sup> <sup>_k∇_</sup> x <sup>2</sup>
and (2.15) describes the heating source.
2.3.1 Semi-analytical solution
A semi-analytical approach to find the thermal field induced by laser heating in a thin
liquid layer is here developed. This approach relies on the linearity of heat equation
when no heating power is present. Taking advantage of this, temperature field is
thought as the convolution of infinitely many instantaneous laser pulses.
Let us denote temperature field _w_, laser position x _L_ and power _pL_, heat sink
temperature _w_ ¯, time interval [0 _, T_ ] and spatial domain Ω with boundary _∂_ Ω. In this
we consider x _L_ _∈_ R <sup>2</sup> and laser power _pL_ _∈_ [0 _,_ + _∞_ ).
Unstationary model of an instantaneous axial point-wise heat source
Unsteady heat equation is considered a medium with constant homogeneous physical
properties and a heating source with point-wise intensity distribution, centred in x _L_,
infinitely short duration and overall energy _E_, namely:
_I_ 0( _t,_ x ) = _E δD_ ( _t_ ) _δD_ ( _∥_ x _−_ x _L∥_ <sup>2</sup> ) (2.17)
The unsteady heat equations holds almost _∀t_ _∈_ [0 _, T_ ] and the initial condition is
homogeneous, for x _∈_ R <sup>2</sup> :
<sup>2</sup> x <sup>_w_</sup> <sup>(</sup> <sup>_t,_</sup> <sup>x</sup> <sup>) +</sup> <sup>_βE δD_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_δD_</sup> <sup>(</sup> <sup>_∥_</sup> <sup>x</sup> <sup>_−_</sup> <sup>x</sup> <sup>_L∥_</sup> <sup>2)</sup> (2.18)
_ϱcp_
_<u>∂w</u>_
_<u>∂w</u>_
_∂t_ <sup>(</sup> <sup>_t,_</sup> <sup>x</sup> <sup>) =</sup> <sup>_k ∇_</sup> <sup>2</sup> x
_w_ (0 _,_ x ) = _w_ ¯ (2.19)
Lemma 1. _A_ _solution_ _to_ _Equations_ (2.18) _-_ (2.19) _for_ _t >_ 0 _and_ x _∈_ R <sup>2</sup> _is:_
<u>1</u>
_w_ ( _t,_ x ) = _w_ ¯ + <sup>_<u>βE</u>_</sup> (2.20)
<u>4</u> _<u>πk</u>_ _<u>t</u>_ <sup>_e−∥_</sup> <sup>x</sup> <sup>_−_</sup> <sup>x</sup> <sup>_L∥_</sup> <sup>2</sup> <sup>_/_</sup> <sup>(4</sup> <sup>_αt_</sup> <sup>)</sup>
_where_ _α_ = _k/_ ( _ϱcp_ ) _._
_Proof._ Dimensional analysis (by using Buckingham’s _π_ -theorem) of Eq. (2.18) suggests
that temperature field _w_ ( _t,_ x ) may be a function of the dimensionless coordinate
_η_ = _r/√_ 4 _αt_ only, i. e. _w_ = _w_ ( _η_ ( _t,_ x )), where _r_ = _∥_ x _−_ x _L∥_ denotes the distance from
3There is no temperature control on the system that keeps a constant temperature, so this
assumption is not strictly valid. However, temperature at the boundary can be easily estimated and
its variation is expected to be small. This approximation turns out to be useful in both methods
exploited for solving the heat equation.
_<u>√</u>_
4 _αt_ only, i. e. _w_ = _w_ ( _η_ ( _t,_ x )), where _r_ = _∥_ x _−_ x _L∥_ denotes the distance from
12 _CHAPTER_ _2._ _MODELLING_
the optical axis. This can be verified, because evaluating partial derivatives in (2.18)
for _t >_ 0 or _r_ _>_ 0 leads to:
_r_ d _η_ d _η_ <sup>(</sup> <sup>_η_</sup> <sup>)</sup> 4 _αt_ 4 _αt_
_⇓_
_<u>r</u>_
4 _αt_ <sup>=</sup> <sup>_k_</sup> <sup><u>1</u></sup> _r_
<u>d</u>
d _η_
_r_ <sup><u>d</u></sup> <sup>_<u>w</u>_</sup>
d _η_
<u>�</u>
<sup><u>d</u></sup> <sup>_<u>w</u>_</sup> <u>1</u>
d _η_ <sup>(</sup> <sup>_η_</sup> <sup>)</sup> _~~√~~_ 4
4 _αt_
_ϱcp_
<u>d</u> _<u>w</u>_ _<u>−r</u>_
d _η_ <sup>(</sup> <sup>_η_</sup> <sup>)</sup> 2 _t_ _~~√~~_ 4
<u>d</u> _<u>w</u>_
<u>1</u>
_~~√~~_ 4
(2.21)
<u>�</u>
_−η_ <sup>2</sup> <sup><u>d</u></sup> d <sup>_<u>w</u>_</sup> _η_
<sup><u>d</u></sup> d <sup>_<u>w</u>_</sup> _η_ <sup>(</sup> <sup>_η_</sup> <sup>) =</sup> d <sup><u>d</u></sup> _η_
d _η_
_η_ <sup><u>d</u></sup> <sup>_<u>w</u>_</sup>
d _η_
<sup><u>d</u></sup> <sup>_<u>w</u>_</sup>
d _η_ <sup>(</sup> <sup>_η_</sup> <sup>)</sup>
and then a second-order ODE is found:
2 _η_ + <sup><u>1</u></sup>
_η_
d _η_ <sup>(</sup> <sup>_η_</sup> <sup>) +</sup> <sup><u>d</u></sup> d <sup>2</sup> _η_ <sup>_<u>w</u>_</sup> <sup>2</sup>
- <u>d</u> _<u>w</u>_
(2.22)
<sup><u>d</u></sup> d <sup>2</sup> _η_ <sup>_<u>w</u>_</sup> <sup>2</sup> <sup>(</sup> <sup>_η_</sup> <sup>) = 0</sup>
A general solution can be found by reducing Eq. (2.22) to a first-order ODE with an
auxiliary variable equal to the first derivative w.r.t. _η_ and applying the separation of
variables; integrating once again, a solution _w_ 0( _η_ ) of (2.22) is obtained:
_w_ 0( _η_ ) = _cw,_ 1
_η_
- _<u>e−η</u>_ 2
d _η_ + _cw,_ 2 (2.23)
_η_
where scalars _cw,_ 1 and _cw,_ 2 are integration constants. Notice that this solution introduces the exponential integral, that has to be evaluated numerically because its
integral is not explicitly available. But, recalling that the heat equation is linear w.r.t.
time, the time derivative of (2.23), substituted with the expression of _η_, is another
solution of the initial PDE (2.18). It is
_w_ ( _t,_ x ) = <sup>_<u>∂w</u>_</sup> _∂η_ <sup><u>0</u></sup>
<sup>_<u>∂w</u>_</sup> _∂η_ <sup><u>0</u></sup> <sup>(</sup> <sup>_η_</sup> <sup>(</sup> <sup>_t,_</sup> <sup>x</sup> <sup>))</sup> <sup>_<u>∂η</u>_</sup> _∂t_
<sup>_<u>∂η</u>_</sup> _∂t_ <sup>(</sup> <sup>_t,_</sup> <sup>x</sup> <sup>) =</sup> <sup>_−cw,_</sup> <sup>1</sup>
<u>1</u>
(2.24)
2 _t_ <sup>_e−r_</sup> <sup>2</sup> <sup>_/_</sup> <sup>(4</sup> <sup>_αt_</sup> <sup>)</sup>
and it is a solution of (2.18), because for _t >_ 0 it satisfies:
_<u>∂w</u>_
_<u>∂w∂t</u>_ <sup>(</sup> <sup>_t,_</sup> <sup>x</sup> <sup>) =</sup> <sup>_k_</sup> <sup><u>1</u></sup> _r_
_r_ <sup>_<u>∂w</u>_</sup>
_∂r_
<sup>_<u>∂w</u>_</sup>
_∂r_ <sup>(</sup> <sup>_t,_</sup> <sup>x</sup> <sup>)</sup>
_ϱcp_
_r_
_<u>∂</u>_
_∂r_
<sup>_<u>cw,</u>_</sup> <sup><u>1</u></sup> _η_ <sup>2</sup> ( _t,_ x ) _−_ 1
2 _t_ <sup>2</sup> <sup>_e−η_</sup> <sup>2(</sup> <sup>_t,_</sup> <sup>x</sup> <sup>) �</sup>
_⇓_
= _cw,_ 1
= <sup>_<u>cw,</u>_</sup> <sup><u>1</u></sup>
_<u>α</u>_
_−_ <sup>_<u>c</u>_</sup> 2 <sup>_<u>w,</u>_</sup> _t_ <sup>21</sup>
= <sup>_<u>α</u>_</sup>
_r_
_cw,_ 1 _e_ <sup>_−η_</sup> <sup>2(</sup> <sup>_t,_</sup> <sup>x</sup> <sup>)</sup> <sup>_<u>η</u>_</sup> <sup>2(</sup> <sup>_<u>t,</u>_</sup> <sup><u>x</u></sup> <sup><u>)</u></sup>
_t_
<u>�</u>
_r_
_<u>∂</u>_
_∂r_
(2.25)
_t_
_e_ <sup>_−η_</sup> <sup>2(</sup> <sup>_t,_</sup> <sup>x</sup> <sup>)</sup> <sup>_<u>r</u>_</sup> <sup>2</sup>
4 _αt_
4 _αt_ <sup>2</sup>
_r_
_<u>∂</u>_
_∂r_
<sup>_<u>cw,</u>_</sup> <sup><u>1</u></sup>
1 _−_ _η_ <sup>2</sup> ( _t,_ x )
is a solution of2 _t_ <sup>2</sup> <sup>_e−η_</sup> <sup>2(</sup> ( <sup>_t,_</sup> 2.18 <sup>x</sup> <sup>) �</sup> ) for _t >_ 0
Let us notice that _w_ ( _t,_ x ) in (2.24) is a solution of (2.18) for _t >_ 0 even if a constant
term is added. This is needed to satisfy the homogeneous initial condition (2.19), and
then it is:
_w_ ( _t,_ x ) = _w_ ¯ + <sup>_<u>A</u>_</sup>
_t_
<sup>_<u>A</u>_</sup> (2.26)
_t_ <sup>_e−r_</sup> <sup>2</sup> <sup>_/_</sup> <sup>(4</sup> <sup>_αt_</sup> <sup>)</sup>
where _A_ = _−cw,_ 1 _/_ 2 is a constant scalar to be identified that represents the effect of
the laser pulse.
Important properties of this solution have to be discussed, in particular the subsuming assumption of an infinitely large medium. This hypothesis leads to the behaviour
at the boundary and at infinite time, recalling that _r_ = _∥_ x _−_ x _L∥_ :
_r→_ lim+ _∞_ <sup>_w_</sup> <sup>(</sup> <sup>_t,_</sup> <sup>x</sup> <sup>) =</sup> <sup>_w_</sup> <sup>¯</sup> _t→_ lim+ _∞_ <sup>_w_</sup> <sup>(</sup> <sup>_t,_</sup> <sup>x</sup> <sup>) =</sup> <sup>_w_</sup> <sup>¯</sup> (2.27)
_2.3._ _TEMPERATURE_ _FIELD_ _OF_ _LIQUID_ _DOMAIN_ 13
These properties reflect the assumption of constant homogeneous Dirichlet boundary
conditions proposed above, although for _r_ _→_ + _∞_ .
Constant _A_ in (2.26) rules the effect of laser pulse on the temperature field. It may
be computed imposing the energy balance between absorbed energy from the laser
beam and the variation of thermal energy inside the (liquid) medium, that has to hold
_∀t >_ 0.
_βlzE_ =
_V_
_ϱcp_ ( _w_ ( _t,_ x ) _−_ _w_ ¯) d _V_
= _ϱcplz_
= _ϱcplz_
<u>�</u>
_<u>A</u>_
_t_ _R_ <sup>lim</sup> _→∞_
_R_ <sup>lim</sup> _→∞_ <sup>2</sup> <sup>_π_</sup>
_<u>A</u>_
Ω
_<u>A</u>_
_t_ <sup>_e−r_</sup> <sup>2</sup> <sup>_/_</sup> <sup>(4</sup> <sup>_αt_</sup> <sup>)dΩ</sup>
(2.28)
0
- _R_
_e_ <sup>_−r_</sup> <sup>2</sup> <sup>_/_</sup> <sup>(4</sup> <sup>_αt_</sup> <sup>)</sup> _r_ d _r_ = 4 _πϱcplzAα_
0
_R_
_⇓_
_A_ = <sup>_<u>βE</u>_</sup>
4 _πk_
Finally, temperature field due to an instantaneous point-wise laser pulse for _t >_ 0 is
given by (2.26) with _A_ = _βE/_ (4 _πk_ ) and Lemma 1 is proved.
Unstationary model of an instantaneous axial Gaussian heat source
Let us focus on the effect of an infinitely short laser pulse with Gaussian spatial
distribution centred in x _L_ and overall energy _E_, namely:
_I_ 0( _t,_ x ) = <sup><u>2</u></sup> <sup>_<u>E</u>_</sup>
_πrL_ <sup>2</sup>
_δD_ ( _t_ ) _e_ <sup>_−_</sup> <sup>2(</sup> <sup>_r/rL_</sup> <sup>)2</sup> (2.29)
_L_
The unsteady heat equations holds almost _∀t_ _∈_ [0 _, T_ ] and the initial condition is
homogeneous, for x _∈_ R <sup>2</sup> :
x <sup>_w_</sup> <sup>(</sup> <sup>_t,_</sup> <sup>x</sup> <sup>) +</sup> <sup><u>2</u></sup> <sup>_<u>βE</u>_</sup>
<sup>2</sup> _πr_ <sup>2</sup>
_L_
_ϱcp_
_<u>∂w</u>_
_<u>∂w</u>_ x
_∂t_ <sup>(</sup> <sup>_t,_</sup> <sup>x</sup> <sup>) =</sup> <sup>_k ∇_</sup> <sup>2</sup>
_πrL_ <sup>2</sup>
_δD_ ( _t_ ) _e_ <sup>_−_</sup> <sup>2(</sup> <sup>_r/rL_</sup> <sup>)2</sup> (2.30)
_w_ (0 _,_ x ) = _w_ ¯ (2.31)
Lemma 2. _The_ _solution_ _to_ _Equations_ (2.30) _-_ (2.31) _for_ _t >_ 0 _and_ x _∈_ R <sup>2</sup> _is:_
_w_ ( _t,_ x ) = _w_ ¯ + <sup>_<u>βE</u>_</sup>
_πϱcp_
_w_ ( _t,_ x ) = _w_ ¯ + <sup>_<u>βE</u>_</sup>
<u>2</u>
8 _αt_ + _rL_ <sup>2</sup>
_e_
_−_ 2 <sup>_<u>∥</u>_</sup> 8 <sup><u>x</u></sup> _αt_ <sup>_<u>−</u>_</sup> <sup><u>x</u></sup> + <sup>_<u>L</u>_</sup> _rL_ <sup><u>2</u></sup> <sup>_<u>∥</u>_</sup> <sup>2</sup>
8 <sup><u>x</u></sup> _αt_ <sup>_<u>−</u>_</sup> <sup><u>x</u></sup> + <sup>_<u>L</u>_</sup> _rL_ <sup><u>2</u></sup> <sup>_<u>∥</u>_</sup> <sup>2</sup> (2.32)
_where_ _α_ = _k/_ ( _ϱcp_ ) _._
_Proof._ An approach to find a solution of PDE (2.30) for _t >_ 0 is matching parameters
of a suitable guess function. Let us recall the solution (2.20) for a point-wise laser
source and build by similarity the parametrized function _wp_ ( _t,_ x ). The idea is to find
(if possible) suitable real non-zero scalars _a_, _b_ and _c_ such that _wp_ ( _t,_ x ), defined in
(2.33), satisfies (2.30) for _t >_ 0. If these parameters can be identified, then existence
of a solution is proved; if these parameters are unique, then uniqueness of the solution
is proved.
_<u>a</u>_
_wp_ ( _t,_ x ) = _w_ ¯ + (2.33)
_ct_ + 1 <sup>_e−b∥_</sup> <sup>x</sup> <sup>_−_</sup> <sup>x</sup> <sup>_L∥_</sup> <sup>2</sup> <sup>_/_</sup> <sup>(</sup> <sup>_ct_</sup> <sup>+1)</sup>
14 _CHAPTER_ _2._ _MODELLING_
Substituting _wp_ ( _t,_ x ) into (2.30) and denoting _r_ = _∥_ x _−_ x _L∥_, after some calculations
it reads:
( _ϱcpc −_ 4 _kb_ ) _e_ <sup>_−br_</sup> <sup>2</sup> <sup>_/_</sup> <sup>(</sup> <sup>_ct_</sup> <sup>+1)</sup> = <sup><u>2</u></sup> _πr_ <sup>_<u>βE</u>_</sup> _L_ <sup>2</sup>
_<u>a</u>_
( _ct_ + 1) <sup>2</sup>
- _ctbr_ + 12
_ctbr_ + 12 <sup>_−_</sup> <sup>1</sup>
_̸_
_πrL_ <sup>2</sup>
_L_
_δD_ ( _t_ ) _e_ <sup>_−_</sup> <sup>2(</sup> <sup>_r/rL_</sup> <sup>)2</sup> (2.34)
that should hold _∀t >_ 0 and _∀r_ _≥_ 0. In particular, for _t̸_ = 0 heat generation vanishes,
and then Eq. (2.34) leads to a relationship between parameters _b_ and _c_ .
- _ctbr_ + 12
_⇓_
_ϱcpc−_ 4 _kb_ = 0
( _ϱcpc −_ 4 _kb_ ) _e_ <sup>_−br_</sup> <sup>2</sup> <sup>_/_</sup> <sup>(</sup> <sup>_ct_</sup> <sup>+1)</sup> = 0 _∀t >_ 0 _,_ _∀r_ _≥_ 0
_<u>a</u>_
( _ct_ + 1) <sup>2</sup>
_ctbr_ + 12 <sup>_−_</sup> <sup>1</sup>
(2.35)
_⇓_
_c_ = 4 _αb_
Balance between absorbed energy and variation of internal energy should hold _∀t >_ 0,
and hence:
_βlzE_ =
_V_
_ϱcp_ ( _wp_ ( _t,_ x ) _−_ _w_ ¯) d _V_
= _ϱcplz_
= _ϱcplz_
<u>�</u>
_<u>a</u>_
lim
_ct_ + 1
_R→_ + _∞_ <sup>2</sup> <sup>_π_</sup>
(2.36)
Ω
_ct_ + 1 _<u>a</u>_ <sup>_e−br_</sup> <sup>2</sup> <sup>_/_</sup> <sup>(</sup> <sup>_ct_</sup> <sup>+1) dΩ</sup>
0
- _R_
= _ϱcplzπ_ <sup>_<u>a</u>_</sup>
_b_
_⇓_
_e_ <sup>_−br_</sup> <sup>2</sup> <sup>_/_</sup> <sup>(</sup> <sup>_ct_</sup> <sup>+1)</sup> _r_ d _r_
0
_R_
_a_ = <sup>_<u>βE</u>_</sup>
_πϱcp_
_b_
At this step, using (2.36) and (2.35), _wp_ ( _t,_ x ) can be expressed with parameter _b_
only, namely:
_wp_ ( _t,_ x ) = _w_ ¯ + <sup>_<u>βE</u>_</sup>
_πϱcp_
_<u>b</u>_
(2.37)
4 _αbt_ + 1 <sup>_e−br_</sup> <sup>2</sup> <sup>_/_</sup> <sup>(4</sup> <sup>_αbt_</sup> <sup>+1)</sup>
Notice that _∀b̸_ = 0 function _wp_ ( _t,_ x ) shows the same properties at the boundary of
solution (2.20) for the point-wise laser pulse, namely with _r_ = _∥_ x _−_ x _L∥_ :
_r→_ lim+ _∞_ <sup>_wp_</sup> <sup>(</sup> <sup>_t,_</sup> <sup>x</sup> <sup>) =</sup> <sup>_w_</sup> <sup>¯</sup> _t→_ lim+ _∞_ <sup>_wp_</sup> <sup>(</sup> <sup>_t,_</sup> <sup>x</sup> <sup>) =</sup> <sup>_w_</sup> <sup>¯</sup> (2.38)
An additional information is needed to identify a value of parameter _b_ and it is
related to the intensity distribution of the laser beam. Let us consider Eq. (2.30) in
the spirit of distributions and integrate both sides in the time interval _t ∈_ [0 <sup>_−_</sup> _, ε_ ] where
scalar _ε_ tends to zero.
lim
_ε→_ 0 <sup>+</sup>
- _−εε_
_−ε_
_ϱcp_
_<u>∂w</u>_
_∂t_ <sup>(</sup> <sup>_t,_</sup> <sup>x</sup> <sup>) d</sup> <sup>_t_</sup> <sup>=</sup> <sup>lim</sup>
_ε→_ 0
_ε→_ 0 <sup>+</sup>
- _−εε_
_−ε_
_k∇_ x <sup>2</sup>
x <sup>2</sup> <sup>_w_</sup> <sup>(</sup> <sup>_t,_</sup> <sup>x</sup> <sup>)d</sup> <sup>_t_</sup> <sup>+</sup>
(2.39)
+ lim
_ε→_ 0 <sup>+</sup>
<u>�</u> _−εε_
<u>2</u> _<u>βE</u>_
_πrL_ <sup>2</sup>
_e_ <sup>_−_</sup> <sup>2(</sup> <sup>_r/rL_</sup> <sup>)2</sup> _δD_ ( _t_ ) d _t_
_⇓_
<u>2</u> _<u>βE</u>_
_ε_ <sup>lim</sup> _→_ 0 <sup>+</sup> <sup>_w_</sup> <sup>(</sup> <sup>_−ε,_</sup> <sup>x</sup> <sup>) =</sup> _πrL_ <sup>2</sup> <sup>_ϱc_</sup>
_ε_ lim _→_ 0 <sup>+</sup> <sup>_w_</sup> <sup>(</sup> <sup>_ε,_</sup> <sup>x</sup> <sup>)</sup> <sup>_−_</sup> _ε_ <sup>lim</sup> _→_ 0
_L_ <sup>2</sup> <sup>_ϱcp_</sup>
_e_ <sup>_−_</sup> <sup>2(</sup> <sup>_r/rL_</sup> <sup>)2</sup>
_2.3._ _TEMPERATURE_ _FIELD_ _OF_ _LIQUID_ _DOMAIN_ 15
Substitution of initial conditions (2.31) shows that a solution has to satisfy the following:
<u>2</u> _<u>βE</u>_
lim
_ε→_ 0 <sup>+</sup> <sup>_w_</sup> <sup>(</sup> <sup>_ε,_</sup> <sup>x</sup> <sup>) =</sup> <sup>_w_</sup> <sup>¯ +</sup> _πrL_ <sup>2</sup> <sup>_ϱcp_</sup>
_e_ <sup>_−_</sup> <sup>2(</sup> <sup>_r/rL_</sup> <sup>)2</sup> (2.40)
Let us compute the limit for _t →_ 0 <sup>+</sup> of _wp_ ( _t,_ x ) given in (2.37), x _∈_ R <sup>2</sup>, and compare
the result with Eq. (2.40) to find (if possible) a value of parameter _b_ .
lim
_πϱcp_
_t→_ 0 <sup>+</sup> <sup>_wp_</sup> <sup>(</sup> <sup>_t,_</sup> <sup>x</sup> <sup>) =</sup> <sup>_w_</sup> <sup>¯ +</sup> <sup>_<u>βE</u>_</sup>
_be_ <sup>_−br_</sup> <sup>2</sup>
_w_ ¯ + <sup>_<u>βE</u>_</sup>
_πϱcp_
_be_ <sup>_−br_</sup> <sup>2</sup> = _w_ ¯ + <u>2</u> _<u>βE</u>_
_πrL_ <sup>2</sup> <sup>_ϱc_</sup>
_⇓_
_L_ <sup>2</sup> <sup>_ϱcp_</sup>
_e_ <sup>_−_</sup> <sup>2(</sup> <sup>_r/rL_</sup> <sup>)2</sup>
_⇓_
(2.41)
_be_ <sup>_−br_</sup> <sup>2</sup> = <sup><u>2</u></sup>
_rL_ <sup>2</sup>
_e_ <sup>_−_</sup> <sup>2(</sup> <sup>_r/rL_</sup> <sup>)2</sup>
_L_
_⇓_
_b_ = <sup><u>2</u></sup>
_rL_ <sup>2</sup>
_L_
An unique value has been identified for each parameter in (2.33), satisfying dynamics
and initial conditions. Thus, function _wp_ ( _t,_ x ) with matched parameters is the unique
solution of (2.30)-(2.31) for _t >_ 0, and Lemma 2 is proved.
Collection of pulses
Heat equation (2.16) is the governing equation of the thermal field. It is linear, and
thus given the impulse response of the system it is possible to reconstruct its behaviour
in response to any input by using the convolution integral and the initial conditions.
Then, the exact thermal field generated by a laser beam trajectory x _L_ ( _t_ ) and power
_pL_ ( _t_ ) can be computed by the convolution integral. Assuming Gaussian laser beam
intensity profile and homogeneous initial condition _w_ (0 _,_ x ) = _w_ ¯, then for _t_ _>_ 0 and
x _∈_ R <sup>2</sup> it is:
_<u>pL</u>_ <u>(</u> _<u>τ</u>_ <u>)</u>
_L_
8 _α_ ( _t −_ _τ_ ) + _r_ <sup>2</sup>
_w_ ( _t,_ x ) = _w_ ¯ + <sup><u>2</u></sup>
_π_
_<u>β</u>_
_ϱcp_
0
- _t_
0
_−_ 2 8 <sup>_<u>∥</u>_</sup> _α_ <sup><u>x</u></sup> <sup>_<u>−</u>_</sup> ( _t_ <sup><u>x</u></sup> _−_ <sup>_<u>L</u>_</sup> _τ_ <sup><u>(</u></sup> )+ <sup>_<u>τ</u>_</sup> <sup><u>)</u></sup> _r_ <sup>_<u>∥</u>_</sup> _L_ <sup><u>22</u></sup>
_e_
8 <sup>_<u>∥</u>_</sup> _α_ <sup><u>x</u></sup> <sup>_<u>−</u>_</sup> ( _t_ <sup><u>x</u></sup> _−_ <sup>_<u>L</u>_</sup> _τ_ <sup><u>(</u></sup> )+ <sup>_<u>τ</u>_</sup> <sup><u>)</u></sup> _r_ <sup>_<u>∥</u>_</sup> _L_ <sup><u>22</u></sup> d _τ_ (2.42)
and the corresponding temperature gradient is given by:
_<u>pL</u>_ <u>(</u> _<u>τ</u>_ <u>)</u>
_L_
[8 _α_ ( _t −_ _τ_ ) + _r_ <sup>2</sup>
_∇_ x _w_ ( _t,_ x ) = _−_ _π_ <sup><u>8</u></sup>
_<u>β</u>_
_ϱcp_
0
- _t_
_L_ <sup>]2</sup> <sup>_e_</sup>
<sup>2</sup>
_−_ 2 8 <sup>_<u>∥</u>_</sup> _α_ <sup><u>x</u></sup> <sup>_<u>−</u>_</sup> ( _t_ <sup><u>x</u></sup> _−_ <sup>_<u>L</u>_</sup> _τ_ <sup><u>(</u></sup> )+ <sup>_<u>τ</u>_</sup> <sup><u>)</u></sup> _r_ <sup>_<u>∥</u>_</sup> <sup><u>22</u></sup>
_L_
8 <sup>_<u>∥</u>_</sup> _α_ <sup><u>x</u></sup> <sup>_<u>−</u>_</sup> ( _t_ <sup><u>x</u></sup> _−_ <sup>_<u>L</u>_</sup> _τ_ <sup><u>(</u></sup> )+ <sup>_<u>τ</u>_</sup> <sup><u>)</u></sup> _r_ <sup>_<u>∥</u>_</sup> <sup><u>22</u></sup> (2.43)
_L_ ( x _−_ x _L_ ( _τ_ )) <sup>_T_</sup> d _τ_
The analytical solution of these integrals might be quite complex (if possible). We
prefer to compute a numerical approximation, by using standard mid-point quadrature
method. A continuous laser beam emitted by a moving device is approximated
to a finite time-series of instantaneous laser pulses. Let us build a time grid Γ =
_{tk|t_ 0 _<_ _t_ 1 _<_ _· · ·_ _<_ _tN_ _}_ and denote laser position x _L,k_ = x _L_ ( _tk_ ) and temperature
field approximation _wk_ ( x ) _≈_ _w_ ( _tk,_ x ) for _k_ = 0 _,_ 1 _, . . ., N_ and x _∈_ R <sup>2</sup> . Given the
homogeneous initial condition _w_ (0 _,_ x ) = _w_ ¯, x _∈_ R <sup>2</sup>, temperature field and its gradient
16 _CHAPTER_ _2._ _MODELLING_
can be approximated to:
_wk_ ( x ) = _w_ ¯ + <sup><u>2</u></sup>
_π_
_<u>β</u>_
_ϱcp_
_k−_ 1
_j_ =0
<u>�</u>
_j_ =0
_<u>∥</u>_ x _<u>−</u>_ x _<u>L,j ∥</u>_ <sup>2</sup>
8 _α_ ( _tk_ _−tj_ )+ _rL_ <sup><u>2</u></sup> (2.44)
_−_ 2
_e_
_−_ 2
_<u>Ej</u>_
_L_
8 _α_ ( _tk −_ _tj_ ) + _r_ <sup>2</sup>
_∇_ x _wk_ ( x ) = _−_ _π_ <sup><u>8</u></sup>
_<u>β</u>_
_ϱcp_
_k−_ 1
_j_ =0
_j_ =0
_−_ 2
_<u>∥</u>_ x _<u>−</u>_ x _<u>L,j ∥</u>_ <sup>2</sup>
8 _α_ ( _tk_ _−tj_ )+ _r_ <sup><u>2</u></sup> (2.45)
_L_ ( x _−_ x _L,j_ ) <sup>_T_</sup>
_<u>Ej</u>_
_L_
[8 _α_ ( _tk −_ _tj_ ) + _r_ <sup>2</sup>
_L_ <sup>]2</sup> <sup>_e_</sup>
<sup>2</sup>
where _Ej_ is an estimate of the energy carried by the _j_ -th laser pulse, namely:
_Ej_ = ( _tj_ +1 _−_ _tj_ ) _pL,j_ _≈_
_pL_ ( _τ_ ) d _τ_ (2.46)
_tj_
- _tj_ +1
The maximum time step _h_ in the time grid Γ, i. e. _h_ = max _k_ =1 _,...,N_ ( _tk −_ _tk−_ 1), affects
the accuracy of the approximation. In particular, in the limit _h_ _→_ 0 <sup>+</sup>, finite sums
in (2.44)-(2.45) converge to integrals in (2.42)-(2.43), in the spirit of Riemann integral definition. This means that a more refined time grid Γ yields a more accurate
approximation of temperature field and temperature gradient.
Steady state model of moving continuous point-wise heat source
Here we derive the temperature field induced by a continuous laser beam moving at
constant speed, in the case of point-wise constant intensity distribution and power. This
analytical solution is useful to compare results with convolution integral approximations
(2.44)-(2.45).
Let us consider w.l.o.g. the heat source moving with at constant non-zero velocity
v _L_, passing through the origin at time _t_ = 0, thus _xL_ ( _t_ ) = v _Lt_ . The governing equation
(with constant homogeneous parameters and laser power) is given by:
_<u>∂w</u>_
x <sup>_w_</sup> <sup>(</sup> <sup>_t,_</sup> <sup>x</sup> <sup>) +</sup> <sup>_<u>βpL</u>_</sup>
<sup>2</sup>
_<u>∂w</u>_ x
_∂t_ <sup>(</sup> <sup>_t,_</sup> <sup>x</sup> <sup>) =</sup> <sup>_α∇_</sup> <sup>2</sup>
_ϱcp_
_δD_
- _∥_ x _−_ v _Lt∥_ <sup>2�</sup>
satisfied
(2.47)
Moreover, the following far field conditions have to be satisfied
_t_ lim _→∞_ <sup>_w_</sup> <sup>(</sup> <sup>_t,_</sup> <sup>x</sup> <sup>) =</sup> <sup>_w_</sup> <sup>¯</sup> _∥_ x _∥→_ lim+ _∞_ <sup>_w_</sup> <sup>(</sup> <sup>_t,_</sup> <sup>x</sup> <sup>) =</sup> <sup>_w_</sup> <sup>¯</sup> (2.48)
Lemma 3. _The_ _solution_ _to_ _Equations_ (2.47) _-_ (2.48) _for_ x _<u>∈</u>_ R <sup>2</sup> _is:_
<sup>_<u>βpL</u>_</sup>
<u>2</u> _<u>α</u>_
<u>2</u> _<u>πk</u>_ <sup>_<u>K</u>_</sup> <sup>0</sup> ~~<u>�</u>~~ _<u>ur</u>_
_e_ <sup>_−uξ/_</sup> <sup>(2</sup> <sup>_α_</sup> <sup>)</sup> (2.49)
~~<u>�</u>~~
_w_ ( _t,_ x ) = _w_ ¯ + <sup>_<u>βpL</u>_</sup>
_where_ _r_ = _∥_ _ξ_ _∥,_ _ξ_ = [ _ξ, η_ ] <sup>_T_</sup> = x _−_ v _Lt,_ v _L_ = [ _u,_ 0] <sup>_T_</sup> _and_ _K_ 0 _is_ _the_ _zero-order_ _modified_
_Bessel_ _function_ _of_ _second_ _kind._
_Proof._ In steady state conditions the temperature field does not change in time from
the laser point of view. This means that if the temperature field is described in a
reference frame moving with the laser beam, then it does not depend on time. Namely,
evaluating the temperature field _w_ ˜( _t,_ _ξ_ ) = _w_ ( _t,_ _ξ_ + v _Lt_ ), the explicit time dependence
disappears, i. e.
0 = <sup>_<u>∂</u>_</sup> _∂t_ <sup>_<u>w</u>_</sup> <sup><u>˜</u></sup> <sup>(</sup> <sup>_t,_</sup> <sup>_ξ_</sup> <sup>) =</sup> <sup>_<u>∂w</u>_</sup> _∂t_ <sup>(</sup> <sup>_t,_</sup> <sup>_ξ_</sup> <sup>+</sup> <sup>v</sup> <sup>_Lt_</sup> <sup>) +</sup> <sup>v</sup> <sup>_L · ∇_</sup> <sup>x</sup> <sup>_w_</sup> <sup>(</sup> <sup>_t,_</sup> <sup>_ξ_</sup> <sup>+</sup> <sup>v</sup> <sup>_Lt_</sup> <sup>)</sup>
_⇓_
(2.50)
_−_ v _L · ∇_ x _w_ ( _t,_ _ξ_ + v _Lt_ ) = <sup>_<u>∂w</u>_</sup> _∂t_
<sup>_<u>∂w</u>_</sup> _∂t_ <sup>(</sup> <sup>_t,_</sup> <sup>_ξ_</sup> <sup>+</sup> <sup>v</sup> <sup>_Lt_</sup> <sup>)</sup>
_2.3._ _TEMPERATURE_ _FIELD_ _OF_ _LIQUID_ _DOMAIN_ 17
Noticing that x = _ξ_ + v _Lt_ and substituting (2.47) into (2.50) we get:
(2.51)
x <sup>_w_</sup> <sup>(</sup> <sup>_t,_</sup> <sup>_ξ_</sup> <sup>+</sup> <sup>v</sup> <sup>_Lt_</sup> <sup>) +</sup> <sup>_<u>βpL</u>_</sup>
<sup>2</sup>
x
_−_ v _L · ∇_ x _w_ ( _t,_ _ξ_ + v _Lt_ ) = _α∇_ <sup>2</sup>
_δD_
- _∥_ _ξ_ + v _Lt −_ x _L_ ( _t_ ) _∥_ <sup>2�</sup>
_ϱcp_
_⇓_
_ξ_ <sup>_w_</sup> <sup>˜(</sup> <sup>_t,_</sup> <sup>_ξ_</sup> <sup>) +</sup> <sup>_<u>βpL</u>_</sup>
<sup>2</sup> _ϱcp_
_ξ_
_−_ v _L · ∇_ _ξ_ ˜ _w_ ( _t,_ _ξ_ ) = _α∇_ <sup>2</sup>
_ϱcp_
_δD_
- _∥_ _ξ_ _∥_ <sup>2�</sup>
Then, considering w.l.o.g. the laser moving along one axis of the fixed reference frame,
v _L_ = [ _u,_ 0] <sup>_T_</sup>, and coordinates in the moving reference frame _ξ_ = [ _ξ, η_ ] <sup>_T_</sup>, then it becomes
_−_ _u_ <sup>_<u>∂</u>_</sup> _∂ξ_ <sup>_<u>w</u>_</sup> <sup><u>˜</u></sup>
_ξ_ <sup>2</sup> <sup>_w_</sup> <sup>˜ +</sup> <sup>_<u>βp</u>_</sup> _ϱcp_ <sup>_<u>L</u>_</sup>
<sup>_<u>∂</u>_</sup> _∂ξ_ <sup>_<u>w</u>_</sup> <sup><u>˜</u></sup> <sup>=</sup> <sup>_α∇_</sup> _ξ_ <sup>2</sup>
_ϱcp_
_δD_
- _∥_ _ξ_ _∥_ <sup>2�</sup>
(2.52)
that is a second-order ODE, hence temperature field _w_ ˜ does not depend on time,
_w_ ˜ = _w_ ˜( _ξ_ ). Then, far field conditions (2.48) correspond to
lim
_∥_ _ξ_ _∥→_ + _∞_
_w_ ˜( _ξ_ ) = _w_ ¯ (2.53)
Let us consider the scalar function _ϕ_ ( _ξ_ ) = ( _w_ ˜( _ξ_ ) _−_ _w_ ¯) _e_ <sup>_uξ/_</sup> <sup>(2</sup> <sup>_α_</sup> <sup>)</sup> ; it satisfies the
following equation:
4 <sup>_<u>u</u>_</sup> _α_ <sup>22</sup> <sup>_ϕ_</sup> <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> _e_ <sup>_−uξ/_</sup> <sup>2</sup> <sup>_α_</sup> = _λδD_ ( _∥_ _ξ_ _∥_ <sup>2</sup> ) (2.54)
_−_ _α_
_∇_ <sup>2</sup> _ξ_
<sup>2</sup> _ξ_ <sup>_ϕ_</sup> <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> <sup>_−_</sup> 4 <sup>_<u>u</u>_</sup> _α_ <sup>2</sup>
Denoting _r_ = _∥_ _ξ_ _∥_ the distance from the heating source, Eq. (2.54) becomes:
_−_
2 _α_
- _<u>u</u>_
_ϕ_ ( _ξ_ )
�2
) _e_ <sup>_−uξ/_</sup> <sup>2</sup> <sup>_α_</sup> = _λ δD_ ( _r_ <sup>2</sup> ) (2.55)
_r_ <sup>_<u>∂ϕ</u>_</sup>
_∂r_
<sup>_<u>∂ϕ</u>_</sup>
_∂r_ <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
_−_ _α_
_r_
- <u>1</u>
_<u>∂</u>_
_∂r_
and in the case _r_ = _∥_ _ξ_ _∥_ _>_ 0 it reduces to the Bessel equation of order zero, Eq. (2.56).
It is an ODE, and hence the solution explicitly depends on coordinate _r_ = _∥_ _ξ_ _∥_ only,
Eq. (2.57), thus _ϕ_ = _ϕ_ ( _r_ ).
2 _α_
- _<u>ur</u>_
_−_
<u>�</u>
2 _α_
- _<u>u</u>_
_ϕ_ ( _r_ ) = 0 (2.56)
�2
<u>1</u>
_r_
<u>d</u>
d _r_
_r_ <sup><u>d</u></sup> <sup>_<u>ϕ</u>_</sup>
d _r_
<sup>_<u>ϕ</u>_</sup>
d _r_ <sup>(</sup> <sup>_r_</sup> <sup>)</sup>
+ _cϕ,_ 2 _K_ 0
2 _α_
- _<u>ur</u>_
(2.57)
_ϕ_ ( _r_ ) = _cϕ,_ 1 _I_ 0
Scalars _cϕ,_ 1 and _cϕ,_ 2 are integration constants and _I_ 0 and _K_ 0 are the zero-order
modified Bessel functions of the first and second kinds, respectively.
Far field condition (2.53), denoting _r_ = _∥_ _ξ_ _∥_ and _ξ_ = _r_ cos _ϑ_ _∀ϑ ∈_ [0 _, π_ ], leads to:
0 = _r_ lim _→∞_ <sup>[ ˜</sup> <sup>_w_</sup> <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_w_</sup> <sup>¯]</sup>
_r_ lim _→∞_ <sup>_ϕ_</sup> <sup>(</sup> <sup>_r_</sup> <sup>)</sup> <sup>_e−ur_</sup> <sup>cos</sup> <sup>_ϑ/_</sup> <sup>2</sup> <sup>_α_</sup>
= lim
+ _cϕ,_ 2 _K_ 0
0)
_e_ <sup>_−ur_</sup> <sup>cos</sup> <sup>_ϑ/_</sup> <sup>2</sup> <sup>_α_</sup>
2 _α_
- _<u>ur</u>_ ��
(2.58)
= lim
_r→∞_
_cϕ,_ 1 _I_ 0
= _ur/_ (2
2 _α_
- _<u>ur</u>_
_α_ )
_⇓_ ( _σ_ = _ur/_ (2 _α_ ) _>_ 0)
0 = _cϕ,_ 1 lim
_σ→∞_ <sup>_I_</sup> <sup>0 (</sup> <sup>_σ_</sup> <sup>)</sup> <sup>_e−σ_</sup> <sup>cos</sup> <sup>_ϑ_</sup> <sup>+</sup> <sup>_cϕ,_</sup> <sup>2</sup> _σ_ <sup>lim</sup> _→∞_
_σ_ <sup>lim</sup> _→∞_ <sup>_K_</sup> <sup>0 (</sup> <sup>_σ_</sup> <sup>)</sup> <sup>_e−σ_</sup> <sup>cos</sup> <sup>_ϑ_</sup>
= _cϕ,_ 1 _σ_ lim
_⇓_
0 = _cϕ,_ 1
_σ_ lim _→∞_ <sup>_I_</sup> <sup>0 (</sup> <sup>_σ_</sup> <sup>)</sup> <sup>_e−σ_</sup> <sup>cos</sup> <sup>_ϑ_</sup>
18 _CHAPTER_ _2._ _MODELLING_
Then, the relationship between absorbed power and thermal gradient in laser position
(where there is a singularity due to point-wise intensity distribution) returns, _∀ϑ ∈_ [0 _, π_ ]:
_−_ 2 _πrlzk_ <sup>_<u>∂</u>_</sup> _∂r_ <sup>_<u>w</u>_</sup> <sup><u>˜</u></sup>
_βlzpL_ = lim
_r→_ 0
_βlzpL_ = lim
<sup>_<u>∂</u>_</sup> _∂r_ <sup>_<u>w</u>_</sup> <sup><u>˜</u></sup> <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup>
= 2 _πlzk_ lim
_r→_ 0
_−r_ _∂r_ <sup>_<u>∂</u>_</sup>
_∂r_
- _ϕ_ ( _r_ ) _e_ <sup>_−ur_</sup> <sup>cos</sup> <sup>_ϑ/_</sup> <sup>2</sup> <sup>_α_</sup> <sup><u>��</u></sup>
_⇓_
_βpL_ = 2 _πk_ lim
_r→_ 0
_−re_ <sup>_−ur_</sup> <sup>cos</sup> <sup>_ϑ/_</sup> <sup>2</sup> <sup>_α_</sup>
d _r_ <sup>(</sup> <sup>_r_</sup> <sup>)</sup> <sup>_−_</sup> 2 <sup>_<u>u</u>_</sup> _α_ <sup>_ϕ_</sup> <sup>(</sup> <sup>_r_</sup> <sup>) cos</sup> <sup>_ϑ_</sup>
- <u>d</u> _<u>ϕ</u>_ ��
(2.59)
_⇓_ ( _σ_ = _ur/_ (2 _α_ ) _>_ 0)
= 2 _πkcϕ,_ 2
_βpL_ = 2 _πkcϕ,_ 2 lim
_σe_ <sup>_−σ_</sup> <sup>cos</sup> <sup>_ϑ_</sup> ( _K_ 1 ( _σ_ ) + _K_ 0 ( _σ_ ) cos _ϑ_ )
_⇓_
_σ→_ 0
_cϕ,_ 2 = <sup>_<u>βpL</u>_</sup>
2 _πk_
Finally, given _ξ_ = [ _ξ, η_ ] <sup>_T_</sup> = x _−_ v _Lt_ and _r_ = _∥_ _ξ_ _∥_, substituting the values of scalars
_cϕ,_ 1 and _cϕ,_ 2 in Eq. (2.57), the Lemma 3 is proved.
Temperature gradient _∇_ x _w_ ( _t,_ x ) can be analytically expressed too. A brief comparison between this analytical solution and the approximation through the superposition
of a finite series of pulses is presented in Appendix A.
2.3.2 Finite Elements
The finite element method (FEM) is a numerical technique for approximating solutions
to boundary value problems (BVPs) for PDEs. The whole domain is subdivided into
smaller domains called finite elements (FEs). Governing equations of finite elements
and their connections are assembled together; this yields to a set of ODEs. Numerical
techniques are used to solve this large set of equations.
Laser-induced temperature field is governed by the unsteady heat equation (2.16),
that is a parabolic PDE, thus it is possible to apply the FEM to approximate its
evolution. The procedure starts with the discretization of spatial domain, i. e. the
generation of nodes and finite elements. The infinite dimensional problem is here
reduced into a finite dimensional problem, whose size is the number of nodes (because
the thermal field is a scalar field). Then, shape functions interpolate both the main
variable and the weight variable (called also virtual variable) in the finite element
domain. This means that it is possible to approximate thermal and virtual field inside
each element as a function of space and nodal values, i. e. the values of field at the
nodes. Then, the problem is converted into its weak formulation for each element,
equations are assembled into mass and stiffness matrix and finally the problem is solved
with standard tools of linear algebra. For a deeper and more detailed discussion about
FEM see [60].
In the framework of FE, the evaluation of thermal gradient _∇_ x _w_ ( _t,_ x ) is approximated by a matrix multiplication:
(2.60)
_∇_ x _w_ ( _t,_ x ) <sup>_T_</sup> _≈_ _B_ ( x ) w ( _t_ )
where nodal vector w = w ( _t_ ) depends on time and matrix _B_ is computed from shape
functions n and depends on spatial position x (where the gradient has to be evaluated).
_2.3._ _TEMPERATURE_ _FIELD_ _OF_ _LIQUID_ _DOMAIN_ 19
In particular, it is _B_ ( x ) = _∇_ xn ( x ). Thermal field dynamics is represented by a system
of ODEs, that is worth to express in matrix form as:
_M_ _w_ w ˙ ( _t_ ) + _K_ _w_ w ( _t_ ) = f ( _t_ ) (2.61)
where _M_ _w_ and _K_ _w_ are mass and stiffness matrix, respectively. Vector of nodal
loads f corresponds to the heat generation term in (2.16). The structure of mass
matrix _M_ _w_ and stiffness matrix _K_ _w_ depends on node numbering and values of their
entries are influenced by element sizes and physical properties of the liquid layer.
Considering constant homogeneous temperature-independent properties, these matrices
are proportional to physical properties of the liquid. The same holds for the nodal
load vector f w.r.t. absorption coefficient.
_M_ _w_ = _lzϱcp_ _M_ <sup>¯</sup> _w_ _,_ _K_ _w_ = _lzk_ _K_ <sup>¯</sup> _w_ _,_ f = _β_ <sup>¯</sup> f (2.62)
Nodal loads Let us focus on how to compute the vector of nodal loads f . In general,
the nodal load vector of element _e_ depends on shape functions n _e_ ( x ) and control input;
namely at time _t_ :
f _e_ ( _t_ ) =
n _e_ ( x ) _q_ ˙( _t,_ x )dΩ _e_ (2.63)
Ω _e_
where domain Ω _e_ is the _e_ -th element. Scalar function _q_ ˙ = _q_ ˙( _t,_ x ) is the heating
power per unit volume and may depend on both time and space, as explained in
§2.2. Considering a point-wise laser source (equivalent to a Gaussian one with null
characteristic radius, and thus modelled with a Dirac delta distribution) placed in x _L_
with power _pL_, it is
(2.64)
f _e_ =
Ω _e_
n _e_ ( x ) _δD_ ( _∥_ x _−_ x _L∥_ ) _βpL_ dΩ _e_
= _βpL_ n _e_ ( x _L_ )
Instead, in the case of a (proper) Gaussian intensity distribution of the laser beam, it is
f _e_ =
<u>�</u>
Ω _e_
n _e_ ( x ) <sup><u>2</u></sup>
_e_ <sup>_−_</sup> <sup>2(</sup> <sup>_∥_</sup> <sup>x</sup> <sup>_−_</sup> <sup>x</sup> <sup>_L∥/rL_</sup> <sup>)2</sup> _βpL_ dΩ _e_
_πrL_ <sup>2</sup>
(2.65)
_L_
<u>2</u>
=
_πrL_ <sup>2</sup>
_βpL_
n _e_ ( x ) _e_ <sup>_−_</sup> <sup>2(</sup> <sup>_∥_</sup> <sup>x</sup> <sup>_−_</sup> <sup>x</sup> <sup>_L∥/rL_</sup> <sup>)2</sup> dΩ _e_
_L_
Ω _e_
Integral in (2.65) is quite involved and it is difficult, perhaps impossible, to solve it
analytically. Its solution may be approximated through numerical methods, e. g. Gauss
quadrature method for integrating generic functions.
Here we propose and implement a procedure inspired by Gaussian quadrature rule
and that satisfies the energy conservation law. This procedure is a partition of laser
power on grid nodes, weighted on the specific laser intensity distribution. In particular,
given a set of nodes x _i_ for _i_ = 1 _, . . ., n_, we use intensity distribution _ψ_ ( _t,_ x )—whatever
it is—as a weighting function, i. e. to compute the relative weight _wi_ ( _t_ ) of node x _i_,
Eq. (2.66), and then each entry _fi_ ( _t_ ) of nodal load vector f ( _t_ ) is a weighted partition
of the overall heating power _βpL_ ( _t_ ), Eq. (2.67), where _pL_ ( _t_ ) = R <sup>2</sup> <sup>_ψ_</sup> <sup>(</sup> <sup>_t,_</sup> <sup>x</sup> <sup>) dΩ.</sup>
R <sup>2</sup> <sup>_ψ_</sup> <sup>(</sup> <sup>_t,_</sup> <sup>x</sup> <sup>) dΩ.</sup>
_wi_ ( _t_ ) = _ψ_ ( _t,_ x _i_ ) (2.66)
_<u>wi</u>_ <u>(</u> _<u>t</u>_ <u>)</u>
_fi_ ( _t_ ) = _βpL_ ( _t_ ) (2.67)
_i_ =1 <sup>_wi_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup>
~~�~~ _<u>n</u>_
20 _CHAPTER_ _2._ _MODELLING_
_i_ =1 <sup>_fi_</sup> <sup>(</sup> <sup>_t_</sup> <sup>) =</sup> <sup>_βpL_</sup> <sup>(</sup> <sup>_t_</sup> <sup>),</sup> <sup>meaning</sup> <sup>that</sup> <sup>the</sup>
total nodal load is the heating power. This method interestingly resembles 1-point
Gauss quadrature approximation of integral in (2.65), sampling function value only
Conservation of energy is guaranteed <sup>4</sup> because <sup>�</sup> <sup>_n_</sup>
in position x _i_ . Thus, this approach likely works better with smooth functions and
homogeneous fine space discretization, where function _ψ_ ( _t,_ x ) may be considered almost
piece-wise constant in each finite element.
Time integration Let us focus now on how to integrate the time evolution of the
thermal field given a control history, i. e. given laser position x _L_ ( _t_ ) and power _pL_ ( _t_ )
at time _t_ . As previously explained, nodal load vector f = f ( _t_ ) can be computed and
expressed as a function of time only.
Considering time-varying Dirichlet boundary conditions <sup>5</sup>, nodal temperature vector w may be partitioned into free and constrained nodes, w f and w c respectively,
and values of solution at constrained nodes is given by boundary conditions, i. e.
w c( _t_ ) = w c <sup>_∗_</sup> <sup>(</sup> <sup>_t_</sup> <sup>).</sup> <sup>Thermal</sup> <sup>dynamics</sup> <sup>in</sup> <sup>(2.61)</sup> <sup>can</sup> <sup>be</sup> <sup>written</sup> <sup>as</sup>
_K_ ff _K_ fc
_K_ cf _K_ cc
w f ( _t_ )
w c <sup>_∗_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup>
��
=
f _f_ ( _t_ )
f _c_ ( _t_ )
(2.68)
_M_ ff _M_ fc
_M_ cf _M_ cc
w ˙ _c_ <sup>_∗_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup>
�� w ˙ _f_ ( _t_ )
+
_c_ <sup>_∗_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup>
c <sup>_∗_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup>
f _c_ ( _t_ )
where also matrices _M_ _w_ and _K_ _w_ and nodal load vector f have been partitioned
accordingly. Exploiting the knowledge of boundary conditions, vector w f is the only
unknown, and considering only dynamics of free nodes system may be reduced. Notice
that the r.h.s. term _ϕ_ f still depends only on time, Eq. (2.69).
_c_ <sup>_∗_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_K_</sup> <sup>fc</sup> <sup>w</sup> c <sup>_∗_</sup>
_M_ ff w ˙ _f_ ( _t_ ) + _K_ ff w f ( _t_ ) = f _f_ ( _t_ ) _−_ _M_ fc w ˙ _c_ <sup>_∗_</sup> <sup>(</sup>
c <sup>_∗_</sup> <sup>(</sup> <sup>_t_</sup> <sup>) =</sup> <sup>_ϕ_</sup> f <sup>(</sup> <sup>_t_</sup> <sup>)</sup> (2.69)
Let us discretize (2.69) obtaining a finite dimensional problem, over a time grid
Γ =Equations _{_ 0 = _t_ 2.690 _< t_ are1 _< · · ·_ approximated _< tN_ = _T_ _}_ by, andusingdenotethe trapezoidal∆ _tk_ +1 = _tk_ quadrature+1 _−_ _tk_ theruletimetostepaveragesize.
on [ _tk, tk_ +1] and by using finite differences in place of the derivative terms:
<u>1</u>
∆ _tk_ +1
_tk_
<u>�</u> _tk_ +1
<u>1</u>
[ _M_ ff w ˙ _f_ ( _t_ ) + _K_ ff w f ( _t_ )] _dt_ =
∆ _tk_ +1
_ϕ_ f ( _t_ ) _dt_
_tk_
<u>�</u> _tk_ +1
_⇓_
<sup><u>) +</u></sup> <sup>_<u>ϕ</u>_</sup> <sup><u>f</u></sup> <sup><u>(</u></sup> <sup>_<u>tk</u>_</sup> <sup><u>)</u></sup> _k_
2 + _O_ (∆ _t_ <sup>2</sup>
_k_ <sup>2</sup> +1 <sup>)</sup>
<u>w</u> <u>f</u> <u>(</u> _<u>tk</u>_ <u>+1) +</u> <u>w</u> <u>f</u> <u>(</u> _<u>tk</u>_ <u>)</u>
<u>) +</u> <u>w</u> <u>f</u> <u>(</u> _<u>tk</u>_ <u>)</u> = <sup>_<u>ϕ</u>_</sup> <sup><u>f</u></sup> <sup><u>(</u></sup> <sup>_<u>tk</u>_</sup> <sup><u>+1) +</u></sup> <sup>_<u>ϕ</u>_</sup> <sup><u>f</u></sup> <sup><u>(</u></sup> <sup>_<u>tk</u>_</sup> <sup><u>)</u></sup>
2 2
_M_ ff
<u>w</u> <u>f</u> <u>(</u> _<u>tk</u>_ <u>+1)</u> _<u>−</u>_ <u>w</u> <u>f</u> <u>(</u> _<u>tk</u>_ <u>)</u>
∆ _tk_ +1
+ _K_ ff
(2.70)
Neglecting the truncation term of order _O_ (∆ _tk_ <sup>2</sup> +1 <sup>)</sup> <sup>we</sup> <sup>obtain</sup> <sup>the</sup> <sup>discrete-time</sup> <sup>update</sup>
equation:
_M_ ff
<u>w</u> _<u>f,k</u>_ <u>+1</u> _<u>−</u>_ <u>w</u> _<u>f,k</u>_
∆ _tk_ +1
<u>w</u> _<u>f,k</u>_ <u>+1 +</u> <u>w</u> _<u>f,k</u>_
<u>+</u> <u>w</u> _<u>f,k</u>_ = <sup>_ϕ_</sup> <sup><u>f</u></sup> <sup>_<u>,k</u>_</sup> <sup><u>+1</u></sup> <sup>+</sup> <sup>_ϕ_</sup> <sup><u>f</u></sup> <sup>_<u>,k</u>_</sup>
2 2
∆ _tk_ +1 2 2
_⇓_
_M_ ff + <sup><u>∆</u></sup> <sup>_<u>tk</u>_</sup> <sup><u>+1</u></sup> _K_ ff w _f,k_ +1 = _K_ ff w
2 _M_ ff _−_ <sup><u>∆</u></sup> <sup>_<u>t</u>_</sup> 2 <sup>_<u>k</u>_</sup> <sup><u>+1</u></sup>
<u>�</u> <u>�</u> <u>�</u>
+ _K_ ff
<sup>_<u>k</u>_</sup> <sup><u>+1</u></sup> _ϕ_ f _,k_ +1 + _ϕ_ f _,k_
2
_M_ ff _−_ <sup><u>∆</u></sup> <sup>_<u>t</u>_</sup> 2 <sup>_<u>k</u>_</sup> <sup><u>+1</u></sup>
<u>�</u>
w _f,k_ + <sup><u>∆</u></sup> <sup>_<u>tk</u>_</sup> <sup><u>+1</u></sup>
2
(2.71)
<sup>_<u>k</u>_</sup> <sup><u>+1</u></sup> _K_ ff
2
_⇓_
w _f,k_ +1 =
<u>�</u>
_K_ ff
2 <sup>_<u>k</u>_</sup> <sup><u>+1</u></sup>
4Actually this is true only if rounding errors are neglected. However, energy balance obtained by
using Gaussian quadrature could be less accurate.
5This is a type of boundary condition imposed on an ordinary or a partial differential equation. In
particular, it specifies the values that a solution takes at the boundary of the domain.
_2.4._ _DROPLET_ _AND_ _THERMOCAPILLARY_ _FORCE_ _MODELLING_ 21
where w _k_ _≈_ w ( _tk_ ) denotes the state approximation. Finally, notice that this scheme is
explicit because _ϕ_ f _,k_ +1 depends on boundary conditions, laser heating and not on the
actual thermal field.
##### 2.4 Droplet and thermocapillary force modelling
Liquid medium and droplet motion are governed by principles of fluid mechanics,
that are momentum and energy balances; written in differential form, these are the
Navier-Stokes equations. These relate changes of the velocity field to the stresses in
the fluid, and this detailed approach often deals with involved differential calculus
and typically is covered in literature assuming small Reynolds number and Marangoni
number <sup>6</sup>, in [59, 61, 62] for instance.
An higher-level model may be formulated using the Newton’s approach, i. e. considering the droplet as a point mass and summing all the forces applied on it. With
this approach, a simpler dynamical model may be formulated, based on an averaged
dynamics.
Steady-state migration model and velocity is known from [59]. Unsteady droplet
migration has been studied with the aforementioned assumptions with Navier-Stokes
equations [61]. Let us estimate the Reynolds number _Re_ to evaluate whether a steadystate model of migration may be enough or not. Reference parameters may be the
liquid specific mass _ϱ_ = 1000 kg _/_ m <sup>3</sup>, the characteristic velocity _v_ = 2 _−_ 5 mm _/_ s, the
characteristic length _L_ = 2 _−_ 4 mm and the liquid viscosity _µ_ = 0 _._ 8 mPa s, yielding to
_Re_ = <sup>_<u>ϱvL</u>_</sup> (2.72)
_µ_ _≈_ 5 _−_ 30
Thus, liquid layer exhibits a laminar flow, that is in between creeping flow and inviscid
flow, i. e. both inertia and viscous forces are significant, and so a transient model
should be elaborated.
Unsteady dynamics modelling is straightforward using Newton’s approach, and in
particular the Newton’s second law of motion, that describes the relationship between
a body and the forces acting upon it. Thus, identification of these forces is the key
step in modelling the dynamics of a system.
Assumptions In this work we restrict to consider a small lensed <sup>7</sup> droplet, floating
on a liquid layer; liquid and droplet are immiscible. Droplet shape deformation and
internal convective flow can be omitted is droplet size is small enough. Similarly, liquid
temperature field may be imposed to be valid in the droplet too. For this reason,
exploting Newton’s approach and considering the droplet as a point mass, we will refer
to droplet temperature as the temperature of liquid in droplet (central) position; this
imply that the same holds for the temperature gradient. The liquid layer is supposed
to be homogeneous and thin, so that convective flow can be neglected [59] and variables
are constant along the liquid thickness. Hence the temperature field is 2-dimensional.
Physical properties of liquid medium and droplet depend on the environment,
and particularly on the surrounding temperature field. These parameters may be
6Reynolds number _Re_ = _ϱvL/µ_ is the dimensionless ratio of inertial forces to viscous forces;
Marangoni number _Ma_ = _−LσT_ ∆ _T/_ ( _µα_ ) is the dimensionless ratio between thermal-surface tension
forces to viscous forces (specific mass _ϱ_, speed _v_, length _L_, viscosity _µ_, temperature _T_, surface tension
coefficient _σT_ = _∂T_ <sup>_<u>∂σ</u>_</sup> <sup>,</sup> <sup>thermal</sup> <sup>diffusivity</sup> <sup>_α_</sup> <sup>).</sup>
7It has been experimentally highlighted that lensed droplets do not behave as spherical droplets [8].
22 _CHAPTER_ _2._ _MODELLING_
considered as simple functions of temperature, approximating the non-linear behaviour
with piece-wise constant, linear or more complex models. Temperature-dependence
of model parameters may yield to a non-linear model of thermocapillary droplet
migration [63]. For the sake of simplicity, we will consider constant and homogeneous
physical properties of both the liquid medium and the droplet.
Drag force due to surrounding liquid turns out to be linear by using (linear)
Navier-Stokes equations with Stokes’ approximation (i. e. _Re_ _≪_ 1) [59, 61]. Recent
experimental evidences report a good fitting with quadratic drag force [54]. In the
following we analyse both the linear and quadratic drag force.
Thermocapillary force Surface tension acts on the free surface of the fluid and
hence hydrodynamic stresses balance with the surface tension and its gradient [17].
Thus, thermocapillary force acting on the liquid depends linearly on the surface tension
gradient.
Surface tension of a liquid may depend on its chemical composition and its surrounding environment, e. g. electrical, magnetic and temperature field. Surface tension as a
function of temperature may be predicted using the Eötvös rule [64], that suggests a
linear relation for temperatures below the critical point of the liquid. Thus, thermocapillary force acting on the liquid depends linearly on the temperature gradient. Notice
that for most of the liquids surface tension decreases by increasing the temperature [17].
Motion of the liquid medium due to temperature gradients is from warmer regions,
with the lower surface tension, toward the colder regions, with the higher surface
tension [8, 59, 62]. Classical works suggest that reactive force of surrounding medium
would cause a droplet movement opposite to liquid medium flow at the free surface,
thus in the direction of the temperature gradient [59, 62]. More recent developments
show that lens-shaped droplets at the free surface of immiscible liquids move in the
direction of the outward liquid flow, i. e. opposite to the temperature gradient [8]. On
the other hand, spherical-shaped droplets move from cooler to warmer regions (because
of the depression on the free surface in the hottest region) [8, 13]. However, reactive
or not, the force applied onto the droplet depends on the surrounding medium. We
conclude that thermocapillary force on the droplet depends linearly on temperature
gradient, so as the force on the liquid medium.
Steady-state migration From classical works (with viscous incompressible liquid,
Stokes’ approximation, no convective flow, constant temperature gradient) [59, 62],
the steady state thermocapillary migration velocity of a droplet on a thin liquid layer
subject to a constant temperature gradient g _w,∞_ is:
<u>2</u> _<u>RσT</u>_
v _∞_ = _−_
2 + <sup>_<u>α</u>_</sup> _α_ <sup>_<u>′</u>_</sup> 2 + 3
~~�~~ ~~�~~ <sup>~~�~~</sup>
viscosity of the liquid
2 + 3 <sup>_<u>µ</u>_</sup> _µ_ <sup>_<u>′</u>_</sup>
~~�~~ <sup>~~�~~</sup>
liquid and
_µ_
~~�~~
g _w,∞_ (2.73)
where _µ_ is the dynamic viscosity of the liquid and _α_ its thermal diffusivity, _R_ is the
droplet radius <sup>8</sup> and _σT_ = _∂w_ <sup>_<u>∂σ</u>_</sup> <sup>the</sup> <sup>surface</sup> <sup>tension</sup> <sup>coefficient.</sup> <sup>Terms</sup> <sup>with</sup> <sup>prime</sup> <sup>relate</sup>
droplet radius <sup>8</sup> and _σT_ = _∂w_ <sup>_<u>∂σ</u>_</sup> <sup>the</sup> <sup>surface</sup> <sup>tension</sup> <sup>coefficient.</sup> <sup>Terms</sup> <sup>with</sup> <sup>prime</sup> <sup>relate</sup>
to droplet properties, without to liquid properties.
Linear drag Dill & Balasubramaniam [61] apply Navier-Stokes equations (with
small Reynolds number and Marangoni number); their result is a transfer function
8Lens-shaped droplet is approximated to an ellipsoid with two equal axis. In particular, droplet
thickness along the liquid layer is smaller than the other (almost equal) sizes. We will consider droplet
volume _V_ and top-view radius _R_ .
_2.4._ _DROPLET_ _AND_ _THERMOCAPILLARY_ _FORCE_ _MODELLING_ 23
between droplet velocity and thermal gradient. Let us consider the equation of motion
_i_ <sup>f</sup> <sup>_i_</sup> <sup>,</sup> <sup>where</sup> <sup>_m_</sup> <sup>is</sup> <sup>the</sup> <sup>droplet</sup> <sup>mass</sup> <sup>and</sup> <sup>v</sup> <sup>=</sup> <sup>x</sup> <sup>˙</sup> <sup>its</sup> <sup>velocity,</sup> <sup>and</sup> <sup>forces</sup> <sup>due</sup> <sup>to</sup>
surface tension and viscosity. Denoting the temperature gradient g _w_ ( _t,_ x ) = _∇_ x _w_ ( _t,_ x ),
the equation of motion reads:
_m_ ˙ v = <sup>�</sup>
(2.74)
_m_ v ˙ ( _t_ ) = f _σ_ ( _t_ ) + f drag( _t_ ) = _c_ 1 _R_ <sup>2</sup> _σT_ g _w_ ( _t,_ x ( _t_ )) _−_ 3 _πµR_ v ( _t_ )
A linear model for thermocapillary force is adopted because of the reasons explained
above; linear drag force (derived from Stokes’ approximation) is used, to gain a linear
model. Thus, it is possible to apply Laplace transform and compare with the unsteady
model obtained in [61]. Notice that parameter _c_ 1 is left free for subsequent fitting or
comparisons; drag force is modelled with a factor 3 _π_ instead of 6 _π_ because the droplet
is not completely immersed. Actually, droplets are typically not spherical and not half
immersed [8, 65].
Looking at the steady state velocity v _∞_ in a constant temperature gradient g _w,∞_,
from (2.74) it is:
(2.75)
v _∞_ = <sup>_<u>c</u>_</sup> <sup><u>1</u></sup> 3 <sup>_<u>R σ</u>_</sup> _πµ_ <sup>_<u>T</u>_</sup> <sup>g</sup> <sup>_w,∞_</sup>
This value may be compared with the steady-state velocity (2.73) from [62]; the two
results are equivalent with the particular choice of parameter _c_ 1:
<u>6</u> _<u>π</u>_
_c_ 1 = _−_
2 + <sup>_<u>α</u>_</sup> _α_ <sup>_<u>′</u>_</sup>
~~�~~ ~~�~~ <sup>~~�~~</sup>
2 + 3 <sup>_<u>µ</u>_</sup> _µ_ <sup>_<u>′</u>_</sup>
~~�~~ <sup>~~�~~</sup>
~~�~~ (2.76)
Assuming similar physical properties of liquid and droplet, i. e. _µ_ <sup>_′_</sup> _≈_ _µ_ and _α_ <sup>_′_</sup> _≈_ _α_, the
parameter reduces to _c_ 1 = _−_ 2 _π/_ 5.
Let us focus on the time constant of the first-order model just introduced. Rearranging the equation of motion in the form _τ_ ˙ v + v = v _∞_, it reads:
_<u>m</u>_
(2.77)
3 _πµR_ <sup>v</sup> <sup>˙</sup> <sup>+</sup> <sup>v</sup> <sup>=</sup> <sup>_<u>c</u>_</sup> <sup><u>1</u></sup> 3 <sup>_<u>R σ</u>_</sup> _πµ_ <sup>_<u>T</u>_</sup> <sup>g</sup> <sup>_w,∞_</sup>
where the time constant is highlighted. Let us estimate its value using reference
parameters, droplet volume _V_ = 20 _−_ 30 _µ_ L and radius _R_ = 2 _−_ 3 mm; it is:
_<u>m</u>_ _<u>V ϱ</u>_
_τ_ = 3 _πµR_ <sup>=</sup> 3 _πµR_ <sup>_≈_</sup> <sup>0</sup> <sup>_._</sup> <sup>9</sup> <sup>_−_</sup> <sup>2</sup> <sup>_._</sup> <sup>0 s</sup> (2.78)
For comparison, time constant of thermal dynamics in liquid medium is about
_τ_ T = _L_ <sup>2</sup> _/α ≈_ 28 _−_ 112 s, for reference length _L_ = 2 _−_ 4 mm and thermal diffusivity of water _α_ = 0 _._ 143 mm <sup>2</sup> _/_ s. Hence, from this viewpoint, unsteady migration of
droplet could be neglected, being _τ_ _≪_ _τ_ T.
Let us evaluate the braking distance of the droplet, namely the distance _d_ travelled
to stop from the steady state velocity in a time interval equal to one time constant _τ_ .
Actually, notice that this is an underestimation of the needed space to stop. Steady
state velocity can be estimated from (2.73) with _α_ <sup>_′_</sup> = _α_ and _µ_ <sup>_′_</sup> = _µ_ ; for _R_ = 3 mm,
_σT_ = _−_ 0 _._ 15 mN _/_ m K and _∥_ g _w,∞∥_ = 10 _−_ 100 K _/_ m, it is _∥_ v _∞∥≈_ 0 _._ 75 _−_ 7 _._ 5 mm _/_ s.
These values match with experimental evidences [8, 54].
Considering uniform deceleration a = _−_ v _∞/τ_ and _τ_ _≈_ 0 _._ 9 _−_ 2 _._ 0 s, braking distance
turns out to be (greater than) _d_ = _∥_ v _∞∥τ/_ 2 _≈_ 0 _._ 3 _−_ 7 mm. Thus, depending on the
manipulation and positioning accuracy required by the specific application, the unsteady
dynamics may be ignored or not. In this work we consider a transient model for droplet
thermocapillary migration.
24 _CHAPTER_ _2._ _MODELLING_
Let us now compare model (2.74) with results for bubbles in a constant temperature
gradient, by using Navier-Stokes equations, obtained in [61]. To this end and without
loss of generality, let us consider the 1-dimensional case. Defining dimensionless time
_t_ ˆ = _tµ/_ ( _R_ <sup>2</sup> _ϱ_ ) and velocity _v_ ˆ = _vµ/_ ( _σT R gw,∞_ ), they found the Laplace transform of
the bubble velocity _v_ ˆ(ˆ _s_ ) to be
_~~<u>√</u>~~_
3 + <sup>_<u>s</u>_</sup> <sup><u>ˆ(3 +</u></sup>
_~~√~~_
(DB) (2.79)
<u>�</u>
<u>1 +</u> _<u>√s</u>_
1 + _~~<u>√</u>~~_
<u>1 +</u> _<u>s</u>_ <u>ˆ</u> _<u>Pr</u>_
2 + 2 _~~<u>√</u>~~_ _s_ ˆ _Pr_ + ˆ
_s_ ˆ _Pr_ + ˆ _sPr_
<u>�</u>
_s_ ˆ)
_v_ ˆ(ˆ _s_ ) =
<u>1</u>
_s_ ˆ
<sup>_<u>s</u>_</sup> <sup><u>ˆ(3 +</u></sup> _<u>s</u>_ <u>ˆ)</u>
6(1 + _~~√~~_ _s_ ˆ)
where _Pr_ is the dimensionless Prandtl number, defined as the ratio of momentum
diffusivity to thermal diffusivity, whose value is _Pr_ = _µcp/k_ _≈_ 5 _._ 6 (specific heat
_cp_ = 4186 J _/_ kg K and thermal conductivity _k_ = 0 _._ 6 W _/_ m K of water). We can express
Eq. (2.74) with dimensionless variables _t_ <sup>ˆ</sup> and _v_ ˆ, substituting _m_ = _V ϱ_ <sup>_′_</sup> and _V_ = <sup><u>4</u></sup> 3 <sup>_πεR_</sup> <sup>3</sup>
(factor _ε_ accounts for droplet lensed-shape) <sup>9</sup> and considering _ϱ_ <sup>_′_</sup> _≈_ _ϱ_ .
<sup><u>4</u></sup> 3 <sup>_πεR_</sup> <sup>3</sup>
_mv_ ˙( _t_ ) = _c_ 1 _R_ <sup>2</sup> _σT_ g _w,∞_ _−_ 3 _πµRv_ ( _t_ )
_⇓_
_<u>V</u>_
_R_ <sup>3</sup> <sup>_v_</sup> <sup>ˆ</sup> <sup>_′_</sup> <sup>(ˆ</sup> <sup>_t_</sup> <sup>) =</sup> <sup>_c_</sup> <sup>1</sup> <sup>_−_</sup> <sup>3</sup> <sup>_πv_</sup> <sup>ˆ(ˆ</sup> <sup>_t_</sup> <sup>)</sup>
(2.80)
_⇓_
<u>49</u> _<u>ε</u>_ <sup>_v_</sup> <sup>ˆ</sup> <sup>_′_</sup> <sup>(ˆ</sup> <sup>_t_</sup> <sup>) =</sup> <sup>_<u>c</u>_</sup> <sup><u>1</u></sup>
3 _π_ <sup>_−_</sup> <sup>_v_</sup> <sup>ˆ(ˆ</sup> <sup>_t_</sup> <sup>)</sup>
Then we project into the frequency domain by using the Laplace transform, considering
null initial conditions, _v_ ˆ( _t_ ) _|t_ =0 = 0.
<u>49</u> _<u>ε</u>_ <sup>_s_</sup> <sup>ˆ ˆ</sup> <sup>_v_</sup> <sup>(ˆ</sup> <sup>_s_</sup> <sup>) =</sup> 3 <sup>_<u>c</u>_</sup> _π_ <sup><u>1</u></sup> <u>1</u>
_s_ ˆ <sup>_−_</sup> <sup>_v_</sup> <sup>ˆ(ˆ</sup> <sup>_s_</sup> <sup>)</sup>
_⇓_
(2.81)
(FO)
_v_ ˆ(ˆ _s_ ) = <sup>_<u>c</u>_</sup> <sup><u>1</u></sup>
3 _π_
<u>1</u>
- <u>1</u> _s_ ˆ <sup>_−_</sup> _s_ ˆ + 4 <sup><u>9</u></sup> _ε_
In order to compare predicted steady-state velocity _v∞_ = lim _t→∞_ _v_ ( _t_ ), we can apply
the final value theorem on both models (2.79) and (2.81). Similarly, initial value
theorem can be applied twice to match initial acceleration _v_ ˙( _t_ ) _|t_ =0 <sup>10</sup> .
_t_ ˆlim _→∞_ <sup>_v_</sup> <sup>ˆ(ˆ</sup> <sup>_t_</sup> <sup>) =</sup> _s_ ˆ <sup>lim</sup> _→_ 0 <sup>_v_</sup> <sup>ˆ(ˆ</sup> <sup>_s_</sup> <sup>) ˆ</sup> <sup>_s_</sup> <sup>=</sup>
<u>1</u> (DB)
2
_<u>c</u>_ <u>1</u>
- 3 _π_ (FO) _→_ _c_ 1 = 2 <sup><u>3</u></sup>
3 _π_
6 (DB)
(2.83)
- 43 _πεc_ <u>1</u> (FO) _→_ _c_ 1 = 8 _πε_
2 <sup><u>3</u></sup> <sup>_π_</sup> (2.82)
lim
_t_ ˆ _→_ 0 <sup>_v_</sup> <sup>ˆ</sup> <sup>_′_</sup> <sup>(ˆ</sup> <sup>_t_</sup> <sup>) =</sup> _s_ ˆ <sup>lim</sup> _→∞_ <sup>_v_</sup> <sup>ˆ(ˆ</sup> <sup>_s_</sup> <sup>) ˆ</sup> <sup>_s_</sup> <sup>2</sup> <sup>=</sup>
The proposed first-order linear model (2.81) can be compared with (2.79) in the Laplace
domain, matching steady state velocity _v∞_ or initial acceleration _a_ (0). Fig. 2.3 shows
the good agreement between these models, especially for _ε ≈_ 0 _._ 3.
9Actually droplet shape is not ellipsoidal, as shown in [65].
10Null initial velocity _v_ ( _t_ ) _|t_ =0 is set by initial conditions in both models, (2.79) and (2.81). Actually,
applying initial value theorem, it is lim _t_ ˆ _→_ 0 ˆ _v_ ( _t_ <sup>ˆ</sup> ) = lim _s_ ˆ _→∞_ _v_ ˆ(ˆ _s_ )ˆ _s_ = 0.
_2.4._ _DROPLET_ _AND_ _THERMOCAPILLARY_ _FORCE_ _MODELLING_ 25
DB, Pr = 5 _._ 5
10 <sup>1</sup> _~~ε~~_
10 <sup>_−_</sup> <sup>1</sup>
10 <sup>_−_</sup> <sup>3</sup>
~~FO,~~ _~~v~~_ _<u>∞</u>_
FO, _a_ (0)
_<u>ε</u>_
10 <sup>_−_</sup> <sup>1</sup> 10 <sup>0</sup> 10 <sup>1</sup> 10 <sup>2</sup>
_s_ ˆ [-]
Figure 2.3: Comparison between linear models DB and FO in Laplace domain: effect of
shape factor _ε ∈_ [0 _._ 2 _,_ 1].
Finally, a second-order linear model has been formulated for unsteady thermocapillary migration of a small droplet on a thin liquid layer. Changes in droplet and liquid
properties may be embedded considering a linear time-varying model. Condensing
parameters in (possibly) time-varying scalars _mD_, _bD_ and _cD_ to be identified, the
aforementioned model reads:
x ˙ ( _t_ ) = v ( _t_ )
(2.84)
_mD_ ˙ v ( _t_ ) = _bD_ g _w_ ( _t,_ x ( _t_ )) _−_ _cD_ v ( _t_ )
Quadratic drag Experimental work on motion of floating objects successfully fitted
tracking data using a quadratic drag model [8,54]. Assuming that droplet-liquid relative
velocity is similar to the droplet absolute velocity <sup>11</sup>, the quadratic drag force can be
modelled introducing drag coefficient _cx_ and frontal area _A_ of the droplet, namely:
(2.85)
f drag = _−_ <sup><u>1</u></sup> 2 <sup>_ϱcxA∥_</sup> <sup>v</sup> <sup>_∥_</sup> <sup>v</sup>
Coefficient _cx_ quantifies the resistance of an object in a fluid environment; it depends
on its shape and typically it is scaled to specific mass of the fluid and frontal area of
the object. It approximately ranges in _cx_ _≈_ 0 _._ 04 _−_ 0 _._ 4 for smooth ellipsoidal shapes.
Frontal area can be approximated to _A_ = _πεR_ <sup>2</sup>, with shape factor _ε_ defined above.
From the second Newton’s law we get the (non-linear) model, by considering linear
thermocapillary force and quadratic drag:
(2.86)
_m_ ˙ v ( _t_ ) = _c_ 1 _R_ <sup>2</sup> _σT_ g _w_ ( _t,_ x ( _t_ )) _−_ <sup><u>1</u></sup> 2 <sup>_ϱcxA∥_</sup> <sup>v</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_∥_</sup> <sup>v</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup>
Compared to (2.75), steady-state velocity v _∞_ is no more proportional to the constant
temperature gradient g _w,∞_, and interestingly depends on specific mass _ϱ_ rather than
viscosity _µ_ of the surrounding liquid.
_∥_ g _w,∞∥_ <u>g</u> _<u>w,∞</u>_ (2.87)
�1 _/_ 2 _∥_ g _w,∞∥_
v _∞_ =
_πεϱcx_
<u>�</u> <u>4</u> _<u>c</u>_ <u>1</u> _<u>σT</u>_
11Actually, this may be not valid because the droplet moves with the liquid flow [8]. Thus, drag is
expect to be small because of the slow relative motion.
26 _CHAPTER_ _2._ _MODELLING_
1
0 _._ 5
_cD/mD_
linear
quadratic
0
0 0 _._ 2 0 _._ 4 0 _._ 6 0 _._ 8 1 1 _._ 2 1 _._ 4 1 _._ 6 1 _._ 8 2
_t_ [s]
Figure 2.4: Comparison of linear and quadratic model: normalized velocity profile for
different values of _cD/mD_ ( _bD∥_ g _w∥/mD_ = 1 N _/_ kg).
A second-order non-linear model has been formulated for unsteady thermocapillary
migration of a small droplet on a thin liquid layer. With parameters _mD_, _bD_ and _cD_
to be identified, this model reads:
x ˙ ( _t_ ) = v ( _t_ )
(2.88)
_mD_ ˙ v ( _t_ ) = _bD_ g _w_ ( _t,_ x ( _t_ )) _<u>−</u>_ _cD∥_ v ( _t_ ) _<u>∥</u>_ v ( _t_ )
Summary Let us express the dynamical model with linear thermocapillary force and
quadratic drag as a first-order system of ODEs in matrix form. Actually, the model is
non-linear, but we can think of an equivalent time-varying linear system. Collecting
droplet state vector z = [ z <sup>_x_</sup> _,_ z <sup>_v_</sup> ] <sup>_T_</sup> = [ x _,_ v ] <sup>_T_</sup>, Eq. (2.88) can be written as
_M_ _z_ ˙ z ( _t_ ) = _A_ _z_ ( z ( _t_ )) z ( _t_ ) + _B_ _z_ g _w_ ( _t,_ z <sup>_x_</sup> ( _t_ )) (2.89)
where matrices _M_ _z_, _A_ _z_ and _B_ _z_ depend on properties of droplet and surrounding liquid
and droplet state:
_,_ _A_ _z_ ( z ) =
_I_
�00 _−cD∥_ z <sup>_v_</sup> _∥_ _I_
_,_ _B_ _z_ =
_bD_ _I_
- 0
(2.90)
_M_ _z_ =
0
0 _mD_ _I_
- _I_
Temperature gradient could be computed by using a FE model of the liquid medium,
as proposed in §2.3.2. Being w the corresponding nodal temperature vector, it is
g _w_ ( _t,_ z ) _≈_ _B_ ( z ) w ( _t_ ), where matrix _B_ is a suitable linear operator based on shape
functions adopted for the FE discretization, §2.3.2. Hence, re-defining input matrix
_B_ _z_ ( z ), model of droplet dynamics (2.92) is found.
_B_ _z_ ( z ) =
0
(2.91)
_bD_ _B_ ( z )
-
the model reads
_M_ _z_ ˙ z ( _t_ ) = _A_ _z_ ( z ( _t_ )) z ( _t_ ) + _B_ _z_ ( z ( _t_ )) w ( _t_ ) (2.92)
### Chapter 3
# State and parameters estimation
This Chapter discusses about state estimation and parameters identification of the
physical system that comprises droplet, liquid layer, laser and robot. This is a key step
that enables us to validate the mathematical model built in Chapter 2 and then to use
it in a model-based control strategy, exploited in Chapter 4.
State estimation provides an estimate of the actual internal state of the system,
by using measurements of the input and/or output of the real system and its model.
Typically, the physical state of the system cannot be fully determined by direct
observation and so its mathematical model is used to reconstruct and estimate the
hidden part of the state. Similarly, parameters identification refers to the estimation
of values of model parameters that best describe the physical system. In principle, we
could consider parameters as states with a constant (or slow) dynamics.
State estimation and parameters identification are fundamental to build an effective
automatic control system. Actually, a control system based on a feedback loop
elaborates and computes a control action to be applied on the system starting from
the knowledge of the actual state. Thus, a suitable state estimate is needed. Then, a
model-based controller uses an internal representation, i. e. a model, of the physical
system to compute a control action. Model parameters affect how the system behaves
and evolves, and so an estimate of actual system parameters is required. Notice that
the mathematical model is given and not estimated; this means that we trust in it
but we may validate the model through experiments, while identifying parameters for
instance, verifying that model accurately predicts behaviours of the real system.
Parameters identification may be performed only once during a calibration phase
(offline) or more than once while system is evolving (online). The latter approach
may be more complicated but likely it yields better prediction of system behaviour <sup>1</sup> .
Continuous tracking takes into account slowly time-varying physical effects on the
system, e. g. temperature-dependence of properties, and also the set of parameters that
best fits the mathematical model to the real system is continuously updated, improving
dynamics prediction in the neighbourhood of the actual state.
Two are the main approaches to simultaneously estimate system state and parameters and they are referred to as dual and joint estimation. In the latter case parameters
are treated as additional quasi-constant states and state estimation is carried out on
1This is more evident noticing that parameters may have more than one meaning: for instance,
physical properties of the system and fitting coefficients of the model. The mathematical model is
a representation of the physical system and cannot describe completely all its details, i. e. model
inaccuracies are always present. Thus, we cannot expect system parameters with a physical meaning
to assume values exactly equal to those properties estimated with other experiments.
27
28 _CHAPTER_ _3._ _STATE_ _AND_ _PARAMETERS_ _ESTIMATION_
an augmented state vector, stacking both state and parameters. Alternatively, dual
estimation consists in running two state estimation processes in parallel: one working
on state and the other on parameters, while updating parameters and state respectively
at each step. In the following Sections 3.3 and 3.4, the dual estimation approach is
exploited in order to deal only with (almost) linear systems. Instead, joint estimation
would couple the dynamics of states and parameters, leading to non-linear systems.
Finally, two well-known estimators are the Kalman filter (KF) and its extensions, e. g.
extended (EKF) and unscented (UKF) Kalman filters, and moving horizon estimation
(MHE). The Kalman filter is the optimal state estimator for unconstrained, linear
systems subject to normally distributed and independent state and measurement noises,
while MHE is a computationally feasible online solution for state estimation based on
an optimization strategy that accurately employs the nonlinear model and incorporates
constraints into the optimization [66]. A discussion about numerical feasibility and
methods for MHE is found in [67].
Outline Experimental setup currently available and procedures carried out during
the project are described in §3.1, in order to discuss about which variables can be
measured and then which are the input to estimation algorithms. Offline parameters
identification developed in §3.2 follows an optimization-based approach, that resembles
MHE. Model parameters are identified by applying this technique to real experimental
data collected during this work. Another strategy, based on steady state approximation,
is presented and discussed.
Then, we focus on state estimation algorithms based on Kalman filtering techniques.
Values of parameters as found in the previous offline procedure may enter these algorithms as constant values or they may be iteratively updated to fit at best the real
system behaviour; the latter case is a simultaneous state estimation and parameters
identification. An algorithm based on KF for state estimation and parameters identification of the robot model presented in §2.1 is proposed in §3.3. Then, we analyse
the problem of estimating droplet state and parameters for the model in §2.4. In
particular, because of practical issues in measuring thermal gradients, a Kalman filter
with unknown input (UI-KF) is presented in §3.4, that enables to find an approximate
value for the input too. A procedure for liquid state estimation is proposed in §3.5,
considering the FE model developed in §2.3.2. Moreover, we discuss about the high
dimensionality of liquid state when FEM is adopted and no model reduction techniques
are employed.
##### 3.1 Experimental setup
This Section describes the apparatus and the procedures adopted during the experimental work carried out at the Hanczyc Lab (CIBIO, University of Trento) during this
project (September 2016) <sup>2</sup> .
The EvoBot, developed within the EVOBLISS project [43], is employed due to its
layered structure, that allows to easily manage all the different parts of the system under
analysis. Let us describe in more details the main components of the experimental
apparatus.
Laser The device is taken from a _Laser_ _Engraver_ _Upgrade_ _Pack_ _for_ _XY-Plotter_ _Robot_
_Kit_ distributed by [68]. It is rigidly attached to the moving head of the EvoBot,
2The author would thank Silvia Holler for helping in carrying out experiments and recording videos
and Amedeo Setti for droplet and laser tracking algorithm.
_3.1._ _EXPERIMENTAL_ _SETUP_ 29
Table 3.1: Details of the experimental setup.
tilt angle _αL_ 30 <sup>_◦_</sup>
laser power _p_ <sup>_max_</sup> _L_ 420 mW
laser wavelength _<u>λL</u>_ <u>405 nm</u>
liquid volume _VL_ 9 mL
Petri dish inner radius _RL_ 45 mm
laser emitter-liquid distance <u>40 mm</u>
droplet volume _<u>V</u>_ <u>20</u> _<u>µ</u>_ <u>L</u>
cardboard hole diameter 85 mm
camera resolution 640 _×_ 480 pixels
camera speed <u>8 fps</u>
that can move on an horizontal plane. For what concerns these experiments, the
head is actuated by hand (if needed), mainly along one axis only. The laser beam
is directed downward and the device is tilted at _αL_ w.r.t. the vertical axis, in
the vertical plane that comprises the main direction of motion. Focal distance,
light power _pL_, wavelength _λL_, input voltage are constant.
Liquid A volume of liquid medium is contained in a (circular) Petri dish, horizontal
and flat. The container is on a cardboard positioned on the middle layer of the
EvoBot; it is placed in the centre of a hole in the cardboard, such that the laser
beam cannot engrave the support (hole diameter is slightly smaller than Petri
dish diameter). Liquid volume _VL_, Petri dish size and position are constant. The
liquid is an aqueous solution of decanoate (concentration 5 mM, pH 11).
Droplet A single (lens shaped) droplet is formed on the free surface of the liquid layer
by using a micro-pipette. Droplet liquid is 1-decanol, red coloured with Oil Red
O. Before starting an experiment, typically the droplet is arranged in the centre
of the Petri dish by using a plastic tip.
Camera An RGB camera is placed below the middle layer of the EvoBot. The hole
in the cardboard permits to look at the droplet and the laser spot. The camera
is a _Megapixel_ 10 _×_ _Digital_ _Zoom_ _f_ = 3 _._ 85 mm and it is connected to a recording
system via USB.
More detailed informations are reported in Tab. 3.1.
It is worth to notice that enough time passed between consecutive tests so that
temperature field returned to be uniform and at room temperature. Moreover, enough
time passed before starting each experiment to avoid waves and liquid motion and
ensure the droplet to be still. Finally, effects of environmental air have been minimized
by covering the EvoBot.
Let us focus now on the peculiarities of each experiment:
EXP1 robot head is hand-actuated along one axis only, trying to drive the droplet
along that axis; liquid is decanoate solution;
30 _CHAPTER_ _3._ _STATE_ _AND_ _PARAMETERS_ _ESTIMATION_
EXP2 robot head is hand-actuated mainly but not only along one axis, trying to drive
the droplet along that axis; liquid is decanoate solution;
EXP3 robot head is fixed; liquid is decanoate solution.
Experiments EXP1 and EXP2 show 1- and 2-dimensional laser paths and the response
of the system, i. e. droplet paths, are expected to be complex due to the surrounding
temperature field. In EXP3 a different scenario is set up, in which the laser beam does
not change position, so that temperature field and consequent droplet path should be
simpler.
Measurements Finally, let us consider which data may be available for parameters
identification and state estimation. Robot dynamics is not involved in these experiments,
so it cannot be identified. However, we expect the thermal dynamics of liquid medium
to be excited by the input and the droplet to migrate accordingly. In particular, the
model proposed in Chapter 2 should predict liquid and droplet behaviours.
The available experimental setup permits to measure laser spot positions during
time, y <sup>_x_</sup> ( _t_ ), and droplet positions during time, z <sup>_x_</sup> ( _t_ ). This is made possible by a
computer vision algorithm able to track objects from recorded video. Temperature
field of liquid medium cannot be monitored over time, but it could be measured by a
thermo-camera (not available yet). Initial and boundary conditions could be estimated
by approximating to the room temperature.
##### 3.2 Offline parameters identification
This Section discusses about how to estimate model parameters such that the mathematical model fits at best the physical system. This could be done by minimizing
the error between model predictions and actual measurements. Then, the calibrated
model is validated by comparing predictions and measurements of other tests.
Let us focus on the thermal model developed in §2.3.2 and droplet model proposed
in §2.4. As explained in §3.1, robot dynamics cannot be identified by using available
experimental data. In general, parameters may depend on time, but in the model
calibration phase we consider them to be time-invariant.
_M_ _w_ ( p ) ˙ w ( _t_ ) = _−_ _K_ _w_ ( p ) w ( _t_ ) + _B_ _w_ ( y <sup>_x_</sup> ( _t_ ) _,_ p ) u <sup>_p_</sup> ( _t_ ) (3.1)
_M_ _z_ ( p )˙ z ( _t_ ) = _A_ _z_ ( z <sup>_v_</sup> ( _t_ ) _,_ p ) z ( _t_ ) + _B_ _z_ ( z <sup>_x_</sup> ( _t_ ) _,_ p ) w ( _t_ ) (3.2)
Measurements give estimates of laser position y ˆ <sup>_x_</sup> and droplet position z ˆ <sup>_x_</sup> in a finite
set of sampling times Γ _m_ = _{_ 0 _≤_ _t_ 0 _,m_ _< t_ 1 _,m_ _< · · · < tM,m_ _≤_ _T_ _}_ . It is known when
laser is switched on (full power) and off, but emitted power _pL_ is not _a_ _priori_ given,
because it depends on the voltage. However, thanks to the linearity with coefficient _β_,
we can assume the device to emit the maximum power and hence u ˆ <sup>_p_</sup> is available. For
what concerns the temperature field, if initial temperature is uniform and equal to the
constant uniform temperature at the boundary, namely
_∃_ _w_ ¯ _∈_ R
such that w (0) = 1 ¯ _w_
w c( _t_ ) = 1 _w_ ¯ _∀t ∈_ [0 _, T_ ]
_3.2._ _OFFLINE_ _PARAMETERS_ _IDENTIFICATION_ 31
then it is not needed to have these values because they do not affect the substantial
behaviour of the system. Thermal field is (constantly) biased but droplet response
depends on temperature gradient, that is not biased. We assume this hypothesis to
hold and consider w.l.o.g. a reference temperature _w_ ¯ = 0 <sup>_◦_</sup> C.
Let us formulate the parameters identification problem as a standard optimization
problem; the optimal set of parameters should minimize the deviation between measurements and model predictions. Given vector of parameters p <sup>_∗_</sup> and initial droplet
state z (0) (and initial and boundary conditions of temperature field), the dynamical
model can be integrated forward in time to obtain the evolution <sup>3</sup> of temperature field
w <sup>_∗_</sup> ( _t_ ) and droplet state z <sup>_∗_</sup> ( _t_ ) for _t_ _∈_ [0 _, T_ ]. Then, based on simulated and actual
measurements, a cost function can be defined to evaluate the optimality of parameters
p <sup>_∗_</sup> . Minimizing this cost function, we can identify parameters that fit the model to
the physical system.
First, let us consider a continuous-time framework, hence we suppose to have control
inputs y ˆ <sup>_x_</sup> ( _t_ ) and u ˆ <sup>_p_</sup> ( _t_ ) and measurements z ˆ <sup>_x_</sup> ( _t_ ) for _t_ _∈_ [0 _, T_ ]. The cost functional
may be a quadratic cost on the different between laser-droplet distances obtained
by model and measurement, _d_ and _d_ <sup>ˆ</sup> respectively. With discrete-time measurements
_d_ ˆ _i_ = _d_ ˆ( _ti,m_ ) for _i ∈{_ 0 _, . . ., M_ _}_, this functional can be approximated with a quadrature
rule, namely:
_M_
_i_ =0
_J_ ID = _T_ <sup><u>1</u></sup>
<u>1</u>
0 _∥d_ ( _t_ ) _−_ _d_ <sup>ˆ</sup> ( _t_ ) _∥_ <sup>2</sup> d _t ≈_ _M_ + 1
- _T_
(3.3)
_∥d_ ( _ti,m_ ) _−_ _d_ <sup>ˆ</sup> _i∥_ <sup>2</sup>
The optimal vector of parameters p ˆ can be identified for _t ∈_ [0 _, T_ ] by minimizing
the cost (3.3) while satisfying initial and boundary conditions and dynamic models
(3.1)-(3.2). The minimizer p ˆ is an estimate of model parameters that represent the
actual physical system.
Notice that cost _J_ ID in (3.3) presumes the presence of noise in the measurement
only. Actually, process noise is unavoidable and it may have a significant effect on the
evolution of the system. Introducing a continuous-time disturbance _ν_, only in droplet
dynamics for simplicity, the aforementioned optimization problem turns into an OCP,
defined as:
minimize
_J_ ID + _T_ <sup><u>1</u></sup>
0
- _T_
0 _ων∥_ _ν_ ( _t_ ) _∥_ <sup>2</sup> d _t_
_T_
subject to _M_ _w_ ( p ) w ˙ ( _t_ ) = _−_ _K_ _w_ ( p ) w ( _t_ ) + _B_ _w_ (ˆ y <sup>_x_</sup> ( _t_ ) _,_ p ) ˆ u <sup>_p_</sup> ( _t_ )
_M_ _z_ ( p ) ˙ z ( _t_ ) = _A_ _z_ ( z <sup>_v_</sup> ( _t_ ) _,_ p ) z ( _t_ ) + _B_ _z_ ( z <sup>_x_</sup> ( _t_ ) _,_ p ) w ( _t_ ) + _ν_ ( _t_ )
(3.4)
w (0) = 1 ¯ _w_
w c( _t_ ) = 1 _w_ ¯
z (0) = ˆ z (0)
for _t ∈_ (0 _, T_ )
where the hat denotes measured quantities. Problem (3.4) resembles a standard OCP
with control cost, where _ν_ = _ν_ ( _t_ ) is the control (of dimension _nν_ ). This is quite
different w.r.t. the problem cited above, that is a (static) optimization problem with
few optimization variables— _np_, the number of parameters in vector p . Instead, after
3Sensitivity of the evolution to initial conditions and model parameters is emphasized by the
unstable dynamics of the system, that may be considered chaotic.
32 _CHAPTER_ _3._ _STATE_ _AND_ _PARAMETERS_ _ESTIMATION_
time discretization over a grid with _nt_ nodes, Problem (3.4) involves ( _np_ + _ntnν_ )
optimization variables, leading to a high (finite) dimensional problem.
Let us focus on which are the unknown parameters. Mass matrix _M_ _w_ depends
(linearly) on specific mass _ϱ_, specific heat _cp_ and thickness _lz_ of the liquid layer; stiffness
matrix _K_ _w_ depends (linearly) on its thermal conductivity _k_ and thickness _lz_ ; nodal
loads vector depends on coefficient _β_ (linearly) <sup>4</sup> and characteristic radius _rL_ of the
laser beam intensity profile. Matrix _M_ _z_ is given by droplet mass _mD_ ; state matrix
_A_ _z_ depends on coefficient _cD_, input matrix _B_ _z_ comprises coefficient _bD_ and linear
operator _B_ ( z ). Thermal properties of the liquid medium may be estimated considering
its chemical composition and temperature. Liquid layer thickness _lz_ is related to
the poured volume of liquid _VL_ and container shape and size. Droplet mass _mD_ is
given by its specific mass _ϱ_ <sup>_′_</sup> and volume _V_ . Remaining parameters _{β, rL, cD, bD}_ are
unknowns.
Let us discuss the consequences of having no measurements of the temperature field.
First, it is important to notice that (3.1) is a linear ODE subject to homogeneous initial
conditions and constant homogeneous boundary conditions in Problem (3.4), thus
temperature gradient is linear w.r.t. coefficient _β_ <sup>5</sup> . Temperature gradient affects droplet
dynamics (3.2) through the input matrix _B_ _z_ that depends linearly on parameter _bD_ .
Thus, from the droplet point-of-view, parameters _β_ and _bD_ have the same effect; with
no informations about the temperature field, these parameters are undistinguishable.
Finally, parameters _{βbD, rL, cD}_ could be estimated.
Droplet spatial extension is not considered in the model proposed in §2.4. This
modelling inaccuracy likely leads to prediction errors and difficulties in parameters
identification because of this missing part in the model, especially when the laser beam
is close to the droplet. Here we propose to add an auxiliary parameter _δ_ to take into
account this inaccuracy. In particular, the point-mass droplet is translated w.r.t. the
physical droplet along the line connecting laser beam and droplet itself. Effective
distance between laser beam and point-mass droplet is likely a function of distance
itself; we restrict to the much simpler case of constant _δ_ . In particular, droplet initial
position changes, namely:
<sup>_x_</sup> 0 <sup>_←_</sup> <sup>z</sup> 0 <sup>_x_</sup> <sup>_−_</sup> <sup>_δ_</sup> <sup><u>z</u></sup> <u>0</u> <sup>_x_</sup> <sup>_<u>−</u>_</sup> <sup><u>y</u></sup> <u>0</u> <sup>_x_</sup>
_∥_ z <sup>_x_</sup> 0 <sup>_−_</sup> <sup>y</sup> 0 <sup>_x_</sup>
z <sup>_x_</sup> 0
<u>0</u> (3.5)
<u>0</u> <sup>_x_</sup> <sup>_<u>−</u>_</sup> <sup><u>y</u></sup> <sup>_x_</sup>
<sup>_x_</sup> 0 <sup>_−_</sup> <sup>y</sup> 0 <sup>_x∥_</sup>
Then, evolution is simulated and laser-droplet distance _d_ is computed and added to
the bias _δ_, i. e. _d ←_ _d_ + _δ_, before evaluating the aforementioned cost function.
Finally, initial droplet velocity z <sup>_v_</sup> 0 <sup>is</sup> <sup>added</sup> <sup>to</sup> <sup>optimization</sup> <sup>variables</sup> <sup>because</sup> <sup>its</sup>
estimation from measurements may be rough (as initial position is) but its value
may strongly affect the evolution of the system. A guess for z <sup>_v_</sup> 0 <sup>can</sup> <sup>be</sup> <sup>computed</sup>
by using the finite difference approximation. Hence, unknown model parameters are
_{βbD, cD, rL, δ,_ z <sup>_v_</sup> 0 <sup>_}_</sup> <sup>.</sup>
Numerical solution Problem (3.4) cannot be directly solved by using any numerical
methods. Following the direct method (with full discretization), a time grid, a state
discretization scheme and a control parametrization scheme are introduced to obtain a
finite dimensional (perhaps nonlinear) optimization problem [6, 27], also called NLP.
The time grid for state discretization, Γ = _{_ 0 _≤_ _t_ 0 _<_ _t_ 1 _<_ _· · ·_ _<_ _tN_ _≤_ _T_ _}_,
is independent on measurement time grid Γ _m_, because it is used only to predict
4Nodal loads depend on incident power too, that is not known nor estimated. We can consider
_pL_ = _p_ <sup>_max_</sup> _L_ and coefficient _β_ accounts also for power losses.
5Outline of the proof: subdivide free and constrained nodes; express the system in state-space
form with temperature gradient as output; Laplace transform and solve for the temperature gradient.
Finally, initial droplet velocity z <sup>_v_</sup> 0
<sup>_v_</sup> 0 <sup>_}_</sup> <sup>.</sup>
_3.2._ _OFFLINE_ _PARAMETERS_ _IDENTIFICATION_ 33
the evolution of the system. In order to reproduce accurately the continuous-time
dynamics, the maximum time step in Γ should be small enough, depending on the
discretization scheme. Grid Γ is likely more refined than Γ _m_, namely _∀i ∈{_ 0 _, . . ., M_ _−_ 1 _}_
_∃_ ( _j, k_ ) _∈{_ 0 _, . . ., N_ _−_ 1 _} × {_ 1 _,_ 2 _, . . . }_ such that:
_ti,m_ _≤_ _tj_ _< · · · < tj_ + _k_ _≤_ _ti_ +1 _,m_ (3.6)
Moreover, we build grid Γ such that measurement times are nodes, so that interpolation
is not needed to compute predictions at those times.
_ti,m_ _∈_ Γ _∀i ∈{_ 0 _,_ 1 _, . . ., M_ _}_ (3.7)
We adopt a central difference scheme for thermal dynamics, as presented in §2.3.2,
and an approximated central difference scheme for droplet dynamics, derived in §3.4.
Controls are parametrized with piece-wise linear functions (trapezoidal quadrature
rule is used).
A this step a nonlinear optimization problem (NLP) with quadratic cost function
and (possibly) bounds on optimization variables <sup>6</sup> has to be solved. This NLP may
be large if Problem (3.4) is considered as it is, and its dimensionality increases with
the number of nodes of Γ. Instead, Problem (3.4) with imposed _ν_ ( _t_ ) = 0, _t_ _∈_ [0 _, T_ ],
has _np_ optimization variables for every choice of the time grid Γ; let us refer to this
as the _reduced_ Problem (3.4). Results reported in §3.2.1 are obtained by facing this
reduced NLP and by using the `lsqnonlin` routine, that is a non-linear least-squares
solver provided by Matlab.
3.2.1 Data and results
In this Section the dynamical model (3.1)-(3.2) is calibrated starting from experimental
data collected with the setup described in §3.1. In particular, experiment EXP3 is
adopted as training set of data, i. e. for parameters identification, and EXP1-EXP2 as
validation sets, i. e. for model validation.
Let us estimate physical properties and coefficients to be used as fixed parameters
in the mathematical model. These data are reported in Tab. 3.2. First of all, for
what concerns thermal properties we assume that pure water and decanoate solution
have the same properties. This hypothesis is reasonable because the solution is dilute;
concentration 5 mM approximately corresponds to 9 _×_ 10 <sup>_−_</sup> <sup>5</sup> mol _/_ mol of decanoate in
water. Surface tension is likely different for the two solutions, however that of water
is considered. In particular, surface tension _σ_ of water depends on temperature _T_ as
_σ_ ( _T_ ) = _Bτ_ <sup>_µ_</sup> (1 + _bτ_ ), where _τ_ = 1 _−_ _T/Tc_, _Tc_ = 647 K, _B_ = 236 mN _/_ m, _b_ = _<u>−</u>_ 0 _._ 625
and _µ_ = 1 _._ 26 [69]. Then, surface tension coefficient _σT_ can be approximated as _∂T_ <sup>_<u>∂σ</u>_</sup> <sup>(</sup> <sup>_T_</sup> <sup>)</sup>
evaluated at room temperature _T_ _≈_ 20 <sup>_◦_</sup> C, yielding _σT_ = _−_ 0 _._ 15 mN _/_ m K.
Then, liquid layer thickness is computed by considering the volume of a cylinder
inside the Petri dish. Droplet radius has been roughly measured, _R ≈_ 3 mm, and hence
shape factor can be estimated to be _ε_ = 0 _._ 2 considering droplet volume, so that droplet
thickness is approximately _εR_ = 0 _._ 6 mm _≈_ _lz/_ 2, that is reasonable.
Guess An initial guess, i. e. an estimate of parameters, is typically needed to initialize
the optimization routine. In general, more accurate guesses give faster and better
6Parameters in p may be bounded between _a_ _priori_ estimated values. Process noise at each time
node _ν_ _i_, _i ∈{_ 0 _, . . ., N_ _}_, is independent (white noise is assumed) and should be realistically bounded,
depending on the time step size.
34 _CHAPTER_ _3._ _STATE_ _AND_ _PARAMETERS_ _ESTIMATION_
Table 3.2: Physical properties and parameters of liquid layer and droplet.
_ϱ_ <sup>_′_</sup> 830 kg _/_ m <sup>3</sup>
_ϱ_ 997 kg _/_ m <sup>3</sup>
_cp_ 4186 J _/_ kg K
_k_ 0 _._ 6 W _/_ m K
_<u>σT</u>_ _<u>−</u>_ <u>0</u> _<u>.</u>_ <u>15</u> <u>mN</u> _<u>/</u>_ <u>m K</u>
_lz_ 1 _._ 4 mm
_ε_ 0 _._ 2
_R_ 2 _._ 9 mm
_<u>A</u>_ <u>5</u> _<u>.</u>_ <u>2</u> <u>mm</u> <sup>2</sup>
Table 3.3: Parameters identification of EXP3: initial guess.
Parameters
_cx_ 0 _._ 005
_c_ 1 201
_<u>β</u>_ <u>70</u> _<u>.</u>_ <u>7</u> <u>m</u> <sup>_<u>−</u>_</sup> <sup>1</sup>
Guess
_bDβ_ _−_ 1 _._ 77 _×_ 10 <sup>_−_</sup> <sup>5</sup> N _/_ K
_cD_ 1 _._ 30 _×_ 10 <sup>_−_</sup> <sup>5</sup> kg _/_ m
_rL_ 1 _._ 5 mm
_δ_ 3 _._ 46 mm
<u>z</u> <sup>_v_</sup> <u>0</u> <u>mm</u> _<u>/</u>_ <u>s</u>
<u>[</u> _<u>−</u>_ <u>0</u> _<u>.</u>_ <u>7</u> _<u>,</u>_ <u>1]</u>
solutions. Let us find a reasonable approximation of parameters _{βbD, cD, rL, δ,_ z <sup>_v_</sup> 0
Absorption coefficient _β_, as defined in §2.2, can be estimated considering a
solutions. Let us find a reasonable approximation of parameters _{βbD, cD, rL, δ,_ z <sup>_v_</sup> 0 <sup>_}_</sup> <sup>.</sup>
Absorption coefficient _β_, as defined in §2.2, can be estimated considering a percentage
of absorption _pβ_ and the layer thickness _lz_, namely _β_ = _pβ/lz_ . In the following it is
_pβ_ = 0 _._ 1 due to the transparency and small thickness of the liquid layer. Input gain _bD_
and state gain _cD_ can be estimated by recalling the model of thermocapillary motion
proposed in §2.4, namely _bD_ = _c_ 1 _R_ <sup>2</sup> _σT_ and _cD_ = _ϱAcx/_ 2. Initial droplet velocity z <sup>_v_</sup> 0 <sup>is</sup>
proposed in §2.4, namely _bD_ = _c_ 1 _R_ <sup>2</sup> _σT_ and _cD_ = _ϱAcx/_ 2. Initial droplet velocity z <sup>_v_</sup> 0 <sup>is</sup>
approximated by using finite differences. Laser beam radius _rL_ and bias _δ_ have been
tuned; notice that it is _δ_ = 1 _._ 2 _R_, i. e. the (virtual) point-mass droplet is almost on the
(real) droplet edge. Initial guess for parameters identification of EXP3 is reported in
Tab. 3.3.
Solution Results of the optimization process are discussed in this paragraph. Table 3.4 reports the values of identified parameters. It is worth to recall that these
values may correspond to a local minimum for the reduced Problem 3.4. Predicted and
measured paths of droplet, i. e. z and z ˆ, are shown in Fig. 3.1a with laser positions.
Bias due to _δ_ is clearly seen, because initially simulated droplet is not placed in the
measured position. Then, it is also evident that paths do not match. However, looking
at Fig. 3.1b, the model prediction fits measurements quite well, when expressed in terms
of laser-droplet distance. This metrics is less sensitive to noise and initial conditions
_3.2._ _OFFLINE_ _PARAMETERS_ _IDENTIFICATION_ 35
20
15
10
5
0
0 20 40 60
_t_ [s]
(b) _Distance_ .
meas
sim
8
6
4
D, meas L, meas
<u>D,</u> <u>sim</u> <u>L,</u> <u>sim</u>
5 10 15 20 25
_x_ [mm]
(a) _Paths_ .
Figure 3.1: Parameters identification of EXP3: measurements and predictions.
w.r.t. the deviation in the absolute position of the droplet, for instance. Then, it
has to be highlighted the increasing of the error _∥d −_ _d_ <sup>ˆ</sup> _∥_ after a long heating time
interval - starting at about _t_ _≈_ 45 s in Fig. 3.1b. This deviation may be due to a
modelling inaccuracy: droplet could be driven by convective flows arisen because of
thermocapillary forces. This fact may limit the region of validity and applicability of
the model proposed in this work.
Table 3.4: Parameters identification of EXP3: optimization results.
_bDβ_ _−_ 5 _._ 31 _×_ 10 <sup>_−_</sup> <sup>6</sup> N _/_ K
_cD_ 1 _._ 27 _×_ 10 <sup>_−_</sup> <sup>5</sup> kg _/_ m
_<u>rL</u>_ <u>1</u> _<u>.</u>_ <u>02</u> <u>mm</u>
_δ_ 4 _._ 06 mm
<u>z</u> <sup>_v_</sup> <u>0</u> <u>mm</u> _<u>/</u>_ <u>s</u>
<u>[</u> _<u>−</u>_ <u>0</u> _<u>.</u>_ <u>13</u> _<u>,</u>_ <u>1</u> _<u>.</u>_ <u>16]</u> <sup>_T_</sup>
3.2.2 Model and parameters validation
Identified parameters, in particular _{bDβ, cD, rL}_ reported in Tab. 3.4, should be able
to predict the system evolution for other tests too. Different values for _δ_ and z <sup>_v_</sup> 0
are allowed: the former because bias may be a function of laser-droplet distance, as
explained above, and the latter because initial conditions typically do not coincide.
Thus, solving reduced Problem 3.4 with parameters _{bDβ, cD, rL}_ fixed with identified
values, i. e. finding only optimal bias and initial velocity, the model prediction should
match measurements. This procedure could be considered a validation of the model.
Measurements obtained by EXP1 and EXP2 are employed to this purpose. These
tests share the same setup of EXP3 and only the control input is different, i. e. the
sequence of laser positions, thus model parameters should coincide and the proposed
procedure is meaningful. Results are shown in graphical form in Fig. 3.2 and Fig. 3.3;
36 _CHAPTER_ _3._ _STATE_ _AND_ _PARAMETERS_ _ESTIMATION_
corresponding bias _δ_ and initial droplet velocity z <sup>_v_</sup> 0 <sup>are</sup> <sup>reported</sup> <sup>in</sup> <sup>tabular</sup> <sup>form</sup> <sup>in</sup>
Tab. 3.5.
Predictions and measurements match in a time interval and then deviation increases
due to system instability and sensitivity to noise <sup>7</sup> . However, dynamics of the model
fits the real evolution, considering short time intervals - about ∆ _t ≈_ 30 s.
Finally, we mention that the `patternsearch` function provided by Matlab has been
adopted to solve the optimization problem introduced in this Section. Using a direct
search algorithm, it is possible to explore a search region without getting stuck in local
minima. Values of initial droplet velocity z <sup>_v_</sup> 0 <sup>change</sup> <sup>for</sup> <sup>different</sup> <sup>tests,</sup> <sup>as</sup> <sup>expected.</sup>
Notice that also bias _δ_ in Tab. 3.4 and Tab. 3.5 differ; this fact was expected and
announced in §3.2. So, it has to be underlined that the proposed point-mass model is
not able to represent the effect of droplet extension.
Table 3.5: Model validation: optimization results.
EXP1 EXP2
_δ_ 0 _._ 13 1 _._ 35 mm
<u>z</u> <sup>_v_</sup> <u>0</u> <u>mm</u> _<u>/</u>_ <u>s</u>
<u>[</u> _<u>−</u>_ <u>2</u> _<u>.</u>_ <u>70</u> _<u>,</u>_ <u>1</u> _<u>.</u>_ <u>42]</u> <sup>_T_</sup> <u>[</u> _<u>−</u>_ <u>0</u> _<u>.</u>_ <u>52</u> _<u>,</u>_ <u>1</u> _<u>.</u>_ <u>98]</u> <sup>_T_</sup>
0
0 20 40 60
_t_ [s]
(b) _Distance_ .
14
12
10
8
6
~~D,~~ ~~meas~~ ~~L,~~ ~~meas~~
D, sim L, sim
5 10 15 20 25 30
_x_ [mm]
(a) _Paths_ .
10
5
meas
~~sim~~
Figure 3.2: Model validation with EXP1.
3.2.3 Steady state identification
Different experimental procedures could be adopted to obtain data sets suitable for
parameters identification. Here we suggest a method based on the analytical solution
found in §2.3.1 for a continuous moving heat source. The idea is to bring the real
system into a steady state condition and identify the parameters that characterize the
steady state component of the dynamical model.
7Analysis of error distribution is not a useful tool to evaluate residuals of the fitting in this case.
This is due to the unstable dynamics of the model: noise strongly affects the evolution and then the
future error, so errors are correlated.
_3.2._ _OFFLINE_ _PARAMETERS_ _IDENTIFICATION_ 37
14
12
10
8
6
D, meas L, meas
~~D,~~ ~~sim~~ ~~L,~~ ~~sim~~
10 20 30
_x_ [mm]
(a) _Paths_ .
10
5
meas
~~sim~~
0
0 20 40 60
_t_ [s]
(b) _Distance_ .
Figure 3.3: Model validation with EXP2.
Let us consider w.l.o.g. the 1-dimensional case. Therefore, after a transient phase,
the system could be described by the relative position _ξss_ between droplet and laser
beam and their absolute speed _vss_ —that has to be the same, because _ξss_ is constant
in steady state conditions.
Let us recall thermal model (2.49) and droplet dynamics (2.88) and consider both
temperature field and motion along the _x_ axis of a fixed reference frame. The robot
moves the laser at speed _vL_ _>_ 0, such that _xL_ ( _t_ ) = _vLt_ . The relative position of a
point w.r.t. the laser beam is _ξ_ ( _t, x_ ) = _x −_ _xL_ ( _t_ ). This leads to the system:
<sup>_<u>βp</u>_</sup> 2 _πk_ <sup>_<u>L</u>_</sup> <sup>_K_</sup> <sup>0</sup> - 2 _<u>vαL</u>_ <sup>_|ξ_</sup> <sup>(</sup> <sup>_t, x_</sup> <sup>)</sup> <sup>_|_</sup> - _e_ <sup>_−vLξ_</sup> <sup>(</sup> <sup>_t,x_</sup> <sup>)</sup> <sup>_/_</sup> <sup>(2</sup> <sup>_α_</sup> <sup>)</sup> (3.8)(3.9)
_w_ ( _t, x_ ) = _w_ ¯ + <sup>_<u>βpL</u>_</sup>
_x_ ˙ _D_ ( _t_ ) = _vD_ ( _t_ ) (3.9)
_mD_ ˙ _vD_ ( _t_ ) = _bD_
_<u>∂w</u>_
_∂x_ <sup>(</sup> <sup>_t, xD_</sup> <sup>(</sup> <sup>_t_</sup> <sup>))</sup> <sup>_−_</sup> <sup>_cD|vD_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_|vD_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> (3.10)
Temperature gradient can be explicitly derived from (3.8); denoting _σ_ = _vLξ/_ (2 _α_ ) for
simplicity, it is:
_<u>∂w</u>_
_<u>∂w</u>_
_∂x_ <sup>(</sup> <sup>_t, x_</sup> <sup>) =</sup> <sup>_−_</sup> 2 <sup>_<u>v</u>_</sup> _α_ <sup>_<u>L</u>_</sup>
_<u>βpL</u>_
(3.11)
2 <sup>_<u>v</u>_</sup> _α_ <sup>_<u>L</u>_</sup> 2 _πk_ <sup>_e−σ_</sup> <sup>(</sup> <sup>_t,x_</sup> <sup>) (</sup> <sup>_K_</sup> <sup>1 (</sup> <sup>_|σ_</sup> <sup>(</sup> <sup>_t, x_</sup> <sup>)</sup> <sup>_|_</sup> <sup>) sign(</sup> <sup>_σ_</sup> <sup>(</sup> <sup>_t, x_</sup> <sup>)) +</sup> <sup>_K_</sup> <sup>0 (</sup> <sup>_|σ_</sup> <sup>(</sup> <sup>_t, x_</sup> <sup>)</sup> <sup>_|_</sup> <sup>))</sup>
Focusing on steady state conditions, the constraints _vL_ = _vss_ and _vD_ ( _t_ ) _|ss_ = _vss_
have to be enforced. Eq. (3.10) gives that temperature gradient in droplet position
has to be constant (as expected in steady state conditions):
_<u>∂w</u>_
0 = _bD_ _∂x_
_∂x_ <sup>(</sup> <sup>_t, xD_</sup> <sup>(</sup> <sup>_t_</sup> <sup>))</sup>
_⇓_
_<u>∂w</u>_
_ss_ <sup>=</sup> <sup>_<u>c</u>_</sup> _bD_ <sup>_<u>D</u>_</sup>
���the
_ss_ <sup>_−_</sup> <sup>_cD|vss|vss_</sup>
���
(3.12)
_∂x_ <sup>(</sup> <sup>_t, xD_</sup> <sup>(</sup> <sup>_t_</sup> <sup>))</sup>
_bD_
_ss_
_|vss|vss_ = _w_ <sup>_′_</sup>
Actually, this is true also because the distance between droplet and laser does not
change in steady state conditions. Substituting (3.9) and integrating (integration
38 _CHAPTER_ _3._ _STATE_ _AND_ _PARAMETERS_ _ESTIMATION_
60
40
20
_<u>vL</u>_
_<u>vL</u>_ _<u>vL</u>_
20
10
0
_−_ 10
_vL_
0
_−_ 2 _−_ 1 0 1 2
_ξ_ [mm]
(a) _Temperature_ .
_−_ 20 _−_ 2 _−_ 1 0 1 2
_ξ_ [mm]
(b) _Temperature_ _gradient_ .
Figure 3.4: Temperature profile along the direction of motion of a continuous moving
point-wise heating source.
constant _ξ_ 0) we find that:
_ss_ <sup>=</sup> <sup>_xD_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup>
_ss_ ��� _/_ (2 _α_ ).
_ξ_ ( _t, xD_ ( _t_ ))
_ss_ <sup>_−_</sup> <sup>_vsst_</sup> <sup>=</sup> <sup>_vsst_</sup> <sup>+</sup> <sup>_ξ_</sup> <sup>0</sup> <sup>_−_</sup> <sup>_vsst_</sup> <sup>=</sup> <sup>_ξ_</sup> <sup>0</sup> <sup>=</sup> <sup>_ξss_</sup> (3.13)
Notice��� that also temperature in droplet position is
and hence _σss_ = _vssξss/_ (2 _α_ ). Notice that also temperature in droplet position is
constant; from (3.8) it is:
_ss_ <sup>=</sup> <sup>_w_</sup> <sup>¯ +</sup> <sup>_<u>βpL</u>_</sup>
2 _πk_
��� _wss_ <sup>_′_</sup> <sup>in</sup> <sup>(3.12</sup>
_w_ ( _t, xD_ ( _t_ ))
(3.14)
<sup>_<u>βpL</u>_</sup>
2 _πk_ <sup>_K_</sup> <sup>0 (</sup> <sup>_|σss|_</sup> <sup>)</sup> <sup>_e−σss_</sup> <sup>=</sup> <sup>_wss_</sup>
Stationary temperature gradient _w_ <sup>_′_</sup>
Stationary temperature gradient _wss_ <sup>_′_</sup> <sup>in</sup> <sup>(3.12)</sup> <sup>has</sup> <sup>to</sup> <sup>satisfy</sup> <sup>the</sup> <sup>thermal</sup> <sup>model</sup> <sup>(3.11)</sup>
too, namely the condition:
_ss_ <sup>_′_</sup> <sup>=</sup> <sup>_<u>∂w</u>_</sup>
_∂x_
_ss_ <sup>=</sup> <sup>_−_</sup> <sup>_<u>v</u>_</sup> 2 <sup>_<u>ss</u>_</sup> _α_
(���3.12) and
_w_ <sup>_′_</sup>
<sup>_<u>∂w</u>_</sup>
_∂x_ <sup>(</sup> <sup>_t, xD_</sup> <sup>(</sup> <sup>_t_</sup> <sup>))</sup>
_<u>βpL</u>_
(3.15)
<sup>_<u>v</u>_</sup> 2 <sup>_<u>ss</u>_</sup> _α_ 2 _πk_ <sup>_e−σss_</sup> <sup>(</sup> <sup>_K_</sup> <sup>1 (</sup> <sup>_|σss|_</sup> <sup>) sign(</sup> <sup>_σss_</sup> <sup>) +</sup> <sup>_K_</sup> <sup>0 (</sup> <sup>_|σss|_</sup> <sup>))</sup>
Then, from Equations (3.12) and (3.15) we can get rid of the steady state temperature
gradient _wss_ <sup>_′_</sup> <sup>,</sup> <sup>and</sup> <sup>a</sup> <sup>relationship</sup> <sup>between</sup> <sup>_vss_</sup> <sup>,</sup> <sup>_σss_</sup> <sup>and</sup> <sup>unknown</sup> <sup>parameters</sup> <sup>is</sup> <sup>found.</sup>
_ss_ <sup>_′_</sup> <sup>,</sup> <sup>and</sup> <sup>a</sup> <sup>relationship</sup> <sup>between</sup> <sup>_vss_</sup> <sup>,</sup> <sup>_σss_</sup> <sup>and</sup> <sup>unknown</sup> <sup>parameters</sup> <sup>is</sup> <sup>found.</sup>
_bcDDβ_ <sup>=</sup> <sup>_−_</sup> <sup><u>1</u></sup>
_|vss|_
_<u>pL</u>_
(3.16)
4 _πkα_ <sup>_e−σss_</sup> <sup>[</sup> <sup>_K_</sup> <sup>1 (</sup> <sup>_|σss|_</sup> <sup>) sign(</sup> <sup>_σss_</sup> <sup>) +</sup> <sup>_K_</sup> <sup>0 (</sup> <sup>_|σss|_</sup> <sup>)]</sup>
From experimental data and _a priori_ knowledge steady state values _vss_ and _ξss_, thermal
properties _α_ and _k_ of the liquid and laser power _pL_ can be estimated. Hence, the
ratio _cD/_ ( _bDβ_ ) can be computed by adopting the definition of _σss_ and Eq. (3.16). The
estimate of this ratio should be compared with results of §3.2.1.
Analysis Let us discuss about the applicability of this approach. First of all, if
laser beam intensity profile is Gaussian and its radius is not small, then the analytical
solution derived in §2.3.1 may give inaccurate results, because it assumes a point-wise
heating source. Point-mass model of droplet is an useful simplification, but this may
_3.3._ _ROBOT_ _DUAL_ _ESTIMATION_ _USING_ _KALMAN_ _FILTER_ 39
_vL_ _vL_
10
5
0
_−_ 5
_−_ 2 _−_ 1 0 1 2
_ξ_ [mm]
Figure 3.5: Ratio _cD/bD_ and steady state condition: sensitivity analysis for point-wise
heating source.
require to compensate steady state relative position _ξss_ with bias _δ_, that actually could
depend on _ξss_ itself.
Finally, a significant issue could be the robustness of this method. Fig. 3.4 shows
profiles of temperature and temperature gradient in space as a function of laser velocity.
These functions are so sharp due to the point-wise heating source; in the case of
Gaussian intensity profile we expect these maps to be more bounded - no asymptotes
and lower gradients. However, this method could be much sensitive to noise, leading to
large errors in the ratio _cD/_ ( _bDβ_ ). Also notice that Gaussian white noise added to data
would return a non-Gaussian error distribution in estimated ratio, because function at
the r.h.s. of Eq. (3.16) is non-linear. Sensitivity analysis depicted in Fig. 3.5 shows
an exponential dependence of ratio _cD/bD_ to steady state velocity and distance, for a
given absorption coefficient _β_ .
##### 3.3 Robot dual estimation using Kalman Filter
This Section analyses a procedure based on Kalman filtering for the dual estimation of
state and parameters of the robotic platform. Let us consider the dynamical model of
the robotic platform proposed in §2.1 and add dynamics of parameters and measurement
equation, neglecting disturbances; for _t ∈_ [0 _, T_ ] it is:
_M_ _y_ ( p ( _t_ )) ˙ y = _A_ _y_ ( p ( _t_ )) y ( _t_ ) + _B_ _y_ ( p ( _t_ )) u ( _t_ )
p ˙ ( _t_ ) = 0
m ( _t_ ) = _C_ _y_ y ( _t_ )
(3.17)
where y is the robot state vector, p the robot parameters, u the control actions, m
the measurement.
Forward difference Let us build a time grid Γ = _{_ 0 = _t_ 0 _<_ _t_ 1 _<_ _· · ·_ _<_ _tN_ = _T_ _}_
and apply the forward difference scheme, also known as explicit Euler method, for time
discretization, namely for _k_ = 1 _,_ 2 _, . . ., N_ :
_<u>M</u>_ _<u>y</u>_ <u>(</u> <u>p</u> _<u>k</u>_ <u>)</u> <u>y</u> _<u>k −</u>_ _<u>M</u>_ _<u>y</u>_ <u>(</u> <u>p</u> _<u>k−</u>_ <u>1)</u> <u>y</u> _<u>k−</u>_ <u>1</u>
∆ _tk_
= _A_ _y_ ( p _k−_ 1) y _k−_ 1 + _B_ _y_ ( p _k−_ 1) u _k−_ 1 (3.18)
40 _CHAPTER_ _3._ _STATE_ _AND_ _PARAMETERS_ _ESTIMATION_
where the discrete-time state approximation is denoted y ( _tk_ ) _≈_ y _k_ and time step
sizefollowingby ∆ _t_ explicit _k_ = _tk −_ scheme: _tk−_ 1. Constant dynamics of parameters, p _k_ _≈_ p _k−_ 1, leads to the
_M_ _y_ ( p _k−_ 1) <sup><u>y</u></sup> <sup>_<u>k −</u>_</sup> ∆ _t_ <sup><u>y</u></sup> _k_ <sup>_<u>k−</u>_</sup> <sup><u>1</u></sup>
= _A_ _y_ ( p _k−_ 1) y _k−_ 1 + _B_ _y_ ( p _k−_ 1) u _k−_ 1
_⇓_
_M_ _y_ ( p _k−_ 1) y _k_ = _M_ _y_ ( p _k−_ 1) y _k−_ 1 + ∆ _tk_ [ _A_ _y_ ( p _k−_ 1) y _k−_ 1 + _B_ _y_ ( p _k−_ 1) u _k−_ 1]
(3.19)
Collecting matrices into _A_ <sup>_∗_</sup> _y_
Collecting matrices into _A_ <sup>_∗_</sup> _y_ <sup>and</sup> <sup>b</sup> <sup>_∗_</sup> _y_ <sup>and</sup> <sup>adding</sup> <sup>process</sup> <sup>Gaussian</sup> <sup>independent</sup> <sup>noise</sup>
_ν_ <sup>_y_</sup> _k_ <sup>_∼N_</sup> <sup>(</sup> <sup>0</sup> <sup>_,_</sup> <sup>_Q_</sup> _k_ <sup>_y_</sup> <sup>)</sup> <sup>for</sup> <sup>_k_</sup> <sup>_∈{_</sup> <sup>0</sup> <sup>_, . . ., N_</sup> <sup>_}_</sup> <sup>,</sup> <sup>we</sup> <sup>get</sup> <sup>the</sup> <sup>linear</sup> <sup>time-varying</sup> <sup>discrete-time</sup>
dynamics <sup>_y_</sup> _k_ <sup>_∼N_</sup> <sup>(</sup> <sup>0</sup> of <sup>_,_</sup> <sup>_Q_</sup> _k_ <sup>_y_</sup>
<sup>_∗_</sup> _y_ <sup>and</sup> <sup>b</sup> <sup>_∗_</sup> _y_
_ν_ dynamics <sup>_y_</sup> _k_ <sup>_∼N_</sup> <sup>(</sup> <sup>0</sup> of <sup>_,_</sup> <sup>_Q_</sup> robot _k_ <sup>_y_</sup> <sup>)</sup> <sup>for</sup> state <sup>_k_</sup> <sup>_∈{_</sup> y . <sup>0</sup> Update <sup>_, . . ., N_</sup> <sup>_}_</sup> equation <sup>,</sup> <sup>we</sup> <sup>get</sup> of <sup>the</sup> parameters <sup>linear</sup> <sup>time-varying</sup> and measurement <sup>discrete-time</sup> with
noises _ν_ <sup>_p_</sup> _k_ <sup>_∼N_</sup> <sup>(</sup> <sup>0</sup> <sup>_,_</sup> <sup>_Q_</sup> _k_ <sup>_p_</sup> <sup>)</sup> <sup>and</sup> <sup>_ν_</sup> <sup>_m_</sup>
<sup>_p_</sup> _k_ <sup>_∼N_</sup> <sup>(</sup> <sup>0</sup> <sup>_,_</sup> <sup>_Q_</sup> _k_ <sup>_p_</sup>
_k_ <sup>_p_</sup> <sup>)</sup> <sup>and</sup> <sup>_ν_</sup> <sup>_m_</sup> _k_
noises _ν_ <sup>_p_</sup> _k_ <sup>_∼N_</sup> <sup>(</sup> <sup>0</sup> <sup>_,_</sup> <sup>_Q_</sup> _k_ <sup>_p_</sup> <sup>)</sup> <sup>and</sup> <sup>_ν_</sup> <sup>_m_</sup> _k_ <sup>_∼N_</sup> <sup>(</sup> <sup>0</sup> <sup>_,_</sup> <sup>_R_</sup> <sup>_k_</sup> <sup>)</sup> <sup>are</sup> <sup>easily</sup> <sup>obtained.</sup> <sup>Control</sup> <sup>input</sup> <sup>u</sup> <sup>_k_</sup>
is considered to be known without uncertainty for _k_ _∈{_ 0 _, . . ., N_ _}_ . The stochastic
discrete-time model of the system is:
y _k_ = _A_ <sup>_∗_</sup> _y_
<sup>_∗_</sup> _y_ <sup>(</sup> <sup>p</sup> <sup>_k−_</sup> <sup>1)</sup> <sup>y</sup> <sup>_k−_</sup> <sup>1</sup> <sup>+</sup> <sup>b</sup> <sup>_∗_</sup> _y_
<sup>_∗_</sup> _y_ <sup>(</sup> <sup>p</sup> <sup>_k−_</sup> <sup>1</sup> <sup>_,_</sup> <sup>u</sup> <sup>_k−_</sup> <sup>1) +</sup> <sup>_ν_</sup> <sup>_y_</sup> _k_
_y_ <sup>(</sup> <sup>p</sup> <sup>_k−_</sup> <sup>1)</sup> <sup>y</sup> <sup>_k−_</sup> <sup>1</sup> <sup>+</sup> <sup>b</sup> <sup>_∗_</sup> _y_ <sup>(</sup> <sup>p</sup> <sup>_k−_</sup> <sup>1</sup> <sup>_,_</sup> <sup>u</sup> <sup>_k−_</sup> <sup>1) +</sup> <sup>_ν_</sup> <sup>_y_</sup> _k−_ 1
p _k_ = p _k−_ 1 + _ν_ <sup>_p_</sup> _k−_ 1
p _k_ = p _k−_ 1 + _ν_ <sup>_p_</sup> _k−_ 1
m _k_ = _C_ _y_ y _k_ + _ν_ <sup>_m_</sup> _k_
(3.20)
_k_
In order to run a parameter estimation process we need to express the measurement
equation as a function of system parameters. Recalling matrices of the robotic platform
model in §2.1, we find:
(3.21)
and _M_ _y_ <sup>_−_</sup> <sup>1</sup> <sup>_B_</sup> <sup>_y_</sup> <sup>=</sup>
_bL/mL_ _I_
- 0
_M_ _y_ <sup>_−_</sup> <sup>1</sup> <sup>_A_</sup> <sup>_y_</sup> <sup>=</sup>
_I_
- 0 _−cL/mL_ _I_
Let us now explicit the updated state y _k_ as function of parameter p = [ _mL, cL, bL_ ] <sup>_T_</sup> .
Partitioning state y = [ y <sup>_x_</sup> _,_ y <sup>_v_</sup> ] <sup>_T_</sup> and control u = [ u <sup>_p_</sup> _,_ u <sup>_i_</sup> ] <sup>_T_</sup>, it is:
y _k−_ 1 + ∆ _tk_
_bL/mL_ _I_
- 0
_bL/mL_
1�� _cL/mL_
y _k_ = y _k−_ 1 + ∆ _tk_
_I_
- 0 _−cL/mL_ _I_
_cL/mL_
+ ∆ _tk_
0
- _−_ y _k_ <sup>_v_</sup>
u _k−_ 1
u <sup>_i_</sup>
_k_ <sup>_v_</sup> _−_ 1 _k_
_k−_ 1
=
_k−_ 1 <sup>+ ∆</sup> <sup>_tk_</sup> <sup>y</sup> _k_ <sup>_v_</sup>
y <sup>_v_</sup>
- y _x_ _k−_ 1
<sup>+ ∆</sup> <sup>_tk_</sup> <sup>y</sup> _k_ <sup>_v_</sup> _−_ 1
y <sup>_v_</sup>
- (3.22)
_k−_ 1
Then, defining parameter p ˜ = [ _cL/mL, bL/mL_ ] <sup>_T_</sup> we get the linear time-varying measurement equation from the robot parameter point-of-view:
m _k_ = _C_ _y_ y _k_ + _ν_ <sup>_m_</sup> _k_
_k_
_k−_ 1 <sup>+ ∆</sup> <sup>_tk_</sup> <sup>y</sup> _k_ <sup>_v_</sup>
y <sup>_v_</sup>
- y _x_ _k−_ 1
_k_
<sup>_y_</sup> _k−_ 1 <sup>+</sup> <sup>_ν_</sup> <sup>_m_</sup>
+ _C_ _y_ _ν_ <sup>_y_</sup> _k_
<sup>_y_</sup> _k_
_k−_ 1 <sup>+</sup> <sup>_ν_</sup> <sup>_m_</sup>
= _C_ _y_ ∆ _tk_
_k_
0
- _−_ y _k_ <sup>_v_</sup>
u <sup>_i_</sup>
_k_ <sup>_v_</sup> _−_ 1 _k_
_k−_ 1
p ˜ _k−_ 1 + _C_ _y_
<sup>_∗_</sup> _y_ <sup>(</sup> <sup>y</sup> <sup>_k−_</sup> <sup>1) +</sup> <sup>_C_</sup> <sup>_y_</sup> <sup>_ν_</sup> <sup>_y_</sup> _k_
(3.23)
<sup>+ ∆</sup> <sup>_tk_</sup> <sup>y</sup> _k_ <sup>_v_</sup> _−_ 1
y <sup>_v_</sup>
_k_
_k−_ 1
= _C_ _y_ <sup>_∗_</sup>
_y_ <sup>_∗_</sup> <sup>(</sup> <sup>y</sup> <sup>_k−_</sup> <sup>1</sup> <sup>_,_</sup> <sup>u</sup> <sup>_k−_</sup> <sup>1)˜</sup> <sup>p</sup> <sup>_k_</sup> <sup>+</sup> <sup>d</sup> <sup>_∗_</sup> _y_
_k_
It is worth noticing that values of parameters cannot be determined, but only their
ratios. But both robot state and parameters evolution and measurement are described
by linear time-varying dynamics if the continuous-time model is discretized with a
forward difference scheme.
Central difference Let us consider now the case of central difference scheme, that
has a second order accuracy. Applying the same procedure adopted in §2.3.2, based on
_3.3._ _ROBOT_ _DUAL_ _ESTIMATION_ _USING_ _KALMAN_ _FILTER_ 41
trapezoidal quadrature rule and finite difference approximation, it is:
_<u>M</u>_ _<u>y</u>_ <u>(</u> <u>p</u> _<u>k</u>_ <u>)</u> <u>y</u> _<u>k −</u>_ _<u>M</u>_ _<u>y</u>_ <u>(</u> <u>p</u> _<u>k−</u>_ <u>1)</u> <u>y</u> _<u>k−</u>_ <u>1</u>
∆ _tk_
= <sup>_<u>A</u>_</sup> <sup>_<u>y</u>_</sup> <sup><u>(</u></sup> <sup><u>p</u></sup> <sup>_<u>k</u>_</sup> <sup><u>)</u></sup> <sup><u>y</u></sup> <sup>_<u>k</u>_</sup> <sup><u>+</u></sup> <sup>_<u>A</u>_</sup> <sup>_<u>y</u>_</sup> <sup><u>(</u></sup> <sup><u>p</u></sup> <sup>_<u>k−</u>_</sup> <sup><u>1)</u></sup> <sup><u>y</u></sup> <sup>_<u>k−</u>_</sup> <sup><u>1</u></sup> +
2
+ <sup>_<u>B</u>_</sup> <sup>_<u>y</u>_</sup> <sup><u>(</u></sup> <sup><u>p</u></sup> <sup>_<u>k</u>_</sup> <sup><u>)</u></sup> <sup><u>u</u></sup> <sup>_<u>k</u>_</sup> <sup><u>+</u></sup> <sup>_<u>B</u>_</sup> <sup>_<u>y</u>_</sup> <sup><u>(</u></sup> <sup><u>p</u></sup> <sup>_<u>k−</u>_</sup> <sup><u>1)</u></sup> <sup><u>u</u></sup> <sup>_<u>k−</u>_</sup> <sup><u>1</u></sup> (3.24)
2
Recalling the constant parameters dynamics, the update law reduces to:
_M_ _y_ ( p _k−_ 1) <sup><u>y</u></sup> <sup>_<u>k −</u>_</sup> ∆ _t_ <sup><u>y</u></sup> _k_ <sup>_<u>k−</u>_</sup> <sup><u>1</u></sup>
= _A_ _y_ ( p _k−_ 1) <sup><u>y</u></sup> <sup>_<u>k</u>_</sup> <sup><u>+</u></sup> 2 <sup><u>y</u></sup> <sup>_<u>k−</u>_</sup> <sup><u>1</u></sup>
2 <sup><u>y</u></sup> <sup>_<u>k−</u>_</sup> <sup><u>1</u></sup> + _B_ _y_ ( p _k−_ 1) <sup><u>u</u></sup> <sup>_<u>k</u>_</sup> <sup><u>+</u></sup> 2 <sup><u>u</u></sup> <sup>_<u>k−</u>_</sup> <sup><u>1</u></sup>
∆ _tk_ 2 2
_⇓_
y _k_ =
_M_ _y_ ( p _k−_ 1) _−_ <sup><u>∆</u></sup> 2 <sup>_<u>tk</u>_</sup> <sup>_A_</sup> <sup>_y_</sup> <sup>(</sup> <sup>p</sup> <sup>_k−_</sup> <sup>1)</sup> _M_ _y_ ( p _k−_ 1) + <sup><u>∆</u></sup> 2 <sup>_<u>tk</u>_</sup> <sup>_A_</sup> <sup>_y_</sup> <sup>(</sup> <sup>p</sup> <sup>_k−_</sup> <sup>1)</sup> y _k−_ 1+
- - - <u>�</u>
∆ _tk_
_⇓_
2 <sup>_<u>tk</u>_</sup> <sup>_A_</sup> <sup>_y_</sup> <sup>(</sup> <sup>p</sup> <sup>_k−_</sup> <sup>1)</sup> y _k_ =
_M_ _y_ ( p _k−_ 1) + <sup><u>∆</u></sup> 2 <sup>_<u>tk</u>_</sup>
+ ∆ _tk_ _B_ _y_ ( p _k−_ 1) <sup><u>u</u></sup> <sup>_<u>k</u>_</sup> <sup><u>+</u></sup> 2 <sup><u>u</u></sup> <sup>_<u>k−</u>_</sup> <sup><u>1</u></sup>
2 <sup>_<u>tk</u>_</sup> <sup>_A_</sup> <sup>_y_</sup> <sup>(</sup> <sup>p</sup> <sup>_k−_</sup> <sup>1)</sup> y _k−_ 1+
<u>�</u>
2
(3.25)
that is again a linear time-varying dynamics for robot state y ; it can be written in a
more compact form as:
<sup>_∗_</sup> _y_ <sup>(</sup> <sup>p</sup> <sup>_k−_</sup> <sup>1)</sup> <sup>y</sup> <sup>_k−_</sup> <sup>1</sup> <sup>+</sup> <sup>b</sup> _y_ <sup>_∗_</sup>
(3.26)
<sup>_y_</sup> _k−_ 1
y _k_ = _A_ <sup>_∗_</sup> _y_
_y_ <sup>_∗_</sup> <sup>(</sup> <sup>p</sup> <sup>_k−_</sup> <sup>1</sup> <sup>_,_</sup> <sup>u</sup> <sup>_k,k−_</sup> <sup>1) +</sup> <sup>_ν_</sup> <sup>_y_</sup> _k_
As before, let us consider the measurement equation for parameter identification, first
expressing the state update equation as a function of parameter p . We have matrices
_−_ <sup><u>∆</u></sup> 2 <sup>_<u>tk</u>_</sup>
2 <sup>_<u>tk</u>_</sup> <sup>_A_</sup> <sup>_y_</sup> <sup>=</sup> ( _mL_ + <sup><u>∆</u></sup> 2 <sup>_<u>t</u>_</sup>
- _I_
_M_ _y −_ <sup><u>∆</u></sup> 2 <sup>_<u>tk</u>_</sup>
_M_ _y_ + <sup><u>∆</u></sup> <sup>_<u>tk</u>_</sup>
2
_−_ <sup><u>∆</u></sup> 2 <sup>_<u>tk</u>_</sup> <sup>_I_</sup>
( _mL_ + <sup><u>∆</u></sup> 2 <sup>_<u>tk</u>_</sup>
<u>∆2</u> _<u>tk</u>_ <sup>_I_</sup>
( _mL −_ <sup><u>∆</u></sup> 2 <sup>_<u>tk</u>_</sup>
2 <sup>_<u>tk</u>_</sup> <sup>_cL_</sup> <sup>)</sup> <sup>_I_</sup>
2 <sup>_<u>tk</u>_</sup> <sup>_cL_</sup> <sup>)</sup> <sup>_I_</sup>
<sup>_<u>tk</u>_</sup> <u>∆2</u> _<u>tk</u>_
2 <sup>_A_</sup> <sup>_y_</sup> <sup>=</sup>
- _I_ ( _mL −_ <sup><u>∆</u></sup>
�� (3.27)
Being mass _mL_, friction coefficient _cL_ and time step ∆ _tk_ positive values, we can always
invert and find the updated state y _k_ as a function of parameters. Using a central
difference scheme for time discretization, it turns out that this relation is non-linear
for p and p ˜.
<u>2</u> _<u>mL</u>_ <u>∆</u> _<u>tk</u>_
+
2 _mL_ + _cL_ ∆ _tk_
y <sup>_v_</sup>
_k_
- _−_ _m_ <sup>_<u>cL</u>_</sup> _L_
2
- <u>u</u> _<u>k</u>_ <u>+</u> <u>u</u> _<u>k−</u>_ <u>1</u>
(3.28)
0 <u>∆2</u> _<u>tk</u>_ <sup>_I_</sup>
_I_
0 <u>∆2</u> _<u>tk</u>_
_I_
y _k_ =
_k−_ 1
y <sup>_v_</sup>
- y _kx−_ 1
_k−_ 1
_−_ _m_ <sup>_<u>cL</u>_</sup> _L_ <sup>y</sup> _k_ <sup>_v_</sup>
_k−_ 1
_m_ <sup>_<u>cL</u>_</sup> _L_ <sup>y</sup> _k_ <sup>_v_</sup>
_k_ <sup>_v_</sup> _−_ 1
<u>2</u> _<u>bL</u>_ <u>∆</u> _<u>tk</u>_
+
2 _mL_ + _cL_ ∆ _tk_
Procedure Robot state discrete-time update rule is linear time-varying adopting
both forward and central difference scheme for time discretization. State measurement
and parameters update rule are linear time-invariant. Measurement as function of
parameters is linear time-varying in the case of forward difference but becomes nonlinear with central difference scheme.
Based on these considerations, we propose a procedure for robot state and parameter
dual estimation, based on linear Kalman filtering. Pseudo-code of (Extended) Kalman
filter (KF or EKF) is reported in Algorithm 1. Robot state discrete-time dynamics
(3.26) and measurement from parameters (3.23) are used in Algorithm 2. Notice
that dual estimation does not take into account the covariance between state and
parameters.
42 _CHAPTER_ _3._ _STATE_ _AND_ _PARAMETERS_ _ESTIMATION_
Algorithm 1: (Extended) Kalman Filter
Data: x ˆ _k−_ 1, _P_ _k−_ 1, b _k−_ 1, y _k_
// prediction step
1 if _model_ _is_ _linear_ then
2 x ˆ <sup>_−_</sup> _k_
<sup>_−_</sup> _k_ <sup>=</sup> <sup>_A_</sup> <sup>_k−_</sup> <sup>1</sup> <sup>x</sup> <sup>ˆ</sup> <sup>_k−_</sup> <sup>1 +</sup> <sup>b</sup> <sup>_k−_</sup> <sup>1;</sup> // state equation
3 y ˆ _k_ = _C_ _k_ x ˆ _k_ + d _k_ ; // measurement equation
4 else
5 x ˆ <sup>_−_</sup> _k_
<sup>_−_</sup> _k_ <sup>=</sup> <sup>_f_</sup> <sup>(ˆ</sup> <sup>x</sup> <sup>_k−_</sup> <sup>1</sup> <sup>_,_</sup> <sup>b</sup> <sup>_k−_</sup> <sup>1);</sup>
6 y ˆ _k_ = _h_ (ˆ x _k,_ d _k_ );
7 _A_ _k−_ 1 = _∇_ x _f_ ( x _,_ b )
; // linearisation
8 _P_ _k_ <sup>_−_</sup> <sup>=</sup> <sup>_A_</sup> <sup>_k−_</sup> <sup>1</sup> <sup>_P_</sup> <sup>_k−_</sup> <sup>1</sup> <sup>_A_</sup> <sup>_T_</sup> _k_
x ˆ _k−_ 1 _,_ b _k−_ 1
��� <sup>+</sup> <sup>_Q_</sup> <sup>_k−_</sup> <sup>1;</sup>
_P_ _k_ <sup>_−_</sup> <sup>=</sup> <sup>_A_</sup> <sup>_k−_</sup> <sup>1</sup> <sup>_P_</sup> <sup>_k−_</sup> <sup>1</sup> <sup>_A_</sup> <sup>_T_</sup> _k−_ 1 <sup>+</sup> <sup>_Q_</sup> <sup>_k−_</sup> <sup>1;</sup>
// Kalman gain
9 _K_ _k_ = _P_ _k_ <sup>_−_</sup> <sup>_C_</sup> _k_ <sup>_T_</sup>
_k_ <sup>_T_</sup> <sup>(</sup> <sup>_C_</sup> <sup>_k_</sup> <sup>_P_</sup> <sup>_−_</sup> _k_
_K_ _k_ = _P_ _k_ <sup>_−_</sup> <sup>_C_</sup> _k_ <sup>_T_</sup> <sup>(</sup> <sup>_C_</sup> <sup>_k_</sup> <sup>_P_</sup> <sup>_−_</sup> _k_ <sup>_C_</sup> _k_ <sup>_T_</sup> <sup>+</sup> <sup>_R_</sup> <sup>_k_</sup> <sup>)</sup> <sup>_−_</sup> <sup>1;</sup>
// correction step
<sup>_−_</sup> _k_ <sup>_C_</sup> _k_ <sup>_T_</sup>
10 x ˆ _k_ = x ˆ <sup>_−_</sup> _k_ <sup>+</sup> <sup>_K_</sup> <sup>_k_</sup> <sup>(</sup> <sup>y</sup> <sup>_k −_</sup> <sup>y</sup> <sup>ˆ</sup> <sup>_k_</sup> <sup>);</sup>
11 _P_ _k_ = ( _I_ _<u>−</u>_ _K_ _k_ _C_ _k_ ) _P_ _k_ <sup>_−_</sup> <sup>;</sup>
12 return x ˆ _k,_ _P_ _k_
<u>Algorithm</u> <u>2:</u> <u>Robot</u> <u>dual</u> <u>estimation</u> <u>with</u> <u>Kalman</u> <u>Filter</u>
Data: y ˆ _k−_ 1, _P_ _k_ <sup>_y_</sup>
_k_ <sup>_y_</sup> _−_ 1 <sup>,</sup> <sup>p</sup> <sup>ˆ</sup> <sup>_k−_</sup> <sup>1,</sup> <sup>_P_</sup> <sup>_p_</sup> _k_
Data: y ˆ _k−_ 1, _P_ _k_ <sup>_y_</sup> _−_ 1 <sup>,</sup> <sup>p</sup> <sup>ˆ</sup> <sup>_k−_</sup> <sup>1,</sup> <sup>_P_</sup> <sup>_p_</sup> _k−_ 1 <sup>,</sup> <sup>u</sup> <sup>_k−_</sup> <sup>1</sup> <sup>_,k_</sup> <sup>,</sup> <sup>m</sup> <sup>_k_</sup>
// state estimation
1 _A_ <sup>_y_</sup> = _A_ <sup>_∗_</sup>
_y_ <sup>(ˆ</sup> <sup>p</sup> <sup>_k−_</sup> <sup>1);</sup>
2 b <sup>_y_</sup> = b <sup>_∗_</sup>
_y_ <sup>(ˆ</sup> <sup>p</sup> <sup>_k−_</sup> <sup>1</sup> <sup>_,_</sup> <sup>u</sup> <sup>_k−_</sup> <sup>1</sup> <sup>_,k_</sup> <sup>);</sup>
3 [ˆ y _k,_ _P_ _k_ <sup>_y_</sup> <sup>] =</sup> <sup>KF(ˆ</sup> <sup>y</sup> <sup>_k−_</sup> <sup>1</sup> <sup>_,_</sup> <sup>_P_</sup> <sup>_y_</sup> _k−_
<sup>_y_</sup> _k−_ 1 <sup>_, Ay,_</sup> <sup>_C_</sup> <sup>_y,_</sup> <sup>m</sup> <sup>_k,_</sup> <sup>_Q_</sup> <sup>_y_</sup> _k_
[ˆ y _k,_ _P_ _k_ <sup>_y_</sup> <sup>] =</sup> <sup>KF(ˆ</sup> <sup>y</sup> <sup>_k−_</sup> <sup>1</sup> <sup>_,_</sup> <sup>_P_</sup> <sup>_y_</sup> _k−_ 1 <sup>_, Ay,_</sup> <sup>_C_</sup> <sup>_y,_</sup> <sup>m</sup> <sup>_k,_</sup> <sup>_Q_</sup> <sup>_y_</sup> _k−_ 1 <sup>_,_</sup> <sup>_R_</sup> <sup>_k,_</sup> <sup>b</sup> <sup>_y,_</sup> <sup>0</sup> <sup>);</sup> // KF
// parameter estimation
4 _C_ <sup>_p_</sup> = _C_ <sup>_∗_</sup>
_y_ <sup>(ˆ</sup> <sup>y</sup> <sup>_k−_</sup> <sup>1</sup> <sup>_,_</sup> <sup>u</sup> <sup>_k−_</sup> <sup>1);</sup>
5 d <sup>_p_</sup> = d <sup>_∗_</sup>
_y_ <sup>(ˆ</sup> <sup>y</sup> <sup>_k−_</sup> <sup>1);</sup>
_y_ <sup>_T_</sup> <sup>+</sup> <sup>_R_</sup> <sup>_k_</sup> <sup>;</sup>
6 _R_ <sup>_p_</sup> = _C_ _y_ _Q_ <sup>_y_</sup> _k−_ 1 <sup>_C_</sup> _y_ <sup>_T_</sup>
<sup>_p_</sup> _k−_ 1 <sup>_,_</sup> <sup>_I_</sup> <sup>_, C_</sup> <sup>_p,_</sup> <sup>m</sup> <sup>_k,_</sup> <sup>_Q_</sup> <sup>_p_</sup> _k_
// KF
<sup>_p_</sup> _k−_ 1 <sup>_, Rp,_</sup> <sup>0</sup> <sup>_,_</sup> <sup>d</sup> <sup>_p_</sup> <sup>);</sup>
7 [ˆ p _k,_ _P_ _k_ <sup>_p_</sup> <sup>] =</sup> <sup>KF(ˆ</sup> <sup>p</sup> <sup>_k−_</sup> <sup>1</sup> <sup>_,_</sup> <sup>_P_</sup> <sup>_p_</sup> _k−_
8 return y ˆ _k,_ _P_ _<u>k</u>_ <sup>_y,_</sup> <sup>p</sup> <sup>ˆ</sup> <sup>_k,_</sup> <sup>_P_</sup> <sup>_p_</sup> _<u>k</u>_
_<u>k</u>_
_3.4._ _DROPLET DUAL ESTIMATION USING UNKNOWN INPUT KALMAN FILTER_ 43
##### 3.4 Droplet dual estimation using Unknown Input Kalman Filter
In this Section we develop a method based on Kalman filtering for the dual estimation
of state and parameters of the droplet, without knowing the control input, i. e. the
thermal gradient in droplet position.
Let us consider the dynamical model of thermocapillary motion of a droplet
proposed in §2.4 and add dynamics of parameters and measurement equation, neglecting
disturbances; for _t ∈_ [0 _, T_ ] it is:
_M_ _z_ ( p ( _t_ ))˙ z ( _t_ ) = _A_ _z_ ( z ( _t_ ) _,_ p ( _t_ )) z ( _t_ ) + _B_ _z_ ( z ( _t_ ) _,_ p ( _t_ )) d ( _t_ )
p ˙ ( _t_ ) = 0
m ( _t_ ) = _C_ _z_ z ( _t_ )
(3.29)
where z _∈_ R <sup>_nz_</sup> is the droplet state vector, p _∈_ R <sup>_np_</sup> its parameters, d _∈_ R <sup>_nd_</sup> the
unknown control actions, m _∈_ R <sup>_nm_</sup> the measurement. The meaning of input matrix
_B_ _z_ depends on what the input is intended to be: if d is the vector of nodal temperatures
derived from FE discretization, then input matrix depends on z and returns the thermal
gradient in droplet position, multiplied by a coefficient. Otherwise, if unknown input
d is the thermal gradient in droplet position, then _B_ _z_ comprises only the coefficient in
between thermal gradient and thermocapillary force. The latter case will be considered
here, so _B_ _z_ = _B_ _z_ ( p ), in order to get a simple procedure for droplet state estimation,
without taking into account the whole thermal field of the liquid medium. Moreover,
an outcome of this procedure is also an approximation of the temperature gradient in
the actual droplet position, i. e. _∇_ x _w_ ( _t,_ z <sup>_x_</sup> ( _t_ )) for _t ∈_ [0 _, T_ ].
Time discretization Let us build a time grid Γ = _{_ 0 = _t_ 0 _< t_ 1 _< · · · < tN_ = _T_ _}_ and
apply the forward difference scheme for time discretization, namely for _k_ = 1 _,_ 2 _, . . ., N_ :
_<u>M</u>_ _<u>z</u>_ <u>(</u> <u>p</u> _<u>k</u>_ <u>)</u> <u>z</u> _<u>k −</u>_ _<u>M</u>_ _<u>z</u>_ <u>(</u> <u>p</u> _<u>k−</u>_ <u>1)</u> <u>z</u> _<u>k−</u>_ <u>1</u>
∆ _tk_
= _A_ _z_ ( z _k−_ 1 _,_ p _k−_ 1) z _k−_ 1 + _B_ _z_ ( p _k−_ 1) d _k−_ 1 (3.30)
where the discrete-time state approximation is denoted z ( _tk_ ) _≈_ z _k_ and ∆ _tk_ = _tk −_ _tk−_ 1.
Constant dynamics of parameters, p _k_ _≈_ p _k−_ 1, leads to the following explicit scheme:
_M_ _z_ ( p _k−_ 1) <sup><u>z</u></sup> <sup>_<u>k −</u>_</sup> ∆ _t_ <sup><u>z</u></sup> _k_ <sup>_<u>k−</u>_</sup> <sup><u>1</u></sup>
∆ _tk_
= _A_ _z_ ( z _k−_ 1 _,_ p _k−_ 1) z _k−_ 1 + _B_ _z_ ( p _k−_ 1) d _k−_ 1
_⇓_
_z_
z _k_ = z _k−_ 1 + ∆ _tk_ _M_ <sup>_−_</sup> <sup>1</sup>
_z_
<sup>_−_</sup> <sup>1</sup> ( p _k−_ 1) [ _A_ _z_ ( z _k−_ 1 _,_ p _k−_ 1) z _k−_ 1 + _B_ _z_ ( p _k−_ 1) d _k−_ 1]
(3.31)
d _k−_ 1
=
_I_ + ∆ _tk_ _M_ _z_ <sup>_−_</sup> <sup>1</sup>
_z_ <sup>_−_</sup> <sup>1</sup> ( p _k−_ 1) _A_ _z_ ( z _k−_ 1 _,_ p _k−_ 1)
+
∆ _tk_ _M_ _z_ <sup>_−_</sup> <sup>1</sup>
<sup>and</sup> - <sup>adding</sup>
_z_ <sup>_−_</sup> <sup>1</sup> ( p _k−_ 1) _B_ _z_ ( p _k−_ 1)
z _k−_ 1+
<sup>1</sup> �( p _k−_ 1)
Defining function f _z_ and matrix _B_ _z_ <sup>_∗_</sup>
Defining function f _z_ and matrix _B_ _z_ <sup>_∗_</sup> <sup>and</sup> <sup>adding</sup> <sup>process</sup> <sup>Gaussian</sup> <sup>independent</sup> <sup>noise</sup>
_ν_ <sup>_z_</sup> _k_ <sup>_∼N_</sup> <sup>(</sup> <sup>0</sup> <sup>_,_</sup> <sup>_Q_</sup> _k_ <sup>_z_</sup> <sup>)</sup> <sup>for</sup> <sup>_k_</sup> <sup>_∈{_</sup> <sup>0</sup> <sup>_,_</sup> <sup>1</sup> <sup>_, . . ., N_</sup> <sup>_}_</sup> <sup>,</sup> <sup>we</sup> <sup>get</sup> <sup>the</sup> <sup>non-linear</sup> <sup>time-varying</sup> <sup>discrete-time</sup>
<sup>_z_</sup> _k_ <sup>_∼N_</sup> <sup>(</sup> <sup>0</sup> <sup>_,_</sup> <sup>_Q_</sup> _k_ <sup>_z_</sup>
_ν_ dynamics of droplet state <sup>_z_</sup> _k_ <sup>_∼N_</sup> <sup>(</sup> <sup>0</sup> <sup>_,_</sup> <sup>_Q_</sup> _k_ <sup>_z_</sup> <sup>)</sup> <sup>for</sup> <sup>_k_</sup> <sup>_∈{_</sup> z <sup>0</sup> <sup>_,_</sup> . <sup>1</sup> Nonlinearities are due to the quadratic drag force acting on <sup>_, . . ., N_</sup> <sup>_}_</sup> <sup>,</sup> <sup>we</sup> <sup>get</sup> <sup>the</sup> <sup>non-linear</sup> <sup>time-varying</sup> <sup>discrete-time</sup>
the droplet; dynamics would be linear in presence of linear drag force. Update equation
of parameters and measurement with noises _ν_ <sup>_p_</sup> _k_ <sup>_∼N_</sup> <sup>(</sup> <sup>0</sup> <sup>_,_</sup> <sup>_Q_</sup> _k_ <sup>_p_</sup> <sup>)</sup> <sup>and</sup> <sup>_ν_</sup> <sup>_m_</sup>
model <sup>_p_</sup> _k_ <sup>_∼N_</sup> of <sup>(</sup> <sup>0</sup> the <sup>_,_</sup> <sup>_Q_</sup> _k_ <sup>_p_</sup>
_k_ <sup>_p_</sup> <sup>)</sup> <sup>and</sup> <sup>_ν_</sup> <sup>_m_</sup> _k_
ofeasilyparametersobtained.andThemeasurementstochastic discrete-timewith noises _ν_ model <sup>_p_</sup> _k_ <sup>_∼N_</sup> of <sup>(</sup> <sup>0</sup> the <sup>_,_</sup> <sup>_Q_</sup> _k_ <sup>_p_</sup> system <sup>)</sup> <sup>and</sup> <sup>_ν_</sup> is: <sup>_m_</sup> _k_ <sup>_∼N_</sup> <sup>(</sup> <sup>0</sup> <sup>_,_</sup> <sup>_R_</sup> <sup>_k_</sup> <sup>)</sup> <sup>are</sup>
z _k_ = f _z_ ( z _k−_ 1 _,_ p _k−_ 1) + _B_ _z_ <sup>_∗_</sup>
_z_ <sup>_∗_</sup> <sup>(</sup> <sup>p</sup> <sup>_k−_</sup> <sup>1)</sup> <sup>d</sup> <sup>_k−_</sup> <sup>1</sup> <sup>+</sup> <sup>_ν_</sup> <sup>_z_</sup> _k_
z _k_ = f _z_ ( z _k−_ 1 _,_ p _k−_ 1) + _B_ _z_ <sup>_∗_</sup> <sup>(</sup> <sup>p</sup> <sup>_k−_</sup> <sup>1)</sup> <sup>d</sup> <sup>_k−_</sup> <sup>1</sup> <sup>+</sup> <sup>_ν_</sup> <sup>_z_</sup> _k−_ 1
p _k_ = p _k−_ 1 + _ν_ <sup>_p_</sup> _k−_ 1
p _k_ = p _k−_ 1 + _ν_ <sup>_p_</sup> _k−_ 1
m _k_ = _C_ _z_ z _k_ + _ν_ <sup>_m_</sup> _k_
(3.32)
_k_
44 _CHAPTER_ _3._ _STATE_ _AND_ _PARAMETERS_ _ESTIMATION_
Let us adopt now the central difference scheme for time discretization, as reported
in §2.3.2.
_<u>M</u>_ _<u>z</u>_ <u>(</u> <u>p</u> _<u>k</u>_ <u>)</u> <u>z</u> _<u>k −</u>_ _<u>M</u>_ _<u>z</u>_ <u>(</u> <u>p</u> _<u>k−</u>_ <u>1)</u> <u>z</u> _<u>k−</u>_ <u>1</u>
∆ _tk_
= <sup>_<u>A</u>_</sup> <sup>_<u>z</u>_</sup> <sup><u>(</u></sup> <sup><u>z</u></sup> <sup>_<u>k,</u>_</sup> <sup><u>p</u></sup> <sup>_<u>k</u>_</sup> <sup><u>)</u></sup> <sup><u>z</u></sup> <sup>_<u>k</u>_</sup> <sup><u>+</u></sup> <sup>_<u>A</u>_</sup> <sup>_<u>z</u>_</sup> <sup><u>(</u></sup> <sup><u>z</u></sup> <sup>_<u>k−</u>_</sup> <sup><u>1</u></sup> <sup>_<u>,</u>_</sup> <sup><u>p</u></sup> <sup>_<u>k−</u>_</sup> <sup><u>1)</u></sup> <sup><u>z</u></sup> <sup>_<u>k−</u>_</sup> <sup><u>1</u></sup> +
2
+ <sup>_<u>B</u>_</sup> <sup>_<u>z</u>_</sup> <sup><u>(</u></sup> <sup><u>p</u></sup> <sup>_<u>k</u>_</sup> <sup><u>)</u></sup> <sup><u>d</u></sup> <sup>_<u>k</u>_</sup> <sup><u>+</u></sup> <sup>_<u>B</u>_</sup> <sup>_<u>z</u>_</sup> <sup><u>(</u></sup> <sup><u>p</u></sup> <sup>_<u>k−</u>_</sup> <sup><u>1)</u></sup> <sup><u>d</u></sup> <sup>_<u>k−</u>_</sup> <sup><u>1</u></sup> (3.33)
2
Neglecting process noise in constant dynamics of droplet parameters and introducing
the notation d _k−_ 21 <sup>= [</sup> <sup>d</sup> <sup>_k_</sup> <sup>+</sup> <sup>d</sup> <sup>_k−_</sup> <sup>1]</sup> <sup>_/_</sup> <sup>2,</sup> <sup>the</sup> <sup>state</sup> <sup>update</sup> <sup>equation</sup> <sup>reduces</sup> <sup>to:</sup>
_M_ _z_ ( p _k−_ 1) <sup><u>z</u></sup> <sup>_<u>k −</u>_</sup> ∆ _t_ <sup><u>z</u></sup> _k_ <sup>_<u>k−</u>_</sup> <sup><u>1</u></sup>
= <sup>_<u>A</u>_</sup> <sup>_<u>z</u>_</sup> <sup><u>(</u></sup> <sup><u>z</u></sup> <sup>_<u>k,</u>_</sup> <sup><u>p</u></sup> <sup>_<u>k−</u>_</sup> <sup><u>1)</u></sup> <sup><u>z</u></sup> <sup>_<u>k</u>_</sup> <sup><u>+</u></sup> <sup>_<u>A</u>_</sup> <sup>_<u>z</u>_</sup> <sup><u>(</u></sup> <sup><u>z</u></sup> <sup>_<u>k−</u>_</sup> <sup><u>1</u></sup> <sup>_<u>,</u>_</sup> <sup><u>p</u></sup> <sup>_<u>k−</u>_</sup> <sup><u>1)</u></sup> <sup><u>z</u></sup> <sup>_<u>k−</u>_</sup> <sup><u>1</u></sup> +
2
(3.34)
+ _B_ _z_ ( p _k−_ 1) d _k−_ <u>12</u>
Theleadsadditionalto an explicitassumptionupdate z equation _k−_ 1 _≈_ z _k_ <sup>8</sup>,: that is valid if droplet dynamics is slow enough,
_M_ _z_ ( p _k−_ 1) <sup><u>z</u></sup> <sup>_<u>k −</u>_</sup> ∆ _t_ <sup><u>z</u></sup> _k_ <sup>_<u>k−</u>_</sup> <sup><u>1</u></sup>
= _A_ _z_ ( z _k−_ 1 _,_ p _k−_ 1) <sup><u>z</u></sup> <sup>_<u>k</u>_</sup> <sup><u>+</u></sup> 2 <sup><u>z</u></sup> <sup>_<u>k−</u>_</sup> <sup><u>1</u></sup>
2 <sup><u>z</u></sup> <sup>_<u>k−</u>_</sup> <sup><u>1</u></sup> + _B_ _z_ ( p _k−_ 1) d _k−_ <u>12</u>
2
_⇓_
_M_ _z_ ( p _k−_ 1) _−_ <sup><u>∆</u></sup> 2 <sup>_<u>tk</u>_</sup> <sup>_A_</sup> <sup>_z_</sup> <sup>(</sup> <sup>z</sup> <sup>_k−_</sup> <sup>1</sup> <sup>_,_</sup> <sup>p</sup>
_⇓_
2 <sup>_<u>tk</u>_</sup> <sup>_A_</sup> <sup>_z_</sup> <sup>(</sup> <sup>z</sup> <sup>_k−_</sup> <sup>1</sup> <sup>_,_</sup> <sup>p</sup> <sup>_k−_</sup> <sup>1)</sup> z _k_ =
(3.35)
=
_M_ _z_ ( p _k−_ 1) + <sup><u>∆</u></sup> 2 <sup>_<u>tk</u>_</sup>
2 <sup>_<u>tk</u>_</sup> <sup>_A_</sup> <sup>_z_</sup> <sup>(</sup> <sup>z</sup> <sup>_k−_</sup> <sup>1</sup> <sup>_,_</sup> <sup>p</sup> <sup>_k−_</sup> <sup>1)</sup> z _k−_ 1 + ∆ _tk_ _B_ _z_ ( p _k−_ 1) d _k−_ <u>12</u>
2
Finally, non-linear stochastic discrete-time update and measurement equations take
the form:
z _k_ = f _z_ ( z _k−_ 1 _,_ p _k−_ 1) + _B_ _z_ <sup>_∗_</sup> <sup>(</sup>
z _k_ = f _z_ ( z _k−_ 1 _,_ p _k−_ 1) + _B_ _z_ <sup>_∗_</sup> <sup>(</sup> <sup>z</sup> <sup>_k−_</sup> <sup>1</sup> <sup>_,_</sup> <sup>p</sup> <sup>_k−_</sup> <sup>1)</sup> <sup>d</sup> _k−_ <sup><u>1</u></sup> 2 <sup>+</sup> <sup>_ν_</sup> <sup>_z_</sup> _k−_ 1
p _k_ = p _k−_ 1 + _ν_ <sup>_p_</sup> _k−_ 1
_z_ <sup>_∗_</sup> <sup>(</sup> <sup>z</sup> <sup>_k−_</sup> <sup>1</sup> <sup>_,_</sup> <sup>p</sup> <sup>_k−_</sup> <sup>1)</sup> <sup>d</sup> _k−_ <sup><u>1</u></sup> 2
p _k_ = p _k−_ 1 + _ν_ <sup>_p_</sup> _k−_ 1
m _k_ = _C_ _z_ z _k_ + _ν_ <sup>_m_</sup> _k_
(3.36)
_k_
State estimation with unknown input Let us focus on droplet state estimation
using model (3.36). For easy of notation let us write the model (for both forward and
central difference scheme) as
z _k_ = f _k−_ 1 + _B_ _k−_ 1 d _k−j_ + _ν_ <sup>_z_</sup> _k_
(3.37)
z _k_ = f _k−_ 1 + _B_ _k−_ 1 d _k−j_ + _ν_ <sup>_z_</sup> _k−_ 1
m _k_ = _C_ _z_ z _k_ + _ν_ <sup>_m_</sup> _k_
_k_
where f _k_ = f _z_ ( z _k,_ p _k_ ) for brevity; adopting the forward difference scheme it is
_B_ _k_ = _B_ _z_ <sup>_∗_</sup> <sup>(</sup> <sup>p</sup> <sup>_k_</sup> <sup>)</sup> <sup>and</sup> <sup>_j_</sup> <sup>= 1,</sup> <sup>and</sup> <sup>central</sup> <sup>difference</sup> <sup>corresponds</sup> <sup>to</sup> <sup>_B_</sup> <sup>_k_</sup> <sup>=</sup> <sup>_B_</sup> _z_ <sup>_∗_</sup> <sup>(</sup> <sup>z</sup> <sup>_k,_</sup> <sup>p</sup> <sup>_k_</sup> <sup>)</sup> <sup>and</sup>
_z_ <sup>_∗_</sup> <sup>(</sup> <sup>p</sup> <sup>_k_</sup> <sup>)</sup> <sup>and</sup> <sup>_j_</sup> <sup>= 1,</sup> <sup>and</sup> <sup>central</sup> <sup>difference</sup> <sup>corresponds</sup> <sup>to</sup> <sup>_B_</sup> <sup>_k_</sup> <sup>=</sup> <sup>_B_</sup> _z_ <sup>_∗_</sup>
_B_ _k_ = _B_ _z_ <sup>_∗_</sup> <sup>(</sup> <sup>p</sup> <sup>_k_</sup> <sup>)</sup> <sup>and</sup> <sup>_j_</sup> <sup>= 1,</sup> <sup>and</sup> <sup>central</sup> <sup>difference</sup> <sup>corresponds</sup> <sup>to</sup> <sup>_B_</sup> <sup>_k_</sup> <sup>=</sup> <sup>_B_</sup> _z_ <sup>_∗_</sup> <sup>(</sup> <sup>z</sup> <sup>_k,_</sup> <sup>p</sup> <sup>_k_</sup> <sup>)</sup> <sup>and</sup>
_j_ = 1 _/_ 2.
8Notice that a better approximation is given by the Heun’s method. It computes an intermediate
estimate of the next state z ˆ _k_ given the previous z _k−_ 1 and using forward finite difference scheme.
Then, estimation z _k_ is refined using trapezoidal rule with the first intermediate estimate z ˆ _k_ instead of
z _k_ . In this way, the method is explicit and of second order.
z ˆ _k_ = z _k−_ 1 + ∆ _tk_ _M_ _z_ <sup>_−_</sup> <sup>1</sup> [ _A_ _z_ ( z _k−_ 1) z _k−_ 1 + _B_ _z_ d _k−_ 1]
_3.4._ _DROPLET DUAL ESTIMATION USING UNKNOWN INPUT KALMAN FILTER_ 45
The main problem is to design an estimator which is insensitive to the influence
of the unknown input. The necessary condition for the existence of a solution to the
unknown input problem is stated in [70]:
rank ( _C_ _z_ _B_ _k−_ 1) = rank ( _B_ _k−_ 1) = min ( _nz, nd_ ) (3.38)
TheSubstitutingsecond equalitystate updatemeansintothatmeasurementmatrix _B_ _k−_ equation1 is full werank,canbeingsolve for _B_ _k−_ the1 _∈_ unknownR <sup>_nz×nd_</sup> .
input:
m _k_ = _C_ _z_ z _k_ + _ν_ <sup>_m_</sup> _k_
_k_
= _C_ _z_ f _k−_ 1 +
<sup>_z_</sup> _k−_ 1
_k_
f _k−_ 1 + _B_ _k−_ 1 d _k−j_ + _ν_ <sup>_z_</sup> _k_
+ _ν_ <sup>_m_</sup> _k_
(3.39)
= _C_ _z_ _k_
f _k−_ 1 + _B_ _k−_ 1 d _k−j_ + _ν_ <sup>_z_</sup> _k−_ 1
-
_⇓_
_k_
_−_ _ν_ <sup>_m_</sup>
_H_
_C_ _z_ _B_ _k−_ 1 d _k−j_ = m _k −_ _C_ _z_
f _k−_ 1 + _ν_ <sup>_z_</sup> _k_
<sup>_z_</sup> _k−_ 1
_k_
If condition (3.38) holds, then the pseudo-inverse matrix _H_ _k_ = ( _C_ _z_ _B_ _k−_ 1) <sup>_†_</sup> can be
defined <sup>9</sup> and the unknown input is found:
m _k −_ _C_ _z_
update� rule,
f _k−_ 1 + _ν_ <sup>_z_</sup> _k_
�obtaining
_k_
_−_ _ν_ <sup>_m_</sup>
- updated
d _k−j_ = _H_ _k_
<sup>_z_</sup> _k−_ 1
_k_
(3.40)
- state as a function
Let us substitute back into the update rule, obtaining the updated state as a function
of measurement:
z _k_ = f _k−_ 1 + _ν_ <sup>_z_</sup> _k_
f _k−_ 1 + _ν_ <sup>_z_</sup> _k_
- _k_ <sup>)</sup>
_−_ _ν_ <sup>_m_</sup>
_k−_ 1 (3.41)
_k_ <sup>)</sup> -
<sup>_m_</sup>
_k_
_−_ _ν_ <sup>_m_</sup>
_k−_ 1
f _k−_ 1 + _ν_ <sup>_z_</sup> _k_
_−_ _B_ _k−_ 1
<sup>_k−_</sup> <sup>1</sup> <sup>_H_</sup> <sup>_k_</sup> m _k −_ _C_ _z_
- - _k_
+ _B_ _k−_ 1 _H_ _k_ ( m _k −_ _ν_ <sup>_m_</sup>
_z_ is introduced.
<sup>_z_</sup> _k−_ 1
_k_
= _G_ _k_
<sup>_z_</sup> _k−_ 1 <sup>+</sup> <sup>_B_</sup> <sup>_k−_</sup> <sup>1</sup> <sup>_H_</sup> <sup>_k_</sup>
<sup>_z_</sup> _k−_ 1
m _k −_ _C_ _z_
_−_ 1 _H_ _k_ ( m _k_
where matrix _G_ _k_ = _I_ _−_ _B_ _k−_ 1 _H_ _k_ _C_ _z_ is introduced.
At this point a Kalman filter may be applied for state estimation, with a minor
modification in prediction step. In particular, given the previous state estimate z ˆ _k−_ 1
with covariance matrix _P_ _k_ <sup>_z_</sup> _−_ 1 <sup>,</sup> <sup>the</sup> <sup>prediction</sup> <sup>step</sup> <sup>is</sup> <sup>given</sup> <sup>by</sup>
_k_ <sup>_z_</sup> _−_ 1 <sup>,</sup> <sup>the</sup> <sup>prediction</sup> <sup>step</sup> <sup>is</sup> <sup>given</sup> <sup>by</sup>
z ˆ _k|k−_ 1 = E _{_ z _k}_ = _G_ <sup>ˆ</sup> _k_ <sup>ˆ</sup> f _k−_ 1 + _B_ <sup>ˆ</sup> _k−_ 1 _H_ <sup>ˆ</sup> _k_ m _k_
_P_ _k_ <sup>_z_</sup> _|k−_ 1 <sup>= cov</sup> z _k −_ z ˆ _k|k−_ 1
<sup>_z_</sup> _k−_ 1
_k_ <sup>_z_</sup> _|k−_ 1 <sup>= cov</sup>
f _k−_ 1 + _ν_ <sup>_z_</sup> _k_
+ _B_ _k−_ 1 _H_ _k_ ( m _k −_ _ν_ _k_ <sup>_m_</sup>
= cov
z _k −_ z ˆ _k|k−_ 1
- _G_ _k_ f _k−_ 1 +
z _k_
- _G_ _k_
_k_ <sup>_m_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_G_</sup> <sup>ˆ</sup> <sup>_k_</sup> <sup>ˆ</sup> <sup>f</sup> <sup>_k−_</sup> <sup>1</sup> <sup>_−_</sup> _B_ <sup>ˆ</sup> _k−_ 1 _H_ <sup>ˆ</sup> _k_ m _k_
(3.42)
Approximating actual and estimated matrices, i. e.and assuming independent noise, predicted covariance _H_ <sup>ˆ</sup> _k_ _≈_ matrix _H_ _k_, _G_ <sup>ˆ</sup> is _k_ _≈_ _G_ _k_, and _B_ <sup>ˆ</sup> _k−_ 1 _≈_ _B_ _k−_ 1
_k_ <sup>_T_</sup> _B_ <sup>ˆ</sup> <sup>_T_</sup>
_k_
<sup>_z_</sup> _k−_ 1 <sup>_G_</sup> <sup>ˆ</sup> _k_ <sup>_T_</sup>
_k_ <sup>_T_</sup> <sup>+</sup> _B_ <sup>ˆ</sup> _k−_ 1 _H_ <sup>ˆ</sup> _k_ _R_ _k_ _H_ <sup>ˆ</sup> _k_ <sup>_T_</sup>
_P_ _k_ <sup>_z_</sup> _|k−_ 1 <sup>= cov</sup>
_P_ _k_ <sup>_z_</sup> _|_
_G_ ˆ _k_
_k_
_G_ ˆ _k_
+ _G_ <sup>ˆ</sup> _k_ _ν_ <sup>_z_</sup> _k_
+ _G_ <sup>ˆ</sup> _k_ _Q_ <sup>_z_</sup> _k_
��
<sup>_z_</sup> _H_ _k_ _ν_ <sup>_m_</sup> _k_
_k−_ 1 <sup>_−_</sup> _B_ <sup>ˆ</sup> _k−_ 1 <sup>ˆ</sup>
_k−_ 1
(3.43)
= cov
f _k−_ 1 _−_ <sup>ˆ</sup> f _k−_ 1
f _k−_ 1 _−_ <sup>ˆ</sup> f _k−_ 1
Then we linearise f _k−_ 1 _≈_ <sup>ˆ</sup> f _k−_ 1 around ˆ z _k−_ 1, obtaining _A_ _k−_ 1 _≈_ _A_ <sup>ˆ</sup> _k−_ 1 = _∇_ z <sup>ˆ</sup> f _k−_ 1( z )
.
Hence the covariance matrix can be explicitly expressed as:
<sup>_z_</sup> _k−_ 1 <sup>_G_</sup> <sup>ˆ</sup> _k_ <sup>_T_</sup>
_k_
_k_ <sup>_T_</sup> _B_ <sup>ˆ</sup> <sup>_T_</sup>
_k_
_k−_ 1
z ˆ _k−_ 1
���
_P_ _k_ <sup>_z_</sup> _|k−_ 1 <sup>= cov</sup>
_G_ ˆ _k_ _A_ ˆ _k−_ 1 ( z _k−_ 1 _−_ z ˆ _k−_ 1)
<u>�</u>
<sup>ˆ</sup> _A_ <sup>_T_</sup> _k_ <sup>+</sup> <sup>_G_</sup> <sup>ˆ</sup>
<sup>_z_</sup> _k−_ 1 <sup>_G_</sup> <sup>ˆ</sup> _k_ <sup>_T_</sup>
_k_ <sup>_T_</sup> <sup>+</sup> _B_ <sup>ˆ</sup> _k−_ 1 _H_ <sup>ˆ</sup> _k_ _R_ _k_ _H_ <sup>ˆ</sup> _k_ <sup>_T_</sup>
= _G_ <sup>ˆ</sup> _k_ _A_ <sup>ˆ</sup> _k−_ 1 _P_ _k−_ 1 _A_ <sup>ˆ</sup> <sup>_T_</sup> _k_
<sup>_T_</sup> _k−_ 1 <sup>_G_</sup> <sup>ˆ</sup> _k_ <sup>_T_</sup>
_k_ <sup>_T_</sup> <sup>+</sup> <sup>_G_</sup> <sup>ˆ</sup> <sup>_k_</sup> <sup>_Q_</sup> <sup>_z_</sup> _k_
+ _G_ <sup>ˆ</sup> _k_ _Q_ <sup>_z_</sup> _k_
<sup>_Q_</sup> <sup>_z_</sup> _k_
_k_ <sup>_T_</sup> <sup>+</sup> _B_ <sup>ˆ</sup> _k−_ 1 _H_ <sup>ˆ</sup> _k_ _R_ _k_ _H_ <sup>ˆ</sup> _k_ <sup>_T_</sup>
(3.44)
9The left Moore-Penrose inverse of a matrix _M_ is _M_ _†_ = ( _M_ _T_ _M_ ) _−_ 1 _M_ _T_ .
46 _CHAPTER_ _3._ _STATE_ _AND_ _PARAMETERS_ _ESTIMATION_
Then, traditional Kalman gain and subsequent correction step may be performed.
Let us compute the so called innovation s and its covariance matrix _S_, the Kalman
gain _K_ and the state estimate correction:
s _k_ = m _k −_ E _{_ m _k}_ = m _k −_ _C_ _z_ z ˆ _k|k−_ 1
_S_ _k_ = cov ( s _k_ ) = cov m _k −_ _C_ _z_ z ˆ _k|k−_ 1
-
_k_ <sup>_z_</sup> _|k−_ 1 <sup>_C_</sup> _z_ <sup>_T_</sup>
m _k −_
z _k −_ z ˆ _k|k−_ 1
- _z_ <sup>_T_</sup> <sup>_S_</sup> _k_ <sup>_−_</sup> <sup>1</sup>
_z_ <sup>_T_</sup> <sup>_S_</sup> _k_ <sup>_−_</sup> <sup>1</sup>
m _k −_ _C_ _z_ z ˆ _k|k−_
m _k −_ _C_ _z_ z ˆ _k|k−_ 1
- + _ν_ <sup>_m_</sup> _k_ =
z ˆ _k|k−_ 1
-
= cov
_C_ _z_
_−_ 1
_k_
(3.45)
_−_ 1
=� _C_ _z_ _P_ <sup>_z_</sup>
_k|_
1
_z_ <sup>_T_</sup> <sup>+</sup> <sup>_R_</sup> <sup>_k_</sup>
_C_ _z_ z ˆ _k|_
+ _ν_ <sup>_m_</sup> _k_
_k_ <sup>_z_</sup> _|k−_ 1 <sup>_C_</sup> _z_ <sup>_T_</sup>
_K_ _k_ = _P_ _k_ <sup>_z_</sup> _|_
_k_
_k|k−_ 1 <sup>_C_</sup> <sup>_T_</sup>
z ˆ _k_ = ˆ z _k|k−_ 1 + _K_ _k_ s _k_
_P_ _k_ <sup>_z_</sup> <sup>= (</sup> <sup>_I_</sup> <sup>_−_</sup> <sup>_K_</sup> <sup>_k_</sup> <sup>_C_</sup> <sup>_z_</sup> <sup>)</sup> <sup>_P_</sup>
<sup>_z_</sup>
_k_ <sup>= (</sup> <sup>_I_</sup> <sup>_−_</sup> <sup>_K_</sup> <sup>_k_</sup> <sup>_C_</sup> <sup>_z_</sup> <sup>)</sup> <sup>_P_</sup> <sup>_z_</sup> _k_
<sup>_z_</sup> _k|k−_ 1
Finally, unknown input estimate and its covariance matrix can be computed from the
actual state estimate, measurement and Eq. (3.40):
d ˆ _k−_ 1 = E _{_ d _k−_ 1 _}_ = _H_ ˆ _k_
m _k −_ _C_ _z_ <sup>ˆ</sup> f _k−_ 1
f _k−_ 1 + _ν_ <sup>_z_</sup> _k_
_P_ _k_ <sup>_d_</sup> _−_ 1 <sup>= cov</sup>
= cov
d _k−_ 1 _−_ d <sup>ˆ</sup> _k−_ 1
_H_ _k_
m _k −_ _C_ _z_
<sup>_z_</sup> _k−_ 1
_k_
(3.46)
��
_k_
_−_ _ν_ <sup>_m_</sup>
m _k −_ _C_ _z_ <sup>ˆ</sup> f _k−_ 1
_−_ _H_ <sup>ˆ</sup> _k_
Assuming as before _H_ <sup>ˆ</sup> _k_ _≈_ _H_ _k_, f _k−_ 1 _≈_ <sup>ˆ</sup> f _k−_ 1 and the linear approximation of <sup>ˆ</sup> f _k−_ 1 around
z ˆ _k−_ 1, the covariance matrix reduces to:
f _k−_ 1 _−_ <sup>ˆ</sup> f _k−_ 1
1 + _C_ _z_ _ν_ <sup>_z_</sup> _k_
_k_
_k_ <sup>_z_</sup> _−_ 1 <sup>+</sup> <sup>_ν_</sup> <sup>_m_</sup>
_P_ _k_ <sup>_d_</sup> _−_ 1 <sup>=</sup> _H_ <sup>ˆ</sup> _k_ cov
<sup>_z_</sup> _k_
_k−_ 1 <sup>+</sup> <sup>_ν_</sup> <sup>_m_</sup>
_H_ ˆ _k_ <sup>_T_</sup>
_k_
_k_
_z_ <sup>_T_</sup> <sup>+</sup> <sup>_R_</sup> <sup>_k_</sup>
= _H_ <sup>ˆ</sup> _k_ cov
_C_ _z_
_C_ _z_ _A_ <sup>ˆ</sup> _k−_ 1 ( z _k−_ 1 _−_ z ˆ _k−_ 1) + _C_ _z_ _ν_ _k_ <sup>_z_</sup>
(3.47)
_H_ ˆ _k_ <sup>_T_</sup>
ˆ
_H_ ˆ _k_ <sup>_T_</sup>
_k_
_C_ _z_ _A_ <sup>ˆ</sup> _k−_ 1 _P_ _k_ <sup>_z_</sup>
_k_
= _H_ <sup>ˆ</sup> _k_
_k_ <sup>_z_</sup> _−_ 1 _A_ <sup>ˆ</sup> <sup>_T_</sup> _k_
<sup>_T_</sup> _k−_ 1 <sup>_C_</sup> _z_ <sup>_T_</sup>
_z_ <sup>_T_</sup> <sup>+</sup> <sup>_C_</sup> <sup>_z_</sup> <sup>_Q_</sup> <sup>_z_</sup> _k_
_k_
<sup>_z_</sup> _k−_ 1 <sup>_C_</sup> _z_ <sup>_T_</sup>
The procedure just derived for droplet state estimation with unknown input is a
modified (extended) Kalman filter; it is schematically reported in Algorithm 3.
Parameters identification Let us focus on how to estimate droplet parameters
p = [ _mD, cD, bD_ ] <sup>_T_</sup> . The procedure for online parameters identification proposed in
§3.3 is here followed. Let us recall the discrete-time droplet dynamics (3.31), obtained
by using explicit Euler method, and try to express the measurement equation as a
function of parameters p . With matrices presented in §2.4, the state update rule is:
_z_
z _k_ = z _k−_ 1 + ∆ _tk_ _M_ <sup>_−_</sup> <sup>1</sup>
_z_
<sup>_−_</sup> <sup>1</sup> ( p _k−_ 1) [ _A_ _z_ ( z _k−_ 1 _,_ p _k−_ 1) z _k−_ 1 + _B_ _z_ ( p _k−_ 1) d _k−_ 1]
_z_
_m_ <sup>_−_</sup> _D_ <sup>1</sup>
- _I_
_I_
��� 0 _−cD∥_ z <sup>_v_</sup> _k_
_k−_ 1
z <sup>_v_</sup>
�� z _xk−_ 1
_bD_ _I_
- 0
d _k−_ 1
= z _k−_ 1 + ∆ _tk_
_−_ 1
_bD/mD_
�� _cD/mD_
+
0
- _−∥_ z <sup>_v_</sup> _k−_ 1
<sup>_v_</sup> _k−_ 1 <sup>_∥_</sup> <sup>_I_</sup>
_k−_ 1
_I_ d _k−_ 1 (3.48)
<sup>_−_</sup> _D_ <sup>1</sup> <sup>_I_</sup>
+ ∆ _tk_
<sup>_v_</sup> _k−_ 1 <sup>_∥_</sup> <sup>z</sup> _k_ <sup>_v_</sup>
_k_ <sup>_v_</sup> _−_ 1 d _k−_ 1
=
_k−_ 1 <sup>+ ∆</sup> <sup>_tk_</sup> <sup>z</sup> _k_ <sup>_v_</sup>
z <sup>_v_</sup>
- z _x_ _k−_ 1
<sup>+ ∆</sup> <sup>_tk_</sup> <sup>z</sup> _k_ <sup>_v_</sup> _−_ 1
z <sup>_v_</sup>
_k−_ 1
Then, introducing suitable matrices _C_ _p_ and _D_ _p_ and defining vector ˜ p = [ _cD/mD, bD/mD_ ] <sup>_T_</sup>,
the measurement equation is given by:
m _k_ = _C_ _z_ z _k_
= _C_ _z_ [ _C_ _p_ ( z _k−_ 1 _,_ d _k−_ 1)˜ p _k−_ 1 + _D_ _p_ ( z _k−_ 1)]
= _C_ _z_ _C_ _p_ ( z _k−_ 1 _,_ d _k−_ 1)˜ p _k_ + _C_ _z_ _D_ _p_ ( z _k−_ 1)
(3.49)
_3.4._ _DROPLET DUAL ESTIMATION USING UNKNOWN INPUT KALMAN FILTER_ 47
Algorithm 3: Unknown-Input (Extended) Kalman Filter
Data: x ˆ _k−_ 1, _P_ _k−_ 1, y _k_
1 if _state_ _transition_ _is_ _linear_ then
2 x ˆ <sup>+</sup> _k_
3 else
<sup>+</sup> _k−_ 1 <sup>=</sup> <sup>_A_</sup> <sup>_k−_</sup> <sup>1</sup> <sup>x</sup> <sup>ˆ</sup> <sup>_k−_</sup> <sup>1;</sup>
4 x ˆ <sup>+</sup> _k_
<sup>+</sup> _k−_ 1 <sup>=</sup> <sup>_f_</sup> <sup>(ˆ</sup> <sup>x</sup> <sup>_k−_</sup> <sup>1);</sup>
;
5 _A_ _k−_ 1 = _∇_ x _f_ ( x )
6 if rank( _C_ _k_ _B_ _k−_ 1) _̸_ = rank( _B_ _k−_ 1) then
_̸_
7 return
x ˆ _k−_ 1
_̸_ = rank(���
8 _H_ _k_ = ( _C_ _k_ _B_ _k−_ 1) <sup>_†_</sup> ;
// input estimation
9 u ˆ _k−_ 1 = _H_ _k_ ( y _k −_ _C_ _k_ _A_ _k−_ 1 x ˆ _k−_ 1);
_P_ <sup>_u_</sup>
_k_ <sup>_T_</sup> <sup>+</sup> <sup>_C_</sup> <sup>_k_</sup> <sup>_Q_</sup> <sup>_k−_</sup> <sup>1</sup> <sup>_C_</sup> _k_ <sup>_T_</sup>
_k_ <sup>_T_</sup> <sup>+</sup> <sup>_R_</sup> <sup>_k_</sup>
10 _P_ _k_ <sup>_u_</sup> _−_ 1 <sup>=</sup> <sup>_H_</sup> <sup>_k_</sup>
y _k −_ _C_ _k_ _A_ _k−_ 1 x ˆ _k_
_C_ _k_ _A_ _k−_ 1 _P_ _k−_ 1 _A_ <sup>_T_</sup> _k_
step
<sup>_T_</sup> _k−_ 1 <sup>_C_</sup> _k_ <sup>_T_</sup>
_H_ _k_ <sup>_T_</sup>
_P_ _k_ <sup>_u_</sup> _−_ 1 <sup>=</sup> <sup>_H_</sup> <sup>_k_</sup> _C_ _k_ _A_ _k−_ 1 _P_ _k−_ 1 _A_ <sup>_T_</sup> _k−_ 1 <sup>_C_</sup> _k_ <sup>_T_</sup> <sup>+</sup> <sup>_C_</sup> <sup>_k_</sup> <sup>_Q_</sup> <sup>_k−_</sup> <sup>1</sup> <sup>_C_</sup> _k_ <sup>_T_</sup> <sup>+</sup> <sup>_R_</sup> <sup>_k_</sup> _H_ _k_ <sup>_T_</sup> <sup>;</sup>
// prediction step
-
11 _G_ _k_ = _I_ _−_ _B_ _k−_ 1 _H_ _k_ _C_ _k_ ;
12 x ˆ _k|k−_ 1 = _G_ _k_ x ˆ <sup>+</sup> _k−_ 1 <sup>+</sup> <sup>_B_</sup> <sup>_k−_</sup> <sup>1</sup> <sup>_H_</sup> <sup>_k_</sup> <sup>y</sup> <sup>_k_</sup> <sup>;</sup>
13 y ˆ _k_ = _C_ _k_ x ˆ _k|k−_ 1;
_k_ <sup>_T_</sup> <sup>+</sup> <sup>_G_</sup> <sup>_k_</sup> <sup>_Q_</sup> <sup>_k−_</sup> <sup>1</sup> <sup>_G_</sup> <sup>_T_</sup> _k_
<sup>_T_</sup> _k_ <sup>+</sup> <sup>_B_</sup> <sup>_k−_</sup> <sup>1</sup> <sup>_H_</sup> <sup>_k_</sup> <sup>_R_</sup> <sup>_k_</sup> <sup>_H_</sup> _k_ <sup>_T_</sup>
_k_ <sup>_T_</sup> <sup>_B_</sup> _k_ <sup>_T_</sup>
14 _P_ _k|k−_ 1 = _G_ _k_ _A_ _k−_ 1 _P_ _k−_ 1 _A_ <sup>_T_</sup> _k−_ 1 <sup>_G_</sup> _k_ <sup>_T_</sup>
_k_ <sup>_T_</sup> _−_ 1 <sup>;</sup>
// Kalman gain
15 _K_ _k_ = _P_ _k|k−_ 1 _C_ _k_ <sup>_T_</sup> <sup>(</sup> <sup>_C_</sup> <sup>_k_</sup> <sup>_P_</sup> <sup>_k|k−_</sup> <sup>1</sup> <sup>_C_</sup> _k_ <sup>_T_</sup> <sup>+</sup> <sup>_R_</sup> <sup>_k_</sup> <sup>)</sup> <sup>_−_</sup> <sup>1;</sup>
// correction step
16 x ˆ _k_ = x ˆ _k|k−_ 1 + _K_ _k_ ( y _k −_ y ˆ _k_ );
17 _P_ _k_ = ( _I_ _<u>−</u>_ _K_ _k_ _C_ _k_ ) _P_ _k|k−_ 1;
18 return x ˆ _k,_ _P_ _k,_ u ˆ _k−_ 1 _,_ _P_ _<u>k</u>_ <sup>_u_</sup> _<u>−</u>_ <u>1</u>
48 _CHAPTER_ _3._ _STATE_ _AND_ _PARAMETERS_ _ESTIMATION_
Hence, the stochastic discrete-time model of parameters dynamics is linear. This
property does not hold is central difference scheme is adopted for time discretization,
as shown in §3.3 for robot parameters dynamics.
p ˜ _k_ = p ˜ _k−_ 1 + _ν_ <sup>_p_</sup> _k_
(3.50)
p ˜ _k_ = p ˜ _k−_ 1 + _ν_ <sup>_p_</sup> _k−_ 1
_k_
m _k_ = _C_ _z_ _C_ _p_ ( z _k−_ 1 _,_ d _k−_ 1)˜ p _k_ + _C_ _z_ _D_ _p_ ( z _k−_ 1) + _ν_ <sup>_m_</sup>
_k_
Thus, a linear Kalman filter may be applied to find step by step an estimate of p ˜ _k_,
given previously estimated droplet state z ˆ _k−_ 1 and input d <sup>ˆ</sup> _k−_ 1.
Procedure A dual estimation procedure for droplet state and parameters is proposed
in Algorithm 4, that integrates Algorithm 3 and a standard Kalman filter (Algorithm 1).
It is worth to state again that uncertainties on estimates are not exchanged between the
two filters, i. e. covariance matrices of state and input are not considered in parameter
estimation, and _viceversa_ .
<u>Algorithm</u> <u>4:</u> <u>Droplet</u> <u>dual</u> <u>estimation</u> <u>with</u> <u>Unknown</u> <u>Input</u> <u>Kalman</u> <u>Filter</u>
Data: z ˆ _k−_ 1, _P_ _k−_ 1, p ˆ _k−_ 1, _P_ _k_ <sup>_p_</sup> _−_ 1 <sup>,</sup> <sup>m</sup> <sup>_k_</sup>
// state and input estimation
1 f ( z ) = f _z_ ( z _,_ ˆ p _k−_ 1);
2 _B_ = _B_ _z_ <sup>_∗_</sup> <sup>(ˆ</sup> <sup>p</sup> <sup>_k−_</sup> <sup>1);</sup>
// UI-EKF
3 [ˆ z _k,_ _P_ _k,_ d <sup>ˆ</sup> _k−_ 1 _,_ _P_ _k_ <sup>_d_</sup> _−_ 1 <sup>] =</sup> <sup>UI-EKF (ˆ</sup> <sup>z</sup> <sup>_k−_</sup> <sup>1</sup> <sup>_,_</sup> <sup>_P_</sup> <sup>_k−_</sup> <sup>1</sup> <sup>_,_</sup> <sup>f</sup> <sup>_,_</sup> <sup>_B_</sup> <sup>_,_</sup> <sup>_C_</sup> <sup>_z,_</sup> <sup>m</sup> <sup>_k,_</sup> <sup>_Q_</sup> <sup>_z,_</sup> <sup>_R_</sup> <sup>);</sup>
// parameter estimation
4 _C_ = _C_ _z_ _C_ _p_ (ˆ z _k−_ 1 _,_ d <sup>ˆ</sup> _k−_ 1);
5 _D_ = _C_ _z_ _D_ _p_ (ˆ z _k−_ 1);
; // KF
<u>�</u>
6 [ˆ p _k,_ _P_ _k_ <sup>_p_</sup> <sup>] =</sup> <sup>KF</sup>
_−_ 1);
_k−_ 1 <sup>_,_</sup> <sup>_I_</sup> <sup>_,_</sup> <sup>_C_</sup> <sup>_,_</sup> <sup>m</sup> <sup>_k,_</sup> <sup>_Q_</sup> <sup>_p,_</sup> <sup>_R_</sup> <sup>_,_</sup> <sup>0</sup> <sup>_,_</sup> <sup>_D_</sup>
<u>�</u> _,_ p ˆ d <sup>ˆ</sup> _kk−−_ 11 _,_ _P_ _,_ _P_ _pk_ <sup>_d_</sup> _<u>−</u>_ <u>1</u> <sup>_,_</sup> <sup>p</sup> <sup>ˆ</sup> <sup>_k,_</sup> <sup>_P_</sup> <sup>_p_</sup> _<u>k</u>_
_<u>k</u>_
7 return z ˆ _k,_ _P_ _k,_ d <sup>ˆ</sup> _k−_ 1 _,_ _P_ _<u>k</u>_ <sup>_d_</sup> _<u>−</u>_ <u>1</u> <sup>_,_</sup> <sup>p</sup> <sup>ˆ</sup> <sup>_k,_</sup> <sup>_P_</sup> <sup>_p_</sup>
_<u>k</u>_
##### 3.5 Liquid dual estimation using Kalman Filter
This Section focuses on the dual estimation problem for the liquid medium. The
objective is to develop a feasible and efficient algorithm to estimate state and parameters
of the liquid layer as described in the model proposed in §2.3.2.
Let us consider the dynamical model based on FE discretization and add dynamics
of parameters and measurement equation, neglecting disturbances; for _t ∈_ [0 _, T_ ] it is:
_M_ _w_ ( p ( _t_ )) ˙ w ( _t_ ) = _−_ _K_ _w_ ( p ( _t_ )) w ( _t_ ) + _A_ _wu_ ( y ( _t_ ) _,_ p ( _t_ )) u ( _t_ )
p ˙ ( _t_ ) = 0
m ( _t_ ) = _C_ _w_ ( z ( _t_ )) w ( _t_ )
(3.51)
where w is the nodal vector, i. e. thermal state of the liquid, p the liquid parameters,
u the control input, m the measurement, y the robot state and z the droplet state.
Notice that measurement m may be a subset of the nodal vector <sup>10</sup> or it may correspond
to thermal gradient in droplet position estimated during the droplet dual estimation.
10A FE–based Kalman filter has been developed to deal with spatially distributed problems and a
finite set of sampling points. See [71–73] for details.
_3.5._ _LIQUID_ _DUAL_ _ESTIMATION_ _USING_ _KALMAN_ _FILTER_ 49
In the latter case, matrix _C_ _w_ ( z ) may represent both an exact computation of thermal
gradient based on shape functions or an approximation based on finite differences <sup>11</sup> .
Time discretization Let us build a time grid Γ = _{_ 0 = _t_ 0 _< t_ 1 _< · · · < tN_ = _T_ _}_ and
apply the forward difference scheme for time discretization, namely for _k_ = 1 _,_ 2 _, . . ., N_ :
_<u>M</u>_ _<u>w</u>_ <u>(</u> <u>p</u> _<u>k</u>_ <u>)</u> <u>w</u> _<u>k −</u>_ _<u>M</u>_ _<u>w</u>_ <u>(</u> <u>p</u> _<u>k−</u>_ <u>1)</u> <u>w</u> _<u>k−</u>_ <u>1</u>
∆ _tk_
= _−_ _K_ _w_ ( p _k−_ 1) w _k−_ 1 + _A_ _wu_ ( y _k−_ 1 _,_ p _k−_ 1) u _k−_ 1 (3.52)
where w ( _tk_ ) _≈_ w _k_ denotes the state approximation and ∆ _tk_ = _tk_ _−_ _tk−_ 1 the time
stepupdatesize.equationAssumingreduces p _k_ _≈_ to: p _k−_ 1, i. e. constant or slowly-varying parameters, the state
_M_ _w_ ( p _k−_ 1) <sup><u>w</u></sup> <sup>_<u>k −</u>_</sup> ∆ _t_ <sup><u>w</u></sup> _k_ <sup>_<u>k−</u>_</sup> <sup><u>1</u></sup>
= _−_ _K_ _w_ ( p _k−_ 1) w _k−_ 1 + _A_ _wu_ ( y _k−_ 1 _,_ p _k−_ 1) u _k−_ 1
_⇓_
(3.53)
_M_ _w_ ( p _k−_ 1) w _k_ = [ _M_ _w_ ( p _k−_ 1) _−_ ∆ _tk_ _K_ _w_ ( p _k−_ 1)] w _k−_ 1+
+ ∆ _tk_ _A_ _wu_ ( y _k−_ 1 _,_ p _k−_ 1) u _k−_ 1
Then, let us adopt the central difference scheme for time discretization, as shown in
§2.3.2, that leads to:
_<u>M</u>_ _<u>w</u>_ <u>(</u> <u>p</u> _<u>k</u>_ <u>)</u> <u>w</u> _<u>k −</u>_ _<u>M</u>_ _<u>w</u>_ <u>(</u> <u>p</u> _<u>k−</u>_ <u>1)</u> <u>w</u> _<u>k−</u>_ <u>1</u>
∆ _tk_
+
= _−_ <sup>_<u>K</u>_</sup> <sup>_<u>w</u>_</sup> <sup><u>(</u></sup> <sup><u>p</u></sup> <sup>_<u>k</u>_</sup> <sup><u>)</u></sup> <sup><u>w</u></sup> <sup>_<u>k</u>_</sup> <sup><u>+</u></sup> <sup>_<u>K</u>_</sup> 2 <sup>_<u>w</u>_</sup> <sup><u>(</u></sup> <sup><u>p</u></sup> <sup>_<u>k−</u>_</sup> <sup><u>1)</u></sup> <sup><u>w</u></sup> <sup>_<u>k−</u>_</sup> <sup><u>1</u></sup>
+ <sup>_<u>A</u>_</sup> <sup>_<u>wu</u>_</sup> <sup><u>(</u></sup> <sup><u>y</u></sup> <sup>_<u>k,</u>_</sup> <sup><u>p</u></sup> <sup>_<u>k</u>_</sup> <sup><u>)</u></sup> <sup><u>u</u></sup> <sup>_<u>k</u>_</sup> <sup><u>+</u></sup> <sup>_<u>A</u>_</sup> <sup>_<u>wu</u>_</sup> <sup><u>(</u></sup> <sup><u>y</u></sup> <sup>_<u>k−</u>_</sup> <sup><u>1</u></sup> <sup>_<u>,</u>_</sup> <sup><u>p</u></sup> <sup>_<u>k−</u>_</sup> <sup><u>1)</u></sup> <sup><u>u</u></sup> <sup>_<u>k−</u>_</sup> <sup><u>1</u></sup> (3.54)
2
Consideringobtained. p _k_ _≈_ p _k−_ 1 as above, an explicit update equation of nodal vector w is
_M_ _w_ ( p _k−_ 1) + <sup><u>∆</u></sup> 2 <sup>_<u>tk</u>_</sup>
w _k_ =
2 <sup>_<u>tk</u>_</sup> <sup>_K_</sup> <sup>_w_</sup> <sup>(</sup> <sup>p</sup> <sup>_k−_</sup> <sup>1)</sup>
_<u>A</u>_ _<u>wu</u>_ <u>(</u> <u>y</u> _<u>k,</u>_ <u>p</u> _<u>k−</u>_ <u>1)</u> <u>u</u> _<u>k</u>_ <u>+</u> _<u>A</u>_ _<u>wu</u>_ <u>(</u> <u>y</u> _<u>k−</u>_ <u>1</u> _<u>,</u>_ <u>p</u> _<u>k−</u>_ <u>1)</u> <u>u</u> _<u>k−</u>_ <u>1</u>
_M_ _w_ ( p _k−_ 1) _−_ <sup><u>∆</u></sup> 2 <sup>_<u>tk</u>_</sup>
<u>�</u>
2 <sup>_<u>tk</u>_</sup> <sup>_K_</sup> <sup>_w_</sup> <sup>(</sup> <sup>p</sup> <sup>_k−_</sup> <sup>1)</sup> w _k−_ 1+
<u>�</u>
+ ∆ _tk_
_<u>wu</u>_ <u>(</u> <u>y</u> _<u>k−</u>_ <u>1</u> _<u>,</u>_ <u>p</u> _<u>k−</u>_ <u>1)</u> <u>u</u> _<u>k−</u>_ <u>1</u> (3.55)
2
With both discretization schemes, collecting terms into _A_ <sup>_∗_</sup> _w_
With both discretization schemes, collecting terms into _A_ <sup>_∗_</sup> _w_ <sup>and</sup> <sup>b</sup> <sup>_∗_</sup> _w_ <sup>and</sup> <sup>adding</sup>
process Gaussian independent noise _ν_ <sup>_w_</sup> _k_ <sup>_∼N_</sup> <sup>(</sup> <sup>0</sup> <sup>_,_</sup> <sup>_Q_</sup> _k_ <sup>_w_</sup> <sup>)</sup> <sup>for</sup> <sup>_k_</sup> <sup>_∈{_</sup> <sup>0</sup> <sup>_,_</sup> <sup>1</sup> <sup>_, . . ., N_</sup> <sup>_}_</sup> <sup>,</sup> <sup>a</sup> <sup>linear</sup>
<sup>_w_</sup> _k_ <sup>_∼N_</sup> <sup>(</sup> <sup>0</sup> <sup>_,_</sup> <sup>_Q_</sup> _k_ <sup>_w_</sup>
<sup>_∗_</sup> _w_ <sup>and</sup> <sup>b</sup> <sup>_∗_</sup> _w_
processtime-varying discrete-time dynamics of liquid thermal stateGaussian independent noise _ν_ <sup>_w_</sup> _k_ <sup>_∼N_</sup> <sup>(</sup> <sup>0</sup> <sup>_,_</sup> <sup>_Q_</sup> _k_ <sup>_w_</sup> <sup>)</sup> <sup>for</sup> w <sup>_k_</sup> is found. <sup>_∈{_</sup> <sup>0</sup> <sup>_,_</sup> <sup>1</sup> <sup>_, . . ., N_</sup> Update equation <sup>_}_</sup> <sup>,</sup> <sup>a</sup> <sup>linear</sup>
of parameters and measurement with noises _ν_ <sup>_p_</sup> _k_ <sup>_∼N_</sup> <sup>(</sup> <sup>0</sup> <sup>_,_</sup> <sup>_Q_</sup> _k_ <sup>_p_</sup> <sup>)</sup> <sup>and</sup> <sup>_ν_</sup> <sup>_m_</sup>
<sup>_p_</sup> _k_ <sup>_∼N_</sup> to be <sup>(</sup> <sup>0</sup> known <sup>_,_</sup> <sup>_Q_</sup> _k_ <sup>_p_</sup>
_k_ <sup>_p_</sup> <sup>)</sup> <sup>and</sup> <sup>_ν_</sup> <sup>_m_</sup> _k_
ofeasilyparametersobtained.andControlmeasurementinput u with _k_ is considerednoises _ν_ <sup>_p_</sup> _k_ <sup>_∼N_</sup> to be <sup>(</sup> <sup>0</sup> known <sup>_,_</sup> <sup>_Q_</sup> _k_ <sup>_p_</sup> <sup>)</sup> <sup>and</sup> without <sup>_ν_</sup> <sup>_m_</sup> _k_ <sup>_∼N_</sup> uncertainty <sup>(</sup> <sup>0</sup> <sup>_,_</sup> <sup>_R_</sup> <sup>_k_</sup> <sup>)</sup> <sup>are</sup> for
every _k_ _∈{_ 0 _,_ 1 _, . . ., N_ _}_ . The stochastic discrete-time thermal model of the liquid layer
is:
w _k_ = _A_ <sup>_∗_</sup> _w_
<sup>_∗_</sup> _w_ <sup>(</sup> <sup>p</sup> <sup>_k−_</sup> <sup>1)</sup> <sup>w</sup> <sup>_k−_</sup> <sup>1</sup> <sup>+</sup> <sup>b</sup> <sup>_∗_</sup> _w_
<sup>_∗_</sup> _w_ <sup>(</sup> <sup>y</sup> <sup>_k,k−_</sup> <sup>1</sup> <sup>_,_</sup> <sup>p</sup> <sup>_k−_</sup> <sup>1</sup> <sup>_,_</sup> <sup>u</sup> <sup>_k,k−_</sup> <sup>1) +</sup> <sup>_ν_</sup> <sup>_w_</sup> _k_
_k_ = _A_ <sup>_∗_</sup> _w_ <sup>(</sup> <sup>p</sup> <sup>_k−_</sup> <sup>1)</sup> <sup>w</sup> <sup>_k−_</sup> <sup>1</sup> <sup>+</sup> <sup>b</sup> <sup>_∗_</sup> _w_ <sup>(</sup> <sup>y</sup> <sup>_k,k−_</sup> <sup>1</sup> <sup>_,_</sup> <sup>p</sup> <sup>_k−_</sup> <sup>1</sup> <sup>_,_</sup> <sup>u</sup> <sup>_k,k−_</sup> <sup>1) +</sup> <sup>_ν_</sup> <sup>_w_</sup> _k−_ 1
p _k_ = p _k−_ 1 + _ν_ <sup>_p_</sup> _k−_ 1
p _k_ = p _k−_ 1 + _ν_ <sup>_p_</sup> _k−_ 1
m _k_ = _C_ _w_ ( z _k_ ) w _k_ + _ν_ <sup>_m_</sup> _k_
(3.56)
_k_
Dynamics and measurement equation are linearly dependent on state, thus liquid state
w could be estimated using the standard linear Kalman filter (Algorithm 1).
11Temperature gradient can be approximated using FEM by _∇_ x _w_ ( _t,_ x ) _≈_ _B_ ( x ) w ( _t_ ) where _B_ ( x ) =
_∇_ xn ( x ) and n collects the shape functions of the FE discretization. Alternatively, one could choose to
adopt the finite difference approximation _∇_ <sup>_h_</sup> x <sup>n</sup> <sup>(</sup> <sup>x</sup> <sup>)</sup> <sup>of</sup> <sup>_∇_</sup> <sup>xn</sup> <sup>(</sup> <sup>x</sup> <sup>),</sup> <sup>that</sup> <sup>returns</sup> <sup>_∇_</sup> <sup>x</sup> <sup>_w_</sup> <sup>(</sup> <sup>_t,_</sup> <sup>x</sup> <sup>)</sup> <sup>_≈∇_</sup> x <sup>_h_</sup> <sup>n</sup> <sup>(</sup> <sup>x</sup> <sup>)</sup> <sup>w</sup> <sup>(</sup> <sup>_t_</sup> <sup>).</sup>
<sup>_h_</sup> x <sup>n</sup> <sup>(</sup> <sup>x</sup> <sup>)</sup> <sup>of</sup> <sup>_∇_</sup> <sup>xn</sup> <sup>(</sup> <sup>x</sup> <sup>),</sup> <sup>that</sup> <sup>returns</sup> <sup>_∇_</sup> <sup>x</sup> <sup>_w_</sup> <sup>(</sup> <sup>_t,_</sup> <sup>x</sup> <sup>)</sup> <sup>_≈∇_</sup> x <sup>_h_</sup>
x <sup>_h_</sup> <sup>n</sup> <sup>(</sup> <sup>x</sup> <sup>)</sup> <sup>w</sup> <sup>(</sup> <sup>_t_</sup> <sup>).</sup>
50 _CHAPTER_ _3._ _STATE_ _AND_ _PARAMETERS_ _ESTIMATION_
Parameters identification Let us try to express measurement equation in terms
of parameters p, considering the forward difference scheme for time discretization. It
is worth to extract (constant homogeneous) parameters from matrices <sup>12</sup> :
_M_ _w_ ( p ) = _M_ <sup>¯</sup> _wlzcpϱ_ _,_ _K_ _w_ ( p ) = _K_ <sup>¯</sup> _wlzk_ _,_ _A_ _wu_ ( y _,_ p ) = _A_ <sup>¯</sup> _wu_ ( y ) _β_ (3.57)
From (3.53) the updated state can be computed
w _k−_ 1 + ∆ _tk_
_<u>β</u>_
_lzcpϱ_
_M_ ¯ _w_ <sup>_−_</sup> <sup>1</sup> _A_ ¯ _wu_ ( y _k−_ 1) u _k−_ 1 (3.58)
w _k_ =
_I_ _−_ ∆ _tkα_ _M_ <sup>¯</sup> _w_ <sup>_−_</sup> <sup>1</sup>
_w_ <sup>_−_</sup> <sup>1</sup> _K_ ¯ _w_
Then, defining vector p ˜ = [ _p_ ˜ <sup>_α_</sup> _,_ ˜ _p_ <sup>_β_</sup> ] <sup>_T_</sup> = [ _α, β/_ ( _lzcpϱ_ )] <sup>_T_</sup>, state equation and measurement
equation are linearly dependent on p ˜. As shown in §3.3 for robot parameters, this does
not hold if the central difference scheme is adopted for time discretization.
m _k_ = _C_ _w_ ( z _k_ ) w _k_
¯
_w_ <sup>_−_</sup> <sup>1</sup>
_A_ _wu_ ( y _k−_ 1) u _k−_ 1 _p_ ˜ <sup>_β_</sup> <sup>�</sup>
= _C_ _w_ ( z _k_ )
w _k−_ 1 _−_ ∆ _tk_ _M_ <sup>¯</sup> _w_ <sup>_−_</sup> <sup>1</sup>
_C_ - _p_ ( w _k−_ 1 _,_ y _k−_ 1 _,_ u _k_
¯
_w_ <sup>_−_</sup> <sup>1</sup> _K_ _w_ w _k−_ 1 _p_ ˜ <sup>_α_</sup> + ∆ _tk_ _M_ <sup>¯</sup> _w_ <sup>_−_</sup> <sup>1</sup>
(3.59)
= _C_ _w_ ( z _k_ ) _C_ _p_ ( w _k−_ 1 _,_ y _k−_ 1 _,_ u _k−_ 1)˜ p _k_ + _C_ _w_ ( z _k_ ) w _k−_ 1
Procedure Algorithm 5 resumes the procedure proposed for liquid dual estimation
based on (linear) Kalman filtering. Notice that robot position y ˆ and droplet position
z ˆ are employed without considering their uncertainties. Embedding these uncertainties
would require to evaluate at each time step a linear approximation of _A_ <sup>¯</sup> _wu_ ( y ) around
y ˆ _k_ and _C_ _w_ ( z ) around z ˆ _k_ . Further analysis are needed to discuss the impact of this
choice on the accuracy and computational cost of the solution.
Due to the FE discretization, the implementation of this algorithm has to be
analysed in details, because it may suffer the high dimensionality of vector w . In
particular, the computation of predicted covariance matrix _P_ _k_ <sup>_−_</sup> <sup>=</sup> <sup>_AP_</sup> <sup>_k−_</sup> <sup>1</sup> <sup>_A_</sup> <sup>_T_</sup> <sup>may</sup> <sup>be</sup>
particular, the computation of predicted covariance matrix _P_ _k_ <sup>_−_</sup> <sup>=</sup> <sup>_AP_</sup> <sup>_k−_</sup> <sup>1</sup> <sup>_A_</sup> <sup>_T_</sup> <sup>may</sup> <sup>be</sup>
an issue. Matrix multiplication algorithms take time on the order of _n_ <sup>_ω_</sup> with _ω_ _∈_ [2 _,_ 3]
to multiply two _n × n_ matrices. Considering that nodal vector w has _n ≥_ 500 states,
_k_
depending on mesh refinement, _A_ _∈_ R <sup>_n×n_</sup>, _P_ _k−_ 1 _∈_ R <sup>_n×n_</sup> and computation of _P_ <sup>_−_</sup>
takes time on the order of _n_ <sup>2</sup> <sup>_ω_</sup>, then it is likely a bottleneck in the execution of the
_k_
depending on mesh refinement, _A_ _∈_ R <sup>_n×n_</sup>, _P_ _k−_ 1 _∈_ R <sup>_n×n_</sup> and computation of _P_ <sup>_−_</sup>
takes time on the order of _n_ <sup>2</sup> <sup>_ω_</sup>, then it is likely a bottleneck in the execution of the
algorithm.
<u>Algorithm</u> <u>5:</u> <u>Liquid</u> <u>dual</u> <u>estimation</u> <u>using</u> <u>Kalman</u> <u>Filter</u>
Data: w ˆ _k−_ 1, _P_ _k−_ 1, p ˆ _k−_ 1, _P_ _k_ <sup>_p_</sup> _−_ 1 <sup>,</sup> <sup>m</sup> <sup>_k_</sup> <sup>,</sup> <sup>u</sup> <sup>_k−_</sup> <sup>1,</sup> <sup>y</sup> <sup>ˆ</sup> <sup>_k−_</sup> <sup>1,</sup> <sup>z</sup> <sup>ˆ</sup> <sup>_k_</sup>
// state estimation
1 _A_ = _A_ <sup>_∗_</sup> _w_ <sup>(ˆ</sup> <sup>p</sup> <sup>_k−_</sup> <sup>1);</sup>
2 b = b <sup>_∗_</sup> _w_ <sup>(ˆ</sup> <sup>y</sup> <sup>_k−_</sup> <sup>1</sup> <sup>_,_</sup> <sup>ˆ</sup> <sup>p</sup> <sup>_k−_</sup> <sup>1</sup> <sup>_,_</sup> <sup>u</sup> <sup>_k−_</sup> <sup>1);</sup>
3 _C_ = _C_ _w_ (ˆ z _k_ );
3 _C_ = _C_ _w_ (ˆ z _k_ );
4 [ ˆ w _k,_ _P_ _k_ ] = KF _k−_ 1 <sup>_,_</sup> <sup>_R_</sup> <sup>_k,_</sup> <sup>b</sup> <sup>_,_</sup> <sup>0</sup>
// parameter estimation
- w ˆ _k−_ 1 _,_ _P_ _k−_ 1 _, A, C,_ m _k,_ _Q_ _w_
_C_ = _C_ _w_ (ˆ z _k_ );
[ ˆ w _k,_ _P_ _k_ ] = KF _k−_ 1 <sup>_,_</sup> <sup>_R_</sup> <sup>_k,_</sup> <sup>b</sup> <sup>_,_</sup> <sup>0</sup> ; // KF
// parameter estimation
- w ˆ _k−_ 1 _,_ _P_ _k−_ 1 _, A, C,_ m _k,_ _Q_ _w_
5 _C_ <sup>_p_</sup> = _C_ _w_ (ˆ z _k_ ) _C_ _p_ ( ˆ w _k−_ 1 _,_ ˆ y _k−_ 1 _,_ u _k−_ 1);
6 d = _C_ _w_ (ˆ z _k_ ) ˆ w _k−_ 1;
; // KF
<u>�</u>
7 [ˆ p _k,_ _P_ _k_ <sup>_p_</sup> <sup>] =</sup> <sup>KF</sup>
_−_ 1;
_k−_ 1 <sup>_,_</sup> <sup>_I_</sup> <sup>_, C_</sup> <sup>_p,_</sup> <sup>m</sup> <sup>_k,_</sup> <sup>_Q_</sup> <sup>_p_</sup> _k_
_k,_ p ˆ _k,_ _P_ _<u>k</u>_ <sup>_p_</sup>
<u>�</u> p ˆ _k−_ 1 _,_ _P_ _p_
8 return w ˆ _k,_ _P_ _k,_ p ˆ _k,_ _P_ _<u>k</u>_ <sup>_p_</sup>
<sup>_p_</sup> _k−_ 1 <sup>_,_</sup> <sup>_R_</sup> <sup>_k,_</sup> <sup>0</sup> <sup>_,_</sup> <sup>d</sup>
12Notice that laser characteristic radius _rL_ cannot be explicit because of the exponential term. For
the sake of simplicity, we discard _rL_ for the online parameters identification.
_3.5._ _LIQUID_ _DUAL_ _ESTIMATION_ _USING_ _KALMAN_ _FILTER_ 51
The approach presented in this Section for liquid state estimation may be quite costly
from the computational point of view. Different strategies should be developed and
tested, in order to gain real-time capabilities and accurate estimation. A thermocamera
or a set of thermocouples would allow to build a distributed Kalman Filter [73] or a
FE Kalman Filter [71, 72]. Another approach is Moving Horizon Estimation (MHE),
that is a computationally feasible strategy for state estimation based on non-linear
constrained optimization [66]. It has been noticed that non-linear MPC and MHE
share the same optimal control structure and are often cited as “dual” problems [67].
Somehow the optimization-based approach adopted in §3.2 is in the more general and
developed framework of MHE.
### Chapter 4
# Optimal control
This Chapter deals with the automatic control of the system in order to obtain a
desired goal. In particular, optimal control theory is exploited and applied to design
a model-based controller able to predict the system evolution and then to plan the
optimal control input. The main idea is to use models developed in Chapter 2 with
parameters estimated in Chapter 3 for calculating the optimum time-sequence of
controls that ensure the robot moves the droplet as desired. As the real process does
not coincide with the mathematical model and is most probably subject to disturbances,
a feedback loop has to be established with an optimization-based controller.
Optimal control requires to define a cost functional to be minimized (or a reward
functional to be maximized) by the optimal sequence of control inputs. This functional
is a measure of the control optimality from the user point-of-view. In a pure timeoptimal control problem, the fastest trajectory is the best one, but it may be not
in a minimum-energy control problem, for instance. Optimal control problems with
different cost functional correspond to different user objectives and have different
solutions. Minimum time, minimum energy, reference tracking, target following,
obstacle avoidance and robust control are examples of well-known control problems.
In [74] we proposed a control strategy for the time-optimal control problem with
constraints on the final state. The suggested control scheme is reported in Fig. 4.1.
Given a nominal path and the model of the droplet dynamics, one can calculate the
optimal time-sequence of laser positions that would drive the droplet from its initial
position to the final one (MPC). Then the sequence of robot controls is obtained thanks
to the model of robot dynamics. At this step, a guess solution, i. e. an approximate
sub-optimal solution, is available and it is possibly used for initializing the numerical
routine for solving the time-optimal control problem (OCP). The result is a sequence
of robot controls that allows to move the droplet from its initial state to the end of the
nominal path, minimizing the user-specified cost and complying with constraints on
states and controls.
In this work we enlarge the explored area adopting several techniques to solve
slightly different problems, e. g. fixed final state, tracking and following OCPs.
##### 4.1 Problem formulation
This Section states the minimum time OCP, the reference tracking OCP and the target
following OCP. Model-based controllers are designed to find a solution of a mathematical optimization problem composed by an objective functional and constraints.
53
54 _CHAPTER_ _4._ _OPTIMAL_ _CONTROL_
Nominal trajectory
B
A
Laser positions
MPC B
A
Droplet Robot
model model
OCP Guess solution
Inverse
dynamics
Solution
Experimental
apparatus
Figure 4.1: Schematics of control method proposed in [74].
Let us denote state vector x _∈_ R <sup>_nx_</sup> and control vector u _∈_ R <sup>_nu_</sup>, so that x ( _t_ ) and
u ( _t_ ) are state of the system and control input at time _t ∈_ [ _ti,_ _tf_ ]. Let us consider w.l.o.g.
the time interval [ _ti,_ _tf_ ] = [0 _,_ _T_ ] _⊂_ R. State and control are typically constrained in
a subset, x _∈X_ _⊂_ R <sup>_nx_</sup> and u _∈U_ _⊂_ R <sup>_nu_</sup> . Vector x may be composed by the states
of robot, liquid and droplet, i. e. x = [ y _,_ w _,_ z ] <sup>_T_</sup> ; alternatively, x may be a function of
both time and space if liquid domain is not discretized in space.
Minimum time Let us define the cost functional _J_ for the pure time-optimal control
problem. Typically an additional cost on control magnitude is considered in order to
limit the control effort. It is clearly seen that no reference paths or the like are given,
so this type of problem is typically referred to as trajectory optimization.
_J_ = _T_ =
d _t_ (4.1)
0
- _T_
Collecting dynamics of robot, liquid layer and droplet, the continuous-time dynamic
model and boundary conditions in general form can be written for _t ∈_ [0 _, T_ ], x _∈X_,
u _∈U_ as:
x ˙ ( _t_ ) = _ϕ_ ( _t,_ x ( _t_ ) _,_ u ( _t_ )) b ( x (0) _,_ x ( _T_ )) = 0 (4.2)
Let us focus on a specific type of conditions: initial state is fixed and final state
is partially or fully constrained, namely x (0) = x <sup>_i_</sup> and _B_ _T_ x ( _T_ ) = x <sup>_f_</sup> _B_ <sup>.</sup> <sup>The</sup> <sup>subset</sup>
of constrained states at final time _t_ = _T_ is selected by matrix _B_ _T_ . Initial state
corresponds to the condition of the system at time _t_ = 0, i. e. initial condition is not an
optimization variable but a parameter of the optimization problem. At least one state
in final condition has to be constrained, otherwise the problem has a trivial and useless
solution - that is _J_ = _T_ = 0 and x ( _T_ ) = x (0) = x <sup>_i_</sup> . Final position of the droplet
may be the objective of the control system and is typically fixed. Instead, droplet final
velocity may be fixed or not, depending on the purpose.
Constraints on states and controls are often present and in general these require to
satisfy a set of non-linear inequalities h ( x ( _t_ ) _,_ u ( _t_ )) _≤_ 0 for _t ∈_ [0 _, T_ ]. For the sake of
simplicity we decouple states and controls and consider simple constant bounds on each
_4.1._ _PROBLEM_ _FORMULATION_ 55
ofholdthem,component-wise.namely x _l_ _≤_ x ( _t_ ) _≤_ x _u_ and u _l_ _≤_ u ( _t_ ) _≤_ u _u_ _∀t_ _∈_ [0 _, T_ ], where inequalities
It is worth noticing that imposed constraints are hard constraints, i. e. they
set conditions on variables that are required to be satisfied. One may impose soft
constraints, that penalize values of variables in the objective function, adding Mayer
terms for boundary conditions and Lagrange terms for state and control bounds.
Typically these terms are in the form of penalty or barrier, depending on tolerance
and flexibility of the constraints, and affect the convergence of the numerical solution.
The optimal control problem, called TOCP, consists in solving the following:
minimize _T_
subject to x ˙ ( _t_ ) = _ϕ_ ( _t,_ x ( _t_ ) _,_ u ( _t_ ))
x (0) = x <sup>_i_</sup>
_B_ _T_ x ( _T_ ) = x <sup>_f_</sup> _B_
x _l_ _≤_ x ( _t_ ) _≤_ x _u_
u _l_ _≤_ u ( _t_ ) _≤_ u _u_
for _t ∈_ (0 _, T_ )
(4.3)
Objective functional and final condition constraint depend on final time _T_, that is
_a_ _priori_ an unknown; hence (4.3) is a free final time problem and _T_ is an optimization
variable.
Reference tracking Let us focus on the reference tracking, i. e. the problem of
changing the system from one state to another as fast as possible and following a given
trajectory in the state space as close as possible. In particular, a droplet has to move
from its actual position along a nominal user-specified path, as fast and accurately as
possible. Curvilinear coordinates are introduced to ease the formulation of a suitable
cost functional, as inspired by [75].
Given a nominal path _γ_ curvilinear coordinates can be introduced to describe
the droplet state (position and velocity) as projected on _γ_ . Their representation is
derived and reported in §4.4. Let us consider the dynamic model of the system and
the kinematics of curvilinear coordinates _ξ_, for a given final time _T_, _t ∈_ [0 _, T_ ], x _∈X_,
u _∈U_, and initial conditions:
x ˙ ( _t_ ) = _ϕ_ ( _t,_ x ( _t_ ) _,_ u ( _t_ )) x (0) = x <sup>_i_</sup> (4.4)
_ξ_ ˙ ( _t_ ) = _R_ _γ_ ( _ξ_ ( _t_ )) x ( _t_ ) _ξ_ (0) = _ξ_ <sup>_i_</sup> (4.5)
Matrix-valued function _R_ _γ_ maps the absolute velocity of the droplet into velocities
along the tangential and normal directions of _γ_, in the point of _γ_ that is the closest to
the actual position of the droplet. Initial conditions are known (perhaps approximately)
and imposed, while state and control constraints x _l_ _≤_ x ( _t_ ) _≤_ x _u_ and u _l_ _≤_ u ( _t_ ) _≤_ u _u_
are typically enforced _∀t ∈_ [0 _, T_ ].
Let us define a cost functional that takes into account both path tracking and
minimum time features. It turns out that this definition is quite straightforward with
curvilinear coordinates. In particular, in order to avoid a free final time problem,
minimum time requirement is expressed as maximum displacement along the path
in a given time interval. Then, tracking accuracy means to minimize the motion in
the normal direction of the curve _γ_ . A Mayer term _M_ ( _ξ_ ( _T_ )) may reward the final
position along _γ_ and the Lagrange term _l_ ( _ξ_ ) penalizes deviations from it. Curvilinear
56 _CHAPTER_ _4._ _OPTIMAL_ _CONTROL_
coordinates collect curvilinear abscissa _s ≥_ 0 and lateral deviation _n_, namely _ξ_ = [ _s, n_ ] <sup>_T_</sup> .
Thus a suitable cost functional for the reference tracking problem may be _J_ MPC, if
control cost is neglected.
_n_ <sup>2</sup> ( _t_ ) d _t_ (4.6)
0
- _T_
_J_ MPC = _M_ ( _ξ_ ( _T_ )) +
0 _l_ ( _ξ_ ( _t_ )) d _t_ = _−s_ ( _T_ ) + _ωn_
- _T_
Notice that the two terms have opposite signs, because the final abscissa _s_ ( _T_ ) has to
be maximized while the mean quadratic deviation has to be minimized. Moreover,
notice the linear reward for distance _s_ ( _T_ ) and the quadratic running cost for the lateral
deviation. The relative importance of these two terms is ruled by the user-specified
parameter _ωn_ . By setting _ωn_ = 0 the contribution of lateral deviation vanishes, whereas
for _ωn_ _→_ + _∞_ the tracking accuracy gains more importance than tracking speed.
The reference tracking optimal control problem, called TMPC, consists in solving
the following:
minimize _J_ MPC
subject to x ˙ ( _t_ ) = _ϕ_ ( _t,_ x ( _t_ ) _,_ u ( _t_ ))
_ξ_ ˙ ( _t_ ) = _R_ _γ_ ( _ξ_ ( _t_ )) x ( _t_ )
x (0) = x <sup>_i_</sup>
_ξ_ (0) = _ξ_ <sup>_i_</sup>
x _l_ _≤_ x ( _t_ ) _≤_ x _u_
u _l_ _≤_ u ( _t_ ) _≤_ u _u_
for _t ∈_ (0 _, T_ )
(4.7)
Problem (4.7) refers to a tracking control with no final point and therefore it is well
suited for unlimited—long enough—paths. It may be desirable to move the droplet
to the end of curve _γ_, i. e. at _s_ = _L ∈_ (0 _,_ + _∞_ ). In this case a suitable cost functional
for the reference tracking problem may be (4.8), thanks to the quadratic cost on the
final error _|s_ ( _T_ ) _−_ _L|_ . While minimizing lateral deviations, this cost functional tends
to move the droplet at the final point of the reference path, and to keep it there.
( _s_ ( _T_ ) _−_ _L_ ) <sup>2</sup> + _ωn_
0
- _T_
_n_ <sup>2</sup> ( _t_ ) d _t_ (4.8)
0
_T_
log cosh ( _s_ ( _T_ ) _−_ _L_ ) + _ωn_
0
- _T_
_n_ <sup>2</sup> ( _t_ ) d _t_ (4.9)
0
_T_
Instead of using the quadratic cost, pseudo-Huber loss function or log cosh function
may be adopted to define the cost functional [37], especially for the Mayer term. The
alternative definition (4.9) leads to asymptotically linear cost when _|s −_ _L| →_ + _∞_ and
becomes asymptotically quadratic cost at _s ≈_ _L_ . This means that (4.9) converges to
_J_ MPC as _s →−∞_ . Moreover, far from the target, derivatives of _J_ MPC and (4.9) w.r.t.
curvilinear abscissa _s_ do not depend on the actual position. Thus, the optimal control
is not influenced by the distance _|s −_ _L|_ and assume a steady state value (neglecting
lateral deviation and sign of _s −_ _L_ ). Instead, close to the target, _s_ _≈_ _L_, cost (4.9)
is approximately quadratic w.r.t. _s_ ( _T_ ) and then the optimal control depends on the
actual position of the droplet.
_4.2._ _METHODS_ 57
##### 4.2 Methods
Different approaches are possible to face optimal control problems formulated in
§4.1. These problems are in general non-linear and most probably do not have an
analytic solution. A special case is the exception of linear-quadratic OCPs. Hence, it
is necessary to adopt numerical methods to solve these optimization problems. Two
main approaches exist to deal with OCPs: indirect and direct methods. Indirect
methods employ the calculus of variations to obtain the necessary first-order optimality
conditions, that typically result in a two-point boundary value problem (BVP). Direct
methods parametrize state and/or control using suitable function approximations
and correspondingly the cost functional turns into a cost function. Then the infinitedimensional problem is converted into a finite-dimensional problem where coefficients
of approximations are optimization variables. A survey on well-known approaches is
reported in [76] and some applications are [3, 5, 7, 27, 28, 35, 40, 75].
Original OCPs formulated in §4.1 involve a mix of ODEs and PDEs due to the
thermal model of the liquid medium and mechanical model of robot and droplet.
Expressing or approximating the dynamic model in different domains, for instance by
using the FEM, and depending on the favoured approach, many different strategies are
generated to solve the original OCPs. Possible ways to face the problem are graphically
sketched in Fig. 4.2.
thermal impulse response
Discrete OP
OCP
PDE-ODE
discretize space <u>discretize</u> <u>time</u>
OCP ODE
optimize optimize optimize
Discrete OS
OS
PDE-ODE
discretize space <u>discretize</u> <u>time</u>
OS ODE
Figure 4.2: Flow chart of possible strategies to face OCPs.
Problems in §4.1 represent the starting point, OCP PDE-ODE. On the other side,
non-linear optimization problems (NLP), called Discrete OP in Fig. 4.2, can be handled
by state-of-art optimizers, e. g. IPOPT and WORHP. Non-linear solvers like CoDoSol
can deal with systems of equations, Discrete OS, derived by necessary optimality
conditions. Solvers of non-linear two-points BVPs could find a solution to OS ODE,
that is an optimality system involving ODEs.
Feasible paths in Fig. 4.2 from the original problem to an optimality system
correspond to different possible approaches. Four strategies can be univocally identified
by the step at which optimization happens. In the following we will refer to them as
_indirect_, _time-indirect_, _direct_ and _analytical_, respectively for the optimization from
OCP PDE-ODE, OCP ODE, Discrete OP and Discrete OP with an analytical solution for
58 _CHAPTER_ _4._ _OPTIMAL_ _CONTROL_
the temperature field.
Indirect strategy This approach is inspired by the Pontryagin’s Maximum Principle
[77]. First-order necessary optimality conditions are derived and a BVP that involves
PDEs and ODEs is obtained. Finite element method and standard numerical schemes
(e. g. Crank-Nicholson scheme) may be used to discretize spatial domain and time
interval; the result is typically a large-scale non-linear system, structured and sparse
because of the FE parametrization [6, 23]. Then it is possible to find numerically an
approximate solution by using a non-linear solver.
Time-indirect strategy Spatially-distributed dynamics may be parametrized using
FEM, yielding to a dynamic model described by a system of ODEs. First-order
necessary optimality conditions turn into a two-points BVP. Alternatively, function
parametrization using finite difference schemes yields to a non-linear system of equations,
that is structured due to the discretization of dynamic constraints. State-of-art nonlinear solvers may find a solution to this type of problems. This approach has been
applied to the optimal control of flexible links or robots [29, 30, 33].
Direct strategy Cost functional and constraints are discretized both in space and
time domain, transforming the original control problem into a finite dimensional
optimization problem [6]. Standard or _ad_ _hoc_ optimizers may take advantage of the
particular structure of the problem for approximating the solution. This approach has
risen major importance in the last decades thanks to the higher computational power
available and developments in reduced-order modelling [27, 28, 31]. Notice that it is
not always needed to convert explicitly the problem into a non-linear system applying
the Theorem of Lagrange multipliers—to convert Discrete OP into Discrete OS—, for
instance when direct search is used [78]. The real-time iteration scheme proposed in [3]
is a numerical technique inspired by sequential quadratic programming (SQP) to solve
(possibly) large-scale optimization problems arising from this approach, with real-time
constraints. Differential dynamic programming (DDP) is within this approach when
applied to a discrete-time dynamical systems [79]. DDP is based on Bellman’s principle
of optimality and then the optimal control is computed backward in time, starting
from the final desired state. At each time step a linear or quadratic approximation of
cost function and dynamics is considered, so that the optimal control is computed by
solving a sequence of (possibly) constrained quadratic programming problems [7, 37].
Analytical strategy Impulse response of the liquid medium temperature field to a
laser pulse can be computed analytically under certain assumptions, as described in
§2.3.1. Thanks to linearity of heat equation and superposition principle, convolution
integral yields to an (implicit) analytic solution of the thermal field given the laser
beam trajectory. Given the sequence of past laser positions and emitted power, the
actual thermal state of the liquid layer can be found. Thus, the system reduces to robot
and droplet and the dynamical model involves ODEs only. It has to be underlined
that the state of the system is not only the collection of robot and droplet states,
because thermal dynamics is still present. The thermal state is hidden in the past
laser history and there is no an explicit dynamics. Notice that at this point one may
choose between optimization and time discretization. Actually, the latter choice defines
what we refer to as _analytical_ _strategy_ ; optimization at this step leads to involved
_4.3._ _OCP_ _WITH_ _ANALYTICAL_ _STRATEGY_ 59
calculations <sup>1</sup> and has not been developed here. Time discretization corresponds to the
approximation of laser continuous heating as a finite sum of laser pulses, as shown
in §2.3.1. State and controls are parametrized also, and the OCP is transformed into
a finite dimensional optimization problem (OP). It is worth noticing that there are
less optimization variables w.r.t. the direct strategy (because thermal states are not
explicit) but their relation is much more complicated (due to the hidden thermal
dynamics). This approach is exploited in [74] employing both gradient-based and
derivative-free optimizers to find a numerical solution.
During this work some of the aforementioned strategies have been developed and
implemented. In particular, the _analytical_ _strategy_ is tested for off-line and on-line
optimization, using gradient-based and direct search optimizers, in §4.3 and §4.4
respectively. Then the _direct_ _strategy_ based on FE discretization of the liquid medium
is developed and implemented in §4.5 by using a direct search optimizer and simulation
results are analysed.
##### 4.3 OCP with analytical strategy
This Section faces the minimum time optimal control problem, Problem TOCP, formulated in §4.1 and follows the _analytical_ _strategy_ proposed in §4.2, based on the
semi-analytical solution of the temperature field generated by the laser heating. The
strategy is graphically resumed in Fig. 4.3.
thermal impulse response
Discrete OP
optimize
Discrete OS
OCP
PDE-ODE
OS
PDE-ODE
OCP ODE
OS ODE
<u>discretize</u> <u>time</u>
Figure 4.3: Flow chart of the _analytical_ _strategy_ .
Time transformation Problem TOCP is a free final time problem, because the
final value _T_ of the independent variable _t_ is unknown _a_ _priori_ . Typically this type of
problems is reformulated introducing the linear transformation _t_ = _Tτ_, such that the
1Temperature field can be treated as a functional that takes laser trajectory and power as inputs.
First order necessary optimality conditions are of difficult derivation; in particular the Du Bois lemma
cannot be applied because the temperature field is given by a convolution integral.
60 _CHAPTER_ _4._ _OPTIMAL_ _CONTROL_
problem is converted into a fixed final time problem if the normalized time _τ_ _∈_ [0 _,_ 1] is
considered as independent variable <sup>2</sup> . Cost functional, system dynamics and boundary
conditions are re-written accordingly. Notice that parameter _T_ is still an optimization
variable and the cost functional remains _J_ = _T_ ; state and control constraints have to
be satisfied _∀τ_ _∈_ [0 _,_ 1] and boundary conditions hold at _τ_ = 0 and _τ_ = 1. Dynamic
constraint is expressed in terms of the new independent variable, namely _∀τ_ _∈_ [0 _,_ 1]:
x <sup>_′_</sup> ( _τ_ ) = _T_ _ϕ_ ( _τ,_ x ( _τ_ ) _,_ u ( _τ_ )) (4.10)
The fixed final time optimal control problem, called _τ_ OCP, equivalent to Problem TOCP
(4.3), is the following:
minimize _T_
subject to x <sup>_′_</sup> ( _τ_ ) = _T_ _ϕ_ ( _τ,_ x ( _τ_ ) _,_ u ( _τ_ ))
x (0) = x <sup>_i_</sup>
_B_ _T_ x (1) = x <sup>_f_</sup> _B_
(4.11)
_B_
x _l_ _≤_ x ( _τ_ ) _≤_ x _u_
u _l_ _≤_ u ( _τ_ ) _≤_ u _u_
_T_ _≥_ 0
for _τ_ _∈_ (0 _,_ 1)
Dynamical model Let us recall the models of robot and droplet dynamics, respectively derived in §2.1 and §2.4:
_M_ _y_ ˙ y ( _t_ ) = _A_ _y_ y ( _t_ ) + _B_ _y_ u <sup>_i_</sup> ( _t_ )
(4.12)
_M_ _z_ ˙ z ( _t_ ) = _A_ _z_ ( z ( _t_ )) z ( _t_ ) + _B_ _z_ g _w_ ( _t,_ z <sup>_x_</sup> ( _t_ ) _,_ y _, u_ <sup>_p_</sup> )
where g _w_ = _∇_ x _w_ is a functional that returns the gradient of temperature field _w_ =
_w_ ( _t,_ x ). Control inputs u = [ u <sup>_i_</sup> _, u_ <sup>_p_</sup> ] <sup>_T_</sup> _∈_ R <sup>_nu_</sup> are electric signals that drive the robot and
laser power. Considering an equispaced time grid Γ = _{tk|tk_ = _k_ ∆ _t, k_ = 0 _,_ 1 _, . . ., N_ _}_
with time step ∆ _t_ = _T/N_ and a sequence of laser pulses, the temperature gradient
can be approximated to a finite sum, as explained in §2.3.1. Laser pulse at time _tj_
is described by robot position y _j_ <sup>_x_</sup> <sup>and</sup> <sup>laser</sup> <sup>power</sup> <sup>_u_</sup> _j_ <sup>_p_</sup> <sup>,</sup> <sup>_j_</sup> <sup>=</sup> <sup>0</sup> <sup>_,_</sup> <sup>1</sup> <sup>_, . . ., N_</sup> <sup>;</sup> <sup>characteristic</sup>
radius of the laser beam _rL_ is constant for _t ∈_ [0 _, T_ ]. For every _t ∈_ [0 _, T_ ] there exists
_J_ _∈{_ 0 _,_ 1 _, . . ., N_ _}_ such that _tJ_ _∈_ Γ and _tJ_ _≤_ _t < tJ_ +1. Then, the temperature gradient
in droplet position z <sup>_x_</sup> is given by:
_j_ <sup>_x_</sup> <sup>)</sup> <sup>_T_</sup> (4.13)
_L_ <sup>]2</sup> <sup>_e_</sup>
<sup>2</sup>
_−_ 2
_u_ <sup>_p_</sup> _<u>j</u>_ <sup>∆</sup> <sup>_t_</sup>
_J_
_j_ =0
[8 _α_ ( _t −_ _tj_ ) + _r_ <sup>2</sup>
g _w_ ( _t,_ z <sup>_x_</sup> ) = _−_ _π_ <sup><u>8</u></sup>
_<u>β</u>_
_ϱcp_
8 _α_ ( _t−tj_ )+ _rL_ <sup><u>2</u></sup> ( z <sup>_x_</sup> _−_ y _j_ <sup>_x_</sup>
_<u>∥</u>_ z <sup>_x_</sup> _<u>−</u>_ y _<u>j</u>_ <sup>_x_</sup>
_<u>j</u>_ <sup>_x∥_</sup> <sup>2</sup>
Hence, stacking robot and droplet states in vector _χ_ = [ y _,_ z ] <sup>_T_</sup> _∈_ R <sup>_nχ_</sup>, the dynamic
model of the system is:
_M_ _χ_ ˙ _χ_ ( _t_ ) = _A_ _χ_ ( _χ_ ( _t_ )) _χ_ ( _t_ ) + _B_ _χ_ u ( _t_ ) + b _χ_ ( _t,_ _χ_ _,_ u ) (4.14)
for _t ∈_ [0 _, T_ ], where suitable matrices _M_ _χ_, _A_ _χ_ and _B_ _χ_ have to be introduced. Moreover,
notice that b _χ_ is a functional that takes as inputs the robot trajectory y <sup>_x_</sup> and laser
2A notable exception is represented by the time optimal MPC proposed in [38], which minimizes
the settling time of the system.
_4.3._ _OCP_ _WITH_ _ANALYTICAL_ _STRATEGY_ 61
power _u_ <sup>_p_</sup> . The size of state _χ_ is _nχ_ = 8 because it comprises position and velocity
of both robot and droplet; the size of control u is _nu_ = 3 or _nu_ = 2 depending on
whether laser power is controlled or not. Initial and final conditions can be written as
in §4.1, with matrix _B_ _T_ selecting constraint states at the final time:
_χ_ (0) = _χ_ <sup>_i_</sup> _,_ _B_ _T_ _χ_ ( _T_ ) = _χ_ <sup>_f_</sup> _B_ (4.15)
By applying the linear time transformation _t_ = _Tτ_ and inverting (diagonal) matrix
_M_ _χ_ the dynamics can be expressed as in §4.1, introducing the functional _ψ_ _τ_ :
_χ_ <sup>_′_</sup> ( _τ_ ) = _ψ_ _τ_ ( _τ, T,_ _χ_ _,_ u ) (4.16)
whose explicit expression is:
g _w_ ( _Tτ,_ z <sup>_x_</sup> _,_ y <sup>_x_</sup> _, u_ <sup>_p_</sup> ) _−_ _m_ <sup>_<u>cD</u>_</sup> _D_
z <sup>_v_</sup>
_mbDD_ g _w_ ( _Tτ,_ z <sup>_x_</sup> _,_ y <sup>_x_</sup> _, u_
(4.17)
_∥_ z <sup>_v_</sup> _∥_ z <sup>_v_</sup>
_ψ_ _τ_ ( _τ, T,_ _χ_ _,_ u ) = _T_
y <sup>_v_</sup>
_mbLL_ u <sup>_i_</sup> _−_
_mL_
_mD_
u <sup>_i_</sup> _−_ _m_ <sup>_<u>cL</u>_</sup> _L_
y <sup>_v_</sup>
Similarly for boundary conditions at _τ_ = 0 and _τ_ = 1, it is:
_χ_ (0) = _χ_ <sup>_i_</sup> _,_ _B_ _T_ _χ_ (1) = _χ_ <sup>_f_</sup> _B_ (4.18)
As noticed before, system dynamics depends on the past history because temperature
field has to be computed considering all the past laser pulses. Actually, effect of past
pulses becomes less important as distance in time increases. Thus, in order to lighten
the computational effort, it may be advisable to consider only laser pulses within a
fixed-length time interval in the past, ensuring that previous pulses have a negligible
effect on the actual dynamics.
Time discretization Let us build a time grid Γ _τ_ over the normalized time domain
_τ_ _∈_ [0 _,_ 1], equispaced for simplicity with step size ∆ _τ_ = 1 _/N_ .
Γ _τ_ = _{τk|τk_ = _k_ ∆ _τ, k_ = 0 _,_ 1 _, . . ., N_ _}_ (4.19)
The corresponding (physical) time grid Γ depends on the _a_ _priori_ unknown final time
_T_, and the time step size is ∆ _t_ = _T_ ∆ _τ_ = _T/N_ . Parameter _N_ has to be carefully
chosen before solving the problem, when a value for the final time _T_ is not available.
Also, it is advisable to select a suitable value for _N_ because it affects the accuracy of
the approximation of system dynamics. On the other hand, large values of _N_ lead to
high computational effort and time. Thus, _a_ _priori_ knowledge should be employed to
have a good estimate of _T_ and then a suitable choice of _N_ .
Let us adopt a piece-wise constant parametrization of controls and forward finite
difference scheme for state discretization. Denoting the approximation _χ_ ( _τk_ ) _≈_ _χ_ _k_,
the update equation is:
_χ_ _k_ +1 = _χ_ _k_ + ∆ _τ_ _ψ_ _τ_ ( _τk, T,_ _χ_ 0 _,...,k,_ u 0 _,...,k_ ) (4.20)
where _χ_ 0 _,...,k_ = _{_ _χ_ _j|j_ = 0 _, . . ., k}_ and u 0 _,...,k_ = _{_ u _j|j_ = 0 _, . . ., k}_ collect states and
controls.
62 _CHAPTER_ _4._ _OPTIMAL_ _CONTROL_
Direct transcription Standard optimizers, e. g. IPOPT and `fmincon` provided by
Matlab, are designed to find (local) solutions of NLP problems of the form:
minimize _f_ ( x )
subject to g ( x ) = 0
h ( x ) _≥_ 0
x _l_ _≤_ x _≤_ x _u_
(4.21)
where _f_, g and h are objective, equality constraints and inequality constraints functions
respectively. Vectors x _l_ and x _u_ denote lower and upper bounds on variables in x ;
inequalities hold component wise.
Let us define the vector of optimization variables x _∈_ R <sup>_nx_</sup> composed by final time,
states and controls at each time step, whose size is _nx_ = 1 + ( _N_ + 1)( _nχ_ + _nu_ ). In the
case _N_ = 100 and _nu_ = 2, the NLP has _nx_ = 1011 optimization variables.
x = [ _T,_ _χ_ 0 _, . . .,_ _χ_ _N_ _,_ u 0 _, . . .,_ u _N_ ] <sup>_T_</sup> (4.22)
Cost functional of Problem TOCP is _J_ = _T_, hence objective function is _f_ ( x ) = _T_ .
Equality constraints g ( x ) impose initial <sup>3</sup> and final conditions and make the system to
evolve satisfying the discrete-time dynamic model.
_B_
_B_ _T_ _χ_ _N_ _−_ _χ_ <sup>_f_</sup>
_χ_ 1 _−_ _χ_ 0 _−_ ∆ _τ_ _ψ_ _τ_ ( _τ_ 0 _, T,_ _χ_ 0 _,_ u 0)
_χ_ 2 _−_ _χ_ 1 _−_ ∆ _τ_ _ψ_ _τ_ ( _τ_ 1 _, T,_ _χ_ 0 _,_ 1 _,_ u 0 _,_ 1)
_B_
_B_ _T_ _χ_ _N_ _−_ _χ_ <sup>_f_</sup>
_χ_ 0 _−_ _χ_ <sup>_i_</sup>
g ( x ) =
(4.23)
...
_χ_ _N_ _−_ _χ_ _N_ _−_ 1 _−_ ∆ _τ_ _ψ_ _τ_ ( _τN_ _−_ 1 _, T,_ _χ_ 0 _,...,N_ _−_ 1 _,_ u 0 _,...,N_ _−_ 1)
Bounds on droplet and robot states and controls, e. g. maximum robot velocities
or motor currents, are embedded into the problem using simple boxes in the form
x of _l_ _≤_ the x _≤_ liquid x _u_ instead ofdomain h or( x strong) _≥_ 0 .couplingThis may become infeasible with complex geometriesbetween states and/or controls. Equality
constraints comprise boundary conditions and discrete-time dynamics, thus g ( x ) _∈_ R <sup>_ng_</sup>
with _ng_ = ( _N_ + 2) _nχ_ . In the case _N_ = 100, the NLP has _ng_ = 816 equality constraints.
Inequality constraints may be adopted to enforce final conditions in a softer way w.r.t.
equality constraints, for instance to move the droplet in a given area around a point,
instead of exactly in a given point. The same idea could be exploited by using simple
bounds, e. g. to move the droplet in a rectangular domain.
Gradient and Jacobian Gradient-based optimizers may take advantage of explicit
expressions for the first and second derivatives of objective and constraint functions _f_
3Equality constraint for initial conditions may be explicitly solved for the initial state, _χ_ 0 = _χ_ _i_,
and so initial condition _χ_ <sup>_i_</sup> can be used instead of the initial state _χ_ 0. Actually, this would eliminate a
trivial constraint and lighten a bit the computation. On the other hand, as proposed in [3], in MPC
applications it may be useful and more powerful to consider the initial condition as a parameter of
the problem and the initial state as an optimization variable. In [3] this approach is called _initial_
_value_ _embedding_ . The key feature is that derivatives w.r.t. the initial state are available. Between
consecutive OCPs in MPC iterations, initial conditions may slightly change, following the system
evolution. Convergence of the warm-started algorithm to approximate the solution of each OCPs is
typically faster whenever derivatives can be easily computed.
_4.3._ _OCP_ _WITH_ _ANALYTICAL_ _STRATEGY_ 63
and g with respect to optimization variables x . First and second derivatives of _f_ are
easily obtained for the pure minimum time problem:
_∇_ x _f_ ( x ) =
1 0 _. . ._ 0 (4.24)
<sup>0</sup> - - (4.25)
_∇_ x <sup>2</sup>
x <sup>2</sup> <sup>_f_</sup> <sup>(</sup> <sup>x</sup> <sup>) =</sup> <sup>0</sup> (4.25)
Jacobian matrix of the constraint function g w.r.t. optimization variables x can be
written in explicit form, namely:
(4.26)
_∇_ xg ( x ) =
_<u>∂</u>_ <u>g</u>
_. . ._ _. . ._
_∂T_ _∇_ _χ_ 0 g _∇_ _χ_ _N_ g _∇_ u 0 g _∇_ u _N_ g
Its derivation is reported for completeness in Appendix B while the Hessian of g has
not been calculated explicitly. Notice that the Jacobian matrix _∇_ xg ( x ) has _ngnx_
entries, thus its size grows quadratically with respect to the number of nodes in the
time grid.
_ngnx_ = ( _N_ + 2) _nχ_ [1 + ( _N_ + 1)( _nχ_ + _nu_ )] = _O_ ( _N_ <sup>2</sup> ) (4.27)
4.3.1 Numerical solution
Mathematical optimization problems, like the one in (4.21), have been widely investigated and many different techniques are available to find a solution, perhaps numerical
and approximate. One may use algorithms that takes a finite number of steps to find
a solution, or iterative methods that converge to a solution or other heuristics.
Non-linear programming problems often require iterative or heuristic methods.
Heuristics is a class of algorithms which cannot guarantee to find a solution; typically these algorithms gain a trade-off between optimality, computational time and
completeness and may be useful from the practical point-of-view. Iterative methods
generate successive improved approximations of the solution starting from an initial
guess. These methods may use informations about the problem, i. e. they evaluate
Hessians, gradient or only function values. Evaluating derivatives may improve the
rate of convergence but also increases the computational cost of each iteration. Newton’s method, sequential quadratic programming (SQP) and interior point methods
require to evaluate Hessians, or to approximate Hessians, e. g. using finite differences.
Quasi-Newton’s, steepest descent, conjugate gradient and coordinate descent methods
use gradients or approximated gradients only. Finally, methods that use only function
values are called direct search methods; for instance these comprise pattern search and
Nelder-Mead method (also known as simplex method).
The best method and algorithm depend on the particular problem and the choice
should be influenced by the relative computational cost for evaluating objective and
constraint functions and their derivatives.
Gradient-based optimizer Analytical expressions of objective function gradient
and constraint function Jacobian have been derived explicitly. Most of the computational effort is in calculating thermal gradient and its derivatives. It is highlighted
from Equations (B.16)-(B.17)-(B.19)-(B.20) in Appendix B that the computational
costs to evaluate temperature gradient and its Jacobian matrix are comparable - the
Jacobian matrix is sparse but likely requires more memory. Thus it is probably more
efficient to use a gradient-based optimizer and to evaluate the analytical expression of
the Jacobian instead of using a finite difference approximation (that uses more than
one function evaluation).
64 _CHAPTER_ _4._ _OPTIMAL_ _CONTROL_
Table 4.1: Reference parameters of robot model.
_mL_ 1 kg
_cL_ 2 N s _/_ m
_bL_ 10 N _/_ A
_i_ <sup>max</sup> 1 A
_<u>vL</u>_ <sup>max</sup> <u>0</u> _<u>.</u>_ <u>5</u> <u>m</u> _<u>/</u>_ <u>s</u>
Initial guess Iterative optimization algorithms typically requires an initial guess,
that is an estimate of the solution, to start the iterating process. As proposed and
implemented in [74], an initial guess can be generated solving a reference tracking
problem, like Problem TMPC proposed in §4.1, that requires none or a much simpler
initial guess. A feasible approach to this problem is reported and discussed in §4.4.
If trajectory optimization is not embedded into the problem, a reference path
has to be generated. In simple domains, e. g. when the shape of the liquid layer is
convex, and no obstacles are present, the reference path may be the line connecting
the actual position to the target position of the droplet. With more complex scenarios
the definition of a reference path may be quite involved. A possible approach to
face this problem is to simulate the evolution of system with a _cold_ laser beam that
refrigerate the target position — extracting heat instead of releasing heat. The induced
temperature gradient attracts and eventually moves the droplet toward the desired
position, overtaking obstacles and corners. It is interesting to notice that using this
ideal _cold_ laser beam the control mechanism is stable and much robust (unfortunately
its practical implementation is difficult at the moment).
Finally, it should be noticed that solution to Problem TMPC could be found
neglecting the robot dynamics and using laser position as control input. Then original
robot controls and states can be reconstructed by means of the robot inverse dynamics.
This procedure is feasible because the robot model is simple and treatable enough.
4.3.2 Simulation results
The `fmincon` routine provided by Matlab has been used to solve (4.21), Tab. 4.2.
We highlight the fact that reported results may correspond to local optima found as
solution of the OCP. Liquid and droplet properties and reference robot parameters
are reported in Tab. 3.2 and Tab. 4.1 respectively. Time step size ∆ _t_ = _T/N_ and the
number of optimization variables _nx_ = 1 + 10( _N_ + 1) depend on the number of nodes
_N_ and the final time _T_ . The latter is known _a_ _posteriori_, while the number of nodes
only after the generation of a guess, that uses a fixed time step and stops when the
final point is reached within a given tolerance.
Tests The approach has been tested with two particular final conditions, viz. free
and zero final velocity of the droplet; final state of the robot is left free. Initially both
droplet and robot have null velocity and the latter is in y <sup>_x_</sup> = [0 _,_ 0] <sup>_T_</sup> . Initial and final
conditions have been enforced with the equality constraint functions—hence they are
hard constraints.
Guess Problem TMPC (4.7) has been solved to generate an initial guess, using the
`patternsearch` routine provided by Matlab, as explained in §4.4. Reference path is a
_4.3._ _OCP_ _WITH_ _ANALYTICAL_ _STRATEGY_ 65
Table 4.2: Options for `fmincon` in Matlab.
_Algorithm_ _interior-point_
_HessianApproximation_ _BFGS_
_MaxIterations_ 300
_MaxFunctionEvaluations_ 1500
5
4
3
2
1
_ConstraintTolerance_ 1 _×_ 10 <sup>_−_</sup> <sup>12</sup>
_OptimalityTolerance_ <u>1</u> _<u>×</u>_ <u>10</u> <sup>_<u>−</u>_</sup> <sup>3</sup>
5
4
D
L
D
L
3
2
1
0
0 1 2 3 4 5
_x_ [mm]
(a) _Free_ _final_ _velocity_ .
0
0 1 2 3 4 5
_x_ [mm]
(b) _Zero_ _final_ _velocity_ .
Figure 4.4: Droplet and laser paths.
straight line from the initial to the final position. The time step used for generating
the guess solution is ∆ _t_ = 50 ms, but this only defines the refinement of the normalized
time grid, and the time horizon _T_ horiz = 1 s. Optimizer option on mesh tolerance has
been set _TolMesh_ = 10 _µ_ m, being a trade-off between accuracy and speed in guess
solution generation.
Results and discussion The solution found by the optimizer may slightly violate
dynamical constraints. Thus, optimal controls are selected from the vector of optimized
variables and are used to integrate the system dynamics to obtain an evolution that
strictly satisfies constraints [74].
Paths of droplet and laser for free and zero final droplet velocity are reported
graphically in Fig. 4.4. Then, in Fig. ?? and Fig. 4.6a positions and velocities along
the _x_ axis are shown.
Let us discuss about the case of free final velocity, where the laser always pushes the
droplet. Looking at Fig. 4.6b it is clear that there exists a droplet-laser distance that
maximizes the velocity of migration. One may analyse this problem from the point-ofview of §3.2.3. However, steady state conditions are not reached in the simulated time
66 _CHAPTER_ _4._ _OPTIMAL_ _CONTROL_
Table 4.3: Results for different final conditions on droplet velocity.
free zero
_N_ 87 113
_nx_ 881 1141
_T_ 4 _._ 50 12 _._ 33 s
<u>∆</u> _<u>t</u>_ <u>0</u> _<u>.</u>_ <u>041</u> <u>0</u> _<u>.</u>_ <u>109</u> <u>s</u>
4
2
D
L
0
0 1 2 3 4
_t_ [s]
(a) _Free_ _final_ _velocity_ .
4
2
D
L
0
0 2 4 6 8 10 12
_t_ [s]
(b) _Zero_ _final_ _velocity_ .
Figure 4.5: Droplet and laser position along the _x_ axis.
slot; actually, it seems that the droplet is uniformly accelerated, because of the almost
linear speed profile, Fig. 4.6a. Droplet temperature initially arises due to the laser
heating, Fig. 4.7a, but then decreases as droplet (and robot) speed increases—because
less energy per unit volume is released at higher speed. Simultaneously, temperature
gradient exhibits almost the same behaviour, Fig. 4.7b. Then, after stopping the laser
heating, droplet is subject to drag and thermocapillary force induced by the residual
unsteady temperature field, so without the dominant driving force the droplet slows
down [74].
Considering the case of zero final velocity, the optimal strategy is quite different.
As reported in Fig. 4.4 for zero final velocity, the robot moves repeatedly from behind
the droplet to the neighbourhood of the target position. In particular, the robot starts
pushing the droplet, it moves close to the target—after the target w.r.t. the droplet—,
then it pushes again the droplet and finally it adjusts the trajectory, Fig. 4.5. So it
resembles that the optimal strategy takes advantage of the slow thermal dynamics
to prepare in advance the thermal gradient needed to stop the droplet. We expect
that the timing of these steps would depend on the time constants of the system, in
particular the ratio between droplet and temperature time constants. It is notable
that in the pushing phase (around _t ≈_ 6 s and _t ≈_ 10 s in Fig. 4.6b) the laser-droplet
distance is quite similar to the quasi-constant distance in the case of free final velocity.
Temperature profile in this case has a maximum close to the final time, because of
the initial heating to brake the droplet at the end, and it is higher than the peak in
the case of free final velocity, Fig. 4.7a. Conversely, temperature gradient is much
_4.3._ _OCP_ _WITH_ _ANALYTICAL_ _STRATEGY_ 67
1 _._ 5
free
zero
1
0 _._ 5
0
0 2 4 6 8 10 12
_t_ [s]
(a) _Droplet_ _velocity_ .
0
0 2 4 6 8 10 12
_t_ [s]
(b) _Droplet-laser_ _distance_ .
4
2
free
<u>zero</u>
Figure 4.6: Droplet velocity along the _x_ axis and droplet-laser distance for free and zero
final velocity.
1 <sup>_<u>·</u>_</sup> <sup><u>10</u></sup> <sup>_<u>−</u>_</sup> <sup>2</sup>
0 _._ 8
0 _._ 6
0 _._ 4
0 _._ 2
free
<u>zero</u>
15
10
5
free
zero
0
0 2 4 6 8 10 12
_t_ [s]
(a) _Temperature_ .
0
0 2 4 6 8 10 12
_t_ [s]
(b) _Temperature_ _gradient_ .
Figure 4.7: Temperature and temperature gradient in droplet position for free and zero final
velocity.
68 _CHAPTER_ _4._ _OPTIMAL_ _CONTROL_
smaller on average—otherwise higher speed is reached and higher temperature gradient
is needed to brake—, Fig. 4.7b. Finally, we can notice the rupture of symmetry in
the laser spot trajectory, Fig. 4.4. Only few points are captured (due to large robot
acceleration and large time step) but it is clear that the laser would shut down in those
points, in order to not affect droplet dynamics [74].
##### 4.4 MPC with analytical strategy
This Section faces the reference tracking optimal control problem, Problem TMPC,
formulated in §4.1 and follows the _analytical_ _strategy_ proposed in §4.2 and exploited in
§4.3. The strategy is graphically resumed in Fig. 4.3.
The denomination of Problem TMPC refers to the fact that this problem may be
solved on-line to generate a model-based feedback controller, that is the basic idea of
MPC.
Dynamical model Let us recall the mathematical model of robot and droplet
dynamics, Eq. (4.12), expressed in Eq. (4.14) in terms of vector _χ_ = [ y _,_ z ] <sup>_T_</sup> . The
dynamic model for _t ∈_ [0 _, T_ ] reads:
_χ_ ˙ ( _t_ ) = _ψ_ ( _t,_ _χ_ _,_ u ) (4.28)
where functional _ψ_ accounts for the subsumed thermal field.
Curvilinear coordinates Let us focus on the kinematics of curvilinear coordinates,
that has to be integrated to evaluate the cost functional _J_ MPC of Problem TMPC (4.7).
A given reference path _γ_, i. e. a planar smooth curve, is parametrized by the curvilinear
abscissa _s ∈_ [0 _, L_ ], where _L ∈_ (0 _,_ + _∞_ ) is the curve length. The curve _γ_ is described by
its curvature _ϱγ_ ( _s_ ), _s ∈_ [0 _, L_ ]; initial point [ _xγ_ (0) _, yγ_ (0)] and orientation _ϑγ_ (0) permit
to locate every point of _γ_ in a fixed absolute reference frame. In particular, the given
path can be expressed in a Cartesian coordinate system by integrating:
_xγ_ ( _s_ ) = _xγ_ (0) +
_yγ_ ( _s_ ) = _yγ_ (0) +
_ϑγ_ ( _s_ ) = _ϑγ_ (0) +
0
- _s_
0
0
- _s_
_ϱγ_ ( _s_ ) d _s_
0
cos _ϑγ_ ( _s_ ) d _s_
0
_s_
sin _ϑγ_ ( _s_ ) d _s_
0
_s_
0
0
- _s_
(4.29)
Droplet position can be represented using its distance _n_ from the nearest point on the
curve and the curvilinear abscissa _s_ of that point. There is no meaning in defining the
orientation of a point-mass droplet, hence vector _ξ_ = [ _s, n_ ] <sup>_T_</sup> completely describes the
droplet configuration. Let us assume that for any given droplet position z <sup>_x_</sup> = [ _xD, yD_ ] <sup>_T_</sup>
and curve _γ_ there exist _ξ_ = [ _s, n_ ] <sup>_T_</sup> such that the following hold:
_xD_ = _xγ_ ( _s_ ) _−_ _n_ sin _ϑγ_ ( _s_ ) (4.30)
_yD_ = _yγ_ ( _s_ ) + _n_ cos _ϑγ_ ( _s_ )
Assumption (4.30) is verified if curve _γ_ is smooth enough. Actually, it may happen
that more than one point [ _xγ_ ( _s_ ) _, yγ_ ( _s_ )] on the curve satisfies the condition (4.30).
_4.4._ _MPC_ _WITH_ _ANALYTICAL_ _STRATEGY_ 69
Let us analyse the evolution of droplet position in curvilinear coordinates. Considering time-varying droplet position, z <sup>_x_</sup> ( _t_ ) = [ _xD_ ( _t_ ) _, yD_ ( _t_ )] <sup>_T_</sup>, the first time derivative
leads to (omitting time dependence):
_s_ ˙ _−_ sin _ϑγ_ ( _s_ ) ˙ _n_
_s_ ˙ + cos _ϑγ_ ( _s_ ) ˙ _n_
_x_ ˙ _D_ =
_y_ ˙ _D_ =
d _s_ <sup>(</sup> <sup>_s_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_n_</sup> <sup>cos</sup> <sup>_ϑγ_</sup> <sup>(</sup> <sup>_s_</sup> <sup>)</sup> <sup><u>d</u></sup> d <sup>_<u>ϑ</u>_</sup> _s_ <sup>_<u>γ</u>_</sup>
- <u>d</u> _<u>xγ</u>_
d _s_ <sup>(</sup> <sup>_s_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_n_</sup> <sup>sin</sup> <sup>_ϑγ_</sup> <sup>(</sup> <sup>_s_</sup> <sup>)</sup> <sup><u>d</u></sup> d <sup>_<u>ϑ</u>_</sup> _s_ <sup>_<u>γ</u>_</sup>
- <u>d</u> _<u>yγ</u>_
<sup><u>d</u></sup> d <sup>_<u>ϑ</u>_</sup> _s_ <sup>_<u>γ</u>_</sup> <sup>(</sup> <sup>_s_</sup> <sup>)</sup>
d <sup>_<u>ϑ</u>_</sup> _s_ <sup>_<u>γ</u>_</sup> <sup>(</sup> <sup>_s_</sup> <sup>)</sup>
(4.31)
Thus, the relationship between velocities in Cartesian and curvilinear coordinates is
linear; substituting (4.29) it reduces to:
=
_y_ ˙ _D_
- _x_ ˙ _D_
_−_ sin _ϑγ_ ( _s_ )
�cossin _ϑ ϑγγ_ (( _ss_ ) (1) (1 _− −_ _nϱnϱγγ_ (( _ss_ )))) cos _ϑγ_ ( _s_ ) �� _ns_ ˙˙
(4.32)
and, whenever _n̸_ = 1 _/ϱγ_ ( _s_ ), the inverse transformation is obtained by inverting the
matrix:
<u>cos</u> _<u>ϑγ</u>_ <u>(</u> _<u>s</u>_ <u>)</u> <u>sin</u> _<u>ϑγ</u>_ <u>(</u> _<u>s</u>_ <u>)</u>
_s_ ˙
= (4.33)
_n_ ˙ 1 _−_ _nϱγ_ ( _s_ ) 1 _−_ _nϱγ_ ( _s_ ) _y_ ˙ _D_
- - cos _ϑγ_ ( _s_ ) - _x_ ˙ _D_
_−_ sin _ϑγ_ ( _s_ )
(4.33)
=
_̸_
_̸_
<u>cos</u> _<u>ϑγ</u>_ <u>(</u> _<u>s</u>_ <u>)</u> <u>sin</u> _<u>ϑγ</u>_ <u>(</u> _<u>s</u>_ <u>)</u>
1 _−_ _nϱγ_ ( _s_ ) 1 _−_ _nϱγ_ ( _s_ )
_−_ sin _ϑγ_ ( _s_ ) cos _ϑγ_ ( _s_ )
_y_ ˙ _D_
- _x_ ˙ _D_
Finally, kinematics of curvilinear coordinates can be written as:
_ξ_ ˙ ( _t_ ) = _R_ _γ_ ( _ξ_ ( _t_ )) z ( _t_ ) _t ∈_ [0 _, T_ ] (4.34)
and it can be integrated in parallel to droplet motion, in order to update its relative
position w.r.t. the desired path _γ_ and to evaluate the cost functional _J_ MPC (4.6).
Time discretization Let us build a time grid Γ over the time domain _t_ _∈_ [0 _, T_ ],
equispaced for simplicity with step size ∆ _t_ = _T/N_ . Final time _T_ is typically called
time horizon in the MPC framework.
Γ = _{tk|tk_ = _k_ ∆ _t, k_ = 0 _,_ 1 _, . . ., N_ _}_ (4.35)
Time step size ∆ _t_, and so number of points _N_ for a given time horizon, affects the
accuracy of the discrete-time evolution and the computational time for the integration.
Control parametrization and state discretization have been already discussed for system
dynamics in §4.3. Denoting the approximation _χ_ ( _tk_ ) _≈_ _χ_ _k_, the update equation of
system state is:
_χ_ _k_ +1 = _χ_ _k_ + ∆ _t_ _ψ_ ( _tk,_ _χ_ 0 _,...,k,_ u 0 _,...,k_ ) (4.36)
Let us consider the discrete-time update of curvilinear coordinates _ξ_ ( _tk_ ) _≈_ _ξ_ _k_ for
_k_ _∈{_ 0 _,_ 1 _, . . ., N_ _}_ . Adopting Heun’s method an intermediate estimate _ξ_ <sup>ˆ</sup> _k_ +1 of the next
state is calculated by using the explicit Euler’s scheme, Eq. (4.37). Then, trapezoidal
rule refines the final estimate _ξ_ _k_ +1 at the next integration point, Eq. (4.38).
_ξ_ ˆ _k_ +1 = _ξ_ _k_ + ∆ _t_ _R_ _γ_ ( _ξ_ _k_ ) z _k_ (4.37)
(4.38)
_ξ_ _k_ +1 = _ξ_ _k_ + <sup><u>∆</u></sup> <sup>_<u>t</u>_</sup>
2
_R_ _γ_ ( _ξ_ <sup>ˆ</sup> _k_ +1) z _k_ +1 + _R_ _γ_ ( _ξ_ _k_ ) z _k_
Update rule (4.37)–(4.38) can be applied only if the next droplet state z _k_ +1 is available.
Thus, system state has to be updated with Eq. (4.36) and then curvilinear coordinates
can be updated accordingly.
70 _CHAPTER_ _4._ _OPTIMAL_ _CONTROL_
Notice that Heun’s method has been chosen because it leads to an explicit update
equation. Trapezoidal rule arises if the intermediate estimate _ξ_ <sup>ˆ</sup> _k_ +1 in (4.38) is replaced
by the actual value of _ξ_ _k_ +1. In this case an implicit equation has to be solved to find
_ξ_ _k_ +1. Reference paths for droplet manipulation are reasonably supposed to be smooth,
then Heun’s method and trapezoidal rule are expected to return similar estimations.
Thus, the explicit method is favoured in this case because it requires less computational
effort and gives similar results.
Cost functional Let us focus on cost functional _J_ MPC, defined in Eq. (4.6), that
takes into account both speed and accuracy of tracking. In a discrete-time settings,
it has to be approximated by using a time grid and a quadrature rule. For the sake
of simplicity, let us consider the time grid Γ defined above (so that interpolation is
not needed) with uniform time step ∆ _t_ and adopt the trapezoidal rule, neglecting the
error term of order _O_ (∆ _t_ <sup>2</sup> ).
_n_ <sup>2</sup> _k_
_N_ _−_ 1
_k_ =0
<u>∆</u> _<u>t</u>_
2
_J_ MPC = _−s_ ( _T_ ) + _ωn_
0
- _T_
0 _n_ <sup>2</sup> ( _t_ ) d _t ≈−sN_ + _ωn_
_T_
<sup>2</sup> _k_ <sup>+</sup> <sup>_n_</sup> _k_ <sup>2</sup>
_k_ +1
(4.39)
wheredynamics _sk_ _≈_ (4.36 _s_ ( _t_ )-( _k_ )4.37and)-( _n_ 4.38 _k_ _≈_ ). _n_ ( _tk_ ) for _tk_ _∈_ Γ are computed with the discrete-time
Control input In practice, it is interesting to analyse the case when robot dynamics
is much faster than droplet dynamics. In this scenario, one could isolate the robot
dynamics in order to simplify the OCP. The optimal control of this simplified OCP is
a trajectory of the laser beam that moves the droplet as desired.
Actually, this trajectory can be a reference for a low-level controller that drives
the robot. Another approach for robot control is to employ its inverse dynamics and
to reconstruct the control inputs to generate the desired trajectory (if feasible). This
strategy can be exploited here because model in §2.1 is simple enough.
Given a sequence of laser positions _{_ x _L,k|k_ = 0 _,_ 1 _, . . ., N_ _}_ with x _L,k_ _≈_ x _L_ ( _tk_ ),
velocity v _L,k_ and acceleration a _L,k_ can be estimated. Omitting the errors due to the
forward finite difference approximation, for _k_ _∈{_ 1 _, . . ., N_ _−_ 1 _}_ they are given by:
v _L,k_ = <sup><u>x</u></sup> <sup>_<u>L,k</u>_</sup> <sup><u>+1</u></sup> <sup>_<u>−</u>_</sup> <sup><u>x</u></sup> <sup>_<u>L,k</u>_</sup>
∆ _t_
a _L,k_ = <sup><u>x</u></sup> <sup>_<u>L,k</u>_</sup> <sup><u>+1</u></sup> <sup>_<u>−</u>_</sup> <sup><u>2</u></sup> <sup><u>x</u></sup> <sup>_<u>L,k</u>_</sup> <sup><u>+</u></sup> <sup><u>x</u></sup> <sup>_<u>L,k−</u>_</sup> <sup><u>1</u></sup>
∆ _t_ <sup>2</sup>
(4.40)
Values for _k_ _∈{_ 0 _, N_ _}_ can be found using other approximations, e. g. backward finite
difference scheme. Substituting y ˙ <sup>_v_</sup> ( _tk_ ) = a _L,k_ and y <sup>_v_</sup> ( _tk_ ) = v _L,k_ in robot model (2.5),
an estimate of robot control input u <sup>_i_</sup> _k_ <sup>_≈_</sup> <sup>u</sup> <sup>_i_</sup> <sup>(</sup> <sup>_tk_</sup> <sup>)</sup> <sup>can</sup> <sup>be</sup> <sup>found,</sup> <sup>namely:</sup>
<sup>_i_</sup> _k_ <sup>_≈_</sup> <sup>u</sup> <sup>_i_</sup> <sup>(</sup> <sup>_tk_</sup> <sup>)</sup> <sup>can</sup> <sup>be</sup> <sup>found,</sup> <sup>namely:</sup>
<sup>_i_</sup> _k_ <sup>=</sup> <sup>_<u>cL</u>_</sup>
_bL_
u <sup>_i_</sup>
_bL_
v _L,k_ + <sup>_<u>mL</u>_</sup>
_bL_
a _L,k_ (4.41)
The sequence of control inputs _{_ u <sup>_i_</sup> _k_ <sup>_|k_</sup> <sup>= 0</sup> <sup>_,_</sup> <sup>1</sup> <sup>_, . . ., N_</sup> <sup>_}_</sup> <sup>may be used as a guess to initialize</sup>
the numerical solution of Problem TOCP with robot dynamics, §4.3.
4.4.1 Numerical solution
In MPC both accuracy and speed of the solution are considered, because of optimality
of the control loop and time constraints. In this setting typically a fast, perhaps
_4.4._ _MPC_ _WITH_ _ANALYTICAL_ _STRATEGY_ 71
Table 4.4: MPC parameters.
_T_ horiz 2 s
∆ _t_ 0 _._ 04 s
_T_ MPC 0 _._ 04 s
∆ _t_ MPC 0 _._ 04 s
_<u>ωn</u>_ <u>3</u> _<u>.</u>_ <u>33</u> _<u>×</u>_ <u>10</u> <sup>4</sup> <u>(m s)</u> <sup>_<u>−</u>_</sup> <sup>1</sup>
approximate, response is needed; after one time step another solution will be computed
in order to compensate for disturbances and inaccuracies in the model [3, 5, 39, 80]. To
this end, it is advisable to simplify as much as possible the OCP.
Here we neglect the robot dynamics, as suggested above, thus optimization variables
are laser positions. Moreover, we strongly limit the optimization space introducing a
constraint on the control sequence: future laser pulses have to be in the same position
x <sup>_∗_</sup> _L_ <sup>and</sup> <sup>laser</sup> <sup>switches</sup> <sup>off</sup> <sup>after</sup> <sup>_N_</sup> _L_ <sup>_∗_</sup> <sup>pulses,</sup> <sup>where</sup> <sup>_N_</sup> _L_ <sup>_∗_</sup> <sup>is</sup> <sup>specified</sup> <sup>by</sup> <sup>the</sup> <sup>user.</sup> <sup>With</sup>
these limitations, optimization variables are in a 2-dimensional space. Initial guess for
the next optimal control x <sup>_∗_</sup> _L_ <sup>could</sup> <sup>be</sup> <sup>the</sup> <sup>actual</sup> <sup>droplet</sup> <sup>position</sup> <sup>z</sup> <sup>_x_</sup> <sup>or</sup> <sup>laser</sup> <sup>position</sup>
<sup>_∗_</sup> _L_ <sup>and</sup> <sup>laser</sup> <sup>switches</sup> <sup>off</sup> <sup>after</sup> <sup>_N_</sup> _L_ <sup>_∗_</sup>
_L_ <sup>_∗_</sup> <sup>pulses,</sup> <sup>where</sup> <sup>_N_</sup> _L_ <sup>_∗_</sup>
the next optimal control x <sup>_∗_</sup> _L_ <sup>could</sup> <sup>be</sup> <sup>the</sup> <sup>actual</sup> <sup>droplet</sup> <sup>position</sup> <sup>z</sup> <sup>_x_</sup> <sup>or</sup> <sup>laser</sup> <sup>position</sup>
y <sup>_x_</sup>, or a position in between. Then, additional bounds could be imposed to take into
account the robot dynamics (2.5). For instance, robot velocity can be estimated by
using the finite difference approximation and then the displacement of the next time
step can be limited accordingly.
With these assumptions, Problem TMPC has only two optimization variables,
constrained with simple bounds. It may be convenient to adopt a derivative-free
optimizer to take advantage of the small optimization space, that is sampled to
evaluate the system evolution and then the corresponding cost. Optimization for
nonlinear MPC through a direct search approach has been recently discussed in [78].
The `patternsearch` routine provided by Matlab handles linear and non-linear equality
and inequality constraints and it has been used to generate results reported in this
Section.
The MPC runs every _T_ MPC and evaluates the cost functional over a time horizon
_T_ horiz, integrating the discrete-time dynamics of the system with time step ∆ _t_ MPC.
Given the solution, the corresponding control input is fed into the system, whose
evolution is computed with a (typically smaller) time step ∆ _t_ . Discrete-time update
rules are obtained by the trapezoidal rule, as explained in §2.3.2 and §3.4. Robot
dynamics is not considered in system evolution, thus laser positioning is instantaneous.
4.4.2 Simulation results
Tests The approach has been tested with the reference path shown in Fig. 4.8 and
free final condition, i. e. considering cost functional _J_ MPC (4.6). Initial droplet position
is given, while robot is placed initially according to the solution of the first MPC run.
The initial guess of each optimization process is the actual droplet position. Moreover,
the optimal laser position is constrained to be in a rectangular domain around the
reference path.
Results and discussion Let us discuss about the resulting evolution of the system,
with the MPC loop and instantaneous robot dynamics. Looking at Fig. 4.8 the control
strategy seems confused in the first part, when the droplet is close to the corner, and
72 _CHAPTER_ _4._ _OPTIMAL_ _CONTROL_
14
12
10
8
6
<u>D</u>
L
_γ_
6 8 10 12 14
_x_ [mm]
Figure 4.8: Reference tracking with no final constraints: droplet and laser path.
then more intuitive during the final part, when the laser pushes the droplet. Initially
the droplet is pushed forward and then laser goes outside the corner to induce a
temperature gradient able to move the droplet along the reference path. Then, the
same strategy of maximum pushing found in §4.3 in the case of free final velocity is
exploited, Fig. 4.10a. Droplet-laser distance in the final part is comparable with values
found above, Fig. 4.9b. Tracking performance in terms of maximum lateral deviation
is good, max _|n| <_ 1 mm, as evidenced in Fig. 4.9a. However, smaller deviations can
be achieved setting higher values of _ωn_ in the cost functional _J_ MPC to penalise the
lateral error.
Robot movements are instantaneous, in the sense that laser position is exactly
the solution of the previous MPC problem, with no filtering due to robot dynamics.
However, it is possible to reconstruct equivalent control inputs that would generate
the laser trajectory shown in Fig. 4.8. Finite difference approximation of laser velocity
and acceleration, reference robot parameters in Tab. 4.1, and Eq. (4.41) lead to the
equivalent controls, reported graphically in Fig. 4.10b.
Finally, a last consideration about the (coupled) effect of time horizon and control
parametrization. Let us look at Fig. 4.8 and Fig. 4.9a. Before the corner the laser
does not push at maximum and the droplet moves slowly. This happens because the
controller takes into account few laser pulses and then free evolution of the system (this
is the control parametrization). In this situation the time horizon is too long, in the
sense that the free evolution moves the droplet away from the path. This inhibits the
laser to push and slow down the motion. Then, close to the corner, the laser induces
a temperature gradient outside the corner to change droplet velocity direction. In
the end, the laser pushes as much as possible the droplet along the straight line—the
optimal laser-droplet distance is almost reached, Fig. 4.9b.
_4.4._ _MPC_ _WITH_ _ANALYTICAL_ _STRATEGY_ 73
20
15
10
5
0
_s_
_n_
0 1 2 3
_t_ [s]
(a) _Curvilinear_ _coordinates_ .
4
2
0
0 1 2 3
_t_ [s]
(b) _Droplet-laser_ _distance_ .
Figure 4.9: Reference tracking with no final constraints: curvilinear coordinates and droplet
laser distance.
20
D
_ix_
_<u>iy</u>_
L
15
10
5
0 1 2 3
_t_ [s]
(a) _Coordinates_ .
500
0
_−_ 500
0 1 2 3
_t_ [s]
(b) _Control_ .
Figure 4.10: Reference tracking with no final constraints: coordinates and reconstructed
robot control.
74 _CHAPTER_ _4._ _OPTIMAL_ _CONTROL_
##### 4.5 MPC with FE and direct strategy
This Section deals with the reference tracking OCP, Problem TMPC, formulated in
§4.1. The _direct_ _strategy_ consists in the full discretization of the space-time domain.
Here we adopt a FE discretization to get rid of the spatial coordinates, and obtaining a
(large-scale) system of ODEs. Time discretization and control parametrization are then
needed to numerically evaluate the evolution of the dynamical system. The strategy is
graphically resumed in Fig. 4.11.
As proposed in §4.4, a particular control parametrization and a direct search
optimizer are adopted to approximate an optimal control. Given a control input and
the actual state, and based on its mathematical model, the evolution of the system
within a finite time horizon is predicted, and this allows to evaluate a suitable cost
functional. This cost is a metric to optimize the injected control input, and a direct
search method carries out this task.
OCP
PDE-ODE
OS
PDE-ODE
discretize space <u>discretize</u> <u>time</u>
OCP ODE
OS ODE
Figure 4.11: Flow chart of the _direct_ _strategy_ .
Discrete OP
optimize
Discrete OS
Dynamical model Let us recall the mathematical models of robot (2.5), droplet
(2.92) and thermal dynamics (2.69), as developed in Chapter 2, the kinematics of
curvilinear coordinates (4.34) and consider the time interval [0 _, T_ ].
Section 2.3 explains the assumption of constant homogeneous boundary conditions
for the temperature field, w c( _t_ ) = 1 ¯ _w ∀t ∈_ [0 _, T_ ]. It is possible to take w.l.o.g. _w_ ¯ = 0 <sup>_◦_</sup> C,
so that the equation of thermal dynamics simplifies. Moreover, control input is here
composed by motor currents u <sup>_i_</sup> and laser power _u_ <sup>_p_</sup>, hence u = [ u <sup>_i_</sup> _, u_ <sup>_p_</sup> ] <sup>_T_</sup> . The overall
model for _t ∈_ [0 _, T_ ] reads:
_M_ _y_ ˙ y ( _t_ ) = _A_ _y_ y ( _t_ ) + _B_ _y_ u <sup>_i_</sup> ( _t_ )
_M_ ff w ˙ f ( _t_ ) = _−_ _K_ ff w f ( _t_ ) + f f ( y ( _t_ )) _u_ <sup>_p_</sup> ( _t_ )
_M_ _z_ ˙ z ( _t_ ) = _A_ _z_ ( z ( _t_ )) z ( _t_ ) + _B_ _z_ ( z ( _t_ )) w ( _t_ )
_ξ_ ˙ ( _t_ ) = _R_ _γ_ ( _ξ_ ( _t_ )) z ( _t_ )
(4.42)
Time integration Evolution of the continuous-time system can be approximated
by using a discrete-time model of its dynamics. It is worth to introduce a time grid
Γ = _{tk|tk_ = _k_ ∆ _t, k_ = 0 _,_ 1 _, . . ., N_ _}_, equispaced for simplicity, with time steps size
∆ _t_ = _T/N_ _>_ 0. Robot and liquid temperature discrete-time dynamics can be found
_4.5._ _MPC_ _WITH_ _FE_ _AND_ _DIRECT_ _STRATEGY_ 75
considering the trapezoidal rule, as reported in §3.3 and §2.3.2 respectively. Then, an
approximated trapezoidal rule can be used for droplet dynamics, in order to avoid an
implicit scheme, as shown in §3.4.
_M_ _y −_ <sup><u>∆</u></sup> 2 <sup>_<u>t</u>_</sup>
w f _,k_ =
_M_ _y_ + <sup><u>∆</u></sup> <sup>_<u>t</u>_</sup>
2
_M_ ff _−_ <sup><u>∆</u></sup> 2 <sup>_<u>t</u>_</sup>
_M_ _z_ + <sup><u>∆</u></sup> <sup>_<u>t</u>_</sup>
2
y _k−_ 1 + ∆ _t_ _B_ _y_
w f _,k−_ 1 + ∆ _t_ <sup>f</sup> <sup>f</sup> <sup>(</sup> <sup>y</sup> <sup>_k_</sup> <sup>)</sup> <sup>_u_</sup> _<u>k</u>_ <sup>_p_</sup>
_<u>k</u>_ <sup>+</sup> <sup>f</sup> <sup>f</sup> <sup>(</sup> <sup>y</sup> <sup>_k−_</sup> <sup>1)</sup> <sup>_up_</sup> _<u>k</u>_
<sup>_p_</sup>
2
(4.45)
_<u>k</u>_ <sup>+</sup> <sup>u</sup> <sup>_i_</sup>
y _k_ = _M_ _y_ + <sup><u>∆</u></sup> <sup>_<u>t</u>_</sup> _<u>k−</u>_ <u>1</u> (4.43)
_M_ _y −_ <sup><u>∆</u></sup> 2 <sup>_<u>t</u>_</sup> <sup>_A_</sup> <sup>_y_</sup> 2 <sup>_A_</sup> <sup>_y_</sup> y _k−_ 1 + ∆ _t_ _B_ _y_ 2
- - -
_M_ ff + <sup><u>∆</u></sup> <sup>_<u>t</u>_</sup> w f _,k_ = _<u>k</u>_ <sup>+</sup> <sup>f</sup> <sup>f</sup> <sup>(</sup> <sup>y</sup> <sup>_k−_</sup> <sup>1)</sup> <sup>_up_</sup> _<u>k−</u>_ <u>1</u>
2 <sup>_K_</sup> <sup>ff</sup> _M_ ff _−_ <sup><u>∆</u></sup> 2 <sup>_<u>t</u>_</sup> <sup>_K_</sup> <sup>ff</sup> w f _,k−_ 1 + ∆ _t_ <sup>f</sup> <sup>f</sup> <sup>(</sup> <sup>y</sup> <sup>_k_</sup> <sup>)</sup> <sup>_up_</sup> 2
- - -
2 <sup>_<u>t</u>_</sup> <sup>_A_</sup> <sup>_y_</sup>
y _k_ =
u <sup>_i_</sup> _<u>k</u>_
<sup>_i_</sup> _<u>k</u>_ <sup>+</sup> <sup>u</sup> <sup>_i_</sup>
<sup>_<u>t</u>_</sup>
2 <sup>_A_</sup> <sup>_y_</sup>
_M_ ff + <sup><u>∆</u></sup> <sup>_<u>t</u>_</sup> w f _,k_ = _<u>k</u>_ <sup>+</sup> <sup>f</sup> <sup>f</sup> <sup>(</sup> <sup>y</sup> <sup>_k−_</sup> <sup>1)</sup> <sup>_up_</sup> _<u>k−</u>_ <u>1</u>
2 <sup>_K_</sup> <sup>ff</sup> _M_ ff _−_ <sup><u>∆</u></sup> 2 <sup>_<u>t</u>_</sup> <sup>_K_</sup> <sup>ff</sup> w f _,k−_ 1 + ∆ _t_ <sup>f</sup> <sup>f</sup> <sup>(</sup> <sup>y</sup> <sup>_k_</sup> <sup>)</sup> <sup>_up_</sup> 2
- - -
(4.44)
_M_ _z_ _−_ <sup><u>∆</u></sup> 2 <sup>_<u>t</u>_</sup> <sup>_A_</sup> <sup>_z_</sup> <sup>(</sup> <sup>z</sup> <sup>_k−_</sup> <sup>1)</sup> z _k_ = _M_ _z_ + <sup><u>∆</u></sup> 2 <sup>_<u>t</u>_</sup> <sup>_A_</sup> <sup>_z_</sup> <sup>(</sup> <sup>z</sup> <sup>_k−_</sup> <sup>1)</sup> z _k−_ 1 + ∆ _t_ _B_ _z_ ( z _k−_ 1) <sup><u>w</u></sup> <sup>_<u>k</u>_</sup> <sup><u>+</u></sup> 2 <sup><u>w</u></sup> <sup>_<u>k−</u>_</sup> <sup><u>1</u></sup>
- - -
<sup>_<u>t</u>_</sup>
2 <sup>_K_</sup> <sup>ff</sup>
2 <sup>_<u>t</u>_</sup> <sup>_K_</sup> <sup>ff</sup>
<sup><u>∆</u></sup> 2 <sup>_<u>t</u>_</sup> <sup>_A_</sup> <sup>_z_</sup> <sup>(</sup> <sup>z</sup> <sup>_k−_</sup> <sup>1)</sup> z _k_ =
<sup><u>∆</u></sup> 2 <sup>_<u>t</u>_</sup> <sup>_A_</sup> <sup>_z_</sup> <sup>(</sup> <sup>z</sup> <sup>_k−_</sup> <sup>1)</sup> z _k−_ 1 + ∆ _t_ _B_ _z_ ( z _k−_ 1) <sup><u>w</u></sup> <sup>_<u>k</u>_</sup> <sup><u>+</u></sup> 2 <sup><u>w</u></sup> <sup>_<u>k−</u>_</sup> <sup><u>1</u></sup>
Curvilinear coordinates can be updated by applying Heun’s method, as developed in
§4.4.
(4.46)
_ξ_ ˆ _k_ = _ξ_ _k−_ 1 + ∆ _t_ _R_ _γ_ ( _ξ_ _k−_ 1) z _k−_ 1
_ξ_ _k_ = _ξ_ _k−_ 1 + ∆ _t_ <sup>_<u>R</u>_</sup> <sup>_<u>γ</u>_</sup> <sup><u>(</u></sup> <sup>_<u>ξ</u>_</sup> <sup>ˆ</sup> <sup>_<u>k</u>_</sup> <sup><u>)</u></sup> <sup><u>z</u></sup> <sup>_<u>k</u>_</sup> <sup><u>+</u></sup> <sup>_<u>R</u>_</sup> 2 <sup>_<u>γ</u>_</sup> <sup><u>(</u></sup> <sup>_<u>ξ</u>_</sup> <sup>_<u>k−</u>_</sup> <sup><u>1)</u></sup> <sup><u>z</u></sup> <sup>_<u>k−</u>_</sup> <sup><u>1</u></sup>
(4.47)
2 <sup>_<u>γ</u>_</sup> <sup><u>(</u></sup> <sup>_<u>ξ</u>_</sup> <sup>_<u>k−</u>_</sup> <sup><u>1)</u></sup> <sup><u>z</u></sup> <sup>_<u>k−</u>_</sup> <sup><u>1</u></sup>
Control and constraints In order to speed up the optimization process, perhaps
obtaining less accurate solutions, a suitable control parametrization is needed. There
exist different possibilities to obtain a low dimensional optimization space by mapping
optimization variables and controls at different levels. On example is the position
control proposed in §4.4.1, where _NL_ <sup>_∗_</sup> <sup>laser</sup> <sup>pulses</sup> <sup>are</sup> <sup>emitted</sup> <sup>on</sup> <sup>the</sup> <sup>same</sup> <sup>position</sup>
control proposed in §4.4.1, where _NL_ <sup>_∗_</sup> <sup>laser</sup> <sup>pulses</sup> <sup>are</sup> <sup>emitted</sup> <sup>on</sup> <sup>the</sup> <sup>same</sup> <sup>position</sup>
x <sup>_∗_</sup> _L_ <sup>.</sup> <sup>Other</sup> <sup>approaches</sup> <sup>comprise,</sup> <sup>for</sup> <sup>instance,</sup> <sup>the</sup> <sup>parametrization</sup> <sup>of</sup> <sup>robot</sup> <sup>currents,</sup>
acceleration or velocity, or robot path through the coefficients of parametric curves.
However, the main idea is to keep as small as possible the optimization space in order
to bound the computational time needed to find an (approximated) optimal control.
Constraints on control inputs may account for physical limitations of the system
and may be embedded into the optimization problem to further reduce the search
space. Actually, how the constraints are formulated depend on the specific control
parametrization. For instance, robot displacement during one time step is bounded in
an interval that depends on the actual state of the robot y and on the available control
input to the robot (e. g. motor currents _−_ i <sup>max</sup> _≤_ i _≤_ i <sup>max</sup> ). The constraint on the next
robot position may be y _k_ <sup>min</sup> _k_ where bounds y _k_ <sup>min</sup> and y _k_ <sup>max</sup> are given by:
_≤_ y _k_ _≤_ y <sup>max</sup>
_k_ <sup>min</sup> _k_
_≤_ y _k_ _≤_ y <sup>max</sup>
position may be y _k_ <sup>min</sup> _k_ where bounds y _k_ <sup>min</sup> and y _k_ <sup>max</sup> are given by:
_≤_ y _k_ _≤_ y <sup>max</sup>
i <sup>max</sup> + u <sup>_i_</sup>
y _k_ <sup>max</sup> = _M_ _y_ + <sup><u>∆</u></sup> <sup>_<u>t</u>_</sup> _<u>k−</u>_ <u>1</u>
_M_ _y −_ <sup><u>∆</u></sup> 2 <sup>_<u>t</u>_</sup> <sup>_A_</sup> <sup>_y_</sup> 2 <sup>_A_</sup> <sup>_y_</sup> y _k−_ 1 + ∆ _t_ _B_ _y_ 2
- - - - (4.48)
y _k−_ 1 + ∆ _t_ _B_ _y_
y _k−_ 1 + ∆ _t_ _B_ _y_
_k_ <sup>min</sup> and y _k_ <sup>max</sup>
y _k_ <sup>max</sup>
y _k_ <sup>min</sup>
_k_ where bounds y _k_ <sup>min</sup>
<sup>max</sup>
y _k_ <sup>max</sup> = _M_ _y_ + <sup><u>∆</u></sup> <sup>_<u>t</u>_</sup> _<u>k−</u>_ <u>1</u>
_M_ _y −_ <sup><u>∆</u></sup> 2 <sup>_<u>t</u>_</sup> <sup>_A_</sup> <sup>_y_</sup> 2 <sup>_A_</sup> <sup>_y_</sup> y _k−_ 1 + ∆ _t_ _B_ _y_ 2
- - -
y _k_ <sup>min</sup> = _M_ _y_ + <sup><u>∆</u></sup> <sup>_<u>t</u>_</sup> _<u>−</u>_ i <sup>max</sup> + u _<u>k</u>_ <sup>_i_</sup>
_M_ _y −_ <sup><u>∆</u></sup> 2 <sup>_<u>t</u>_</sup> <sup>_A_</sup> <sup>_y_</sup> 2 <sup>_A_</sup> <sup>_y_</sup> y _k−_ 1 + ∆ _t_ _B_ _y_ 2
- - -
2 <sup>_<u>t</u>_</sup> <sup>_A_</sup> <sup>_y_</sup>
_k_ <sup>max</sup> =
<sup>_<u>t</u>_</sup>
2 <sup>_A_</sup> <sup>_y_</sup>
i <sup>max</sup> + u <sup>_i_</sup>
(4.48)
_M_ _y_ + <sup><u>∆</u></sup> <sup>_<u>t</u>_</sup>
2
_M_ _y_ + <sup><u>∆</u></sup> <sup>_<u>t</u>_</sup>
2
<sup>_<u>t</u>_</sup>
2 <sup>_A_</sup> <sup>_y_</sup>
2 <sup>_<u>t</u>_</sup> <sup>_A_</sup> <sup>_y_</sup>
_k_ <sup>min</sup> =
_<u>−</u>_ i <sup>max</sup> + u _<u>k</u>_ <sup>_i_</sup>
+ u _<u>k</u>_ <sup>_i_</sup> _<u>−</u>_ <u>1</u>
2
Cost functional Cost functional _J_ MPC is here considered, as in §4.4. Given time
gridits discrete-timeΓ, relative weightapproximation _ωn_ and curvilinearis given incoordinatesEq. (4.39), _ξ_ _k_ namely:= [ _sk, nk_ ] <sup>_T_</sup> _≈_ _ξ_ ( _tk_ ) for _tk_ _∈_ Γ,
_N_ _−_ 1
_k_ =0
_k_ =0
(4.49)
_J_ MPC _≈−sN_ + _ωn_
<u>∆</u> _<u>t</u>_
2
<sup>2</sup> _k_ <sup>+</sup> <sup>_n_</sup> _k_ <sup>2</sup>
_k_ +1
_n_ <sup>2</sup> _k_
It is worth to remark that control effort is not penalised due to the simple definition of
these costs.
76 _CHAPTER_ _4._ _OPTIMAL_ _CONTROL_
MPC setup Model predictive control permits to compute the next control input
to optimally drive the system. Based on the actual state of the system and the
discrete-time model (4.53), the optimal control can be found by minimizing the cost
functional (4.49). This task has to be repeated with a given rate (period _T_ MPC) in
order to compensate for disturbances and modelling inaccuracies [3]; notice that the
rate may depend on system state instead of on time explicitly.
Evaluation of the cost functional requires to have the evolution of the system,
typically within a finite time horizon _T_ horiz _> T_ MPC. Thus, at time _t_ <sup>_∗_</sup> the time interval
[ _t_ <sup>_∗_</sup> _,_ min ( _t_ <sup>_∗_</sup> + _T_ horiz _, T_ )] is considered by the model-based controller. The mathematical
model of the system, the actual state [ y ( _t_ <sup>_∗_</sup> ) _,_ w ( _t_ <sup>_∗_</sup> ) _,_ z ( _t_ <sup>_∗_</sup> ) _,_ _ξ_ ( _t_ <sup>_∗_</sup> )] <sup>_T_</sup> and a time grid with
constant step size ∆ _t_ MPC lead to the evolution of the system for any given injected
control— _N_ MPC = _T_ horiz _/_ ∆ _t_ MPC updates of the discrete-time dynamics are needed for
each MPC run. Then, the cost functional (4.49) can be computed and optimized. The
optimal control is fed into the system, that evolves accordingly (discrete-time dynamics
with time step size ∆ _t_ ); after a period _T_ MPC, MPC runs again starting from _t_ <sup>_∗_</sup> + _T_ MPC
and the updated state of the system.
In order to reduce the optimization space and to lighten the problem, the control is
redefined as robot position and laser power, u = [ u <sup>_x_</sup> _, u_ <sup>_p_</sup> ] <sup>_T_</sup>, instead of robot currents and
laser power. So, robot dynamics is no more included in the MPC problem. Moreover,
the control is parametrized with one laser position only and the laser power profile is
fixed. In particular, given a position x _L_ the control can be written in continuous-time
for _t ∈_ [0 _, T_ horiz] as:
u <sup>_x_</sup> ( _t_ ) = x _L_ (4.50)
_u_ <sup>_p_</sup> ( _t_ ) =
_pL_
_t ≤_ _T_ MPC (4.51)
�0 otherwise
This means that the OCP (4.7) is converted into an NLP with two optimization variables
only. The dynamical model cited above changes and reduces to:
_M_ ff w ˙ f ( _t_ ) = _−_ _K_ ff w f ( _t_ ) + f f ( x _L_ ) _u_ <sup>_p_</sup> ( _t_ )
_M_ _z_ ˙ z ( _t_ ) = _A_ _z_ ( z ( _t_ )) z ( _t_ ) + _B_ _z_ ( z ( _t_ )) w ( _t_ )
_ξ_ ˙ ( _t_ ) = _R_ _γ_ ( _ξ_ ( _t_ )) z ( _t_ )
(4.52)
where laser power profile _u_ <sup>_p_</sup> = _u_ <sup>_p_</sup> ( _t_ ) is given by (4.51).
Let us denote the system state _χ_ = [ w _,_ z ] <sup>_T_</sup> . As explained above, discrete-time
update equations can be derived by using trapezoidal rule and Heun’s method. For
the sake of simplicity, these expressions can be condensed into the following:
_χ_ _k_ = _ψ_ ( _χ_ _k−_ 1 _,_ x _L, u_ <sup>_p_</sup> _k_
<sup>_p_</sup> _k−_ 1 _,k_ <sup>)</sup>
_ξ_ _k_ = _ϕ_ ( _ξ_ _k−_ 1 _,_ _χ_ _k−_ 1 _,k_ )
Finally, the MPC problem at time _tj_ _∈_ Γ, _tj_ = _j_ ∆ _t_, can be expressed as:
(4.53)
(4.54)
minimize _J_ MPC
subject to
_χ_ _k_ = _ψ_ ( _χ_ _k−_ 1 _,_ x _L, u_ <sup>_p_</sup> _k_
<sup>_p_</sup> _k−_ 1 _,k_ <sup>)</sup>
_ξ_ _k_ = _ϕ_ ( _ξ_ _k−_ 1 _,_ _χ_ _k−_ 1 _,k_ )
_χ_ 0 = _χ_ ˆ _j_
_ξ_ 0 = _ξ_ <sup>ˆ</sup> _j_
for _k_ _∈{_ 1 _, . . ., N_ MPC _}_
_4.5._ _MPC_ _WITH_ _FE_ _AND_ _DIRECT_ _STRATEGY_ 77
where initial conditions are given by the system evolution; in particular they are
_χ_ thisˆ _j_ _≈_ problem _χ_ ( _tj_ ) andand _ξ_ <sup>ˆ</sup> _j_ to _≈_ find _ξ_ ( _tj_ a).solution,Section 4.5.1perhapsdiscussesapproximated.about numerical methods to face
Time horizon _T_ horiz may have a great impact on the optimal control. For instance,
how car drivers control the vehicle may depend on the distance of sight, the presence of
corners or the like. An optimal time horizon should be adaptively selected to take into
account the control problem and the reference signal [81]. Characteristic time constants
of the system may suggest a lower bound for the time horizon. Evaluating the thermal
time constant, with characteristic length _l_ = 1 _−_ 3 mm, it is _τw_ = _l_ <sup>2</sup> _/α_ _≈_ 7 _−_ 62 _._ 6 s.
Dynamics of droplet migration is almost in the same range, see §3.2.1. However, the
computational effort to let the system evolve for _T_ horiz is high, due to the small time
step size ∆ _t_ MPC to have an accurate evolution.
Let us discuss about the relationship between computational time and MPC setup.
Denoting ∆ _t_ int the time needed to update one step of the discrete-time evolution,
then the time to compute the overall evolution in _T_ horiz is almost ∆ _t_ int _N_ MPC. The
evaluation of the cost functional is called several times by the optimizer; this number
of iterations may be upper bounded by _N_ max. Thus, considering the time between two
runs of the MPC, _T_ MPC, it has to be long enough to let the optimizer find a solution.
This leads to a constraint on the maximum allowed integration time ∆ _t_ int, namely:
_T_ MPC _≥_ ∆ _t_ int _N_ MPC _N_ max
_⇓_
_<u>T</u>_ <u>MPC</u>
∆ _t_ int _≤_ _N_ max _N_ MPC
(4.55)
Desirable values of _T_ MPC and ∆ _t_ MPC are small in general, larger _N_ max typically returns
a more accurate solution and most of the times it is _T_ horiz _≫_ _T_ MPC. As an example,
given _T_ MPC = 50 ms, ∆ _t_ MPC = 10 ms and _T_ horiz = 2 s, and therefore _N_ MPC = 200,
the maximum integration time has to be ∆ _t_ int = 5 _−_ 25 _µ_ s to limit the optimizer at
_N_ max = 10 _−_ 50 iterations.
Robot controller The MPC problem formulated above, Problem (4.54), does not
include robot dynamics. However, the dynamics of the robot can affect the evolution
of the system, and its influence depends on how fast it is w.r.t. droplet and liquid
temperature dynamics. Let us denote x <sup>_∗_</sup> _k_ <sup>the</sup> <sup>solution</sup> <sup>of</sup> <sup>(4.54)</sup> <sup>at</sup> <sup>time</sup> <sup>_tk−_</sup> <sup>1,</sup> <sup>that</sup> <sup>is</sup>
temperature dynamics. Let us denote x <sup>_∗_</sup> _k_ <sup>the</sup> <sup>solution</sup> <sup>of</sup> <sup>(4.54)</sup> <sup>at</sup> <sup>time</sup> <sup>_tk−_</sup> <sup>1,</sup> <sup>that</sup> <sup>is</sup>
(approximately) the optimal position of the laser beam at time _tk_ . Thus, position x <sup>_∗_</sup> _k_
can be used as a reference to drive the robot.
Here a simple and effective control scheme is described. A proportional feedback
control can be used to select the next robot velocity v _k_ <sup>_∗_</sup> <sup>=</sup> <sup>_κ_</sup> <sup>(</sup> <sup>x</sup> <sup>_∗_</sup> _k_ <sup>_−_</sup> <sup>y</sup> _k_ <sup>_x_</sup> _−_ 1 <sup>), that is actually</sup>
_k_ <sup>_∗_</sup> <sup>=</sup> <sup>_κ_</sup> <sup>(</sup> <sup>x</sup> <sup>_∗_</sup> _k_
<sup>_∗_</sup> _k_ y <sup>_−x_</sup> <sup>y</sup> _k_ <sup>_x_</sup>
control can be used to select the next robot velocitya reference because the robot is controlled by motor v currents; _k_ <sup>_∗_</sup> <sup>=</sup> <sup>_κ_</sup> <sup>(</sup> <sup>x</sup> <sup>_∗_</sup> _k_ y <sup>_−_</sup> _k_ <sup>_x_</sup> <sup>y</sup> _−k_ <sup>_x_</sup> 1 _−_ <sup>is</sup> 1 <sup>), that is actuallythe</sup> <sup>actual</sup> <sup>robot</sup>
position. Notice that selecting the feedback gain _κ_ = 1 _/_ ∆ _t_ _>_ 0, the feedback law
resembles the application of backward Euler scheme.
x <sup>_∗_</sup> _k_
_k_ <sup>_x_</sup> _−_ 1 <sup>+</sup> <sup>v</sup> _k_ <sup>_∗_</sup>
_k_ <sup>_∗_</sup> <sup>=</sup> <sup><u>1</u></sup>
∆
∆ _t_
<sup>_∗_</sup> _k_ <sup>=</sup> <sup>y</sup> _k_ <sup>_x_</sup>
_k_ <sup>∆</sup> <sup>_t_</sup> v _k_ <sup>_∗_</sup>
<sup>_∗_</sup> _⇔_
(4.56)
x <sup>_∗_</sup> _k_
<sup>_∗_</sup>
_k_ <sup>_−_</sup> <sup>y</sup> _k_ <sup>_x_</sup>
_k_ <sup>_x_</sup> _−_ 1
Then, motor currents needed to reach the target velocity v _k_ <sup>_∗_</sup>
Then, motor currents needed to reach the target velocity v _k_ <sup>_∗_</sup> <sup>can</sup> <sup>be</sup> <sup>computed</sup> <sup>by</sup>
inverting the state update equation derived with the trapezoidal rule (3.25). This leads
78 _CHAPTER_ _4._ _OPTIMAL_ _CONTROL_
to an expression of target motor currents i <sup>_∗_</sup> _k_ <sup>,</sup> <sup>namely:</sup>
v _k_ <sup>_∗_</sup> <sup>=</sup>
<u>�</u>
v _k_ <sup>_∗_</sup>
<u>�</u>
2
- _<u>m</u>_ ∆ _<u>Lt</u>_ <sup>_−_</sup> <sup>_<u>cL</u>_</sup>
_<u>k</u>_
2 y _k_ <sup>_v_</sup> _−_ 1 <sup>+</sup> <sup>_bL_</sup> <u>i</u> _<u>k−</u>_ <u>12 +</u> <u>i</u> <sup>_<u>∗</u>_</sup>
- _<u>m</u>_ ∆ _<u>Lt</u>_ <sup>_−_</sup> <sup>_<u>cL</u>_</sup>
_⇓_
_<u>k</u>_
<u>i</u> _<u>k−</u>_ <u>1 +</u> <u>i</u> <sup>_<u>∗</u>_</sup>
2
y _k_ <sup>_v_</sup>
_k_ <sup>_v_</sup> _−_ 1 <sup>+</sup> <sup>_bL_</sup>
x <sup>_∗_</sup> _k_
(4.57)
2
- _<u>m</u>_ ∆ _<u>Lt</u>_ <sup>_−_</sup> <sup>_<u>cL</u>_</sup>
<sup>_∗_</sup> _k_ <sup>=</sup> <sup><u>2</u></sup>
_bL_
i <sup>_∗_</sup> _k_
_bL_
_−_
2
_−_ i _k−_ 1
∆ _t_ <sup>+</sup> <sup>_<u>c</u>_</sup> 2 <sup>_<u>L</u>_</sup>
- _<u>mL</u>_
∆ _t_ <sup>+</sup> <sup>_<u>c</u>_</sup> 2 <sup>_<u>L</u>_</sup>
�� _<u>mL</u>_
2
_κ_
<sup>_∗_</sup>
_k_ <sup>_−_</sup> <sup>y</sup> _k_ <sup>_x_</sup>
_k_ <sup>_x_</sup> _−_ 1
y <sup>_v_</sup>
_k_
_k−_ 1
Finally, motor currents i <sup>_∗_</sup> _k_
Finally, motor currents i <sup>_∗_</sup> _k_ <sup>are</sup> <sup>saturated</sup> <sup>at</sup> <sup>feasible</sup> <sup>bounds</sup> <sup>and</sup> <sup>applied,</sup> <sup>then</sup> <sup>the</sup> <sup>robot</sup>
state evolves according to its dynamic model.
4.5.1 Numerical solution
The direct single shooting method is here adopted to deal with the MPC problem
formulated above. This means that the system evolution is computed, then the cost
functional is evaluated and fed into an optimizer that changes the control input to
decrease the value of the cost. Doing so, state and control constraints are always
satisfied.
It has to be underlined the advantage of Cholesky decomposition of matrices
related to the FE discretization. This is useful because they are constant (thanks to the
assumptions on constant homogeneous physical properties and linear thermal behaviour
of the liquid) and especially because they are large. Moreover, FE matrices are sparse
and this can be exploited by adopting suitable permutations, e. g. minimum-degree
pivoting, to maintain the sparsity in the decomposition.
Optimizer A direct search optimizer is adopted to find the control that minimizes
the cost functional, solving (perhaps approximately) Problem (4.54). Optimization
for nonlinear MPC through a direct search method has been recently discussed in [78].
In particular, the `patternsearch` routine provided by Matlab is used. This allows to
impose constraints and bounds on the optimization variables, as suggested above to
take into account robot dynamics.
Gradient-based optimization has been widely developed and applied in the solution
of non-linear OCPs. Different methods could be adopted, e. g. shooting, collocation
and direct discretization methods. In the case of linear systems gradient-based methods
are typically fast [5], but this may occur for non-linear MPC too [39].
4.5.2 Simulation results
Tests The approach has been tested with the reference path used in §4.4, free final
conditions and cost functional _J_ MPC (4.6). Moreover, presence or not of robot dynamics
in the system has been simulated. Control performances are expected to reduce when
robot dynamics appears in the control loop, because it is a disturbance from the
controller point-of-view. This test may highlight the need of accounting for robot
dynamics in the formulation of the MPC problem.
Liquid and droplet properties and reference robot parameters are reported in
Tab. 3.2 and Tab. 4.1 respectively. The liquid layer has been discretized with 4-nodes
rectangular finite elements and the temperature field is interpolated using piece-wise
linear shape functions, Tab. 4.5. Different time steps have been selected for evolution
and simulated evolution in MPC, ∆ _t <_ ∆ _t_ MPC, in order to spare computational time,
_4.5._ _MPC_ _WITH_ _FE_ _AND_ _DIRECT_ _STRATEGY_ 79
Table 4.5: FE discretization of the liquid layer.
Domain Ω [0 _,_ 16] _×_ [0 _,_ 12] mm _×_ mm
FE size 0 _._ 3 _×_ 0 _._ 3 mm _×_ mm
FE nodes <u>4</u>
Table 4.6: MPC parameters.
_T_ horiz 1 s
∆ _t_ 0 _._ 01 s
_T_ MPC 0 _._ 03 s
∆ _t_ MPC 0 _._ 03 s
_<u>ωn</u>_ <u>3</u> _<u>.</u>_ <u>33</u> _<u>×</u>_ <u>10</u> <sup>4</sup> <u>(m s)</u> <sup>_<u>−</u>_</sup> <sup>1</sup>
perhaps at the cost of a less accurate model-based control action. The relative weight
_ωn_ in the cost functional is the same adopted in §4.4. Options reported in Tab. 4.7
are chosen for the direct search optimizer `patternsearch` provided by Matlab. Initial
droplet position is given, while robot is placed close to the droplet by the user or
according to the solution of an MPC run. The initial guess of each optimization process
may be the actual laser or droplet position. The latter works better and seems to be
more robust; it is used in these simulations. Moreover, the optimal laser position is
constrained to be in a rectangular domain, defined considering the robot dynamics.
Lower and upper bounds have been computed with Eq. (4.48) at each time step.
Results and discussion Let us discuss about the evolution of the system with the
MPC loop and instantaneous robot positioning. Notice that laser and droplet paths
and the time profile of droplet curvilinear coordinates resemble the results obtained
in §4.4 with the _analytical_ _strategy_ . In particular, compare Fig. 4.12a and Fig. 4.13a
to Fig. 4.8 and Fig. 4.9a. The system evolution, and then the underlying control,
is almost the same. This happens because the two dynamical models represent the
same physical system and the cost functional is the same. Little differences may arise
because of the different time horizon _T_ horiz or accuracy of the discrete-time evolution.
As before in §4.4, the maximum lateral deviation is small, max _|n|_ _<_ 1 mm, and
close to the corner, where it is difficult—perhaps impossible—to stay on the reference
path. As shown in Fig. 4.13b, during pushing phases, i. e. approximately _t <_ 0 _._ 5 s and
_t >_ 3 s, the distance laser-droplet is almost constant and its value is similar to those
found in §4.3 and §4.4. Considerations about time horizon and control parametrization
Table 4.7: Options for `patternsearch` in Matlab.
_MaxIter_ 200
_MaxFunEvals_ 200
_TolX_ 0 _._ 05 mm
_CompletePoll_ _on_
_CompleteSearch_ _on_
80 _CHAPTER_ _4._ _OPTIMAL_ _CONTROL_
12
10
8
6
4
2
D
~~L~~
_γ_
12
10
8
6
4
2
D
~~L~~
_γ_
0
0 5 10 15
_x_ [mm]
(a) _No_ _robot_ .
0
0 5 10 15
_x_ [mm]
(b) _Robot_ .
Figure 4.12: Droplet and laser path with and without robot dynamics.
discussed in §4.4 still hold.
The diagram in Fig. 4.14 shows the relationship between laser-droplet distance
and droplet velocity _∥_ z <sup>_v_</sup> _∥_ . Actually, this relation is mediated by the temperature
field and its dynamics, and so the diagram does not show a simple function, but
highlights the hysteresis of the system. It has to be noticed that the maximum
velocity reached by the droplet is around _∥_ z <sup>_v_</sup> _∥≈_ 8 mm _/_ s, with a corresponding distance
_d_ = _∥_ z <sup>_x_</sup> _−_ y <sup>_x_</sup> _∥≈_ 0 _._ 07 mm (recall that droplet is a point-mass).
Evolution of the system and control strategy do not change significantly in the
case robot moves with its own dynamics, not instantaneously. As evidenced in
Fig. 4.15b, the deviation between desired and actual laser position is on the order of _e_ = _∥_ y <sup>_x_</sup> _−_ x <sup>_∗_</sup> _∥≈_ 0 _._ 3 mm, that is comparable with the characteristic radius of
the laser beam. However, with little differences, most of the features discussed for the
instantaneous robot positioning hold in this case too. Results are graphically reported
in Fig. 4.12b and Fig. 4.13.
At about _t_ = 5 _._ 3 s the robot is stopped by the user and then the rest of the
system evolves accordingly. Temperature increases near the laser spot but temperature
gradient in droplet position decreases—because it is moving far away—, so the driving
force reduces and the droplet slows down due to the drag force. This braking phase is
clearly seen in Fig. 4.13b for _t >_ 5 _._ 3 s.
Results of the tracking control of robot reference position are graphically reported
in Fig. 4.15. Bounds due to robot dynamics used to constrained the optimal solution
are depicted.
A relevant difference w.r.t. the case of instantaneous robot positioning is the overall
effectiveness, in terms of speed and tracking. Analysing Fig. 4.13a, one can see that
the droplet moves 3 mm more along the reference path in the same time _T_ = 6 s, while
maintaining max _|n_ ( _t_ ) _| <_ 1 mm, _t ∈_ [0 _, T_ ]. This is not due to higher velocities reached
by the droplet, whose peak is actually lower, at about _∥_ z <sup>_v_</sup> _∥≈_ 7 mm _/_ s. On the other
_4.5._ _MPC_ _WITH_ _FE_ _AND_ _DIRECT_ _STRATEGY_ 81
15
10
5
0
no robot
robot
_s_
_n_
0 2 4 6
_t_ [s]
(a) _Curvilinear_ _coordinates_ .
6
4
2
0
0 2 4 6
_t_ [s]
(b) _Droplet-laser_ _distance_ .
no robot robot
Figure 4.13: Curvilinear coordinates and droplet-laser distance with and without robot
dynamics.
8
no robot
6
4
2
robot
0
0 1 2 3 4 5 6
_d_ [mm]
Figure 4.14: Relationship between droplet-laser distance and droplet velocity.
82 _CHAPTER_ _4._ _OPTIMAL_ _CONTROL_
_x_
_x_ <sup>_∗_</sup>
3 3 _._ 2 3 _._ 4 3 _._ 6 3 _._ 8 4
_t_ [s]
(b) _Zoom_ .
15
10
5
_~~x~~_
_x_ <sup>_∗_</sup>
10
8
6
0
0 2 4 6
_t_ [s]
(a) _Position_ _along_ _x_ _axis_ .
Figure 4.15: Tracking of reference laser position and bounds with robot dynamics.
hand, Fig. 4.14 shows that points corresponding to robot dynamics spread to a larger
area. This means that the system dynamics is—surprisingly—more exploited. A deeper
investigation is needed to better understand the impact of robot dynamics in the MPC
closed-loop.
# Conclusions
The work started with the definition of the elements involved in the system and needed
to describe its behaviour. A set of mathematical models have been proposed to describe
a robot, the laser-liquid interaction, the thermal behaviour of a suspending liquid
and the dynamics of a droplet subject to thermocapillary forces. Then, characteristic
parameters were identified and model validated thanks to the experimental data
collected during this work. The overall model with identified parameters shows
good agreement with experimental results for short time intervals (∆ _t ≈_ 30 s), until
convective flows significantly affect the liquid motion.
Based on this validated (perhaps simple) model, different control strategies have
been implemented and tested. Direct discretization method with semi-analytical
solution of temperature field was successfully solved both with gradient-based and
derivative-free optimizers. Then, model-predictive control with FE model of liquid
thermal behaviour was faced with direct method and a direct search optimizer, leading
to satisfactory control performances.
Future developments As it often happens in research, the results presented in this
thesis can only mark a step within a work in progress. Moreover, the explorative nature
of the work opens the doors to a broad range of analyses and experimental activities.
The modelling activity could be reviewed to include more sophisticated dynamics
and details, e. g. the physical extension the droplet and the convective flows. These
improvements should be based on experimental work carried out to validate and stress
the present model. On the other hand, the complexity of the model could increase
a lot, considering the fluid dynamics embedded into the problem. Thus, reducedorder modelling techniques could be of growing interest to a suitable control-oriented
mathematical model, that has to be accurate enough yet simple.
Many optimization-based control techniques have been not tested within this work.
Methods suitable for large-scale problems or methods that use a local approximation
of the dynamics may be analysed and implemented to evaluate their performance. In
particular, we refer to the real-time iteration scheme [3, 39] and to the differential
dynamic programming [7,37,79]. Moreover, indirect methods could be exploited [4,6,76].
There are, to the author’s knowledge, applications of indirect methods in OCPs with
PDEs only for small-scale problems.
83
### Appendix A
# Analytical and Finite Elements Solution
This Appendix compares two methods to model the thermal dynamics of the liquid layer.
In particular, in §2.3.1 a semi-analytical method is proposed based on the superposition
of a finite series of instantaneous laser pulses. This approach takes advantage of the
linearity and availability of an analytical solution for the instantaneous pulse, for
both Gaussian and point-wise intensity profile of the laser beam. The second method,
proposed in §2.3.2, is based on FE discretization of the liquid domain. This approach
has been highly developed [60] and can be applied to every problem governed by PDEs.
Benchmark The analytical solution of the temperature field for a continuous laser
beam moving at constant speed is known and derived in §2.3.1. Thus, this scenario
can be used to evaluate and then compare the temperature field predicted by different
models, namely:
M1 analytical solution for point-wise continuous moving heating source (2.49),
M2 finite sum approximation for point-wise (2.20) and Gaussian (2.44) heating source,
M3 finite element approximation and trapezoidal rule for point-wise and Gaussian
heating source (2.71).
The simulations are based on physical properties of the liquid reported in Tab. 3.2;
other parameters are given in Tab. A.1.
Some are the limitations for an effective comparison, but their impact may be
neglected if only M2 and M3 have to be compared. First of all, it is not possible to
create a scenario that exactly reproduces the hypotheses underlying the model M1, in
particular the steady state condition from the laser point-of-view.
The following analyses have been carried out:
T1 prediction of models M1 and M2 for point-wise and Gaussian heating source,
considering two different time steps, ∆ _t_ 1 and ∆ _t_ 2;
T2 prediction of model M3 for Gaussian heating source, considering two different time
steps, ∆ _t_ 1 and ∆ _t_ 2, and two different characteristic radii, _rL,_ 1 and _rL,_ 2;
T3 prediction of models M1, M2 and M3 for point-wise heating source, considering
time step ∆ _t_,
85
86 _APPENDIX_ _A._ _ANALYTICAL_ _AND_ _FINITE_ _ELEMENTS_ _SOLUTION_
Table A.1: Simulation parameters.
_u_ 5 mm _/_ s
_pL_ 0 _._ 5 W
_β_ 100 1 _/_ m
_lz_ 1 mm
_rL,_ 1 0 _._ 25 mm
_<u>rL,</u>_ <u>2</u> <u>1</u> <u>mm</u>
∆ _t_ 1 10 ms
∆ _t_ 2 60 ms
<u>∆</u> _<u>t</u>_ <u>40</u> <u>ms</u>
FE domain 50 _×_ 20 mm _×_ mm
FE size 0 _._ 2 _×_ 0 _._ 2 mm _×_ mm
FE nodes <u>4</u>
T4 prediction of models M2 and M3 for Gaussian heating source, considering time
step ∆ _t_ and radii _rL,_ 1 and _rL,_ 2.
Test T1 gives more insight about the impact of time step in the approximation of
the temperature field. In particular, this happens because time step affects the
discretization of convolution integral (2.42); convergence is expected as the time step
tends to zero. Test T2 is built to analyse the convergence of the thermal evolution
with FE discretization, considering the time discretization based on the trapezoidal
rule, Eq. (2.71). Then, tests T3 and T4 compare analytical and FE solutions, for both
point-wise and Gaussian laser beam profile.
Results and discussion Results of T1 are graphically reported in Fig. A.1. In the
case of point-wise laser beam, the temperature peak is almost halved considering the
longer time step ∆ _t_ 2; on the other hand, convergence of models M1 and M2 is clearly
seen in Fig. A.1a. In the case of Gaussian laser beam, the temperature profile is more
robust to the time discretization, and the error decreases as the characteristic radius
increases. Moreover, models M1 and M2 converge as time step and characteristic radius
tend to zero, Fig. A.1b.
Convergence of predictions with FEM is evidenced in Fig. A.2. For the larger
characteristic radius, _rL,_ 2, they are almost superimposed. Instead, a small deviation
appears for _rL,_ 1. As observed above, temperature profile is robust to time discretization
in the case of Gaussian laser beam. Let us discuss about the prediction of temperature
close to the narrower laser beam: a negative temperature difference arises, and it is
larger with the shorter time step. We suggest that this phenomenon happens because
the spatial discretization is too coarse, in particular the element size is on the order of
the characteristic radius, FE size _≈_ _rL,_ 2. The same effect is amplified in the case of
point-wise laser beam, Fig. A.3a.
Results of tests T3 and T4 are graphically reported in Fig. A.3a and Fig. A.3b. It
is clear that values of predicted temperature field do not match between analytical
(M2) and FE solution (M3). However, the behaviour is quite the same, especially in
the case of Gaussian laser beam.
15
10
5
analyt.
∆ _t_ 1
<u>∆</u> _<u>t</u>_ <u>2</u>
10
8
6
4
2
analyt.
~~∆~~ _~~t~~_ ~~1~~
∆ _t_ 2
87
_rL_ 1
0
25 30 35 40 45
_x_ [mm]
(a) _Point-wise_ _laser_ _beam_ .
_<u>rL</u>_ <u>2</u>
0
25 30 35 40 45
_x_ [mm]
(b) _Gaussian_ _laser_ _beam_ .
Figure A.1: Continuous moving laser beam: effect of time step on temperature field predicted
with semi-analytical solutions.
6
∆ _t_ 1
∆ _t_ 2
_rL_ 1
4
2
_<u>rL</u>_ <u>2</u>
0
25 30 35 40 45
_x_ [mm]
Figure A.2: Continuous moving laser beam: effect of time step on temperature field predicted
with FEM.
88 _APPENDIX_ _A._ _ANALYTICAL_ _AND_ _FINITE_ _ELEMENTS_ _SOLUTION_
analyt.
semi-analyt.
FEM
10
5
0
1
6
4
2
0
_−_ 2
1
0 _._ 5
0
45
40
35
30
25 _x_ [mm]
_y_ [mm] 0 25 _x_ [mm]
(a) _Point-wise_ _laser_ _beam_ .
semi-analyt.
FEM
_rL_ 1
_rL_ 2
0 _._ 5
0
45
40
35
30
25 _x_ [mm]
_y_ [mm] 0 25 _x_ [mm]
(b) _Gaussian_ _laser_ _beam_ .
Figure A.3: Comparison of temperature field predicted by semi-analytical solution and
FEM.
89
A deeper analysis is needed to investigate the effect of spatial resolution, laser
velocity, physical properties and laser parameters. Moreover, the overall extension of
the domain discretized with FE may have an influence on the predicted temperature
field, because of the boundary conditions (that maybe tend to cool down the liquid).
### Appendix B
# Derivation of constraints Jacobian matrix
Let us recall the function of equality constraints g for the OCP analysed in §4.3,
Eq. (4.23). This Appendix deals with the derivation of its Jacobian matrix _J_ w.r.t.
optimization variables x . For the sake of simplicity, we take u = u <sup>_i_</sup> and constant laser
power _u_ <sup>_p_</sup> = _pL_, thus _nu_ = 2 and function _ψ_ _τ_ depends only on the last control input.
Moreover, an equispaced time grid is considered, with time step ∆ _t_ = _T/N_ = _T_ ∆ _τ_ .
x = [ _T,_ _χ_ 0 _, . . .,_ _χ_ _N_ _,_ u 0 _, . . .,_ u _N_ ] <sup>_T_</sup> (B.1)
_B_
_B_ _T_ _χ_ _N_ _−_ _χ_ <sup>_f_</sup>
_χ_ 1 _−_ _χ_ 0 _−_ ∆ _τ_ _ψ_ _τ_ ( _τ_ 0 _, T,_ _χ_ 0 _,_ u 0)
_χ_ 2 _−_ _χ_ 1 _−_ ∆ _τ_ _ψ_ _τ_ ( _τ_ 1 _, T,_ _χ_ 0 _,_ 1 _,_ u 1)
_B_
_B_ _T_ _χ_ _N_ _−_ _χ_ <sup>_f_</sup>
_χ_ 0 _−_ _χ_ <sup>_i_</sup>
g ( x ) =
...
_χ_ _N_ _−_ _χ_ _N_ _−_ 1 _−_ ∆ _τ_ _ψ_ _τ_ ( _τN_ _−_ 1 _, T,_ _χ_ 0 _,...,N_ _−_ 1 _,_ u _N_ _−_ 1)
(B.2)
(B.3)
_J_ = _∇_ xg =
_χ_ _N_ _−_ 1 _−_ ∆ _τ_ _ψ_ _τ_ ( _τN_ _−_ 1 _, T,_ _χ_ 0 _,...,N_ _−_ 1 _,_ u _N_ _−_ 1)
_<u>∂</u>_ <u>g</u>
_. . ._ _. . ._
_∂T_ _∇_ _χ_ 0 g _∇_ _χ_ _N_ g _∇_ u 0 g _∇_ u _N_ g
Let us analyse each entry of _J_ to find explicitly the analytical expression. Matrix _J_ is
expected to be not sparse but lower triangular, because of the functional _ψ_ _τ_ . in the
following the entries of _J_ are equal to zero where not specified.
Constraint on the initial condition, g 1 = _χ_ 0 _−_ _χ_ <sup>_i_</sup>, depends only on the first state
_B_ <sup>,</sup> <sup>depends</sup> <sup>only</sup> <sup>on</sup>
_χ_ 0. Similarly, constraint on the final condition, g 2 = _B_ _T_ _χ_ _N_ _−_ _χ_ <sup>_f_</sup>
the final state, _χ_ _N_ .
_<u>∂</u>_ <u>g</u> <u>1</u>
_∂_ _χ_ 1
_<u>∂</u>_ <u>g</u> <u>2</u>
_∂_ _χ_ _N_
( x ) = _I_ (B.4)
( x ) = _B_ _T_ (B.5)
Then, constraints due to the dynamical model are given by:
g _k_ +3( x ) = _χ_ _k_ +1 _−_ _χ_ _k −_ ∆ _τ_ _ψ_ _τ_ ( _τk, T,_ _χ_ 0 _,...,k,_ u _k_ ) (B.6)
91
92 _APPENDIX_ _B._ _DERIVATION_ _OF_ _CONSTRAINTS_ _JACOBIAN_ _MATRIX_
for _k_ = 0 _,_ 1 _, . . ., N_ _−_ 1. Partial derivatives of g _k_ +3 w.r.t. optimization variables x are
easily obtained.
_<u>∂</u>_ <u>g</u> _<u>k</u>_ <u>+3</u>
<u>g</u> _<u>k</u>_ <u>+3</u>
_∂T_ ( x ) = _−_ ∆ _τ_ <sup>_<u>∂</u>_</sup> _∂T_ <sup>_<u>ψ</u>_</sup> <sup>_<u>τ</u>_</sup>
<sup>_<u>∂</u>_</sup> _∂T_ <sup>_<u>ψ</u>_</sup> <sup>_<u>τ</u>_</sup> <sup>(</sup> <sup>_τk, T,_</sup> <sup>_χ_</sup> <sup>0</sup> <sup>_,...,k,_</sup> <sup>u</sup> <sup>_k_</sup> <sup>)</sup>
_<u>∂</u>_ <u>g</u> _<u>k</u>_ <u>+3</u>
_∂_ _χ_ _j_
_<u>∂</u>_ <u>g</u> _<u>k</u>_ <u>+3</u>
_∂_ u _j_
( x ) =
( x ) =
_−_ ∆ _τ_ <sup>_<u>∂</u>_</sup> _∂_ <sup>_<u>ψ</u>_</sup> u _j_ <sup>_<u>τ</u>_</sup>
_−_ ∆ _τ_ <sup>_<u>∂</u>_</sup> _∂_ <sup>_<u>ψ</u>_</sup> _~~χ~~_ _j_ <sup>_<u>τ</u>_</sup>
_−_ _I_ _−_ ∆ _τ_ <sup>_<u>∂</u>_</sup> _∂_ <sup>_<u>ψ</u>_</sup> _~~χ~~_ _j_ <sup>_<u>τ</u>_</sup>
<sup>_<u>∂</u>_</sup> _∂_ <sup>_<u>ψ</u>_</sup> _~~χ~~_ _j_ <sup>_<u>τ</u>_</sup> <sup>(</sup> <sup>_τk, T,_</sup> <sup>_χ_</sup> <sup>0</sup> <sup>_,...,k,_</sup> <sup>u</sup> <sup>_k_</sup> <sup>)</sup> _j_ = 0 _, . . ., k −_ 1
(B.7)
_∂_ <sup>_<u>ψ</u>_</sup> u _j_ <sup>_<u>τ</u>_</sup> <sup>(</sup> <sup>_τk, T,_</sup> <sup>_χ_</sup> <sup>0</sup> <sup>_,...,k,_</sup> <sup>u</sup> <sup>_k_</sup> <sup>)</sup> _j_ = _k_
<sup>_<u>∂</u>_</sup> _∂_ <sup>_<u>ψ</u>_</sup> _~~χ~~_ _j_ <sup>_<u>τ</u>_</sup> <sup>(</sup> <sup>_τk, T,_</sup> <sup>_χ_</sup> <sup>0</sup> <sup>_,...,k,_</sup> <sup>u</sup> <sup>_k_</sup> <sup>)</sup> _j_ = _k_
_I_ _j_ = _k_ + 1
Let us focus on the derivatives of function _ψ_ _τ_, whose expression is given in Eq. (4.17).
Let us write the state vector as _χ_ = [ x _D,_ v _D,_ x _L,_ v _L_ ] <sup>_T_</sup> . Then function _ψ_ _τ_ is:
<sup>_D,k,_</sup> <sup>x</sup> <sup>_L,_</sup> v <sup>0</sup> _L,k_ <sup>_,...,k_</sup> <sup>)</sup> <sup>_−_</sup> _m_ <sup>_<u>cD</u>_</sup> _D_ <sup>_∥_</sup> <sup>v</sup> <sup>_D,k∥_</sup> <sup>v</sup> <sup>_D,k_</sup>
_mbLL_ <sup>u</sup> <sup>_k −_</sup> _m_ <sup>_<u>cL</u>_</sup> _L_ <sup>v</sup> <sup>_L,k_</sup>
(B.8)
_ψ_ _τ_ ( _τk, T,_ _χ_ 0 _,...,k,_ u _k_ ) = _T_
v _D,k_
_mbDD_ <sup>g</sup> <sup>_w_</sup> <sup>(</sup> <sup>_τk, T,_</sup> <sup>x</sup> <sup>_D,k,_</sup> <sup>x</sup> <sup>_L,_</sup> <sup>0</sup> <sup>_,...,k_</sup> <sup>)</sup> <sup>_−_</sup> _m_ <sup>_<u>cD</u>_</sup> _D_
_m_ <sup>_<u>cL</u>_</sup> _L_ <sup>v</sup> <sup>_L,k_</sup>
Denoting ( _·_ ) = ( _τk, T,_ _χ_ 0 _,...,k,_ u _k_ ), partial derivative of _ψ_ _τ_ w.r.t. final time _T_ is:
_m_ <sup>_<u>bD</u>_</sup> _D_ <sup>g</sup> v <sup>_w_</sup> _L,k_ <sup>(</sup> <sup>_·_</sup> <sup>)</sup> <sup>_−_</sup> _m_ <sup>_<u>cD</u>_</sup> _D_ <sup>_∥_</sup> <sup>v</sup> <sup>_D,k∥_</sup> <sup>v</sup> <sup>_D,k_</sup>
_mbLL_ <sup>u</sup> <sup>_k −_</sup> _m_ <sup>_<u>cL</u>_</sup> _L_ <sup>v</sup> <sup>_L,k_</sup>
_m_ <sup>_<u>bD</u>_</sup> _D_ <sup>g</sup> <sup>_w_</sup> <sup>(</sup> <sup>_·_</sup> <sup>)</sup> <sup>_−_</sup> _m_ <sup>_<u>cD</u>_</sup> _D_
_<u>∂</u>_ <u>g</u> _<u>w</u>_
_<u>∂</u>_ _<u>ψ</u>_ _<u>τ</u>_
_∂T_ <sup>(</sup> <sup>_·_</sup> <sup>) =</sup>
v _D,k_
_T_ <sup>_<u>bD</u>_</sup> _<u>∂</u>_ <u>g</u> _<u>w</u>_
_mD_
_∂T_ <sup>(</sup> <sup>_·_</sup> <sup>) +</sup> _m_ <sup>_<u>bD</u>_</sup> _D_ <sup>g</sup> <sup>_w_</sup> <sup>(</sup> <sup>_·_</sup>
_mD_
_<u>∂∂T</u>_ <u>g</u> _<u>w</u>_ <sup>(</sup> <sup>_·_</sup> <sup>) +</sup> _m_ <sup>_<u>bD</u>_</sup> _D_
_m_ <sup>_<u>cL</u>_</sup> _L_ <sup>v</sup> <sup>_L,k_</sup>
(B.9)
Partial derivative of _ψ_ _τ_ w.r.t. state _χ_ _k_ is:
_∂∂_ xg _D,kw_ <sup>(</sup> <sup>_·_</sup> <sup>)</sup> _−_ 2 _m_ <sup>_<u>cD</u>_</sup> _D_
_<u>∂</u>_ <u>g</u> _<u>w</u>_ _<u>bD</u>_ _<u>∂</u>_ <u>g</u> _<u>w</u>_ 0
_mD_
x0 _D,k_ <sup>(</sup> <sup>_·_</sup> <sup>)</sup> _−_ 2 _m_ <sup>_<u>cD</u>_</sup> _D_ <sup>_∥_</sup> 0 <sup>v</sup> <sup>_D,k∥_</sup> <sup>_I_</sup> _∂_ x0 _L,k_ <sup>(</sup> <sup>_·_</sup> <sup>)</sup> _I_
0 0 0 _−_ _m_ <sup>_<u>cL</u>_</sup> _L_
_<u>bD</u>_
_mD_
_m_ <sup>_<u>cD</u>_</sup> _D_ <sup>_∥_</sup> 0 <sup>v</sup> <sup>_D,k∥_</sup> <sup>_I_</sup>
_<u>∂</u>_ _<u>ψ</u>_ _<u>τ</u>_
_∂_ _χ_ _k_
( _·_ ) = _T_
0 _I_ 0 0
_<u>bD</u>_ _<u>∂</u>_ <u>g</u> _<u>w</u>_ _<u>bD</u>_ _<u>∂</u>_ <u>g</u> _<u>w</u>_ 0
_mD_ _mD_
_∂_ x _D,k_ <sup>(</sup> <sup>_·_</sup> <sup>)</sup> _−_ 2 _m_ <sup>_<u>cD</u>_</sup> _D_ <sup>_∥_</sup> <sup>v</sup> <sup>_D,k∥_</sup> <sup>_I_</sup> _∂_ x _L,k_ <sup>(</sup> <sup>_·_</sup> <sup>)</sup>
_m_ <sup>_<u>cL</u>_</sup> _L_ <sup>_I_</sup>
(B.10)
and for _j_ = 0 _, . . ., k −_ 1 it simplifies because only past laser positions x _L,j_ have an
impact, namely:
(B.11)
_<u>∂</u>_ _<u>ψ</u>_ _<u>τ</u>_
_∂_ _χ_ _j_
( _·_ ) = _T_
0 0 0 0
0 0 _<u>bD</u>_ _<u>∂</u>_ <u>g</u> _<u>w</u>_ 0
_mD_
_∂_ x _L,j_ <sup>(</sup> <sup>_·_</sup> <sup>)</sup>
0 0 _<u>bD</u>_ _<u>∂</u>_ <u>g</u> _<u>w</u>_ 0
_mD_
_∂_ x _L,j_ <sup>(</sup> <sup>_·_</sup> <sup>)</sup>
0 0 0 0
0 0 0 0
Partial derivative of _ψ_ _τ_ w.r.t. control u _k_ is (assuming u = u <sup>_i_</sup> ):
(B.12)
_<u>∂</u>_ _<u>ψ</u>_ _<u>τ</u>_
_∂_ u _k_
= _T_
- _mbL_ 0 _L_ <sup>_I_</sup>
Finally, derivatives of temperature gradient g _w_ have to be explicitly computed. Let us
collect terms _Ak,j_, _Bk,j_ and _δwk,j_ :
_L_
_Ak,j_ = 8 _αT_ ∆ _τ_ ( _k −_ _j_ ) + _r_ <sup>2</sup>
_L_ (B.13)
<sup>2</sup>
_Bk,j_ = 8 _αT_ ∆ _τ_ ( _k −_ _j_ ) (B.14)
_δwk,j_ = _T_ ∆ _τ_ <sup><u>8</u></sup> <sup>_<u>β</u>_</sup>
_πϱcp_
_<u>pL,j</u>_
_Ak,j_
(B.15)
and rewrite Eq. (2.45) to get:
g _w_ ( _·_ ) = _−T_ ∆ _τ_ _π_ <sup><u>8</u></sup>
_<u>β</u>_
_ϱcp_
93
(B.16)
_k_
_j_ =0
<u>�</u>
_j_ =0
_e−_ 2
_<u>∥</u>_ x _<u>D,k</u>_ _<u>−</u>_ x _<u>L,j ∥</u>_ <sup>2</sup>
_Ak,j_ ( x _D,k −_ x _L,j_ ) <sup>_T_</sup>
_<u>pL,j</u>_
_A_ <sup>2</sup> _k,j_
_k_
= _−_
_j_ =0
_<u>δwk,j</u>_
_Ak,j_
_e−_
2 _<u>∥</u>_ x _<u>D,k</u>_ _<u>−</u>_ x _<u>L,j ∥</u>_ <sup>2</sup>
_Ak,j_ ( x _D,k −_ x _L,j_ ) <sup>_T_</sup>
Temperature gradient g _w_ ( _·_ ), i. e. the temperature gradient in droplet position at time
_tk_ = _kT_ ∆ _τ_, is a function of final time, _T_, actual droplet position, x _D,k_, and previous
laser beam positions, x _L,j_ for _j_ = 0 _,_ 1 _, . . ., k_ ; droplet and laser velocities do not matter.
Then, partial derivatives of temperature gradient g _w_ are given by:
_<u>∂</u>_ <u>g</u> _<u>w</u>_
_∂T_ <sup>(</sup> <sup>_·_</sup> <sup>) =</sup>
_Ak,j_
- _<u>∥</u>_ <u>x</u> _<u>D,k −</u>_ <u>x</u> _<u>L,j∥</u>_ 2
_e_
��
= _−_ _T_ <sup><u>1</u></sup>
_k_
_j_ =0
_<u>δwk,j</u>_
_Ak,j_
1 + 2 <sup>_<u>Bk,j</u>_</sup>
_Ak,j_
_−_ 1
2 _<u>∥</u>_ x _<u>D,k</u>_ _<u>−</u>_ x _<u>L,j ∥</u>_ <sup>2</sup>
_Ak,j_ ( x _D,k −_ x _L,j_ ) <sup>_T_</sup>
_−_
_<u>∂</u>_ <u>g</u> _<u>w</u>_
_∂_ x _D,k_ ( _·_ ) =
(B.17)
(B.18)
<u>4</u>
_I_ _−_ _Ak,j_ ( x _D,k −_ x _L,j_ )( x _D,k −_ x _L,j_ ) <sup>_T_</sup>
_<u>∥</u>_ x _<u>D,k</u>_ _<u>−</u>_ x _<u>L,j ∥</u>_ <sup>2</sup>
_Ak,j_
= _−_
_k_
_j_ =0
<u>�</u>
_<u>δwk,j</u>_
_Ak,j_
_e−_ 2
<u>4</u>
_I_ _−_ _Ak,j_
( x _D,k −_ x _L,j_ )( x _D,k −_ x _L,j_ ) <sup>_T_</sup>
_<u>∂</u>_ <u>g</u> _<u>w</u>_
_∂_ x _L,j_
( _·_ ) = <sup>_<u>δw</u>_</sup> _Ak,j_ <sup>_<u>k,j</u>_</sup>
( _·_ ) = <sup>_<u>δw</u>_</sup> _Ak,j_ <sup>_<u>k,j</u>_</sup>
_e−_ 2
_<u>∥</u>_ x _<u>D,k</u>_ _<u>−</u>_ x _<u>L,j ∥</u>_ <sup>2</sup>
_Ak,j_
(B.19)
It is interesting to notice the relationship between (B.18) and (B.19):
_<u>∂</u>_ <u>g</u> _<u>w</u>_
_∂_ x _D,k_
_k_
_j_ =0
( _·_ ) = _−_
_<u>∂</u>_ <u>g</u> _<u>w</u>_
_∂_ x _L,j_
( _·_ ) (B.20)
This means that an equal translation of droplet and laser positions does not affect the
temperature gradient in droplet position, as expected.
_<u>∂</u>_ <u>g</u> _<u>w</u>_
_∂_ x _D,k_
( _·_ ) +
_k_
_j_ =0
_<u>∂</u>_ <u>g</u> _<u>w</u>_
_∂_ x _L,j_
( _·_ ) = 0 (B.21)
Moreover, direct calculation of _∂∂_ xg _D,kw_ <sup>(</sup> <sup>_·_</sup> <sup>)</sup> <sup>can</sup> <sup>be</sup> <sup>avoided</sup> <sup>and</sup> <sup>Eq.</sup> <sup>(B.20)</sup> <sup>can</sup> <sup>be</sup> <sup>adopted.</sup>
# Bibliography
[1] M. Murray, D. and J. Yakowitz, S. “Differential dynamic programming and
newton’s method for discrete optimal control problems,” _Journal_ _of_ _Optimization_
_Theory_ _and_ _Applications_, vol. 43, no. 3, pp. 395–414, July 1984, communicated by
D. Q. Mayne.
[2] J. R. Banga, R. Irizarry-Rivera, and W. D. Seider, “Stochastic optimization for
optimal and model-predictive control,” _Computers_ _and_ _Chemical_ _Engineering_,
vol. 22, no. 4–5, pp. 603–612, 1998.
[3] M. M. Diehl, “Real–time optimization for large scale nonlinear processes,” Ph.D.
dissertation, Ruprecht-Karls-Universität Heidelberg, June 2001.
[4] E. Bertolazzi, F. Biral, and M. Da Lio, “Real–time motion planning for multibody
systems,” _Multibody_ _system_ _dynamics_, vol. 17, pp. 119–139, 2007.
[5] Y. Wang and S. Boyd, “Fast model predictive control using online optimization,”
_IEEE_ _Transactions_ _on_ _Control_ _Systems_ _Technology_, vol. 18, no. 2, pp. 267–278,
March 2010.
[6] T. G. Flaig, “Discretization strategies for optimal control problems with parabolic
partial differential equations,” Ph.D. dissertation, Universität der Bundeswehr
München, 2013.
[7] Y. Tassa, N. Mansard, and E. Todorov, “Control-limited differential dynamic pro
gramming,” in _2014_ _IEEE_ _International_ _Conference_ _on_ _Robotics_ _and_ _Automation_
_(ICRA)_ . IEEE, 2014, pp. 1168–1175.
[8] E. Yakhshi-Tafti, H. J. Cho, and R. Kumar, “Droplet actuation on a liquid layer
due to thermocapillary motion: Shape effect,” _Applied_ _Physics_ _Letters_, vol. 96, no.
264101, 2010.
[9] S.-Y. Park and P.-Y. Chiou, “Light-Driven Droplet Manipulation Technologies for
Lab-on-a-Chip Applications,” _Advances_ _in_ _OptoElectronics_, vol. 2011, no. 909174,
pp. 1–12, 2011.
[10] M. G. Simon and A. P. Lee, _Microfluidic_ _Droplet_ _Manipulations_ _and_ _Their_ _Appli-_
_cations_ . Springer Science+Business Media, 2012, pp. 23–51.
[11] M. M. Hanczyc, “Droplets: Unconventional protocell model with life-like dynamics
and room to grow,” _Life_, vol. 4, no. 4, pp. 1038–1049, 2014. [Online]. Available:
[http://www.mdpi.com/2075-1729/4/4/1038](http://www.mdpi.com/2075-1729/4/4/1038)
95
96 _BIBLIOGRAPHY_
[12] A. S. Basu and Y. B. Gianchandani, “Virtual microfluidic traps, filters, channels
and pumps using Marangoni flows,” _Journal_ _of_ _Micromechanics_ _and_ _Microengi-_
_neering_, vol. 18, p. 115031, 2008.
[13] J.-P. Delville, M. Robert De Saint Vincent, R. D. Schroll, H. Chraïbi, B. Issenmann,
R. Wunenburger, D. Lasseux, W. W. Zhang, and E. Brasselet, “Laser microfluidics:
fluid actuation by light,” _Journal_ _of_ _Optics_ _A:_ _Pure_ _and_ _Applied_ _Optics_, vol. 11,
pp. 1–31, 2009. [Online]. Available: [https://hal.archives-ouvertes.fr/hal-00366706](https://hal.archives-ouvertes.fr/hal-00366706)
[14] R. Seemann, M. Brinkmann, T. Pfohl, and S. Herminghaus, “Droplet based
microfluidics,” _Reports_ _on_ _Progress_ _in_ _Physics_, vol. 75, no. 1, p. 016601, 2012.
[Online]. Available: [http://stacks.iop.org/0034-4885/75/i=1/a=016601](http://stacks.iop.org/0034-4885/75/i=1/a=016601)
[15] S. L. Anna, “Droplets and bubbles in microfluidic devices,” _Annual_ _Review_ _of_
_Fluid_ _Mechanics_, vol. 48, pp. 285–309, 2016.
[16] Z. Z. Chong, S. H. Tan, A. M. Gañán-Calvo, S. B. Tor, N. H. Loh, and N.-T.
Nguyen, “Active droplet generation in microfluidics,” _Lab_ _Chip_, vol. 16, pp. 35–58,
2016. [Online]. Available: [http://dx.doi.org/10.1039/C5LC01012H](http://dx.doi.org/10.1039/C5LC01012H)
[17] A. Karbalaei, R. Kumar, and H. J. Cho, “Thermocapillarity in microfluidics
- a review,” _Micromachines_, vol. 7, pp. 1–41, 2016. [Online]. Available:
[http://www.mdpi.com/2072-666X/7/1/13](http://www.mdpi.com/2072-666X/7/1/13)
[18] T. Toyota, N. Maru, M. M. Hanczyc, T. Ikegami, and T. Sugawara, “Self-propelled
oil droplets consuming “fuel” surfactant,” _Journal_ _of_ _American_ _Chemical_ _Society_,
vol. 131, no. 14, pp. 5012–5013, 2009.
[19] I. Lagzi, S. Soh, P. J. Wesson, K. P. Browne, and B. A. Grzybowski, “Maze solving
by chemotactic droplets,” _Journal_ _of_ _American_ _Chemical_ _Society_, vol. 132, no. 4,
pp. 1198–1199, 2010.
[20] S. Yabunaka, T. Ohta, and N. Yoshinaga, “Self-propelled motion of a fluid droplet
under chemical reaction,” _The_ _Journal_ _of_ _Chemical_ _Physics_, vol. 136, p. 074904,
2012. [Online]. Available: [http://dx.doi.org/10.1063/1.3685805](http://dx.doi.org/10.1063/1.3685805)
[21] J. C ejková, M. Novák, F. S t e pánek, and M. M. Hanczyc, “Dynamics of chemotactic
droplets in salt concentration gradients,” _Langmuir_, vol. 30, pp. 11 937–11 944,
2014.
[22] H. R. Joshi, “Optimal control problems in pde and ode systems,” Ph.D. dissertation,
University of Tennessee-Knoxville, 2002.
[23] E. Casas, “Optimal control of pde theory and numerical analysis,” pp. 1–136,
August-September 2006, cIMPA School on Optimization and Control. [Online].
Available: [https://cel.archives-ouvertes.fr/cel-00392187](https://cel.archives-ouvertes.fr/cel-00392187)
[24] K. Kunisch and L. Wang, “Time optimal control of the heat equation with pointwise
control constraints,” _ESAIM:_ _Control,_ _Optimisation_ _and_ _Calculus_ _of_ _Variations_,
vol. 19, no. 2, pp. 460–485, 2013.
[25] R. Herzog and K. Kunisch, “Algorithms for PDE-constrained optimization,”
_GAMM-Mitteilungen_, vol. 33, no. 2, pp. 163–176, January 2014.
_BIBLIOGRAPHY_ 97
[26] K. Chudej, H. J. Pesch, M. Wächter, G. Sachs, and F. Le Bras, _Instationary_
_Heat-Constrained_ _Trajectory_ _Optimization_ _of_ _a_ _Hypersonic_ _Space_ _Vehicle_ _by_ _ODE–_
_PDE-Constrained_ _Optimal_ _Control_ . New York, NY: Springer New York, 2009,
pp. 127–144. [Online]. Available: [http://dx.doi.org/10.1007/978-0-387-95857-6_8](http://dx.doi.org/10.1007/978-0-387-95857-6_8)
[27] M. Gerdts and S.-J. Kimmerle, “Numerical optimal control of a coupled ode–pde
model of a truck with a fluid basin,” _Dynamical_ _Systems,_ _Differential_ _Equations_
_and_ _Applications_ _AIMS_ _Proceedings_, pp. 515–524, 2015.
[28] S.-J. Kimmerle, M. Gerdts, and R. Herzog, “Optimal control of an elastic crane
trolley-load system - a case study for optimal control of coupled ODE-PDE
systems,” Universit at der Bundeswehr M unchen, Tech. Rep., June 2015.
[29] M. H. Korayem, M. Haghpanahi, H. N. Rahimi, and A. Nikoobin, “Finite element
method and optimal control theory for path planning of elastic manipulators,”
in _New_ _Advances_ _in_ _Intelligent_ _Decision_ _Technologies:_ _Results_ _of_ _the_ _First_ _KES_
_International_ _Symposium_ _IDT_ _2009_, K. Nakamatsu, G. Phillips-Wren, L. C. Jain,
and R. J. Howlett, Eds. Springer, 2009, pp. 117–126.
[30] P. Boscariol, “Dynamics and control of flexible-links mechanisms,” Ph.D. disserta
tion, Università degli Studi di Udine, 2011.
[31] J. Petereit and T. Bernard, “Real–time nonlinear model predictive control of a
glass forming process using a finite element model,” in _Proc._ _IFIP_ _Conference_
_on_ _System_ _Modeling_ _and_ _Optimization_, ser. Lecture Notes in Computer Science.
Springer, 2011, pp. 266–275.
[32] P. Boscariol and A. Gasparetto, “Model-based trajectory planning for flexible-link
mechanisms with bounded jerk,” _Robotics and Computer-Integrated Manufacturing_,
vol. 29, pp. 90–99, 2013.
[33] R. Dubay, M. Hassan, C. Li, and M. Charest, “Finite element based model predic
tive control for active vibration suppression of a one-link flexible manipulator,”
_ISA_ _Transactions_, vol. 53, no. 5, pp. 1609–1619, 2014.
[34] P. Bochev and D. Ridzal, “Finite element solution of optimal control
problems arising in semiconductor modeling,” pp. 1–8. [Online]. Available:
[http://www.cs.sandia.gov/~pbboche/papers_pdf/2007LSSC_Control.pdf](http://www.cs.sandia.gov/~pbboche/papers_pdf/2007LSSC_Control.pdf)
[35] E. Balsa-Canto, A. A. Alonso, L. T. Antelo, A. Arias-Méndez, E. López-Quiroga,
D. Rivas, and C. Vilas, “Model identification and on-line optimal control of food
processes,” in _Coupled_ _Problems_ _2013_ _Conference_, S. Idelsohn, N. Papadrakakis,
and B. Schrefler, Eds., 2013, pp. 1–12, v International Conference on Computational Methods for Coupled Problems in Science and Engineering.
[36] M. Grundelius, “Methods for control of liquid slosh,” Ph.D. dissertation, Lund
Institute of Technology, 2001.
[37] Y. Tassa, T. Erez, and B. Smart, “Receding horizon differential dynamic
programming,” in _Advances_ _in_ _Neural_ _Information_ _Processing_ _Systems_
_2008_, J. C. Platt, D. Koller, Y. Singer, and S. T. Roweis, Eds.,
2008, pp. 1465–1472. [Online]. Available: [http://papers.nips.cc/paper/](http://papers.nips.cc/paper/3297-receding-horizon-differential-dynamic-programming.pdf)
[3297-receding-horizon-differential-dynamic-programming.pdf](http://papers.nips.cc/paper/3297-receding-horizon-differential-dynamic-programming.pdf)
98 _BIBLIOGRAPHY_
[38] L. Van den Broeck, M. Diehl, and J. Swevers, “Time optimal mpc for mechatronic
applications,” in _Proceedings_ _of_ _the_ _IEEE_ _Conference_ _on_ _Decision_ _and_ _Control_,
December 2009, pp. 8040–8045.
[39] R. Quirynen, M. Vukov, and M. Diehl, _Multiple_ _Shooting_ _in_ _a_ _Microsecond_ .
Springer International Publishing, 2015, pp. 183–201.
[40] G. Williams, A. Aldrich, and E. Theodorou, “Model predictive path integral control
using covariance variable importance sampling,” _CoRR_, vol. abs/1509.01149, 2015.
[Online]. Available: [http://arxiv.org/abs/1509.01149](http://arxiv.org/abs/1509.01149)
[41] CHEM-IT European Commission FP7 FET Proactive Intiative: Bio-chemistry
based Informatoin Technology. [Online]. Available: [http://cordis.europa.eu/fp7/](http://cordis.europa.eu/fp7/ict/fet-proactive/chemit_en.html)
[ict/fet-proactive/chemit_en.html](http://cordis.europa.eu/fp7/ict/fet-proactive/chemit_en.html)
[42] MATCHIT 249032 European Commission FP7-ICT Project: Matrix for Chemical
IT. [Online]. Available: [http://fp7-matchit.eu/](http://fp7-matchit.eu/)
[43] EVOBLISS 611640 European Commission FP7-ICT Project: Technological
Evolution of Synergy Between Physicochemical and Living Systems. [Online].
Available: [https://blogit.itu.dk/evoblissproject/](https://blogit.itu.dk/evoblissproject/)
[44] J. M. P. Gutiérrez, “Automatic liquid handling for artificial life research,” pp.
1–155, June 2012, MSc Thesis, Supervisors: Kasper Støy and David Brandt.
[45] J. M. P. Gutierrez, T. Hinkley, J. W. Taylor, K. Yanev, and L. Cronin, “Evolution
of oil droplets in a chemorobotic platform,” _Nature_ _Communications_, vol. 5, no.
5571, 2014.
[46] National science foundation eccs, 1308025, droplet ratchets: Low-cost
parallel microfluidics. [Online]. Available: [http://grantome.com/grant/NSF/](http://grantome.com/grant/NSF/ECCS-1308025)
[ECCS-1308025](http://grantome.com/grant/NSF/ECCS-1308025)
[47] National science foundation eccs, 1102280, droplet thermotaxis: A new
platform technology for droplet-based microfluidic systems. [Online]. Available:
[http://grantome.com/grant/NSF/ECCS-1102280](http://grantome.com/grant/NSF/ECCS-1102280)
[48] A. Davanlou, “Thermally induced motion, collision and mixing of levitated
droplets,” Ph.D. dissertation, University of Central Florida, 2015.
[49] Z. Jiao and N.-T. Nguyen, “Manipulation of droplet in a planar channel by periodic
thermocapillary actuation,” _Journal_ _of_ _Micromechanics_ _and_ _Microengineering_,
vol. 18, no. 045027, pp. 1–9, 2008.
[50] A. L. Yarin, W. Liu, and D. Reneker, “Motion of droplets along thin fibers with
temperature gradient,” _Journal_ _of_ _Applied_ _Physics_, vol. 91, no. 7, 2002.
[51] C. N. Baroud, J.-P. Delville, F. Gallaire, and R. Wunenburger, “Thermocapillary
valve for droplet production and sorting,” _Physical_ _Review_ _E_, vol. 75, p. 046302,
April 2007. [Online]. Available: [http://link.aps.org/doi/10.1103/PhysRevE.75.](http://link.aps.org/doi/10.1103/PhysRevE.75.046302)
[046302](http://link.aps.org/doi/10.1103/PhysRevE.75.046302)
[52] E. Vela, H. Moustapha, and S. Régnier, “Laser-induced thermocapillary convection
for mesoscale manipulation,” _International_ _Journal_ _of_ _Optomechatronics_, vol. 3,
no. 4, pp. 289–302, 2009.
_BIBLIOGRAPHY_ 99
[53] E. Verneuil, M. L. Cordero, F. Gallaire, and C. N. Baroud, “Laser-induced force
on a microfluidic drop: Origin and magnitude,” _Langmuir_, vol. 25, no. 9, pp.
5127–5134, 2009. [Online]. Available: [http://dx.doi.org/10.1021/la8041605](http://dx.doi.org/10.1021/la8041605)
[54] D. E. Lucchetta, F. Simoni, L. Nucara, and R. Castagna, “Controlled-motion of
floating macro-objects induced by light,” _AIP_ _Advances_, vol. 5, 2015.
[55] F. Takabatake, K. Yoshikawa, and M. Ichikawa, “Communication : Mode bifurca
tion of droplet motion under stationary laser irradiation,” _The Journal of Chemical_
_Physics_, vol. 141, no. 051103, pp. 10–14, 2014.
[56] U. Baur, P. Benner, and L. Feng, “Model order reduction for linear and nonlinear
systems: a system-theoretic perspective,” Max Planck Institute for Dynamics of
Complex Technical Systems, Magdeburg, Tech. Rep., March 2014, mPIMD/14-07.
[57] M. M. Hanczyc, J. M. Parrilla, A. Nicholson, K. Yanev, and K. Stoy, “Creating
and maintaining chemical artificial life by robotic symbiosis,” _Artificial_ _life_, vol. 21,
no. 1, pp. 47–54, 2015.
[58] A. Javier, _Laser_ _and_ _Gaussian_ _Beam_ _Propagation_ _and_ _Transformation_ . Marcel
Dekker, Inc., 2003, pp. 999–1013.
[59] A. I. Fedosov, “Thermocapillary motion,” _Zhurnal_ _Fizicheskoi_ _Khimii_, vol. 30,
no. 2, pp. 366–373, 1956. [Online]. Available: [http://arxiv.org/abs/1303.0243](http://arxiv.org/abs/1303.0243)
[60] O. C. Zienkiewicz, R. L. Taylor, and J. Z. Zhu, _The_ _Finite_ _Element_
_Method:_ _its_ _Basis_ _and_ _Fundamentals_ _(Seventh_ _Edition)_, 7th ed. Oxford:
Butterworth-Heinemann, 2013. [Online]. Available: [http://www.sciencedirect.](http://www.sciencedirect.com/science/book/9781856176330)
[com/science/book/9781856176330](http://www.sciencedirect.com/science/book/9781856176330)
[61] L. H. Dill and R. Balasubramaniam, “Unsteady thermocapillary migration of
bubbles,” pp. 1–13, January 1988, nASA Technical Memorandum 101338.
[62] N. Rashidnia and R. Balasubramaniam, “Thermocapillary migration of liquid
droplets in a temperature gradient in a density matched system,” _Experiments_ _in_
_Fluids_, vol. 11, no. 2-3, pp. 167–174, 1991.
[63] R. Sun, “A nonlinear thermocapillary migration of droplets due to
dependence of physical properties on temperature,” _Journal_ _of_ _Hydrodynamics,_
_Ser._ _B_, vol. 18, no. 4, pp. 469–474, 2006. [Online]. Available: [http:](http://www.sciencedirect.com/science/article/pii/S1001605806601224)
[//www.sciencedirect.com/science/article/pii/S1001605806601224](http://www.sciencedirect.com/science/article/pii/S1001605806601224)
[64] R. Eötvös, “Ueber den zusammenhang der oberflächenspannung der flüssigkeiten
mit ihrem molecularvolumen,” _Annalen_ _der_ _Physik_, vol. 263, no. 3, pp. 448–459,
1886.
[65] E. F. Greco and R. O. Grigoriev, “Thermocapillary migration of interfacial
droplets,” _Physics_ _of_ _Fluids_, vol. 21, 2009. [Online]. Available: [http:](http://dx.doi.org/10.1063/1.3112777)
[//dx.doi.org/10.1063/1.3112777](http://dx.doi.org/10.1063/1.3112777)
[66] E. L. Haseltine and J. B. Rawlings, “A critical evaluation of extended kalman
filter and moving horizon estimation,” Texas-Wisconsin Modeling and Control
Consortium, Tech. Rep., March 2003.
100 _BIBLIOGRAPHY_
[67] M. Diehl, H. J. Ferreau, and N. Haverbeke, “Efficient numerical methods for nonlin
ear mpc and moving horizon estimation,” _International_ _Workshop_ _on_ _Assessment_
_and_ _Future_ _Directions_ _of_ _NMPC_, pp. 1–24, September 2008.
[68] Makeblock. [Online]. Available: [http://www.makeblock.com/](http://www.makeblock.com/)
[69] T. P. Petrova, “Revised release on surface tension of ordinary water substance,”
The International Association for the Properties of Water and Steam, Moscow,
Russia, Tech. Rep., June 2014, IAPWS R1-76(2014. [Online]. Available:
[http://www.iapws.org](http://www.iapws.org)
[70] M. Witczak, _Unknown_ _Input_ _Observers_ _and_ _Filters_ . Springer International
Publishing, 2014, pp. 19–56.
[71] M. Hoshiya and A. Sutoh, “Kalman filter-finite element method in identification,”
_Journal_ _of_ _Engineering_ _Mechanics_, vol. 119, no. 2, pp. 197–210, February 1993.
[72] H. Wakita, “Estimation of water flow at watarase retardation pond using kalman
filter finite element method,” Chuo University, Kawahara Lab., Tech. Rep., 2003.
[73] G. Battistelli, L. Chisci, N. Forti, G. Pelosi, and S. Selleri, “Distributed finite
element Kalman filter,” in _Proceedings_ _of_ _the_ _European_ _Control_ _Conference_ _(ECC)_,
July 2015, pp. 3695–3700.
[74] F. Biral, E. Bertolazzi, P. Bosetti, A. De Marchi, and M. M. Hanczyc, “Optimal
Control of a Laser Source to Generate a Minimum Time Trajectory of a Droplet
in a Liquid Layer,” in _Proc._ _IEEE_ _Future_ _Technologies_ _Conference_, 2016, in Press.
[75] R. Lot and F. Biral, “A curvilinear abscissa approach for the lap time optimization
of racing vehicles,” in _Proc._ _19th_ _IFAC_ _World_ _Congress_, vol. 47, no. 3, Cape Town,
South Africa, August 2014, pp. 7559–7565.
[76] F. Biral, E. Bertolazzi, and P. Bosetti, “Notes on numerical methods for solving
optimal control problems,” _IEEJ_ _Journal_ _of_ _Industry_ _Applications_, vol. 5, no. 2,
pp. 154–166, 2016.
[77] L. S. Pontryagin, V. G. Boltyanskii, R. V. Gamkrelidze, and E. Mishchenko, _The_
_mathematical_ _theory_ _of_ _optimal_ _processes_ _(International_ _series_ _of_ _monographs_ _in_
_pure_ _and_ _aplied_ _mathematics_ . Interscience Publishers, 1962.
[78] J. D. Gibson, “A direct search approach to optimization for nonlinear model
predictive control,” _Optimal_ _Control_ _Applications_ _and_ _Methods_, vol. 36, pp. 139–
157, 2015.
[79] D. Mayne, “A second-order gradient method for determining optimal trajectories of
non-linear discrete-time systems,” _International Journal of Control_, vol. 3, no. 1, pp.
85–95, 1966. [Online]. Available: [http://dx.doi.org/10.1080/00207176608921369](http://dx.doi.org/10.1080/00207176608921369)
[80] D. Q. Mayne, J. B. Rawlings, C. V. Rao, and P. O. M. Scokaert, “Constrained
model predictive control: Stability and optimality,” _Automatica_, vol. 36, pp.
789–814, 2000.
[81] G. Droge and M. Egerstedt, “Adaptive time horizon optimization in model predic
tive control,” in _Proceedings_ _of_ _the_ _2011_ _American_ _Control_ _Conference_ . IEEE,
2011.
_FTC_ _2016_ _-_ _Future_ _Technologies_ _Conference_ _2016_
_6-7_ _December_ _2016_ _|_ _San_ _Francisco,_ _United_ _States_
## Optimal Control of a Laser Source to Generate a Minimum Time Trajectory of a Droplet in a Liquid Layer
Francesco Biral <sup>_∗_</sup>, Enrico Bertolazzi <sup>_∗_</sup>, Paolo Bosetti <sup>_∗_</sup>, Alberto De Marchi <sup>_∗_</sup> and Martin M. Hanczyc <sup>_†_</sup>
_∗_ Department of Industrial Engineering
University of Trento
Trento, Italy I-38123
Email: paolo.bosetti@unitn.it
_†_ Centre for Integrative Biology
University of Trento
Trento, Italy I-38123
Email: martin.hanczyc@unitn.it
_Abstract_ —This paper describes the use of optimal control
theory applied to the motion of a low-power laser beam to
precisely move a droplet in a liquid layer by means of the force on
the liquid-liquid interface arising due to the surrounding thermal
field (thermocapillary force and Marangoni effect). The form of
heat field equations is approximated by the solution of a finite
sum of laser pulses, whose analytical solution can be explicitly
derived. In this way, the model of the system does not contain any
partial differential equation (PDE). Optimization is performed
by using the direct approach method and the _fmincon_ solver
provided by Matlab. The initial guess is found with a simple model
predictive controller. Perspective applications of this technology
include beam-controlled targeting of pharmaceuticals in organic
tissues.
_Keywords_ — _Optimal_ _control,_ _model_ _predictive_ _control,_ _droplet,_
_thermocapillary_ _force,_ _targeting_ _of_ _pharmaceuticals_
I. INTRODUCTION
The manipulation of liquid droplets suspended in another
liquid can be achieved through thermocapillary motion through
a nonuniform heat distribution in the system [1]. This nonuniformity results in thermocapillary stresses near the droplet interface with liquid flowing from the hot (lower surface tension)
to cold side (higher surface tension) through Marangoni flows.
In systems where viscosity dominates, the droplet will migrate.
This resulting fluid flow dynamics allows for the movement of
the droplet directionally through the system (e.g. for bubbles
see [2]; for liquid droplets see [3]; for liquid droplets of
spherical and aspherical shape see [4] and [5]).
The manipulation of droplets through heat gradient induced Marangoni flows have found practical applications in
microfluidics including controlled mixing, confining, filtering,
trapping and pumping of droplets [6]. The application of light
energy to induce quick and controlled thermal gradients has
also been explored [7], [8], [9]. By using optothermal capillary control, multidroplet manipulation and fusion has been
demonstrated [10] as well as high speed droplet sorting [11].
The Authors have been exploring the dynamical motion of
liquid droplets in a second immiscible liquid phase [12]. These
droplets either have on board chemical potential which then
induces and fuels a Marangoni flow system for autonomous
motion [13], or the droplets are more passive and only respond
to local chemical gradients in the system. Even in the simpler
passive system the dynamical fluid motion of droplets allows
for the completion of simple tasks such as solving mazes [14].
Interfacing dynamic droplets with electromechanical control can allow for the precise manipulation of droplets [10],
[11], the sustenance of non-equilibrium states [15], and the
exploration of the dynamical phase spaces [16].
In the present work, the Authors develop the use of optimal
control theory applied to the motion of a low-power laser beam
to precisely move a droplet through thermocapillary action.
This methodology has application in the broader context of
fluid mixing, tuning of interfacial properties and combinatorial
processes including reactive combinatorial chemistry when
droplets are precisely positioned to fuse. This will allow
the control of sensitive chemical reactions on demand under
controlled laboratory conditions as applied to biochemical
analyses and material synthesis.
Currently this technology will add a fundamental control
layer to our current EU project EVOBLISS that uses a robotic
platform for the manipulation of chemical droplets [17]. In
order to provide effective functionality for the project the
optimal control mechanism will be implemented in real time
to interface with the dynamics of the chemical droplets [15].
This is a novel substantiation of such an approach and the
real time component is critical for precise manipulation of
far from equilibrium chemical systems. This type of platform
and control mechanism is distinct from often used microfluidics where microsized droplets are produced and manipulated
almost exclusively through the imposed architectures of the
microfluidic device [18], [19]. Instead here it is of interest to
take advantage of targeted control mechanisms to temporarily
interface with the dynamic droplets but then once the control
is achieved release the droplets to allow them perform tasks
more autonomously. It is hoped that in the future the precise
positional control of reactive chemistries can be effected in
complex environments such as organ tissues to deliver and
IEEE 1 _|_ P a g e
Nominal trajectory
B
A
Laser positions
MPC B
A
Droplet Robot
model model
OCP Guess solution
Inverse
dynamics
Solution
Fig. 1. Schematics of control method
Experimental
apparatus
perhaps trigger the synthesis and release of therapeutics on
site.
II. MODELING
The work here presented is based on the idea of moving
a droplet in its fluid environment by “pushing” it with the
thermal gradient that results from heating the surrounding
liquid with a laser beam. It is as letting the droplet surfing
on the wave produced by a localized heat source.
In order to control the motion of the droplet by moving the
laser spot about its proximity, the _trajectory_ (i.e. the path and
its time-history) of the laser spot itself has to be calculated
according to the dynamics of the droplet and of the thermal
field itself, so that the resulting laser motion is neither too
fast—so that the droplet would loose tracking—nor too slow—
which would result in the laser beam hitting the droplet itself.
Consequently, it is needed a set of analytical models (perhaps approximated) of the droplet and of the system actuating
the laser position—which will be referred to as the _robot_ in
the followings.
These models are then used for calculating the optimum
time-sequence of _controls_ that ensure the robot moves the laser
at the optimal speed (neither too fast nor too slow) and along
the desired trajectory in its liquid medium.
The schematics in Fig. 1 summarizes the approach: the
whole process starts from the initial definition of the desired,
nominal trajectory. With the approach known as _Model Predic-_
_tive Control_ (MPC), the model of the droplet dynamics is then
used for calculating the time-sequence of laser spot positions
that would drive the droplet from its initial position to the target
one. This sequence of position is then converted in a sequence
of robot _controls_ (or inputs to the robot motors) thanks to
the robot model and to its inverse dynamics. The result of
this step is the _guess_ _solution_, i.e. a tentative, approximate
solution that still does not ensure an optimal performance,
and which is eventually used for solving the _Optimal_ _Control_
_Problem_ (OCP). The latter, finally, produces an optimal time
sequence of controls that allows to drive the droplet from A
to B maximizing the performance and yet complying with a
given set of constraints.
The following sections are detailedly describing the models
of the dynamics for droplet and robot, and the numerical ap
_FTC_ _2016_ _-_ _Future_ _Technologies_ _Conference_ _2016_
_6-7_ _December_ _2016_ _|_ _San_ _Francisco,_ _United_ _States_
proaches taken for solving the two-step optimization approach
(MPC + OCP).
_A._ _Model_ _of_ _Laser_ _Heating_
For a source of intensity _I_ 0, the transmitted intensity _I_ of
an electromagnetic wave penetrating a material is given by
Beer’s law
_I_ ( _z_ ) = _I_ 0 _e_ <sup>_−β_</sup> <sup>(</sup> <sup>_λ_</sup> <sup>)</sup> <sup>_z_</sup> (1)
where _β_ ( _λ_ ) is the absorption coefficient that depends on laser
wavelength _λ_ and _z_ is the path length. Let us focus on an
absorbing layer of thickness ∆ _z_ along the beam propagation
direction. For a weakly absorbing medium, i.e. _β_ ( _λ_ )∆ _z_ _≪_ 1,
the intensity _I_ ( _z_ ) can be approximated as a first-order term
_I_ ( _z_ ) _≈_ _I_ 0 [1 _−_ _β_ ( _λ_ ) _z_ ] (2)
Therefore the intensity reduction per unit thickness is _β_ ( _λ_ ) _I_ 0.
Assuming that all the light energy absorbed by the medium
is converted instantly to heat, the intensity reduction per unit
thickness is the thermal energy deposited in the medium per
unit volume per unit time
_q_ ˙ = _β_ ( _λ_ ) _I_ 0 (3)
Considering the function _θ_, it shall be assessed if it could
be a solution of the heat equation above, and in that case its
coefficients will be matched. Substituting _θ_ and its derivatives
Let us define temperature field _w_, laser position x _L_ and
power _pL_, heat sink temperature _w_ ¯ and the spatial domain Ω _⊂_
R <sup>2</sup> with boundary _∂_ Ω, time-space domain Ω= <sup>˜</sup> ( _ti, tf_ ) _×_ Ω
with spatial boundary _∂_ Ω= <sup>˜</sup> ( _ti, tf_ ) _×_ Ω <sup>˜</sup> . Transient thermal
dynamics is governed by the unsteady heat equation assuming
constant liquid properties (specific mass _ρ_, specific heat _cp_,
thermal conductivity _k_, thermal diffusivity _α_ = _k/ρcp_ ) and
absence of any mass transport. For ( _t,_ x ) _∈_ Ω <sup>˜</sup> it reads
_<u>∂w</u>_
_ρcp_
_∂t_ <sup>(</sup> <sup>_t,_</sup> <sup>x</sup> <sup>) =</sup> <sup>_k∇_</sup> <sup>2</sup> <sup>_w_</sup> <sup>(</sup> <sup>_t,_</sup> <sup>x</sup> <sup>) +</sup> <sup>_q_</sup> <sup>˙(</sup> <sup>_t,_</sup> <sup>x</sup> <sup>)</sup> (4)
For the sake of simplicity, constant homogeneous Dirichlet
boundary conditions, i.e. _w_ ¯( _t,_ x ) = 0 _∀_ ( _t,_ x ) _∈_ _∂_ Ω <sup>˜</sup>, are
selected. Moreover, laser-induced incident intensity is assumed
to be Gaussian with characteristic radius _rL_ and with fixed
wavelength, so that absorption coefficient _β_ = _β_ ( _λ_ ) is constant.
_q_ ˙( _t,_ x ) = <sup><u>2</u></sup> <sup>_<u>β</u>_</sup>
_r_ <sup><u>2</u></sup>
_L_ <sup><u>2</u></sup> <sup>_<u>L∥</u>_</sup> <sup>2</sup> (5)
_πrL_ <sup>2</sup>
_pL_ _e_
_−_ 2 <sup>_<u>∥</u>_</sup> <sup><u>x</u></sup> <sup>_<u>−</u>_</sup> _r_ <sup><u>x</u></sup> _L_ <sup><u>2</u></sup> <sup>_<u>L∥</u>_</sup> <sup>2</sup>
_L_
So the governing equation expressed in polar coordinates
(centred in laser pulse position) reads
_−_ 2 <sup>_<u>r</u>_</sup> <sup><u>(</u></sup> _r_ <sup><u>x</u></sup> _L_ <sup><u>2)2</u></sup>
_ρcp_
_<u>∂w</u>_
_<u>∂w</u>_
_∂t_ <sup>(</sup> <sup>_t,_</sup> <sup>x</sup> <sup>) =</sup> <sup>_k∇_</sup> <sup>2</sup> <sup>_w_</sup> <sup>(</sup> <sup>_t,_</sup> <sup>x</sup> <sup>) +</sup> <sup><u>2</u></sup> _πr_ <sup>_<u>βp</u>_</sup> _L_ <sup>2</sup> <sup>_<u>L</u>_</sup>
_πrL_ <sup>2</sup>
_r_ <sup><u>2</u></sup>
_L_ <sup><u>2)2</u></sup>
_δ_ ( _t −_ _ti_ ) (6)
_e_
_L_
Let us recall the solution _w_ ˜ for an instantaneous point-wise
heat release (energy _pL_ ∆ _t_ in _r_ = 0 at time _t_ = 0) and build
by similarity a function _θ_ with free parameters _a_, _b_ and _c_
(7)
_w_ ˜ = _w_ ¯ + <sup>_<u>βpL</u>_</sup> <sup><u>∆</u></sup> <sup>_<u>t</u>_</sup>
<u>1</u>
4 _αt_ <sup>_e−r_</sup> <sup>2</sup> <sup>_/_</sup> <sup>(4</sup> <sup>_αt_</sup> <sup>)</sup>
_πρcp_
_<u>a</u>_
_θ_ = _w_ ¯ +
_ct_ + 1 <sup>_e−br_</sup> <sup>2</sup> <sup>_/_</sup> <sup>(</sup> <sup>_ct_</sup> <sup>+1)</sup>
IEEE 2 _|_ P a g e
_FTC_ _2016_ _-_ _Future_ _Technologies_ _Conference_ _2016_
_6-7_ _December_ _2016_ _|_ _San_ _Francisco,_ _United_ _States_
Pulsed point source
Cont. point source
~~Pulsed Gaussian source~~
0 0.005 0.010
Distance (m)
into the heat equation, after some calculations, one gets two
conditions on coefficients:
_c_ = 4 _αb_ _b_ = <sup><u>2</u></sup>
_,_ (8)
0.05
0.04
0.03
0.02
0.01
0
_rL_ <sup>2</sup>
_L_
where _α_ = _k/_ ( _ρcp_ ) is the liquid thermal diffusivity. Then, by
the energy conservation law, one can also write:
_βpL_ ∆ _t_ =
=
Ω
0
- 2 _π_
Ω
_ρcp_ ( _θ −_ _w_ ¯) _d_ Ω
(9)
_<u>a</u>_
_ct_ + 1 <sup>_e−br_</sup> <sup>2</sup> <sup>_/_</sup> <sup>(</sup> <sup>_ct_</sup> <sup>+1)</sup> <sup>_rdrdθ_</sup>
0
0
<u>�</u> _<u>a</u>_ _∞_
_ρcp_
0
_<u>a</u>_
= _πρcp_
_b_
_⇓_
= _πρcp_
_a_ = <sup>_<u>βpL</u>_</sup> <sup><u>∆</u></sup> <sup>_<u>t</u>_</sup>
Fig. 2. Temperature field induced by laser heating: finite sum approximation
with time step ∆ _t_ = 10 ms (spatial resolution 20 _µ_ m)
_πρcp_
_b_
Pulsed point source
Cont. point source
~~Pulsed Gaussian source~~
0 0.005 0.010
Distance (m)
Thus, by solving for coefficients _a_, _b_ and _c_ and substituting
into function _θ_, one find the analytical expression of temperature field due to an instantaneous Gaussian laser pulse. Notice
that for every finite _rL_ the solution satisfies:
_r_ lim _→∞_ <sup>_θ_</sup> <sup>=</sup> <sup>_w_</sup> <sup>¯</sup> (10)
_t_ lim _→∞_ <sup>_θ_</sup> <sup>=</sup> <sup>_w_</sup> <sup>¯</sup>
For _t >_ 0, it results:
0.05
0.04
0.03
0.02
0.01
0
_w_ ( _t,_ x ) = _w_ ¯ + <sup><u>2</u></sup>
_π_
_<u>βpL</u>_ <u>∆</u> _<u>t</u>_
_ρcp_
<u>1</u>
8 _αt_ + _rL_ <sup>2</sup>
_<u>r</u>_ <u>(</u> <u>x</u> <u>)</u> <sup>2</sup>
_−_ 2 8 _αt_ + _r_
_e_
8 _αt_ + _rL_ <sup><u>2</u></sup> (11)
where _r_ ( x ) is the distance between x and heat release position
x _L_ .
Then, the exact thermal field generated by a laser beam
trajectory x _L_ ( _t_ ) and laser power profile _pL_ ( _t_ ) can be computed
by the convolution integral (thanks to linearity), for _t_ _>_ 0.
Actually it turns out that this integral is quite involved, so it is
preferable to build an equispaced time grid and approximate
the convolution integral as the finite sum of instantaneous laser
pulses.
_<u>pL</u>_ <u>(</u> _<u>τ</u>_ <u>)</u>
_L_
8 _α_ ( _t −_ _τ_ ) + _r_ <sup>2</sup>
_w_ ( _t,_ x ) = _w_ ¯ + <sup><u>2</u></sup>
_π_
_<u>β</u>_
_ρcp_
0
<u>�</u> _t_
_−_ 2 8 <sup>_<u>∥</u>_</sup> _α_ <sup><u>x</u></sup> <sup>_<u>−</u>_</sup> ( _t_ <sup><u>x</u></sup> _−_ <sup>_<u>L</u>_</sup> _τ_ <sup><u>(</u></sup> )+ <sup>_<u>τ</u>_</sup> <sup><u>)</u></sup> _r_ <sup>_<u>∥</u>_</sup> _L_ <sup><u>22</u></sup>
_e_
8 <sup>_<u>∥</u>_</sup> _α_ <sup><u>x</u></sup> <sup>_<u>−</u>_</sup> ( _t_ <sup><u>x</u></sup> _−_ <sup>_<u>L</u>_</sup> _τ_ <sup><u>(</u></sup> )+ <sup>_<u>τ</u>_</sup> <sup><u>)</u></sup> _r_ <sup>_<u>∥</u>_</sup> _L_ <sup><u>22</u></sup> _dτ_
_⇓_
_w_ ( _tk,_ x ) _≈_ _w_ ¯ + _π_ <sup><u>2</u></sup>
_<u>β</u>_ <u>∆</u> _<u>t</u>_
_ρcp_
Fig. 3. Temperature field induced by laser heating: finite sum approximation
with time step ∆ _t_ = 40 ms (spatial resolution 20 _µ_ m)
between two consecutive laser pulses. In order to validate
this approach and to estimate an upper bound for the time
step, it is useful to compare the result with an analytical
solution. Temperature profile induced by a continuous—not
pulsed—point heat source moving at constant speed is known
in literature. Approximations of this analytical solution with
finite sum of pulses are shown in Fig. 2 and Fig. 3, considering two different time steps. Moreover, temperature field
approximation in case of Gaussian laser beam is reported.
Parameters are characteristic radius _rL_ = 0 _._ 2 mm, constant
speed 10 mm _/_ s, power laser and liquid properties from I. It is
evident that analytical and _finite-sum_ profiles converge as time
step diminishes. As expected, in the neighbourhood of laser
spot, predicted temperature due to point or Gaussian source is
quite different, being in the latter case much smoother. Thanks
to this, the sensitivity of temperature approximation in the case
of Gaussian source is smaller.
_B._ _Model_ _of_ _Thermocapillary_ _Motion_
_1) Steady-state_ _Migration_ _Velocity:_ From classical works
[1], [3], the thermocapillary migration velocity of a droplet on
an open flat container with thin liquid layer is
<u>2</u> _<u>a</u>_
(14)
u = _<u>−</u>_ (2 + <sup>_<u>α</u>_</sup> _α_ <sup>_<u>′</u>_</sup> <sup>)(2</sup> <sup>_µ_</sup> <sup>+ 3</sup> <sup>_µ′_</sup> <sup>)</sup> <sup>_σT ∇w_</sup>
_k_
_j_ =0
_<u>pL,j</u>_
_L_
8 _α_ ( _k −_ _j_ )∆ _t_ + _r_ <sup>2</sup>
_−_ 2
_e_
_−_ 2
_<u>∥</u>_ x _<u>−</u>_ x _<u>L,j ∥</u>_ <sup>2</sup>
8 _α_ ( _k−j_ )∆ _t_ + _rL_ <sup><u>2</u></sup>
(12)
One can than compute explicitly the thermal gradient,
considering a cylindrical system of coordinates for each laser
pulse and projecting then in the absolute Cartesian system:
_∇w_ ( _tk,_ x ) =
= _−_ _π_ <sup><u>8</u></sup>
_<u>β</u>_ <u>∆</u> _<u>t</u>_
_ρcp_
_k_
_j_ =0
_j_ =0
_<u>pL,j</u>_ <u>(</u> <u>x</u> _<u>−</u>_ <u>x</u> _<u>L,j</u>_ <u>)</u>
_−_ 2
_<u>∥</u>_ x _<u>−</u>_ x _<u>L,j ∥</u>_ <sup>2</sup>
_<u>∥</u>_ x _<u>−</u>_ x _<u>L,j ∥</u>_ <sup>2</sup>
8 _α_ ( _k−j_ )∆ _t_ + _rL_ <sup><u>2</u></sup> (13)
[8 _α_ ( _k −_ _j_ )∆ _t_ + _r_ <sup>2</sup>
_L_ <sup>]2</sup> <sup>_e_</sup>
<sup>2</sup>
The approximation of temperature field using a finite sum
of pulses depends on the time step ∆ _t_, that is the time interval
IEEE 3 _|_ P a g e
where _µ_ is the dynamic viscosity of the liquid and _α_ its thermal
diffusivity, _a_ is the droplet radius, _∂w∂σ_ <sup>=</sup> <sup>_σT_</sup> <sup>the</sup> <sup>thermal</sup>
interfacial tension coefficient, _w_ the temperature at droplet
position (neglecting the presence of droplet itself). Terms with
prime relate to droplet properties, without to liquid properties.
_2) Unsteady_ _Thermocapillary_ _Motion:_ Detailed dynamics
can be captured solving Navier-Stokes equations. This problem
is widely covered in literature in the approximation of small
Reynolds and Marangoni numbers [2]. Actually, estimating
Reynolds number with _ρ_ _≈_ 1000 kg _/_ m <sup>3</sup>, _v_ _≈_ 2 mm _/_ s _÷_
5 mm _/_ s, _l_ _≈_ 2 mm _÷_ 4 mm and _µ_ _≈_ 0 _._ 8 mPa, one gets
_Re_ = _ρvl/µ_ _≈_ 5 _÷_ 25. Thus, flow can be considered laminar
but transient phase is not negligible. Simple models that fit this
dynamics with experimental evidence have been found [9].
Lets now apply Newton’s approach assuming the droplet
to be a point-mass. Considering linear thermocapillary force
and quadratic drag force, the droplet equation of motion reads
as:
x ˙ _D_ ( _t_ ) = v _D_ ( _t_ )
_m_ v ˙ _D_ ( _t_ ) = F _σ_ ( _t_ ) + F _drag_ ( _t_ )
(15)
= _c_ 1 _a_ <sup>2</sup> _σT ∇w_ ( _t, xD_ ) _−_ _c_ 2 _a_ <sup>2</sup> _∥_ v _D_ ( _t_ ) _∥_ v _D_ ( _t_ )
where _xD_ is droplet position, _vD_ droplet velocity, _m_ mass,
_a_ radius, _σT_ = _∂w∂σ_ <sup>liquid-droplet</sup> <sup>surface</sup> <sup>tension</sup> <sup>coeffi-</sup>
cient, _w_ temperature, _c_ 1 and _c_ 2 scalar parameters. Constant
_c_ 2 = _ρlCdrag/_ 2 _>_ 0 collects liquid specific mass _ρl_ and
drag coefficient _Cdrag_ . All liquid and droplet properties are
considered constant with respect to temperature and time.
Constant _c_ 1 may be estimated considering the steady-state
condition v ˙ _D_ = 0, i.e. when subject to a constant thermal
_∇w_ the droplet reaches the steady-state velocity v _D_ <sup>_∞_</sup> <sup>.</sup>
In this condition it becomes:
gradient <sup>�</sup>
_D_
_∇w −_ _c_ 2 _a_ <sup>2</sup> _∥_ v <sup>_∞_</sup>
_FTC_ _2016_ _-_ _Future_ _Technologies_ _Conference_ _2016_
_6-7_ _December_ _2016_ _|_ _San_ _Francisco,_ _United_ _States_
Fig. 4. Robotic platform developed for EVOBLISS project [17]
signals I _L_ . Lets consider a generic second-order system to
represent the platform, that is:
x ˙ _L_ = v _L_
_ML_ ( x _L_ ) ˙ v _L_ = _BL_ ( x _L_ ) I _L −_ _CL_ ( x _L,_ v _L_ ) v _L_
(17)
where it is defined mass matrix _ML_, input matrix _BL_, damping
matrix _CL_ —not diagonal in general. This model is quite general and comprises many different types of systems. Actually,
it reasonably represents stepper motor dynamics under nonslipping conditions. Then, having the platform two independent
axles, matrices _ML_, _BL_ and _CL_ become diagonal. Moreover,
the two axes are considered to be equal and independent on the
state, so one can replace matrices with three scalar values—
_mL_, _bL_ and _cL_ . Finally, the model reads as:
_∇w_ the droplet reaches the steady-state velocity v _D_ <sup>_∞_</sup> <sup>.</sup>
In this condition it becomes:
gradient <sup>�</sup>
(18)
_∇w −_ _c_ 2 _a_ <sup>2</sup> _∥_ v _D_ <sup>_∞_</sup>
_⇓_
0 = _c_ 1 _a_ <sup>2</sup> _σT_ <sup>�</sup> _−_ 1
1 = <sup>_<u>c</u>_</sup> <sup><u>2</u></sup>
_D_
_D_ <sup>_∞∥_</sup> <sup>v</sup> <sup>_∞_</sup>
_D_
_∇w −_ _c_ 2 _a_ <sup>2</sup> _∥_ v _D_ <sup>_∞∥_</sup> <sup>v</sup> <sup>_∞_</sup>
_⇓_
_c_ 1 _a_ <sup>2</sup> _σT_ <sup>�</sup>
x ˙ _L_ = v _L_
_mL_ ˙ v _L_ = _bL_ I _L −_ _cL_ v _L_
III. OPTIMAL CONTROL PROBLEM
_A._ _Formulation_
_c_ 1 = <sup>_<u>c</u>_</sup> <sup><u>2</u></sup>
(16)
_−_ 1
_D_ <sup>_∞_</sup> _∇_ <sup>�</sup> to _w_
_σT_
_∥_ v _D_ <sup>_∞_</sup>
_D_ <sup>_∞∥_</sup> <sup>v</sup> _D_ <sup>_∞_</sup>
Experimentally it was possible to find _∥_ v _D_ <sup>_∞∥≈_</sup> <sup>5</sup> <sup>mm/s</sup>
_∇w_ _≈−_ 15 K/m. Other
parameters of the experimental setup are reported in Tab. I.
Finally, as results from (16), the estimation of thermocapillary
and then numerically to estimate <sup>�</sup>
force constant is _c_ 1 _≈_ 2.
Experimentally it was possible to find _∥_ v _D_ <sup>_∞_</sup>
Lets now consider now the definition of Marangoni number
_Ma_ = _−σT L_ ∆ _w/_ ( _µα_ )— _L_ and ∆ _w_ characteristic length and
temperature difference, _µ_ dynamic viscosity—and try to estimate the surface tension force as _Fσ_ = _Maµα_ = _−σT L_ ∆ _w_ .
Assuming ∆ _w_ = _−a∇w_ and _L_ = _a_ as characteristic
quantities, one finds exactly _c_ 1 = 1, meaning that the orderof-magnitude of the previous estimation may be correct.
Lets now collect states in vector z = [ x _D,_ v _D,_ x _L,_ v _L_ ] <sup>_T_</sup>
and controls u = I _L_ and define the cost functional _J_ for the
time-optimal control problem, with cost on control and laser
pointer velocity.
_ti_
(19)
<sup>_<u>w</u>_</sup> 2 <sup>_<u>u</u>_</sup> <sup>_∥_</sup> <sup>u</sup> <sup>_∥_</sup> <sup>2 +</sup> <sup>_<u>w</u>_</sup> 2 <sup>_<u>v</u>_</sup> <sup>_∥_</sup> <sup>v</sup> <sup>_L∥_</sup> <sup>2</sup>
_J_ =
_ti_
- _tf_
_l_ ( _t,_ z _,_ u ) _dt_
_C._ _Model_ _of_ _Robotic_ _Platform_
The robotic platform involved in this project is essentially
a 3D printer, with a modular head for syringes, laser and other
tools. The kinematics is planar and cartesian and two stepper
motors move one axle each. Robot state is described by laser
position x _L_ and velocity x ˙ _L_ and control inputs are electric
Then, in order to have a fixed final time problem, one applies
the linear transformation _t_ = _ti_ + ( _tf_ _−_ _ti_ ) _τ_, so that the
independent variable becomes _τ_ _∈_ [0 _,_ 1]. Doing this, final time
_tf_ becomes a parameter to be optimized and the model can be
_l_ ( _t,_ z _,_ u ) = 1 + <sup>_<u>w</u>_</sup> 2 <sup>_<u>u</u>_</sup>
IEEE 4 _|_ P a g e
written as follows:
_<u>d</u>_ <u>x</u> _<u>D</u>_
_dτ_ <sup>(</sup> <sup>_τ_</sup> <sup>) = (</sup> <sup>_tf_</sup> <sup>_−_</sup> <sup>_ti_</sup> <sup>)</sup> <sup>v</sup> <sup>_D_</sup> <sup>(</sup> <sup>_τ_</sup> <sup>)</sup>
_FTC_ _2016_ _-_ _Future_ _Technologies_ _Conference_ _2016_
_6-7_ _December_ _2016_ _|_ _San_ _Francisco,_ _United_ _States_
where ∆ _τ_ = 1 _/N_ . Dynamics and boundary conditions are
considered as equality constraints:
g _eq_ ( x ) =
_<u>d</u>_ <u>v</u> _<u>D</u>_
_mD_
_mL_
_dτ_ <sup>(</sup> <sup>_τ_</sup> <sup>) = (</sup> <sup>_tf_</sup> <sup>_−_</sup> <sup>_ti_</sup> <sup>) [</sup> <sup>_bD∇w_</sup> <sup>(</sup> <sup>_τ,_</sup> <sup>x</sup> <sup>_D_</sup> <sup>(</sup> <sup>_τ_</sup> <sup>))</sup> <sup>_−_</sup> <sup>_cD_</sup> <sup>v</sup> <sup>_D_</sup> <sup>(</sup> <sup>_τ_</sup> <sup>)]</sup>
_dτ_ <sup>(</sup> <sup>_τ_</sup> <sup>) = (</sup> <sup>_tf_</sup> <sup>_−_</sup> <sup>_ti_</sup> <sup>) [</sup> <sup>_bL_</sup> <sup>u</sup> <sup>(</sup> <sup>_τ_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_cL_</sup> <sup>v</sup> <sup>_L_</sup> <sup>(</sup> <sup>_τ_</sup> <sup>)]</sup>
z _N_ _−_ z <sup>_f_</sup>
z 1 _−_ z 0 _−_ _ϕ_ ( _τ_ 0 _, tf_ _,_ z 0 _,_ u 0)∆ _τ_
z 0 _−_ z <sup>_i_</sup>
_<u>d</u>_ <u>x</u> _<u>L</u>_
_dτ_ <sup>(</sup> <sup>_τ_</sup> <sup>) = (</sup> <sup>_tf_</sup> <sup>_−_</sup> <sup>_ti_</sup> <sup>)</sup> <sup>v</sup> <sup>_L_</sup> <sup>(</sup> <sup>_τ_</sup> <sup>)</sup>
_<u>d</u>_ <u>v</u> _<u>L</u>_
z 1 _−_ z 0 _−_ _ϕ_ ( _τ_ 0 _, tf_ _,_ z 0 _,_ u 0)∆ _τ_
...
z _k_ +1 _−_ z _k −_ _ϕ_ ( _τk, tf_ _,_ z 0 _, . . .,_ z _k,_ u _k_ )∆ _τ_
=
(26)
_w_ ( _τ,_ x ) = _w_ ¯ + <sup><u>2</u></sup> <sup>_<u>β</u>_</sup>
_πρcp_
_j_
_j_
<u>(</u> _<u>tf</u>_ _<u>−</u>_ _<u>ti</u>_ <u>)</u> _<u>pL,jδτ</u>_
_−_
2 _<u>∥</u>_ x _<u>−</u>_ x _<u>L,j ∥</u>_ <sup>2</sup>
_Aj_ ( _τ_ )
(20)
(21)
(22)
z _k_ +1 _−_ z _k −_ _ϕ_ ( _τk, tf_ _,_ z 0 _, . . .,_ z _k,_ u _k_ )∆ _τ_
...
z _N_ _−_ z _N_ _−_ 1 _−_ _ϕ_ ( _τN_ _−_ 1 _, tf_ _,_ z 0 _, . . .,_ z _N_ _−_ 1 _,_ u _N_ _−_ 1)∆ _τ_
_<u>ti</u>_ <u>)</u> _<u>pL,jδτ</u>_ _e_
_Aj_ ( _τ_ )
_L_
_Aj_ ( _τ_ ) = 8 _α_ ( _τ_ _−_ _τj_ )( _tf_ _−_ _ti_ ) + _r_ <sup>2</sup>
_L_
subject to initial and final conditions:
x _D_ (0) = x <sup>_i_</sup> _D_
<sup>_i_</sup> _D_ v _D_ (0) = v _D_ <sup>_i_</sup>
<sup>_f_</sup> _D_ v _D_ (1) = v _D_ <sup>_f_</sup>
Finally, cost function derivatives with respect to vector of
variables <sup>_<u>∂J</u>_</sup> _∂_ x <sup>are:</sup>
(27)
_k_ <sup>u</sup> <sup>_k_</sup> <sup>+</sup> <sup>_<u>wv</u>_</sup> _L,k_ <sup>v</sup> <sup>_L,k_</sup>
2 <sup>u</sup> <sup>_T_</sup> 2 <sup>v</sup> <sup>_T_</sup>
- _<u>wu</u>_
_D_ _D_
x _D_ (1) = x <sup>_f_</sup> _D_ v _D_ (1) = v _D_ <sup>_f_</sup>
x _L_ (0) = x <sup>_i_</sup> _L_ v _L_ (0) = v _L_ <sup>_i_</sup>
_<u>∂J</u>_
_∂tf_
_<u>∂J</u>_
_∂_ u _j_
_<u>∂J</u>_
_∂_ z _j_
_j_
= ( _tf_ _−_ _ti_ )∆ _τwu_ u <sup>_T_</sup>
_L,j_
= ( _tf_ _−_ _ti_ )∆ _τwv_ v <sup>_T_</sup>
= 1 + ∆ _τ_
_N_
_k_ =0
<sup>_i_</sup> _L_ v _L_ (0) = v _L_ <sup>_i_</sup>
<sup>_f_</sup> _L_ v _L_ (1) = v _L_ <sup>_f_</sup>
_L_ _L_
x _L_ (1) = x <sup>_f_</sup> _L_ v _L_ (1) = v _L_ <sup>_f_</sup>
_L_
In compact form it is:
_<u>d</u>_ <u>z</u>
_dτ_ <sup>(</sup> <sup>_τ_</sup> <sup>) =</sup> <sup>_ϕ_</sup> <sup>(</sup> <sup>_τ, tf_</sup> <sup>_,_</sup> <sup>z</sup> <sup>_,_</sup> <sup>u</sup> <sup>(</sup> <sup>_τ_</sup> <sup>))</sup>
z (0) = z <sup>_i_</sup>
z (1) = z <sup>_f_</sup>
_B._ _Discretisation_ _and_ _Gradient_ _Evaluation_
Discretisation of cost function and dynamical constraints
makes the optimal control problem a finite dimensional optimisation problem. Building an equispaced time grid, _τk_ =
_k_ ∆ _τ_, and by using explicit forward Euler scheme one can
approximate the solution of the ODE that describes the system
dynamics, z ( _τk_ ) _≈_ z _k_ .
_<u>d</u>_ <u>z</u>
_dτ_ <sup>(</sup> <sup>_τ_</sup> <sup>) =</sup> <sup>_ϕ_</sup> <sup>(</sup> <sup>_τ, tf_</sup> <sup>_,_</sup> <sup>z</sup> <sup>_,_</sup> <sup>u</sup> <sup>(</sup> <sup>_τ_</sup> <sup>))</sup>
_⇓_
<u>z</u> _<u>k</u>_ <u>+1</u> _<u>−</u>_ <u>z</u> _<u>k</u>_ = _ϕ_ ( _τk, tf_ _,_ z 0 _, . . .,_ z _k,_ u _k_ )
∆ _τ_
(23)
_⇓_
z _k_ +1 = z _k_ + _ϕ_ ( _τk, tf_ _,_ z 0 _, . . .,_ z _k,_ u _k_ )∆ _τ_
Defining the vector of variables x, one can easily express
cost function _J_, equality g _eq_ and inequality g constraints in
the form requested by _fmincon_ function provided by Matlab:
x = [ _tf_ _,_ z 0 _, . . .,_ z _N_ _,_ u 0 _, . . .,_ u _N_ ] <sup>_T_</sup> (24)
Actually, it is possible to give an analytical expression for
the derivatives of these functions, and it is useful to reduce the
computational effort:
_dt_
- _<u>w</u>_ 2 _<u>u</u>_ <sup>_∥_</sup> <sup>u</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_∥_</sup> <sup>2 +</sup> <sup>_<u>w</u>_</sup> 2 <sup>_<u>v</u>_</sup> <sup>_∥_</sup> <sup>v</sup> <sup>_L_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_∥_</sup> <sup>2�</sup>
_J_ [ u ] = ( _tf_ _−_ _ti_ ) +
_ti_
- _tf_
_ti_
_⇓_
_J_ ( x ) = ( _tf_ _−_ _ti_ )
1 + ∆ _τ_
<u>�</u>
_N_
_k_ =0
<u>�</u>
<u>�</u> <sup><u>�</u></sup>
(25)
_k_ <sup>u</sup> <sup>_k_</sup> <sup>+</sup> <sup>_<u>wv</u>_</sup>
2 <sup>u</sup> <sup>_T_</sup> 2
<u>�</u> _<u>wu</u>_
<sup>_<u>wv</u>_</sup> _L,k_ <sup>v</sup> <sup>_L,k_</sup>
2 <sup>v</sup> <sup>_T_</sup>
Derivatives of constraints g _eq_ have been explicitly derived (not
reported here).
_C._ _Model_ _Predictive_ _Control_
In this work MPC approach is used to generate a guess
solution—i.e. a tentative, suboptimal solution—to initialise the
optimisation process. MPC has the ability to anticipate future
events—standard PID and LQR have not—and can take control
actions accordingly (considering the evolution of a thermal
field for instance). Suitable control actions are evaluated in
the sense of minimizing a cost function. Thus, the model of
the dynamical system is used for calculating step-by-step the
optimal next laser spot position (neglecting robot dynamics),
taking into account the evolution of the system in a finite timehorizon (MPC is also called _receding_ _horizon_ _control_ ).
Cost function considered here is the distance between
the droplet and a point sliding along the reference trajectory
( _sliding_ _control_ ), computed at the time-horizon ( _Mayer_ _term_ ).
In the case of a straight line, the choice of how much to
slide is not critical—ensuring that it is large enough to avoid
∆ _x_ _≈_ ∆ _xD_ = _vD_ ∆ _t_ . However, this parameter may be timevarying and tuned to affect the high-level behaviour of the
controller. For instance, in the case of zero final velocity of
the droplet, saturation on the target position allows to estimate
a better tentative solution with respect to a constant sliding
(that is fine for free final velocity).
At each time step, given the actual state of the system, cost
function has to be minimized and to this end _patternsearch_
function provided by Matlab is used, because it manages
constraints and it is a direct-search algorithm. Notice that cost
function derivative with respect to the next laser position may
be explicitly derived and used in a gradient-based optimizer,
but it is quite involved and this approach is not exploited here.
Then, the calculated time-sequence of laser spot positions
is used to reconstruct the control input using inverse dynamics
IEEE 5 _|_ P a g e
of the robot, Eq. (28). Finally, after checking the feasibility of
control input, system evolution is computed again (if needed).
_FTC_ _2016_ _-_ _Future_ _Technologies_ _Conference_ _2016_
_6-7_ _December_ _2016_ _|_ _San_ _Francisco,_ _United_ _States_
0.005
x _L,k_ _k_ = 1 _, . . ., N_
_⇓_
v _L,k_ = <sup><u>x</u></sup> <sup>_<u>L,k</u>_</sup> <sup><u>+1</u></sup> <sup>_<u>−</u>_</sup> <sup><u>x</u></sup> <sup>_<u>L,k</u>_</sup>
∆ _t_
v ˙ _L,k_ = <sup><u>x</u></sup> <sup>_<u>L,k</u>_</sup> <sup><u>+1</u></sup> <sup>_<u>−</u>_</sup> <sup><u>2</u></sup> <sup><u>x</u></sup> <sup>_<u>L,k</u>_</sup> <sup><u>+</u></sup> <sup><u>x</u></sup> <sup>_<u>L,k−</u>_</sup> <sup><u>1</u></sup>
∆ _t_ <sup>2</sup>
(28)
∆ _t_ <sup>2</sup>
_⇓_
I _L,k_ = <sup>_<u>mL</u>_</sup>
0 5×10 <sup>−3</sup> 10 <sup>−2</sup>
Position x (m)
0
_bL_
v ˙ _L,k_ + <sup>_<u>cL</u>_</sup>
_bL_
v _L,k_
The result of this procedure is a feasible guess, i.e. a tentative
solution that satisfies constraints—perhaps not final condition
z (1) = z <sup>_f_</sup> .
IV. SIMULATIONS
_A._ _Set-up_
The approach presented in previous Sections has been
tested with two particular final conditions, viz. fixed and free
droplet final velocity. Initially both the droplet and the robot
are still and the latter is in the origin, final conditions of the
robot are free and the reference path is a straight line. The
time step used for generating the guess solution with MPC is
∆ _t_ = 50 ms, but this only defines the refinement of the time
grid parametrization. The actual time step depends on the final
solution of OCP—on the optimal final time _tf_ in particular.
Key parameters in the MPC setup are the time horizon
_th_ = 1 s and the sliding ∆ _s_ = 1 (given a parametrization
of the straight line with _s_ _∈_ [0 _,_ 1]). Tolerance on mesh
size _TolMesh_ = 10 _µ_ m is provided to _patternsearch_, being
a trade-off between accuracy and speed in guess solution
generation.
In OCP formulation, parameters _wu_ and _wv_ define the
relative importance of different terms in the cost functional
_J_, Eq. (19). In simulations, unitary values of these weights
are considered, i.e. _wu_ = 1 s _/_ A <sup>2</sup> and _wv_ = 1 s <sup>3</sup> _/_ m <sup>2</sup> . An _a_
_posteriori_ analysis demonstrates that influence of control and
velocity cost is small compared to the final time cost, namely
_Nwv∥_ v _L∥_ <sup>2</sup> _≈_ _Nwu∥_ u _∥_ <sup>2</sup> _≪_ _tf_ _−_ _ti_ (29)
Other parameters used in simulations are reported in Tab. I.
TABLE I. SIMULATION PARAMETERS
Robot
_pL_ = 0 _._ 5 W _rL_ = 0 _._ 5 mm
_mL_ = 1 kg _bL_ = 10 N _/_ A
_<u>cL</u>_ <u>=</u> <u>10 Ns</u> _<u>/</u>_ <u>m</u> _<u>|iL|</u>_ _<u><</u>_ <u>1 A</u>
Droplet
_a_ = 2 mm _ρ_ = 1000 kg _/_ m <sup>3</sup>
_<u>σT</u>_ <u>=</u> _<u>−</u>_ <u>0</u> _<u>.</u>_ <u>18 mN</u> _<u>/</u>_ <u>Km</u> _<u>Cdrag</u>_ <u>=</u> <u>0</u> _<u>.</u>_ <u>4</u>
Liquid
_ρ_ = 997 kg _/_ m <sup>3</sup> _cp_ = 4186 J _/_ kgK
_k_ = 0 _._ 609 W _/_ Km _β_ = 0 _._ 06 m <sup>_−_</sup> <sup>1</sup>
_<u>µ</u>_ <u>=</u> <u>0</u> _<u>.</u>_ <u>8 mPas</u>
0 = _c_ 1 _σT ∇w_ ( _ξ,_ <sup>˜</sup> ˜ _u_ ) _<u>−</u>_ _c_ 2 _<u>|u</u>_ ˜ _<u>|u</u>_ ˜ (31)
Fig. 5. Droplet and laser trajectories in the case of zero initial and free final
velocities (see animation on https://vimeo.com/170754139)
0.006
0.004
0.002
0
0.002
0.001
0
0.006
0.004
0.002
0
~~droplet~~
~~laser~~
0 1 2 3 4 5 6 7
Time (s)
Fig. 6. Temperature, droplet speed, and _x_ positions for laser and droplet in
the case of zero initial and final velocities
_B._ _Results_ _and_ _Discussion_
Results are here discussed in the case of free and fixed
final velocity of the droplet. In particular, results refer to the
system evolution obtained considering only the control from
the solution of the OCP. This step is done because the optimiser
might generate a solution that violates dynamical constraints.
Examples of typical laser and droplet trajectories obtained by
simulations are shown in Fig. 5 and Fig. 7. It is possible
to evaluate all the variables of interest, such as kinematic,
dynamic and thermal quantities for instance. See Fig. 6 and
Fig. 8 for these variables.
Let us discuss about the case of free final velocity. It
is evident from Fig. 6 that there is an optimal distance
between droplet and laser spot. One may analyse this problem
considering the case of a continuous laser beam moving
at constant speed _u_ ˜ along _x_ axis and in quasi-stationary
conditions ( _∂w/∂t_ = 0). By defining the spatial coordinate
_ξ_ = _x −_ _ut_ ˜, the temperature gradient may be expressed as:
_∇w_ = _∇w_ ( _ξ,_ ˜ _u_ ) (30)
Then, it can be noticed that in steady-state conditions droplet
moves at the same speed _u_ ˜ and is subject to a constant
_∇w_ = _∇w_ ( _ξ,_ <sup>˜</sup> ˜ _u_ ). So there is a set of possible
equilibria ( _ξ,_ <sup>˜</sup> ˜ _u_ ) defined by the coupling of droplet and thermal
dynamics:
thermal gradient <sup><u>�</u></sup>
IEEE 6 _|_ P a g e
0.004
0.002
0 2×10 <sup>−3</sup> 4×10 <sup>−3</sup> 6×10 <sup>−3</sup>
Position x (m)
Fig. 7. Droplet and laser trajectories in the case of initial and final velocities
both null (see animation on https://vimeo.com/170755486)
0.004
0.002
0
5×10 <sup>−4</sup>
0
0.005
0
droplet
~~laser~~
0 2 4 6 8 10 12 14
Time (s)
Fig. 8. Temperature, droplet speed, and _x_ positions for laser and droplet in
the case of initial and final velocities both null
Finally, one may formulate an optimisation problem aimed
to maximize the steady-state velocity _u_ ˜ while satisfying the
constraint expressed by Eq. (31). In the case of point source
the analytical expression of _∇w_ ( _ξ,_ ˜ _u_ ) is available, but the
aforementioned optimisation problem does not have a simple
closed-form solution. However, it is possible to evaluate numerically the optimal pair ( _ξ_ <sup>˜</sup> _max,_ ˜ _umax_ ) (results omitted here
for the sake of brevity).
It is worth to notice that steady state conditions are not
reached in the simulated time slot; actually, it seems that
the droplet is uniformly accelerated, because speed profile is
almost linear. Temperature difference initially arises due to the
laser heating, but then decreases as droplet (and robot) speed
increases—because less energy per unit volume is released at
higher speed. Finally, after stopping the laser heating, droplet
is subject to drag and thermocapillary force induced by the
residual unsteady temperature field, so without the dominant
driving force the droplet slows down.
On the other hand, considering the case of zero final
velocity, the optimal strategy is quite different. As reported
in Fig. 8, the robot moves repeatedly from behind the droplet
to the neighbourhood of the target position. In particular, the
robot starts pushing the droplet, it moves close to the target,
then it pushes again and finally adjusts the trajectory. So the
optimal strategy may be to prepare a thermal gradient needed
to stop the droplet while it is just started. It is expected that the
_FTC_ _2016_ _-_ _Future_ _Technologies_ _Conference_ _2016_
_6-7_ _December_ _2016_ _|_ _San_ _Francisco,_ _United_ _States_
timing of these steps would depend on the time constants and
the characteristic length of the system. Temperature profile in
this case has a maximum close to the final time, because of
the initial heating to brake the droplet. Finally, one can notice
the lack of symmetry in the laser spot trajectory, Fig. 7. Only
few points are captured (due to large robot acceleration and
large time step) but it is clear that the laser would shut down
in those points, in order to not affect droplet dynamics.
As a final remark, it shall be highlighted the fact that
reported results may correspond to local optima found as
solution of the OCP.
The model above proposed for the thermal dynamics of
the droplet/liquid system has been experimentally validated. In
particular, one set of tests has been used for the identification
of model parameters, and the resulting, identified model has
been then validated by comparison with a different set of tests.
The validation setup is a Petri dish (5 mM, pH 11 decanoate
solution, volume 9 ml, 90 mm dish diameter) with a single
droplet close to the dish center (lens-shaped droplet, volume
20 µl, 1-decanol). The system temperature was constant and
uniform within 0.05 <sup>_◦_</sup> C. An RGB camera has been used for
capturing the test area in the Petri dish, using a calibrated
image analysis system for measuring absolute and relative
positions of droplet and laser beam image. The laser source
was a 1 _._ 6 W power, 405 nm wavelength unit with a beam
diameter of 5 mm.
In the first set of tests, used for calibrating the model
parameters, the laser was kept fixed pointing at position close,
but not overlapping, to the droplet. The resulting bell-shaped
thermal field was pushing the droplet away from the laser
spot in radial direction. In the second set of tests, used for
validation, the laser was slowly moved against the droplet thus
guiding the droplet along a straight path.
Referring to the model in (13)–(15), the physical properties of the liquid medium are known, while the absorption
coefficient _β_, the laser beam radius _rL_, the thermocapillary
sensitivity _c_ 1, and the friction coefficient _c_ 2 have to be identified. Being the model linear, the effects of _β_ and _bD_ are
undistinguishable from the droplet point-of-view, and only the
_βbD_ product can be identified (see (13) and (15)). In order
to take into consideration the actual droplet size (while in the
model the droplet is a 1-D point), an additional parameter ∆
is introduced to represent the distance between the laser spot
and the droplet boundary.
Those parameters have been identified by optimization. In
fact, given the system initial conditions, the set of known and
guess parameters, and the laser trajectory, it is possible to
calculate the evolution of the system according to its analytical
model. Then, the actual droplet trajectory and the simulated
one can be compared, and the distance between laser spot
and droplet center is defined as the optimization metric. The
unknown parameters are identified by solving an optimization
problem where the target function _JID_ is the mean quadratic
deviation of the laser-droplet distance between measured and
simulated experiments, under the constraints of the system
dynamics:
_<u>JID</u>_ ( p ) =
_M_
_i_ =0
<u>�</u>
_i_ =0
_<u>∥d</u>_ ( _ti,m_ ) _<u>−</u>_ _d_ <sup>ˆ</sup> _i∥_ <sup>2</sup> (32)
IEEE 7 _|_ P a g e
0.015
0.010
0.005
0
Measured
~~Simulated~~
Identification experiment
Validation experiment
0 10 20 30 40 50 60
Time (s)
Fig. 9. Comparison of laser-droplet distance evolution for identification and
validation experiments, measured and simulated data
Once identified, the model has been used in the second
set of experiments for forecasting the droplet motion resulting
from a given laser spot trajectory (open loop).
The results of the identification and validation steps are
reported in Fig. 9. It may be observed as the laser-droplet distance predicted by the model tracks with good approximation
(less than the typical droplet diameter) the actual evolution of
the system, at least in the first 30 s. After that time, all the
experiments (both in identification and validation conditions)
show a diverging drift between measured and simulated values.
This is probably related to the delayed effect of convective
motion of the fluid body, which has not been included in the
model. Nevertheless, with the intention of developing a closed
loop, model-predictive control of the laser-induced droplet
motion this model inadequacy is of limited impact, since in
a receding horizon approach the time horizon of 30 seconds
is more than enough for implementing a closed loop control.
V. CONCLUSIONS AND FUTURE WORKS
This work describes the conceptual framework and the analytical/numerical approach for developing a motion-planning
and control system that can be used for driving a droplet in a
2-D liquid field (e.g. a shallow Petri dish), being the motion
driver the Marangoni effect.
The approach consists in a two-steps solution of the problem of finding the optimal time-sequence of laser positions
that can move the droplet from point A to point B, complying
with the dynamics of the droplet dynamics and of the robotic
system moving the laser beam, and subjected to constraints
on the initial and final condition of the system. The first step
is the calculation of a guess solution by application of the
_Model_ _Predictive_ _Control_ approach. The second step exploits
this guess solution for finding a better one by applying the
_Optimal_ _Control_ theory.
This approach is applied to two different examples, where
the droplet is supposed to be moved in straight line from
A to B, where in the first case the droplet velocity in B is
unconstrained, while in the second case is constrained to zero.
The simulation results show that a rather precise and stable
motion control is possible and feasible.
The next step—which is actually an on-going activity—is
_FTC_ _2016_ _-_ _Future_ _Technologies_ _Conference_ _2016_
_6-7_ _December_ _2016_ _|_ _San_ _Francisco,_ _United_ _States_
to use the solution provided by this framework as a control
scheme for the robot shown in Fig. 4 thus completing the last
dashed box in Fig. 1.
ACKNOWLEDGMENT
M. Hanczyc is financially supported by the European
Commission FP7 Future and Emerging Technologies Proactive
(EVOBLISS 611640).
REFERENCES
[1] A. I. Fedosov, “Thermocapillary Motion,” _Zhurnal_ _Fizicheskoi_
_Khimii_, vol. 30, no. 2, pp. 366–373, 1956. [Online]. Available:
http://arxiv.org/abs/1303.0243
[2] L. H. Dill and R. Balasubramaniam, “Unsteady thermocapillary
migration of bubbles,” NASA, NASA Technical Report 19890012683,
Jan 1988. [Online]. Available: http://ntrs.nasa.gov/search.jsp?R=
19890012683
[3] N. Rashidnia and R. Balasubramaniam, “Thermocapillary migration of
liquid droplets in a temperature gradient in a density matched system,”
_Experiments_ _in_ _Fluids_, vol. 11, no. 2–3, pp. 167–174, 1991.
[4] E. Yakhshi-tafti, H. J. Cho, and R. Kumar, “Droplet actuation on a liquid
layer due to thermocapillary motion: Shape effect,” _Applied_ _Physics_
_Letters_, vol. 96, no. 264101, 2010.
[5] A. Davanlou, R. Shabani, H. J. Cho, and R. Kumar, “Is thermocapillary
enough for droplet actuation?” in _17th_ _International_ _Conference_ _on_
_Miniaturized_, no. October. Freiburg, Germany: Systems for Chemistry
and Life Sciences, October 2013, pp. 59–61.
[6] A. S. Basu and Y. B. Gianchandani, “Virtual microfluidic traps, filters,
channels and pumps using Marangoni flows,” _Journal of Micromechan-_
_ics_ _and_ _Microengineering_, vol. 115031, 2008.
[7] S. Rybalko, N. Magome, and K. Yoshikawa, “Forward and backward
laser-guided motion of an oil droplet,” _Physical_ _Review_ _E_, vol. 70, no.
046301, pp. 1–4, October 2004.
[8] S.-y. Park and P.-y. Chiou, “Light-Driven Droplet Manipulation Technologies for Lab-on-a-Chip Applications,” _Advances_ _in_ _OptoElectron-_
_ics_, vol. 2011, no. 909174, pp. 1–12, 2011.
[9] D. E. Lucchetta, F. Simoni, L. Nucara, R. Castagna, D. E. Lucchetta,
F. Simoni, and L. Nucara, “Controlled-motion of floating macro-objects
induced by light Controlled-motion of floating macro-objects induced
by light,” _AIP_ _Advances_, vol. 077147, no. 2015, 2016. [Online].
Available: http://dx.doi.org/10.1063/1.4927419
[10] M. L. Cordero, D. R. Burnham, C. N. Baroud, and D. McGloin,
“Thermocapillary manipulation of droplets using holographic beam
shaping: Microfluidic pin ball,” _Appl._ _Phys._ _Lett._, vol. 93, no. 034107,
2008.
[11] M. R. de Saint Vincent, R. Wunenburger, and J.-P. Delville, “Laser
switching and sorting for high speed digital microfluidics,” _Appl._ _Phys._
_Lett._, vol. 92, no. 154105, 2008.
[12] M. M. Hanczyc, “Droplets: Unconventional protocell model with lifelike dynamics and room to grow,” _Life_, vol. 4, no. 4, pp. 1038–1049,
2014.
[13] M. M. Hanczyc, T. Toyota, T. Ikegami, N. Packard, and T. Sugawara, “Fatty acid chemistry at the oilwater interface: self-propelled oil
droplets,” _J._ _Am._ _Chem._ _Soc._, vol. 129, no. 30, pp. 9386–9391, 2007.
[14] J. C ejkov´a, M. Nov´ak, F. S t e p´anek, and M. M. Hanczyc, “Dynamics of
chemotactic droplets in salt concentration gradients,” _Langmuir_, vol. 30,
no. 40, pp. 11 937–11 944, 2014.
[15] M. M. Hanczyc, J. M. Parrilla, A. Nicholson, K. Yanev, and K. Stoy,
“Creating and maintaining chemical artificial life by robotic symbiosis,”
_Artif_ _Life_, vol. 21, no. 1, pp. 47–54, 2015.
[16] J. M. P. Gutierrez, T. Hinkley, J. W. Taylor, K. Yanev, and L. Cronin,
“Evolution of oil droplets in a chemorobotic platform,” _Nature_ _Com-_
_munications_, vol. 5, no. 5571, 2014.
[17] EVOBLISS 611640 European Commission FP7 Project. [Online].
Available: https://blogit.itu.dk/evoblissproject/
[18] S. L. Anna, “Droplets and bubbles in microfluidic devices,” _Annual_
_Review_ _of_ _Fluid_ _Mechanics_, vol. 48, pp. 285–309, 2016.
IEEE 8 _|_ P a g e
_FTC_ _2016_ _-_ _Future_ _Technologies_ _Conference_ _2016_
_6-7_ _December_ _2016_ _|_ _San_ _Francisco,_ _United_ _States_
[19] C. Kunstmann-Olsen, M. Hanczyc, J. Hoyland, S. Rasmussen, and
H. Rubahn, “Uniform droplet splitting and detection using lab-on-chip
flow cytometry on a microfluidic PDMS device,” _Sensors and Actuators_
_B:_ _Chemical_, vol. 229, pp. 7–13, 2016.
IEEE 9 _|_ P a g e
섹션 본문
섹션 본문이 없습니다.
참고문헌
참고문헌 정보가 없습니다.