Facile Synthesis of Light-Switchable Polymers with Diazocine Units in the Main Chain

Unlike azobenzene, the photoisomerization behavior of its ethylene-bridged derivative, diazocine, has hardly been explored in synthetic polymers. In this communication, linear photoresponsive poly(thioether)s containing diazocine moieties in the polymer backbone with different spacer lengths are reported. They were synthesized in thiol-ene polyadditions between a diazocine diacrylate and 1,6-hexanedithiol. The diazocine units could be reversibly photoswitched between the (Z)- and (E)-configurations with light at 405 nm and 525 nm, respectively. Based on the chemical structure of the diazocine diacrylates, the resulting polymer chains differed in their thermal relaxation kinetics and molecular weights (7.4 vs. 43 kDa) but maintained a clearly visible photoswitchability in the solid state. Gel permeation chromatography (GPC) measurements indicated a hydrodynamic size expansion of the individual polymer coils as a result of the Z→E pincer-like diazocine switching motion on a molecular scale. Our work establishes diazocine as an elongating actuator that can be used in macromolecular systems and smart materials.


Introduction
Photoswitching of molecular systems is a powerful tool to modulate their chemical and physical properties with spatiotemporal control [1]. The most prominent photoswitch, azobenzene, acts as a photochromic molecule with two interconvertible configurations, the planar C 2h -symmetrical (E) isomer and the bent (Z) isomer in which the phenyl rings are twisted by 30 • [2]. Azobenzene and its derivatives have been applied in many advanced materials [3,4], molecular machines [5] and biological systems [6]. The photoisomerization of synthetic polymers that contain azobenzene groups in the main chain leads to conformational changes of the polymer backbone, often resulting in the contraction and expansion of the polymer chains [7,8]. Particularly in polymers with semi-rigid backbones, the collective motion of azobenzene groups can induce reversible helical folding [9][10][11], show aggregation behavior for an amplified photoresponse and alter the electrochemical conductivity in π-conjugated chains [12]. Recent advances in main-chain type azobenzenecontaining polymers also focused on the photocontrol of semi-crystalline and liquid crystalline properties [13][14][15]. The resulting photoinduced phase transitions enabled reversible photomelting [15,16], photomechanical actuation of thin films [17][18][19][20], as well as surface relief gratings after polarized light illumination with interference patterns [21,22].
Among azobenzene modifications, so-called diazocines enjoy special attention because the relative thermodynamical stability of their photoswitchable isomers is reversed compared to the parent azobenzene: the bent (Z) isomer is thermodynamically favored, Among azobenzene modifications, so-called diazocines enjoy special attention because the relative thermodynamical stability of their photoswitchable isomers is reversed compared to the parent azobenzene: the bent (Z) isomer is thermodynamically favored, and the elongated (E) form is metastable [23]. Synthetic procedures to obtain functionalized diazocines include the reduction of 2,2'-dinitrobibenzyl [24], oxidation of 2,2'-diaminobibenzyl [25] and the cascade amidation reaction of 2,2'-dihalobibenzyl compounds via Boc-protected diazocines [26]. The photoconversion of the yellow (Z) to the red (E) isomer occurs at an irradiation wavelength of 405 nm, resulting in an energetic increase of 37.08 kJ/mol (Scheme 1) [27]. The photochromism of diazocine is reversible with green light with a wavelength of 525 nm or via thermal relaxation with a half-life in hexane of 4.5 h at 28.5 °C [23]. According to the X-ray crystal structures of the 3,3'-diaminosubstituted diazocine provided by Sell and co-workers, the amino nitrogen atoms were further apart upon switching from Z (8 Å) to E (11 Å) configuration [28]. This molecular pincer motion was exploited to gain photocontrol over macromolecular systems such as peptides [29] and oligonucleotides [30]. Li and co-workers prepared diazocine-inserted polyurea in which photoisomerization triggered an amorphous-to-crystalline transition of the material [31]. Photomechanical thin films were produced; however, probably due to complex intermolecular interactions, no thermal phase transitions were detected. Although the photoinduced shrinking of polymers with integrated azobenzene moieties in the main chain has been studied for various kinds of polymers [13,32,33], the potential of sizeswitching of linear polymers containing multiple diazocine groups has not been reported yet.

Scheme 1. Photochemical isomerization reaction between (Z)-and (E)-diazocine.
In this communication, we explore the possibilities of photoinduced hydrodynamic size expansion by insertion of multiple diazocine groups into the polymer backbone as a result of their collective pincer-type switching motions. Based on our synthetic cross-coupling strategy towards substituted diazocines, we recently generated diazocines as alkyl halide initiators for their incorporation into polymeric chains via atom transfer radical polymerization [34]. Herein, we focus on diazocine diacrylates as monomers in thiol-ene polyadditions to form photochromic units in the polymer main chain with different alkyl spacer lengths. In contrast to the previously reported polyurea where the microstructure is stabilized by hydrogen bonds [31], poly(thioether)s create much weaker interactive forces and hydrogen bonds are absent. Until now, the properties and possibilities of diazocine in synthetic polymers have hardly been explored. We report on the synthesis, photochromism, thermal analysis and hydrodynamic size-switching of diazocine-containing poly(thioether)s. The expected photoinduced size expansions of the polymer coils were quantified using gel permeation chromatography (GPC) and 1 H diffusion-ordered nuclear magnetic resonance spectroscopy ( 1 H DOSY NMR).

