1 Introduction

The ability to dynamically manipulate colloidal particles at interfaces is essential prerequisites for offering new and revolutionary solutions for developing strategies of self-repairing complexes and integrated structures, the creation of new materials such as hybrid bio-electro-mechanical systems, building adaptive sensors, optoelectronic, optical devices, and active structural colour materials [1,2,3,4,5,6]. To generate colloidal ensemble in temporary steady states rather than creating static architectures, different strategies have been developed [7]. For instance employing external electric or magnetic fields [8,9,10], electrostatic [11, 12], optothermal [13], optofluidic [14], and hydrodynamic [15] interactions it is possible to trigger the assembly of colloids into adjustable functional pattern [16,17,18,19,20,21].

Extensive efforts have gone into investigating particles at the gas–liquid and liquid–liquid interface [14, 22,23,24]. The body of theoretical and experimental work studying particles at the solid surface is much less than that for gas–liquid interface, although there is a growing literature in this area. For instance, it has been shown that a self-generated solvent flow at the solid-liquid interface can be used to establish long-range attractions on the colloidal scale leading to the aggregation [25]. Electro-osmotic flow near the wall has been reported to drive sedimented particles [26]. Different mechanisms of the colloidal motion can be induced by employing the so-called diffusio-osmosis (DO), where the flow tangent to the wall is driven by the gradient of the solute concentration (or the osmotic pressure gradient) [27, 28]. It is traditionally considered that the DO flow takes its origin in the adjacent to the wall thin surface layer, such as, for example, the diffuse layer of counter-ions. If the settled at the wall particles dissolve into ions, this produces local ion gradients driving microflows and particle movement along the charged solid surface [29]. The DO flow can also be induced by light allowing to manipulate inert (i.e. nondissolvable) particles [30], and it has recently been reported that some type of particles, such as porous, can even participate in its generation mechanism, acting as micropumps and thus representing a novel type of active colloids [31].

Previous studies of light-driven DO, usually referred to as LDDO, have addressed the motion and aggregation of either passive or active particles under illumination of focused or uniform light [30, 31]. Here, we show how to induce changes in dynamic pattern of colloidal ensemble of nonporous (passive) and porous (active) particles, as well as temporary steady states, by using the irradiation with light of combined wavelength and simple adjustment of its parameters, such as wavelengths, intensity and its distribution, and the size of the laser beam. Since porous particles can generate the LDDO flow near the wall themselves leading to their repulsion or attraction, and this is easily controlled by irradiation parameters, the variety of surface patterns becomes extremely rich. Our work opens up many intriguing avenues, such as manipulating ensembles of different particles with fine-tuning of both their interaction forces and confining areas.

Our paper is arranged as follows: in Sect. 2 a general concept of light-induced diffusio-osmosis is introduced. Some general considerations concerning DO velocities of a liquid induced by the laser spot that drives passive and active particles are presented. The description of the experimental system, materials and methods used is given in Sect. 3. Section 4 describes the experimental results. Here, we explore and contrast the light-induced aggregation properties of active and passive particles and show that by tuning the irradiation with a combined wavelength one can remotely control their assembly and, as a result, generate complex dynamic patterns of particles at the solid surface. We conclude in Sect. 5.

2 General concept of light-driven diffusio-osmosis

We first present the theoretical basis and physical ideas underlying the approach, which we have developed before and slightly extend here to manipulate microparticles, sedimented under gravity to the bottom wall, but not really stick, as known from numerous hydrodynamic and electrokinetic experiments [32,33,34]. Therefore, they can move along the wall when a lateral force is applied. In our experiment the particles are driven by the fluid DO flow generated by the photosensitive surfactant concentration gradient near a bottom wall. The velocity of this flow, \(v_{DO}\), is generally not equal to that of particles, \(v_p\). Below we estimate these theoretically, by focusing on two specific limiting situations. Namely, of monodisperse suspensions of passive impenetrable particles illuminated by a focused beam and that of permeable porous particles subject to a homogeneous unfocused illumination. The understanding of basic principles underlying the migration of particles in these two simple (ideal) system configurations is important to design of experiments we report below (Sect. 4), where more complex laser beams are employed to manipulate particles to provide their assembly to various patterns.

2.1 Passive particles

Fig. 1
figure 1

a Schematic of the DO flow induced by focused irradiation with UV light. The flow is directed outwards of the laser beam. b The same for a flow inwards that is generated with green light. The dashed line indicates distribution of cis-isomer concentration. c, d Examples of the optical micrographs showing removal (c) and gathering (d) of the passive particles (adapted from Ref. [30])