Materials
Syntheses under Schlenk conditions or in a glovebox (Pure LabHE from Inert, Amesbury, MA, USA) were performed with nitrogen as the protection gas. All glassware was dried in an oven at 200 °C for at least 2 h prior to use. Syringes that were used to transfer anhydrous solvents or reagents were purged with nitrogen prior to use. Microwave reaction vials were used as sealed tubes and equipped with a septum cap from Biotage Scheme 1. Photochemical isomerization reaction between (Z)-and (E)-diazocine.
In this communication, we explore the possibilities of photoinduced hydrodynamic size expansion by insertion of multiple diazocine groups into the polymer backbone as a result of their collective pincer-type switching motions. Based on our synthetic crosscoupling strategy towards substituted diazocines, we recently generated diazocines as alkyl halide initiators for their incorporation into polymeric chains via atom transfer radical polymerization [34]. Herein, we focus on diazocine diacrylates as monomers in thiol-ene polyadditions to form photochromic units in the polymer main chain with different alkyl spacer lengths. In contrast to the previously reported polyurea where the microstructure is stabilized by hydrogen bonds [31], poly(thioether)s create much weaker interactive forces and hydrogen bonds are absent. Until now, the properties and possibilities of diazocine in synthetic polymers have hardly been explored. We report on the synthesis, photochromism, thermal analysis and hydrodynamic size-switching of diazocine-containing poly(thioether)s. The expected photoinduced size expansions of the polymer coils were quantified using gel permeation chromatography (GPC) and 1 H diffusion-ordered nuclear magnetic resonance spectroscopy ( 1 H DOSY NMR).
High-resolution EI mass spectra were recorded on a MAT 95XL double-focusing mass spectrometer from Finnigan MAT (Thermo Fisher Scientific, Waltham, MA, USA) at an ionization energy of 70 eV. Samples were measured using a direct or indirect inlet method with a source temperature of 200 • C. High-resolution ESI and APCI mass spectra were measured using a direct inlet method on an Impact II mass spectrometer from Bruker (Bruker Daltonics, Bremen, Germany). ESI mass spectra were recorded in the positive ion collection mode.
IR spectra were recorded on a Nicolet i510 FT-IR spectrometer from Thermo Fisher Scientific (Thermo Fisher Scientific, Waltham, MA, USA) with a diamond window in an area from 500 to 4000 cm −1 with a resolution of 4 cm −1 . All samples were measured 16 times against a background scan.
Melting points were recorded on a Büchi Melting Point M-560 (Büchi, Essen, Germany) and are reported corrected.
Thin layer chromatography (TLC) was performed using TLC Silica gel 60 F254 from Merck (Merck, Darmstadt, Germany) and compounds were visualized using exposure to UV light at a wavelength of 254 nm. Column chromatography was performed by using SiO 2 (0.040-0.063 mm, 230-400 mesh ASTM) from Merck.
Irradiation experiments were carried out using LED light sources of 405 nm central wavelength (optical power = 680 mW; intensity = 2.2 mW/cm 2 ) and 525 nm central wavelength (optical power = 20 W; intensity = 64 mW/cm 2 ) at a 2 cm distance from the object.
UV-vis absorption measurements were recorded on a Perkin Elmer UV/VIS NIR Spectrometer Lambda (PerkinElmer, Waltham, MA, USA) 900 at 298 K. Quartz cuvettes of 10 mm optical path length were used. The absorption maxima at wavelengths λ max and thermal relaxation kinetics were determined using UV-vis spectroscopy (1 mM in for monomers M1 and M2 in THF, 0.5 mg/mL for polymers P1 and P2 in THF) at 25 • C. The cuvettes and the spin-coated films were irradiated with light at 405 nm or 525 nm wavelength for 2 min before the absorption spectra were measured. The thermal relaxation kinetics were recorded three times using UV-vis spectroscopy (1 mM in for monomers M1 and M2 in THF, 3 mg/mL for polymers P1 and P2 in THF) at 25 • C. The cuvettes were irradiated with light at 405 nm wavelength for 2 min before 37 spectra were recorded in the dark in 5 min intervals. The absorption at λ max (E) was plotted against the reaction time before the rate constant k and the half-life t 1/2 were determined via first-order reaction kinetics.
Diffusion coefficients D of compounds M1, M2, P1, P2 were determined using 1 H DOSY NMR spectroscopy (1 mM for monomers M1 and M2 in THF-d 8 , 3 mg/mL for polymers P1 and P2 in THF-d 8 ) at 25 • C under the same irradiation conditions as above. The average over the three aromatic diazocine signals and the resulting standard error were determined. Due to the fast relaxation kinetics of the (E)-diazocines in M1 and P1, the DOSY signal intensities were corrected and normalized. For the (Z)-isomer, a time offset f was necessary to describe the hypothetical time at which I(Z) = 1: This time f was calculated with the following equation: In addition to the experimental time of the DOSY, the period between irradiation and the start of the DOSY experiment must also be considered. The time of each data point of the DOSY results from the quotient of the experimental time and the number of intervals between the data points, which is successively added to the start time of the DOSY after the irradiation. The corrected and normalized intensity I results from the following equation: The normalization factor n was chosen so that the intensities of the first data point, both in the measured and in the corrected data set, stay identical. These corrected and normalized intensities were plotted as a function of the gradient strength G and fitted with the Stejskal-Tanner equation [35]: D: diffusion coefficient in cm 2 s −1 , γ: gyromagnetic ratio, δ: pulse width, ∆: diffusion delay time, G: gradient strength. The hydrodynamic radii were determined using the Stokes-Einstein equation: with k: Boltzmann constant, T: temperature, and D: diffusion coefficient. The dynamic viscosity η of THF-d 8 at 298 K was adopted from Dowds and co-workers [32]: Gel permeation chromatography (GPC) was performed using a PSS (polymer standard service) SECurity GPC system with a conventional calibration using polystyrene standards. The polymers were dissolved in THF (1 mg/mL) and the GPC elugrams were recorded at an elution flow rate of 1 mL/min. Molecular weights M n and M w were obtained from the molar mass distribution via GPC analysis using PSS WinGPC ® UniChrom 8.20 (PSS GmbH, Mainz, Germany) software. Apparent molecular weights of the polymers P1 and P2 (1 mg/mL in THF) were calculated from molar mass distributions using GPC at 35 • C. The open vials were irradiated from above with light at 405 nm or 525 nm wavelength for 2 min and capped before the polymer solution was injected into the GPC system. The dispersity Ð was calculated from GPC data and is defined as the ratio between weight average (M w ) and number average molar mass (M n ): Differential scanning calorimetry measurements (DSC) were performed on a Mettler Toledo DSC3+ instrument in aluminum crucibles (100 µL) at a heating rate of 10 K/min under N 2 with a flow rate of 20 mL/min. The first heating and cooling curves were used. Glass transition temperatures T g of compounds P1 (sample weight: 6.96 mg) and P2 (sample weight: 8.79 mg) were determined as the inflection points between onset and endpoint temperatures of the DSC plot. The polymer-coated aluminum crucibles were irradiated from above with light at 405 nm or 525 nm wavelength for 2 min before the DSC plots were recorded in the dark.