The first typical case we address is the radially directed DO flow. Such a situation happens when an electrolyte solution containing photosensitive (azobenzene) ionic surfactant is irradiated with the focused light as shown in Fig. 1. The particle radius a in such experiments is typically of several \(\mu \)m, and the laser spot radius R is of the order of ten \(\mu \)m. Since only a portion of the wall is irradiated, by choosing an appropriate wavelength one can generate trans-isomers inside the focused beam and cis—outside of it, and vice versa [30]. For example, focused UV light (converting trans to cis) induces the flow out of the irradiated area as shown in Fig. 1a, c. By contrast, when the solution of cis-isomers is irradiated with focused green light (converting fast cis to trans) (see Fig. 1b, d), the flow is directed towards the laser spot. Note that above a certain critical (bulk) micelle concentration, abbreviated as cmc, the majority of trans-isomers finds itself aggregated in micelles.

Near the bottom wall an electrostatic diffuse layer, i.e. a cloud of counter-ions balancing its surface charge, is formed. A measure of the thickness of the diffuse layer is the Debye screening length of the solution, \(\lambda _{D}\), and the excess of mobile (thermal) ions in the diffuse layer compared to the bulk can be denoted as \(\Gamma (x)\), where the x-axis is defined along the wall. The value of \(\Gamma (x)\) can be related to the surface potential of the wall, \(\phi _{s}\), as [30]

$$\begin{aligned} \Gamma (x)\simeq c_{0}\lambda _{D}\left( \dfrac{e\phi _{s}}{k_{B}T}\right) ^{2}, \end{aligned}$$
(1)

where \(c_0\) is the bulk concentration of surfactants, e is the elementary (positive) charge, \(k_{B}\) is the Boltzmann constant, T is the temperature. Naturally, in the absence of irradiation \( \Gamma \) does not depend on x, and the system is at equilibrium. However, when it is illuminated, the lateral gradient of the excess (mobile) surfactant ions in the diffuse layer \(\partial \Gamma /\partial x\) induces the liquid flow of the velocity [30]

$$\begin{aligned} v_{DO}\simeq \dfrac{\lambda _{D}}{\eta }k_{B}T\left[ \dfrac{\partial \Gamma }{\partial c_{t}}\nabla c_{t}(x)+\dfrac{\partial \Gamma }{\partial c_{c}} \nabla c_{c}(x)\right] , \end{aligned}$$
(2)

with the index \(\{t,c\}\) standing for trans- and cis-isomers, and derivatives \(\partial \Gamma /\partial c_{t, c}\) characterizing the enrichment of a diffuse layer by trans- and cis-molecules.

Below cmc the surfactants exist in a form of isolated molecules, so that \(c_{c}=c_{0}-c_{t}\), and Eq.(2) can then be reduced to

$$\begin{aligned} v_{DO}\simeq \dfrac{\lambda _{D}}{\eta L} c_0 k_{B}T \left( \dfrac{\partial \Gamma }{\partial c_{c}}-\dfrac{\partial \Gamma }{\partial c_{t}}\right) , \end{aligned}$$
(3)

where we assumed that \(\nabla c_{c}\simeq c_0/L\) with the length scale of inhomogeneous concentration field L. It is evident that L is roughly equal to the radius of the laser spot R for a configuration shown in Fig. 1, but it can be smaller for a more complex irradiation when finite \(\nabla c_{c}\) is generated only in some portion of the beam. We will return to this point in Sect. 4.1. Note that the velocity is also controlled by the difference \((\partial \Gamma /\partial c_{c}-\partial \Gamma /\partial c_{t})\) that can be evaluated by measuring the surfactant adsorption isotherm and the wall potential. Here we simply assume that it is of the order of \(\Gamma /c_0\). Overall, we conclude that the magnitude of \(v_{DO}\) should grow linearly with \(c_0\), and that the direction of flow is generally defined by the enrichment of the diffuse layer by trans- or cis-isomers. Another conclusion from Eq. (3) is that \(v_{DO}\) reduces with added salt. All this was indeed observed in prior experiments. Finally, we note that \(P = c_0 k_{B} T\) is the osmotic pressure of a surfactant solution, so that everything can be equally discussed in terms of variations in osmotic pressure. In Fig. 1 and some further figures we have included the arrows of different sizes that intend to indicate the value of P (but, importantly, not a direction of the pressure force) in different parts of the diffuse layer.

When \(c_0\) reaches cmc, a fraction of trans-isomers does remain in a non-aggregated form. Their concentration is constant (\(\nabla c_{t}\simeq 0\)) and equal the cmc so as to maintain the micelle/trans-isomer equilibrium. Eq.(2) can be then transformed to

$$\begin{aligned} v_{DO}\simeq \dfrac{\lambda _{D}}{\eta }k_{B} T\dfrac{\partial \Gamma }{ \partial c_{c}}\nabla c_{c}(x). \end{aligned}$$
(4)

Then, \(v_{DO}\) can be estimated using Eq.(1)

$$\begin{aligned} v_{DO}\simeq \dfrac{\lambda _{D}}{\eta }\dfrac{k_{B}T\Gamma }{L}\simeq \dfrac{ c_0 k_B T \lambda _{D}^{2}}{\eta L}\left( \dfrac{e\phi _{s}}{k_{B}T}\right) ^{2}. \end{aligned}$$
(5)

Note that since surfactants are ionic, at much higher than cmc concentrations they can simultaneously reduce \(\lambda _{D}\) and increase \(\eta \), and, consequently, decrease \(v_{DO}\), compared to predictions of Eq.(5). Some experimental measurements [30] lend some support of this. Therefore, to maximize \(v_{DO}\) it would be reasonable to keep \(c_0 \simeq cmc\) and to avoid high concentration of surfactants. Another advice would be to use pure water to provide largest possible \(\lambda _D\).

Finally, we stress that since the laser spot radius R is normally of the order of ten \(\mu \)m, the fluid velocity could be of the order of ten \(\mu \)m/s. This long-range flow appears as homogeneous on the scale of small passive (i.e. smooth impermeable) particles of size a. Such a flow captures them, and particles move with the velocity comparable to that of the DO flow, \( v_{p} \simeq v_{DO}\).

The previous consideration is, of course, grossly simplified, but it provides us with some guidance on a control of DO velocities. We also recall that our model assumes ideal, impenetrable bottom wall, typical for most ordinary applications. In this case the (dynamic) \(\zeta \)-potential, which, in fact, controls the induced velocity, is equal to \(\phi _s\). Therefore, one can increase the velocity by using coatings that are permeable to water and ions, such as porous or rough ones, for which \(\zeta \)-potential is normally augmented compared to the surface electrostatic potential [35], which should lead to an increase in \(v_{DO}\) given by Eq.(5).

2.2 Active particles

An unfocused uniform illumination cannot, of course, drive the passive impermeable particles described in Sect. 2.1 since in this situation \(\partial \Gamma /\partial x = 0\). However, a light-induced DO flow can be generated when sedimented particles are porous [31]. At equilibrium such particles absorb the ionic species [36,37,38,39], but irradiation with blue light induces a rapid escape of cis-isomers out the pores. Consequently, each particle becomes a source of a laterally inhomogeneous excess of cis-isomers that leads to a concentration inhomogeneity along the wall. This in turn induces the (local) flow along the wall, which is directed away from the particle. In other words, the porous particle acts as a micropump, so that it can be seen as active. An illuminated isolated particle cannot, of course, translate due to a symmetry of emerging flow. However, a region of enhanced pressure near a bottom pole of the porous particle with excess of cis-isomers should inevitably induce a buoyant force (Fig. 2(a)). Consequently, such particles effectively become lighter than passive ones, and, therefore, have smaller reaction force at support. Besides, porous particles are slippery [40, 41]. All these should reduce their contact friction on the bottom wall. One can, therefore, speculate that when the flow is induced by the focused beam (as in Sect.2.1), the porous particles would translate faster than nonporous ones.

In the case of an ensemble of particles at the wall they repel (Fig. 2(a)). Such a DO repulsion of active porous particles can be used for a remote control of their two-dimensional assemblies at the solid wall, and, in particular, simply by using different illumination wavelengths (e.g. UV light) one can reversibly switch the state of a suspension of porous particles from a periodic lattice of (separated by distances on the order of tens of micrometres) particles to densely packed surface aggregates (Fig. 2(b, c)) [42]. Note that a similar mechanism of a flow generation near active particles has been reported for calcium carbonate particles [29]. An important difference in our case is that the magnitude and direction of the flow is fully controlled by the intensity and wavelength of irradiation, and that the whole process is reversible.

Fig. 2
figure 2