9-Hydroxynonyl acrylate
Gel permeation chromatography (GPC) was performed using a PSS ( ard service) SECurity GPC system with a conventional calibration usi standards. The polymers were dissolved in THF (1 mg/mL) and the GPC recorded at an elution flow rate of 1 mL/min. Molecular weights Mn and Mw from the molar mass distribution via GPC analysis using PSS WinGPC® (PSS GmbH, Mainz, Germany) software. Apparent molecular weights of t and P2 (1 mg/mL in THF) were calculated from molar mass distributions u °C. The open vials were irradiated from above with light at 405 nm or 525 for 2 min and capped before the polymer solution was injected into the G dispersity Đ was calculated from GPC data and is defined as the ratio b average (Mw) and number average molar mass (Mn): Differential scanning calorimetry measurements (DSC) were perform Toledo DSC3+ instrument in aluminum crucibles (100 µ L) at a heating ra under N2 with a flow rate of 20 mL/min. The first heating and cooling cur Glass transition temperatures Tg of compounds P1 (sample weight: 6.96 m ple weight: 8.79 mg) were determined as the inflection points between onse temperatures of the DSC plot. The polymer-coated aluminum crucibles w from above with light at 405 nm or 525 nm wavelength for 2 min before were recorded in the dark.

9-Hydroxynonyl acrylate
A dry, nitrogen-flushed Schlenk-flask equipped with a magnetic sti septum was charged with nonane-1,9-diol (3.60 g, 22.4 mmol), anhydrou and triethylamine (3.2 mL, 22.08 mmol), and the flask was cooled to 0 °C pr wise addition of acryloyl chloride (1.66 mL, 20.4 mmol) over a course of 30 tion mixture was stirred at 0 °C for 4 h before allowing the reaction m slowly to 20 °C, at which temperature it was stirred for a further 12 h. The r was quenched with saturated aq NaHCO3 (30 mL), extracted with ethyl mL), washed with brine (30 mL) and dried over Na2SO4. After filtration, th was concentrated under reduced pressure and the crude residue was puri gel column chromatography (cyclohexane/ethyl acetate 50/50) to furnish hydroxynonyl acrylate as a colorless oil (1.107 g, 5.17 mmol, 23%). A dry, nitrogen-flushed Schlenk-flask equipped with a magnetic stirring bar and a septum was charged with nonane-1,9-diol (3.60 g, 22.4 mmol), anhydrous THF (25 mL) and triethylamine (3.2 mL, 22.08 mmol), and the flask was cooled to 0 • C prior to the dropwise addition of acryloyl chloride (1.66 mL, 20.4 mmol) over a course of 30 min. The reaction mixture was stirred at 0 • C for 4 h before allowing the reaction mixture to warm slowly to 20 • C, at which temperature it was stirred for a further 12 h. The reaction mixture was quenched with saturated aq NaHCO 3 (30 mL), extracted with ethyl acetate (3 × 30 mL), washed with brine (30 mL) and dried over Na 2 SO 4 . After filtration, the organic phase was concentrated under reduced pressure and the crude residue was purified using silica gel column chromatography (cyclohexane/ethyl acetate 50/50) to furnish the product 9-hydroxynonyl acrylate as a colorless oil (1.107 g, 5.17 mmol, 23%).
In a glovebox, a sealed tube was charged with the solid residue, dry toluene (11 mL), pyridine (370 µ L, 4.53 mmol) and 9-hydroxynonyl acrylate (551 mg, 2.57 mmol). The vial was capped, transferred out of the glovebox and stirred at 100 °C for 3 h. After cooling to 20 °C, the reaction mixture was quenched with water (50 mL), extracted with ethyl acetate A nitrogen-flushed Schlenk-flask equipped with a magnetic stirring bar and a reflux condenser was charged with compound 1 (325 mg, 1.10 mmol, reference [26]) and thionyl chloride (3.2 mL, 44.00 mmol). The reaction mixture was stirred under nitrogen at 76 • C for 3 h before it was cooled to 20 • C. Then, low-boiling compounds were removed using vacuum distillation (55 • C, 100 mbar) and the solid residue was washed with dry DCM (2 × 5 mL) before it was stored under a nitrogen atmosphere.
In a glovebox, a sealed tube was charged with the solid residue, dry toluene (11 mL), pyridine (370 µL, 4.53 mmol) and 9-hydroxynonyl acrylate (551 mg, 2.57 mmol). The vial was capped, transferred out of the glovebox and stirred at 100 • C for 3 h. After cooling to 20 • C, the reaction mixture was quenched with water (50 mL), extracted with ethyl acetate (3 × 30 mL), washed with saturated aq NH 4 Cl (30 mL) and brine (30 mL), and dried over Na 2 SO 4 . After filtration, the organic phase was concentrated under reduced pressure and the crude residue was purified using silica gel column chromatography (cyclohexane to cyclohexane/ethyl acetate 75/25) to furnish the product M1 as a yellow solid (481 mg, 700 µmol, 63%). A nitrogen-flushed Schlenk-flask equipped with a magnetic stirring bar an condenser was charged with compound 1 (325 mg, 1.10 mmol, reference [26]) a chloride (3.2 mL, 44.00 mmol). The reaction mixture was stirred under nitroge for 3 h before it was cooled to 20 °C. Then, low-boiling compounds were remo vacuum distillation (55 °C, 100 mbar) and the solid residue was washed with d × 5 mL) before it was stored under a nitrogen atmosphere.
In a glovebox, a sealed tube was charged with the solid residue, dry toluen pyridine (370 µ L, 4.53 mmol) and 9-hydroxynonyl acrylate (551 mg, 2.57 mmo was capped, transferred out of the glovebox and stirred at 100 °C for 3 h. After 20 °C, the reaction mixture was quenched with water (50 mL), extracted with et (3 x 30 mL), washed with saturated aq NH4Cl (30 mL) and brine (30 mL), and Na2SO4. After filtration, the organic phase was concentrated under reduced pr the crude residue was purified using silica gel column chromatography (cyclo cyclohexane/ethyl acetate 75/25) to furnish the product M1 as a yellow solid (4 µ mol, 63%). In a glovebox, compound 2 (268 mg, 1.00 mmol, reference [26]), dry DMF ( dry TEA (550 μL, 4.00 mmol) were added into a sealed tube. The tube was cap crimp cap equipped with a PTFE septum, transferred out of the glovebox a down to 0 °C. Acryloyl chloride (200 μL, 2.00 mmol) was dissolved in dry DM and added dropwise within 5 min. The mixture was stirred at 0 °C for 1 h, the up to 20 °C and stirred for a further 24 h. The solution was diluted and extr In a glovebox, compound 2 (268 mg, 1.00 mmol, reference [26]), dry DMF (5 mL) and dry TEA (550 µL, 4.00 mmol) were added into a sealed tube. The tube was capped with a crimp cap equipped with a PTFE septum, transferred out of the glovebox and cooled down to 0 • C. Acryloyl chloride (200 µL, 2.00 mmol) was dissolved in dry DMF (2.5 mL) and added dropwise within 5 min. The mixture was stirred at 0 • C for 1 h, then warmed up to 20 • C and stirred for a further 24 h. The solution was diluted and extracted with DCM (50 mL), washed with H 2 O (2 × 15 mL) and brine (10 mL), and dried over Na 2 SO 4 . After filtration, the organic phase was concentrated under reduced pressure and the crude residue was purified using silica gel column chromatography (cyclohexane/ethyl acetate 70/30) to furnish product M2 as a yellow solid (140 mg, 370 µmol, 37%). In a glovebox, a sealed tube was charged with compound M1 (400 mg, 580 µ mol), THF (1 mL) and 1,6-hexanedithiol (84.0 µ L, 550 µ mol). Dimethylphenylphosphine (0.80 µ L, 5.80 µ mol) was added, the tube was capped with a crimp cap equipped with a PTFE septum and the reaction mixture was stirred at 20 °C for 40 min. Then, the tube was transferred out of the glovebox and the reaction mixture was precipitated dropwise in methanol (5 mL). The resulting solid was collected, redissolved in THF (1 mL) and re-precipitated in methanol (10 mL). The resulting solid was collected, redissolved in THF (1 mL) and re-precipitated in diethyl ether (10 mL) before the solid residue was dried in vacuum (50 °C, 48 h) to furnish the product P1 (322 mg, 67%) as a yellow solid.

Results and Discussion
Previous work enabled the access to functionalized diazocine compounds [26], among which carboxylic acid (1) and dihydroxymethyl (2) compounds (Scheme 2) were easily formed from methyl ester as the common starting material. Acylation of the dihydroxymethyl derivative of diazocine 2 with acryloyl chloride provided the short diazocine diacrylate M2 in a 37% yield. For the synthesis of the diacrylate comprising nonanyl alkyl spacers M1, the carboxylic acid functions in 1 were activated to reactive acyl chlorides before esterification with 9-hydroxynonyl acrylate established product M1 in an overall 63% yield. Finally, the monomers M1 and M2 were subjected to the Michael-type thiol-ene polyaddition reaction [36] with 1,6-hexanedithiol (HDT) as the nucleophile in a 1.05:1 stoichiometric ratio to ensure acrylate groups at the polymer chain ends and to prevent disulfide links. By employing 1 mol% of dimethylphenylphosphine (DMPP) as the catalyst, the desired polymers P1 and P2 were formed in good yields (67% and 56%, respectively) after purification by precipitation.

Results and Discussion
Previous work enabled the access to functionalized diazocine compounds [26], among which carboxylic acid (1) and dihydroxymethyl (2) compounds (Scheme 2) were easily formed from methyl ester as the common starting material. Acylation of the dihydroxymethyl derivative of diazocine 2 with acryloyl chloride provided the short diazocine diacrylate M2 in a 37% yield. For the synthesis of the diacrylate comprising nonanyl alkyl spacers M1, the carboxylic acid functions in 1 were activated to reactive acyl chlorides before esterification with 9-hydroxynonyl acrylate established product M1 in an overall 63% yield. Finally, the monomers M1 and M2 were subjected to the Michael-type thiolene polyaddition reaction [36] with 1,6-hexanedithiol (HDT) as the nucleophile in a 1.05:1 stoichiometric ratio to ensure acrylate groups at the polymer chain ends and to prevent disulfide links. By employing 1 mol% of dimethylphenylphosphine (DMPP) as the catalyst, the desired polymers P1 and P2 were formed in good yields (67% and 56%, respectively) after purification by precipitation. Scheme 2. Synthesis of the monomers and polymerization. Compounds 1 and 2 were synthesized according to previously published procedures [26].
The photochromism of the diazocine monomers and polymers was investigated using UV-vis spectroscopy at 25 °C (Table 1). The n-π* transition maxima of the (Z) and (E) Scheme 2. Synthesis of the monomers and polymerization. Compounds 1 and 2 were synthesized according to previously published procedures [26].
The photochromism of the diazocine monomers and polymers was investigated using UV-vis spectroscopy at 25 • C ( Table 1). The n-π* transition maxima of the (Z) and (E) isomers were detected at around 400 and 492 nm, in agreement with existing diazocine compounds (Figures 1a,b and S1). No signs of photodegradation were observed for the polymers P1 and P2 after ten cyclic irradiation measurements ( Figure S2). The spontaneous E→Z thermal relaxation of the diazocine units followed first-order reaction kinetics ( Figures  S3 and S4). Since the relaxation rates are predominantly influenced by the electronic effects of the proximal substituents on the aromatic rings of diazocines [25], a large difference in thermal half-lives was determined between the polymers P1 and P2 (39 min and 350 min) but without significant differences compared to the respective monomers M1 and M2 (42 min and 358 min). In the solid state, the polymers P1 and P2 underwent photochromism in bulk, as evident from the color change between the yellow (Z) and red (E) configurations ( Figure 2). To compare the photochromism of the polymers P1 and P2 in the solid state with the dissolved samples, thin films were produced using spin-coating of the polymer solutions on glass slides. The photostationary states at 405 and 525 nm light irradiation wavelengths were equally reached within 1 min as no spectral changes could be detected after longer irradiation times. The absorption spectra of the thin films resemble the polymer solutions in THF, thereby showing equal photochromic efficiencies in the solid state ( Figure  S5). Table 1. Diazocine photoswitching data obtained from UV-vis and NMR spectroscopy. difference in thermal half-lives was determined between the polymers P1 and P2 (39 min and 350 min) but without significant differences compared to the respective monomers M1 and M2 (42 min and 358 min). In the solid state, the polymers P1 and P2 underwent photochromism in bulk, as evident from the color change between the yellow (Z) and red (E) configurations ( Figure 2). To compare the photochromism of the polymers P1 and P2 in the solid state with the dissolved samples, thin films were produced using spin-coating of the polymer solutions on glass slides. The photostationary states at 405 and 525 nm light irradiation wavelengths were equally reached within 1 min as no spectral changes could be detected after longer irradiation times. The absorption spectra of the thin films resemble the polymer solutions in THF, thereby showing equal photochromic efficiencies in the solid state ( Figure S5). 1 After application of correction factors and Stejskal-Tanner fitting. with an accumulation of the downfield-shifted (E) isomer in good photoconversion yields (ΓZ→E) for M1 (60%) and M2 (64%) ( Table 1). In comparison to the monomers M1 and M2, the E/Z ratios of the respective polymers P1 and P2 remained constant, thereby showing no signs of restraint with regard to the switching ability of the integrated diazocine units in the polymer chain. Complete conversion (ΓE→Z > 99%) to the (Z) isomers was reached within 1 min of light irradiation at 525 nm wavelength for all diazocine compounds M1, M2, P1 and P2. To analyze the molecular weights of the polymers, the molecular mass distributions were determined using gel permeation chromatography (GPC) in THF (Figure 1c and 1d). In the case of polymer P1, long polymer chains were obtained, with a number average molecular weight (Mn) of 43 kDa and a dispersity (Đ) of 2.5, corresponding to a degree of polymerization (DP) of 51 (Table 2). Polymer P2 had much shorter polymer chains than P1 with an Mn of 7.4 kDa and a dispersity of 1.6, corresponding to a DP of 14. Since the GPC was calibrated from polystyrene standards, the DP of 17 obtained from the NMR integral measurement was expected to be more accurate. After irradiation of polymer P2 with light at 405 nm wavelength, the apparent Mn measured using GPC increased to 8.1 kDa. In comparison to the measurement under ambient conditions, the apparent increase in Mn by 0.7 kDa reflects the collective photoisomerization of the main-chain diazocine groups which caused hydrodynamic size expansion of the individual polymer coils in THF. However, no change in the apparent Mn could be detected after light irradiation at 405 nm wavelength for P1, possibly due to the fast E→Z thermal relaxation of the diazocine units during the GPC elution process or because the change is small.  The diazocine products were further analyzed using 1 H NMR spectroscopy, initially showing the (Z) isomer in M1, M2, P1 and P2 (see the SI). For the polymers P1 and P2, depletion of the acrylate signals of the monomer and the emergence of broad alkyl signals confirmed the incorporation of 1,6-hexanedithiol and thus the success of the thiolene step-growth polymerization. Furthermore, the 1 H NMR spectrum of polymer P2 contained end-group acrylate signals which allowed the determination of a DP of 17 using the integration of the signals between the acrylate protons and aromatic protons of the diazocine repeating units. Upon photoexcitation of the (Z) isomers at a wavelength of 405 nm, the photostationary states (PSS) of all diazocine products were reached within 1 min with an accumulation of the downfield-shifted (E) isomer in good photoconversion yields (Γ Z → E ) for M1 (60%) and M2 (64%) ( Table 1). In comparison to the monomers M1 and M2, the E/Z ratios of the respective polymers P1 and P2 remained constant, thereby showing no signs of restraint with regard to the switching ability of the integrated diazocine units in the polymer chain. Complete conversion (Γ E → Z > 99%) to the (Z) isomers was reached within 1 min of light irradiation at 525 nm wavelength for all diazocine compounds M1, M2, P1 and P2.

PSS (405 nm) PSS (525 nm)
To analyze the molecular weights of the polymers, the molecular mass distributions were determined using gel permeation chromatography (GPC) in THF (Figure 1c,d). In the case of polymer P1, long polymer chains were obtained, with a number average molecular weight (M n ) of 43 kDa and a dispersity (Ð) of 2.5, corresponding to a degree of polymerization (DP) of 51 (Table 2). Polymer P2 had much shorter polymer chains than P1 with an M n of 7.4 kDa and a dispersity of 1.6, corresponding to a DP of 14. Since the GPC was calibrated from polystyrene standards, the DP of 17 obtained from the NMR integral measurement was expected to be more accurate. After irradiation of polymer P2 with light at 405 nm wavelength, the apparent M n measured using GPC increased to 8.1 kDa. In comparison to the measurement under ambient conditions, the apparent increase in M n by 0.7 kDa reflects the collective photoisomerization of the main-chain diazocine groups which caused hydrodynamic size expansion of the individual polymer coils in THF. However, no change in the apparent M n could be detected after light irradiation at 405 nm wavelength for P1, possibly due to the fast E→Z thermal relaxation of the diazocine units during the GPC elution process or because the change is small. To study the thermal properties and potential transitions of the polymer materials P1 and P2, the photoinduced enthalpic changes of the polymers P1 and P2 were measured as a function of temperature using differential scanning calorimetry (DSC). The long alkyl spacers between the diazocine units in polymer P1 led to a low glass transition temperature (T g ) of −11.3 • C under ambient conditions (Figures S6 and S7). The shorter polymer P2 exhibited a T g at 12.3 • C without further phase transitions at higher temperatures. Apart from the glass transitions, no other thermal phase transitions could be detected. After irradiation of the polymer samples with light at 405 nm wavelength, the changes in T g as a result of the Z→E photoisomerization of the diazocine groups were negligible (0.4−2 • C). Therefore, the configurations of diazocine did not have a strong impact on the rigidity of the polymer chains and did not suggest a higher crystalline order upon photoinduced Z→E switching. In comparison to the amorphous-to-crystalline transition in diazocinecontaining polyurea proposed by Li and co-workers [31], the poly(thioether) chains P1 and P2 did not form an intermolecular network and allowed an isotropic movement of the diazocine units. The polymers remained in a soft, rubbery state at room temperature (25 • C) due to the low T g of P1 and P2. Sufficient free volume in the polymer matrix provided a similar photochromic behavior compared to the polymer solutions in THF. 1 H DOSY NMR spectroscopy provided useful information about the size of individual polymer coils. For polymers containing molecular switches that undergo substantial geometric changes such as the diazocine, the collective isomerization of the switching units is expected to lead to an alteration of the measured diffusion coefficients (D). The hydrodynamic radius (r) of an individual polymer coil is inversely proportional to the diffusion coefficient and dependent on the dynamic viscosity of the solvent given by the Stokes-Einstein equation (Equation 9). In order to detect the hydrodynamic size expansion of the polymer coils in solution, DOSY experiments at PSS of 405 and 525 nm light irradiation wavelengths were conducted in THF-d 8, focusing on the aromatic signals of diazocine. The dynamic viscosity of THF-d 8 at 25 • C was adopted from previous work by Dowds and co-workers (Equation 10) [32]. As expected at PSS (525 nm), single diffusion coefficients of the diazocine products M1, M2, P1 and P2 in (Z) configuration were obtained (for M2 and P2, see the SI).
The (E) isomers of M1 and in P1 relaxed noticeably during the DOSY measurements, as the experiment duration (~20 min) was of the order of the compound half-lives (~25 min), see also Figure S8 The associated increase or decrease in concentration of (Z) and (E) species, respectively, influenced the integrals of the DOSY peaks, which in turn affected the fit quality and led to erroneous diffusion coefficients D for both species. In order to correct this error in the measured data, the E→Z thermal relaxation kinetics must be taken into account. Therefore, the intensities were corrected and normalized with a normalization factor n, and a time offset f was included in the calculation of the (Z) isomer intensities (Table S1). Finally, the corrected and normalized intensities I were plotted as a function of the gradient strength G and fitted with the Stejskal-Tanner equation ( Figure S9) [35]. A detailed procedure can be found in the Methods section.
Photoswitching of the diazocine M1 with 405 nm violet light gave rise to a new and slightly decreased diffusion coefficient of 7.39 ± 0.07 × 10 −6 cm 2 s −1 that corresponded to the (E) isomer compared to the steady (Z) isomer at 7.45 ± 0.14 × 10 −6 cm 2 s −1 . In addition, the DOSY spectra of the polymers P1 and P2 reflected the molar mass distributions obtained using GPC analysis: Firstly, the diffusion coefficients showed higher statistical deviation attributed to the polydispersity of the polymers (see Table S1). Secondly, the higher M n of P1 compared to P2 was confirmed by the lower diffusion coefficient of P1 (1.96 ± 0.05 × 10 −6 cm 2 s −1 ) compared to P2 (2.84 ± 0.08 × 10 −6 cm 2 s −1 ). Since each individual polymer chain in P1 and P2 contains multiple diazocine units, photoswitching with light at 405 nm wavelength resulted in a distribution of the (Z)-and (E)-diazocine isomers within a macromolecule. As a consequence, the diffusion behavior of the polymers in THF-d 8 upon photoswitching to PSS (405 nm) is expected to shift collectively for both isomeric forms. In this case, the mean value of the diffusion coefficient of P1 decreased from 1.96 ± 0.05 × 10 −6 to 1.91 ± 0.02 × 10 −6 (Z) and 1.90 ± 0.03 × 10 −6 (E) cm 2 s −1 , and the diffusion coefficient of P2 decreased from 2.84 ± 0.08 × 10 −6 cm 2 s −1 to 2.72 ± 0.21 × 10 −6 (Z) and 2.75 ± 0.07 × 10 −6 (E) cm 2 s −1 , which corresponded to an increase in hydrodynamic radius from 2.30 nm (Z) to about 2.36 nm (E), and from 1.59 nm (Z) to about 1.64 nm (E), respectively. The observed changes in size, however, are small compared to the experimental error of the DOSY NMR measurements and the distribution of the diffusion coefficients resulting from the polymer dispersity. Because of these error margins, DOSY experiments are not by themselves sufficient to prove a size change. While the photoswitching of the diazocine units is expected to alter the conformation of the polymer backbone, the overall size of the polymer coil remained largely unaffected. This was presumably caused by the conformational freedom of the interconnecting alkyl chain linkers that simultaneously ensured a non-restrained photoswitching of the diazocine units.

Conclusions
Based on our synthetic strategy for the synthesis of functionalized diazocines, diacrylates with two different alkyl spacer lengths were generated and employed as monomers in the thiol-ene polyaddition reaction with 1,6-hexanedithiol. The resulting linear polymers with diazocine moieties in the polymer backbone differed in molecular weight and glass transition temperature while closely mimicking the photochromic behavior of the respective monomers. Owing to the Z→E pincer-like motion of the diazocine switch, the flexible polymer coils experienced a photoinduced hydrodynamic size expansion of the polymer with shorter alkyl chain linkers as confirmed by an increase in the apparent molecular weight from analytical GPC measurements in THF. However, the diffusion coefficients obtained from 1 H DOSY NMR only decreased minimally at PSS (405 nm), probably due to the conformational freedom of the interconnecting alkyl chain linkers. Our results clearly show the potential of diazocine with its favorable properties as a photoswitch in the main chain of polymers. The reactive acrylate end groups of the polymers can be further exploited in post-polymerization modifications and cross-linking reactions. Future work includes the implementation and incorporation of diazocines in more complex polymeric architectures and higher crystalline environments such as micelles, where photoinduced size-switching can be instrumentalized for targeted drug delivery [37].
Supplementary Materials: The following supporting information can be downloaded at: https: //www.mdpi.com/article/10.3390/polym15051306/s1, Figure S1: UV-vis spectra of compounds M1 (left) and M2 (right) after light irradiation at 405 nm (red) and 525 nm wavelength (black) at a concentration of 1 mM in THF; Figure S2. Cyclic UV-vis measurements of polymers P1 (left) and P2 (right) after light irradiation at 405 nm (red) and 525 nm wavelength (black) at a concentration of 0.5 mg/mL in THF; Figure S3. First-order thermal relaxation kinetics of M1 (left) and M2 (right) from PSS (405 nm wavelength) at λ max (E) at a concentration of 3 mg/mL in THF; Figure S4. First-order thermal relaxation kinetics of P1 (left) and P2 (right) from PSS (405 nm wavelength) at λ max (E) at a concentration of 3 mg/mL in THF; Figure S5. UV-vis spectra of polymers P1 (left) and P2 (right) after light irradiation at 405 (red) and 525 nm wavelength (black) as spin-coated thin films; Figure S6. DSC plots of polymer P1 at PSS (525 nm) (black) and PSS (405 nm) (red) indicating the glass transition temperature T g . The DSC measurements were cycled between −70 and 150 • C and −40 and 40 • C, respectively; Figure S7. DSC plots of polymer P2 at PSS (525 nm) (black) and PSS (405 nm) (red) indicating the glass transition temperature T g . The DSC measurements were cycled between −70 and 150 • C and −40 and 40 • C, respectively; Figure S8. Stacked plot of the 1D 1 H NMR spectra of M1 from 8.5 to −0.5 ppm at T = 298 K. Bottom: before irradiation, center: after irradiation at t = 0 min and top: after irradiation and the DOSY experiment at t = 27.3 min; Figure S9. Example graphs are presented to highlight the effect of data intensity correction of one peak of the (E) (top) and (Z) isomer (bottom) after light irradiation at 405 nm wavelength of M1. Fit statistics are shown for the individual fits of these resonances; Figure S10. Stacked plot of the 1D 1 H NMR spectra of polymer P1 from 8.5 to −0.5 ppm at T = 298 K. Bottom: before irradiation, center: after irradiation at t = 0 min and top: after irradiation and the DOSY experiment at t = 26.5 min; Table S1. Corrected diffusion coefficients D [10 −6 cm 2 s −1 ] of the (Z) and (E) isomers of M1, P1, M2, P2 after light irradiation at 405 and 525 nm wavelength from 1 H DOSY NMR measurements.; 1 H and 13 C{ 1 H} NMR spectra of the products.; 1 H DOSY NMR spectra of M2 and P2. Ref [38] is cited in Supplementary Materials.