a Schematic of a DO repulsion of two active porous particles under uniform irradiation with blue light. b The same of a DO attraction under irradiation with UV light. c, d Examples of the optical micrographs showing a lattice of porous particles separated by distances of several tens of \(\mu \)m (c) and aggregation of porous particles due to their DO attraction (d) (adapted from Ref. [31])

The phenomenon is identical to described in Sect. 2.1, but now the length scale of the local DO flow is the particle size a,  so that the velocity becomes larger than that for the flow induced by the focused light:

$$\begin{aligned} v_{DO}\simeq \dfrac{c_{0} k_B T \lambda _{D}^{2}}{\eta a}\left( \dfrac{e\phi _{s} }{k_{B}T}\right) ^{2}. \end{aligned}$$
(6)

The axisymmetric flow around a single particle cannot, of course, induce its motion, but can drive the motion of neighbouring passive particles of a smaller size. We stress that in this case the velocities of particles could be significantly augmented compared to discussed in Sect. 2.1, where the DO flow was induced by focused laser beam [31].

It is naturally to assume that the fluid velocity near the particle inversely decays with the distance. The superposition of such flows induced by neighbouring active porous particle leads to their long-range DO interactions, and the relative velocity of interacting particles is given by

$$\begin{aligned} v_{p}\simeq v_{DO} \dfrac{a}{d} \simeq \dfrac{c_{0} k_B T\lambda _{D}^{2}}{\eta d}\left( \dfrac{e\phi _{s}}{k_{B}T}\right) ^{2}, \end{aligned}$$
(7)

where d is the characteristic interparticle distance. The mutual repulsions of many active particles result in a formation of a stationary periodic lattice of particles that are separated by distances on the order of tens of micrometres (see Fig. 2(c)). Forming such a lattice particles exhibit some hydrodynamic fluctuations resembling the Brownian motion.

3 Experimental

3.1 Materials

Azobenzene containing cationic surfactant consists of charged head (trimethylammonium bromide) and hydrophobic tail in which azobenzene unit is incorporated [43] (see Fig. 3(a)). The azobenzene undergoes photo-isomerization from the trans- to the cis-state under irradiation with UV light (\(\lambda \) = 365 nm). The photo-stationary state with 90% of cis-isomers is achieved within several minutes (intensity dependent) of irradiation. UV-Vis absorption spectra recorded in dark (trans-state) [44] and during UV illumination at the photo-stationary state (cis-isomers) are presented in Fig. 3(b). Under blue light, the trans/cis ratio at the photo-stationary state is 67%/33%. Under illumination with longer wavelengths (green light), the photo-isomerization from the cis- to the trans- state takes place within seconds, while thermal back relaxation in the dark takes more than 48 hours [44]. The red light (\(\lambda \) = 625 nm) illumination does not affect photo-isomerization of the surfactant.

Fig. 3
figure 3

a The chemical structure of the photosensitive surfactant and two azobenzene isomers. b UV-Vis absorption spectra of a solution of \(c_0\) = 1 mM irradiated with UV (black curve), blue (blue curve) light and in dark (red curve). c The corresponding amount of trans-(black curve) and cis-isomers (red curve) at a photo-stationary state as a function of irradiation wavelength

The aqueous dispersion of nonporous silica particles of \(a=2.5\) \(\mu \)m (purchased from microparticle GmbH, Germany) or mesoporous silica particles of the same radius (pore diameter: 6 nm and BET value = 850 m\(^2\)/g, purchased from micromod, Germany) is mixed with surfactant aqueous solution of \(c_0 = 1\) mM, which is twice above cmc. The particle concentration is adjusted to 0.1 mg/ml. The dispersion is kept for equilibration at least for 1 hour and later introduced to glass sealed chamber of height ca. 1 mm and sample volume of 40 \(\mu \)l. All samples are kept in the dark or in red light to prevent undesired photo-isomerization. We stress that no salt is added to maximize the velocities as discussed in Sect. 2.

3.2 Methods

An inverted microscope (Olympus IX73) equipped with UV (M365L2-C1, Thorlab Gmbh), blue M455L3, Thorlab Gmbh) and red (M625L1-C1, Thorlabs Gmbh) light source is used for optical measurements. Additionally, three lasers (\(\lambda \) = 532 nm and 488 nm, Cobolt, Sweden; \(\lambda \) = 375 nm, Coherent.inc, USA) are incorporated in microscope where all the beams are focused through the objective to the sample. The illuminated intensity of light is measured using optical power meter PM100D with sensor S170C (Thorlabs Gmbh, Germany). Micrographs are acquired with a Hamamatsu Orca-Flash 4.0 LT (C11440) at a rate of 1 frame per sec. The set-up is kept in the dark to prevent the uncontrolled isomerization. When required, red light (M625L1-C1, Thorlabs Gmbh) is used for imaging in dark as it does not affect the photo-isomerization, i.e. the azobenzene molecules do not change their isomerization state. The intensity of irradiation for all light source is kept constant during the experiments.

The kinetics of photo-isomerization is measured using UV-Vis spectroscopy (Cary 5000 UV-Vis-NIR spectrophotometer, Agilent Technologies, USA) [44].

Image processing and analysis of image data are performed by Image J plug-ins (Mosaic Single Particle Tracking) using the tracking algorithm described by [45].

4 Results and discussion

4.1 Choice of experimental parameters

Fig. 4
figure 4

a, b, c Optical micrographs of passive silica particles after 5 min irradiation with focused UV light (\(\lambda \) = 375 nm) at different intensities: a 30 mW/cm\(^2\), b \(6 \times 10^3\) mW/cm\(^2\), c \(4.4 \times 10^5\) mW/cm\(^2\). Arrows show the direction of LDDO flow. d A lin–log plot of the average particle velocity, \(v_p\), in the ring near the edge of the cleaned circle as a function of light intensity. The circles (grey, red, blue) mark the intensities used in (a,b,c). The dashed rectangle constrains the range of intensities for further measurements. The solid rectangle represents an inset with a lin–lin plot of data confined in this dashed rectangle. The dashed line is a guide to the eye

We first ascertain the range of intensities leading to the LDDO flow. Note that since the latter is the consequence of absorption of the optical energy by dissolved surfactant molecules, at certain intensities the local temperature could increase resulting in convection. In Fig. 4 we show how such a flow depends on the light intensity under exposure to focused UV light (R = 15 \(\mu \)m). These results refer to the intensity varied in a broad range, from 30 mW/cm\(^2\) to 10\(^6\) mW/cm\(^2\). The emerging flow is visualized by monitoring the passive particles’ displacement (Fig. 4a–c). Figure 4d plots the velocity of particles, \(v_p\), in the ring near the edge of the cleaned area as a function of light intensity. It is seen that the velocity of colloids, moving outwards of the beam, increases with the intensity up to 10\(^4\) mW/cm\(^2\). Starting from ca. 10\(^5\) mW/cm\(^2\) the particles move towards the light spot being driven by the temperature gradient. In the intermediate range of the intensity the counter propagating DO and convection flows are balanced and there is no particle displacement. Consequently, for all measurements of LDDO phenomena described below we use only the intensities confined in a dashed rectangle in Fig. 4d. Corresponding videos (Fig. S1) is provided in supplemental materials.

Fig. 5
figure 5

Optical micrographs of nonporous silica particles under exposure to expanded beam (that is marked by dashed white circles) of UV irradiation (\(\lambda \) = 365 nm, R = 240 \(\mu \)m) at intensities: a I = 1.2 mW/cm\(^2\) (t = 5 min and 45 min), b I = 36 mW/cm\(^2\) (\(t =5\) min, 45 min). The insets illustrate the distributions of cis-isomer concentrations. c Maximum velocity of the particles acquired within first minutes of irradiation as a function of light intensity for three different laser spot sizes. d Comparison of velocities at different intensities for different irradiation wavelengths (UV, blue and green). The dashed lines represent a guide to the eye. The error bars are calculated as the error of the mean taken over different radii of the laser beam

At large laser spot radii (greater than 100 \(\mu \)m) another scenario of particle motion can be observed. At small intensities, \(c_c\) is everywhere nonuniform, and all particles move slowly out of the irradiated area (Fig. 5a), so that we have a growing cleaned area similar to Fig. 4a. However, when I becomes larger than 14 mW/cm\(^2\), a large fraction of particles still move outwards, but some of them remain trapped inside the central circle (Fig. 5b). We stress that consequent, over 4 hours, irradiation does not affect particles that are confined in a beam area, i.e. they do not leave this area (see corresponding video in Fig. S2 of supplemental materials). Clearly, the DO can only be generated outside of this region of a constant \(c_c\), and the length scale of inhomogeneous concentration field L for such a beam becomes smaller than R. We measure the velocity of nonporous particles at the border of the cleaned area, which is obviously the largest velocity in the system. Figure 5c,d shows \(v_p\) as a function of irradiation intensity for different spot radii and wavelengths. Our results show that velocities increase with I and are independent on R (Fig. 5c) which implies that L also does not depend on R in this case. The maximum values are attained for UV light (Fig. 5d).

Fig. 6
figure 6

a Maximum velocities (squares) of passive particles under irradiation with focused UV light (\(\lambda \) = 375 nm, I = 283 mW/cm\(^2\)) as a function of the time pre-irradiation by homogeneous UV light (\(\lambda \) = 365 nm, I = 0.128 mW/cm\(^2\)). Solid curve shows the decrease in percentage of trans-isomers in the bulk with the pre-irradiation time. b Particle velocity as a function of \(c_t\) (circles). The black line represents a guide to the eye. Vertical dotted line indicates cmc

The velocity of LDDO flow for particle manipulation can be adjusted by either a choice of surfactant concentration \(c_0\) (see Sect. 2) or by pre-irradiation of the sample with homogeneous UV light for a certain time. Indeed, after exposure of the surfactant solution of \(c_0=1\) mM to homogeneous UV light of 0.128 mW/cm\(^2\) during 100 seconds, the amount of the trans-isomers in the bulk decreases to 80%(see Fig. 6a). The particle velocity in such a pre-irradiated sample is the same as in the solution of \(c_0=0.8\)mM exposed to irradiation with the focused UV light (see Fig. 6b and S3 in supplemental materials). Correspondingly, with an increase in the pre-irradiation time, the amount of the trans-isomers reduces (blue line in Fig. 6a depicts the kinetic of photo-isomerization), and the velocity drops. By an exposure of the sample to a longer wavelength, one converts the majority of surfactant molecules back to the trans-state and thus restore the system again. The restoring is completed when the photo-stationary state is achieved, and this takes place within few minutes of irradiation depending on the light intensity and can be at maximum of 10 minutes. Thus, one of the advantages of using LDDO particle manipulation is the “recharging” of the “battery” within only few minutes.

4.2 Passive nonporous versus active porous

4.2.1 Triggering LDDO flow by changing the wavelength of light

Fig. 7
figure 7

a, b Optical micrographs of the cleaned area under irradiation with focused UV (\(\lambda \) = 375 nm, I =283 mW/cm\(^2\)) and blue light (\(\lambda \) = 488 nm, I = 300 mW/cm\(^2\)). c Velocities, \(v_p\) of porous and nonporous particles under irradiation with 375 nm and 488 nm wavelength

We next examine the displacement of a mixture of passive nonporous and active porous particles illuminated by a focused light. The results are shown in Fig. 7. The direction and the velocity of the LDDO flow depend sensitively on the local distribution of the trans- and cis-isomers. Namely, the flow is directed out of the area of the increased cis-concentration into the trans-enriched area. The corresponding concentration gradients can be generated in different ways. For instance, under UV exposure more than 90% of the surfactant is isomerized to the cis-state. Also, a smaller amount of surfactant molecules in the cis-state is formed under irradiation with blue and green lights (see Fig. 7). In all these cases the outward flow is generated, and its velocities and radii of the cleaned (i.e. free of particles) area depend on the wavelength. An important observation is that the velocities of the porous and nonporous particles shown in Fig. 7c are different. Namely, porous particles are generally faster than similar impermeable colloids. This is exactly what we have suggested in Sect. 2.2 by arguing that active particles should have a smaller contact friction on the bottom wall. This experimental result requires further theoretical studies, which are beyond the scope of the present paper.

Fig. 8
figure 8

Optical micrographs of passive (nonporous) silica particles at several irradiation time (of 2, 15, and 22 min) exposed to a focused UV irradiation (\(\lambda \) = 375 nm, I = 289 mW/cm\(^2\)) and b simultaneous irradiation with focused UV and homogeneous blue light (\(\lambda \) = 455 nm, I = 3.4 mW/cm\(^2\)). c Corresponding clean area as a function of time. The inset illustrates the distribution of cis-isomer concentration without (upper curve) and with (lower curve) homogeneous blue irradiation

We next address another important question of how long does the LDDO flow sustain under irradiation with a focused light? Figure 8a illustrates an extension of the cleaned nonporous particles area under the irradiation with the focused UV light at different moments of time. The area of the cleaned region grows with time strictly monotonically (see uppermost curve in Fig. 8c and also Fig. S4 in supplemental materials for the growth during 5 hours). However, when the same focused UV light is applied together with an homogeneous blue light, the growth of the cleaned area stops already after 10 minutes as shown in Fig. 8b, but by switching off the blue light one can restore the growth of the cleaned area. As a result, the area of the cleaned region augments weakly monotonically (see lowermost curve in Fig. 8c) and shows a distinct plateau at the time range from ca. 10 to 20 min. These results suggest that one can easily control the size of the cleaned area simply by switching on and off the homogeneous blue light while continuously irradiating with focused UV beam (see supplemental materials for a movie in Fig. S5).

This behaviour is likely related to the restricted concentration gradient of the cis-isomers in the irradiated area. Indeed, under a continuous exposure to the focused UV beam with a switch-off blue light, the concentration gradient is defined by the diffusion of the cis-isomers out of the irradiated area (see inset in Fig. 3c). In the case of the superimposed blue light, the gradient is cut by the continuous photo-isomerization out of the UV irradiated area, so that the cis-isomers produced in the focused light escape outside and isomerizes back to the trans-one. The size of the cleaned area is then defined by the ratio of the blue/UV light intensities since the amounts of the trans- and cis-isomers vary significantly.

Fig. 9
figure 9

(a–d) Optical micrographs of the porous particles exposed to irradiation with focused UV light (\(\lambda \) = 375 nm, I = 289 mW/cm\(^2\)) and additional blue irradiation (\(\lambda \) = 455 nm, \(\hbox {I}= 3.4~\hbox {mW}/\hbox {cm}^2\)) periodically switched on (a, c). Enlargement of the selected area in (a) shows separation due to DO repulsion of active colloids. e Dependence of the cleaned area for nonporous (black curve) and porous (red curve) particles on the irradiation time when the blue light is periodically applied (marked in grey)

Similar response is observed in the case of active porous particles (see Fig. 9). We remark that the size of the cleaned area is always smaller than for nonporous particles. At first sight this is somewhat surprising, since, as discussed above, the porous particles should generally move faster under irradiation with light of one wavelength, either UV or blue (see Fig. 7c). We recall, however, that in this particular experiment we have a combination of the two wavelengths, homogeneous blue and focused UV. In this case the cleaned area for active particles decreases faster when the blue light is switched on (see Fig. 9e and corresponding video in Figure S6 of supplemental materials). This effect is due to particle mutual DO repulsion (described in Sect. 2.2 and illustrated in Figs. 9a,c) outside the cleaned area.

4.3 Controlled particle manipulation by optically triggered restrictions

Fig. 10
figure 10

a, b Particles confined in the shape into a round form Gaussian and flat-top beams. Grey spheres on the left correspond to nonporous passive particles. White spheres (decorated with small radial arrows indicating a DO repulsion) on the right plot active porous particles. c The same as in (b), but the flat-top beam is of the elongated, nearly rectangular, shape and its ideality can be controlled by changing the radius of the beam at certain frequency. White arrows show the direction of LDDO flow, red dashed curves mark boundaries of the light spot

We are now on a position to propose the recipes of selecting and further confining a subset of particles in a confined region, without using a chamber with real walls.

Figure 10 illustrates how the expanding of the laser spot or changing its parameters, such as the shape and/or intensity profile, could potentially manipulate arrested nonporous (grey spheres) or active porous particles (white spheres). For example, a Gaussian beam should tightly gather particles [46] as shown in Fig. 10a, but using flat-top beams of circular or rectangular shapes would almost likely lead to more dilute ensembles, with much larger separations between active particles (Fig. 10b,c). Moreover, the confinement (and the ideality of the flat-top beam) could be dynamically controlled by the changing the radius of the beam at certain frequency (Fig. 10c). Thus, since the size of a confined area and the uniformity of the illumination can be easily tuned, one may generate situations from rather dilute “gases” of colloids to almost crystalline arrangements. Below we present some specimen experimental results illustrating the power and variability of this approach.

Fig. 11
figure 11

a–d Optical micrographs showing the collection of nonporous particles by changing the size of the circular laser spot (\(\lambda \)=491 nm, I = 234 mW/cm\(^2\)). e Schematic of the process

Fig. 12
figure 12

Optical micrographs of nonporous (left) and porous active (right) silica particles under different irradiation conditions. a, b Consecutive irradiation with homogeneous UV (\(\lambda \) = 365 nm, I= 5.5 mW/cm\(^2\) ) followed by exposure to focused blue light (R = 280 \(\mu \)m, \(\lambda \) = 455 nm, I = 17.9 mW/cm\(^2\)). c, d Simultaneous irradiation with homogeneous UV (\(\lambda \) = 365 nm, I= 1.4 mW/cm\(^2\) ) and focused blue light (R = 160 \(\mu \)m, \(\lambda \) = 455 nm, I = 234 mW/cm\(^2\))

Figure 11 shows that upon reducing the radius of the circular laser spot, R, from 500 \(\mu \)m down to 190 \(\mu \)m, one can generate a rapid change of the particle surface density, from a dilute state to a densely packed monolayer (Fig. 11a, b, c). On reducing R further one can even force the particles to form a multi-layer crystal structure (see Fig. 11d). Note that in this specimen example we increase the density of the confined particles in 17 times. We remark and stress that the process is completely reversible.

In the case of irradiation with homogeneous UV followed by focused blue light, i.e. when the blue light is applied to a cis-enriched solution, the outer particles are concentrated at the boarder of the irradiated spot forming a densely packed shell. The “incapsulated” inner particles, i.e. the ones in the confined area, randomly move if they are nonporous (Fig. 12a), but when porous, a kind of lattice of well-separated (due to the DO repulsion) particles is formed (Fig. 12b). When these systems are irradiated by the combined light of two wavelengths, namely when the UV light is homogeneously exposed over the sample, while the selected area is illuminated by blue light, steady configurations of particles become different from described above. In this case, all particles are collected to the focused spot area, and their package becomes denser then in Figs. 12a, b. The passive particles form a crystalline structure (Fig. 12c). The active ones remain separated due to the DO repulsion (Fig. 12d), but the interparticle distance becomes quite small.

Fig. 13
figure 13

a,b,c Optical micrographs of nonporous silica particles during exposure to laser spot of an elongated shape of either blue or UV light. Insets in (a) and (c) show the beam shape for blue and UV light, respectively, with arrows indicating the direction of the DO flow. d, e, f Optical micrographs of porous silica colloids during irradiation with modulated laser spot: d blue light with additional homogeneous irradiation with UV light, e blue light applied to pre-irradiated sample with homogeneous UV light, f green light applied to pre-irradiated sample with UV light

Figure 13 demonstrates that one can easily “cut” an optically confined dispersion of sedimented particles, by acting as optical “scissors”. When particles are passive nonporous (Fig. 13a), the irradiation of the cis-enriched solution with modulated blue beam of elliptic shape (\(R_1= 215\) \(\mu \)m, \(R_2= 36\) \(\mu \)m) leads to a formation of the elongated, densely packed cluster (Fig. 13b). By applying then the UV light this cluster of nonporous particles can be split by two parts (see corresponding video in Fig. S7 of supplemental materials). Porous particles can be manipulated similarly, and we illustrate this by using other illumination conditions. When the particles are irradiated by focused blue light together with homogeneous UV light, the elongated clusters arise as shown in Fig. 13d. If we apply homogeneous UV pre-irradiation and then superimpose focused blue light, one can easily cut the cluster of particles (see Fig. 13e). However, an homogeneous UV pre-irradiation with the consequent illumination with focused green light lead to a tightly arranged elongated ensemble of the porous particles resembling the situation with nonporous colloids (Fig. 13f). Note that the generated patterns can again be easily reversed by tuning the parameters of the laser beam (see corresponding videos in Figure S8 of supplemental materials).

5 Conclusion

In our work we have demonstrated that a combination of two distinct primitive scenarios of the light-induced diffusio-osmosis (LDDO) can be exploited to generate many non-trivial dynamic configurations of particle ensembles at a solid wall, at once, seamlessly and quickly. For instance, it can be used to create the restricted, but “fenceless”, areas of tunable size, where the motion of passive and active particles can be studied and/or remotely controlled. Importantly, we can easily confine a subset of particles simply by using the laser spot, i.e. without introducing them into a chamber with physical walls. We also note that by simply varying the radiation intensity, focusing or wavelength is sufficient to alter the diffusio-osmotic flow and thus to induce various patterns of colloid particles at the bottom wall, from rather dilute “gases” of colloids to almost crystalline, densely packed structures.

One of the main experimental results of our work is the difference in behaviour of nonporous and porous particles. The trends that have been observed are consistent with our simple theoretical models that treat nonporous particles as passive, and porous—as actively participating in the mechanism of the flow generation.

Our strategy can be employed to manipulate more complex particles, such as asymmetric Janus ones that contain active and passive parts. A systematic study of their manipulation in the spirit of the present work appears to be very timely and would constitute its significant extension.