Synthesis and characterization of novel donor–acceptor type neutral green electrochromic polymers containing an indolo[3,2-b]carbazole donor and diketopyrrolopyrrole acceptor

Indolocarbazole bearing donor–acceptor type polymers have rarely been reported in the electrochromic field despite them having considerable development in the applications of organic photoelectric devices. In this paper, two novel soluble electrochromic polymers, namely PDTCZ-1 and PDTCZ-2, were prepared by chemical polymerization including indolo[3,2-b]carbazole (IC) units as the donor, diketopyrrolopyrrole (DPP) units as the acceptor and bithiophene units as the bridging group. Through diverse characterization techniques such as cyclic voltammetry (CV), scanning electron microscopy (SEM), UV-vis spectroscopy and thermogravimetric analysis (TGA), it was found that PDTCZ-1 and PDTCZ-2 exhibited saturated green in the neutral state and pale green in the oxidized state with optical band gaps of 1.44 eV and 1.39 eV, respectively, as well as demonstrating fast switching speed, satisfactory coloration efficiency and favorable thermal stability. In addition, the proportion of donors to acceptors definitely exerted an influence on the electrochromic properties of the polymers. As the thiophene/IC/DPP ratio changed from 4/3/1 (PDTCZ-1) to 5/4/1 (PDTCZ-2), meaning an increase of the donor ratio, the polymer showed a reduced onset oxidation potential, decreased optical band gap and different dynamic parameters. The positive results suggest that PDTCZ-1 and PDTCZ-2 could be promising candidates as neutral green electrochromic materials and deserve more attention and penetrating research.


Introduction
Conducting polymers (CPs), as a class of organic materials with electrical conductivity like semiconductors and metals, possess many attractive advantages including conductivity, favorable mechanical exibility, good processability, and light weight. 1,2 In particular, CPs can be nanostructured in order to meet the requirements for some specic applications. [3][4][5] Through the unremitting efforts of researchers, both bulk CPs and nanostructured CPs have been widely explored and developed in the elds of chemical sensors, electromagnetic shielding materials, supercapacitors, electrochromic devices, and so on. [6][7][8][9] Electrochromism is considered as a process by which the material undergoes stable and reversible optical change under the applied potentials. 9 Electrochromic polymers, as an important branch of CPs, have become a research hotspot in recent years due to their characteristics of multiple color changes, short response time, excellent cyclic reversibility, easy molecular structure design, and low cost. [10][11][12] Color change is a pivotal feature for electrochromic materials and considered as a crucial objective for research specialist staff. 13,14 According to the color theory, all types of color can be realized by a combination of three-primary colors namely red, green and blue. 15 Compared with red and blue, neutral green electrochromic polymers are difficult to achieve since they require two absorption bands located in both red and blue regions at the same time. Besides, for the sake of transparent color in the oxidized state, the two bands should be controlled by the same potentials and disappear simultaneously. [16][17][18][19] Up to now, there are several strategies to adjust the polymer color such as growing conjugate chain, tuning steric interaction and adopting donor-acceptor (D-A) approach, among which synthesizing D-A type polymers is by far the most popular and effective method through designing different donors and acceptors. 16,20 Furthermore, another signicant advantage of D-A structure is the lower band gap of polymer owing to the inter-or intra-molecular charge transfer effects from push/pull interactions between donor and acceptor. 21,22 Wudl group synthesized the rst case of soluble neutral green electrochromic polymer containing thieno [3,4-b]pyrazine and thiophene units which showed the band gap as low as 1.3 eV. 23 Subsequently, Toppare, Reynolds and other research groups investigated various D-A type neutral green electrochromic polymers mainly based on benzothiadiazole 24,25 and quinoxaline 19,26 units with low band gaps. In particular, the investigation on a polymer of poly((2-dodecyl-4,7-di(thiophen-2-yl)-2Hbenzo[d] [1,2,3]triazole)) (PTBT) can be regarded as an important breakthrough in the multi-colored electrochromic materials over recent years because it showed different colors covering red, green, blue, black and transmissive states with low band gap of 1.65 eV. 27 Xu group reported two D-A type soluble polymers bearing the modied bay-annulated indigo (BAI) as acceptor for efficient electrochromic devices which changed between deep blue and light green with low band gaps (about 1.5 eV) and superior stability. 28 Our group also synthesized some neutral green polymers containing [1,2,5]thiadiazolo [3,4c]pyridine, 15 quinoxaline 29 and pyrido [3,4-b]pyrazine 30 as acceptor units. Although great efforts have been devoted in research of green electrochromic polymers, the number of this species is still rare and there is expansive space for development in terms of their comprehensive properties and applications.
Various neutral green D-A type polymers previously reported primarily employ thiophene derivatives, especially 3,4-ethoxylenedioxythiophene (EDOT) and 3,4-propylenedioxythiophene (ProDOT) as the donors, which causes the diversity of polymer species depends on changes in acceptors. [16][17][18][19]25,29 So actively exploring new kind of donors can be considered as an effectual way to expand green electrochromic polymers. Indolo [3,2-b] carbazole (IC), as an important class of donor unit containing electron-rich indole and carbazole groups, has notable planar and rigid conjugate structures similar with pentacene, which could facilitate charge carrier effectively and result in high hole transporting ability for its corresponding polymers. 31,32 On the other hand, IC based polymers present excellent photo-stability and environmental stability due to their low-lying highest occupied molecular orbital (HOMO) level. 33,34 Finally, the structure of IC can be modied at 2,8-positions, 3,9-positions, and 5,11-positions by different functional groups to enhance solubility and tune property of the polymers. 34,35 The above advantages make IC and its derivatives receive extensive studies in the applications of photovoltaic cells, 31,32 organic eld-effect transistors (OFET) [33][34][35] and organic light emitting diodes (OLED). 36,37 Qian et al. prepared several kinds of IC-containing multi-donor-p-acceptor type organic dyes used in dyesensitized solar cells, among which a polymer named QX02 showed the power conversion efficiency as high as 8.09% which was very close to that of the commercial cell. 32 [3,2-b]carbazole) which exhibited color change from yellow to cyan in the oxidation process with 1.56 eV band gap, as well as showed capacitance property and favorable solubility in common organic solvents. 38 Zhang et al. studied on an indolo [3,2-b] carbazole-based compound with two diphenylamine termini and found it displayed reversible color change from light-yellow to red, and to blue at different oxidation states. 39 So far, there have been no reports of neutral green electrochromic polymers based on IC units. With regard to the acceptor in D-A type polymers, electronwithdrawing diketopyrrolopyrrole (DPP) would be a good choice due to the high conjugated lactam structure in the planar backbone which can lead to strong p-p interactions and high charge carrier mobility. 40,41 Xu group synthesized some of D-A type electrochromic polymers bearing DPP units, which displayed different reversible colors changes even black to transmissive grey, and also presented high optical contrast, short switching time, favorable coloring efficiency and redox stability. 42,43 Lee et al. obtained another DPP-containing conjugated polymers named LGC-D148 which displayed green/ transparent electrochromism with the coloration efficiency more than 900 cm 2 C À1 . 44 Inspired by the aforementioned aspects, we synthesized a new kind D-A type electrochromic polymers by Stille polymerization reaction containing 6,12-diphenyl-5,11-dioctyl-5,11dihydroindolo[3,2-b]carbazole as the donor, and 3,6-bis(thienyl-2-yl)-2,5-bis(2-ethylhexyl)-2,5-dihydropyrrolo [3,4-c]pyrrole-1,4dione as the acceptor. The long-chain alkyl linked on IC and DPP units is aim to augment the polymer solubility. In addition, there are 2,2 0 -bithiophene units in the polymer chain as the bridged groups which could lower the steric hindrance between donor and acceptor, strength p-p interaction, and reduce polymer band gap. 45,46 By regulating the ratio of donors to acceptors, two polymers namely PDTCZ-1 and PDTCZ-2 respectively were obtained, and the properties of which including electrochemistry, spectroelectrochemistry, dynamics, colorimetry and thermal stability were fully investigated. As expected, the two soluble polymers displayed neutral green electrochromism with small band gaps, and revealed short switching time, desirable coloration efficiency and favorable thermal stability. This is the rst report on the indolocarbazolebearing polymers as neutral green electrochromic material. It is anticipated that the syntheses and characterizations of PDTCZ-1 and PDTCZ-2 will be helpful for providing new materials for the construction of smart windows with commercial values.
To carry out the electrochemical and spectroelectrochemical experiments, the polymer solution was confected using chloroform as solvent (5 mg ml À1 ), and sprayed onto the ITO glasses by an airbrush to form a thin lm (the active area: 0.9 cm Â 3.0 cm). Electrochemical properties were tested using a CHI 760C electrochemistry workstation (Shanghai Chenhua Instrument Co., Shanghai, China) employing a ITO glasses as working electrode (WE), a platinum ring as counter electrode (CE), and a silver wire (0.03 V vs. saturated calomel electrode, SCE) as pseudo-reference electrode (RE) in a self-assembled electrolytic cell.
Spectroelectrochemical experiments were executed by a Varian Cary 5000 spectrophotometer (Varian Inc., Santa Clara, CA, USA). The potentials applied on the polymer was synchronously regulated by the electrochemistry workstation using ITO glass, stainless-steel wire and silver wire as WE, CE and RE, respectively. The Varian Cary 5000 spectrophotometer was also served to record the colorimetric data.
Microscopic morphology was observed by a JSM-6380LV scanning electron microscope (SEM, JEOL Ltd., Tokyo, Japan). Photos of the polymer solution and lm were obtained by a Canon digital camera (Canon Inc., Tokyo, Japan). Thermogravimetric analysis (TGA) was surveyed by a Netzsch STA449C TG/DSC simultaneous thermal analyzer (Netzsch Inc., Bavaria, Germany) with 10 C min À1 heating rate from 0 to 750 C in nitrogen atmosphere.

FT-IR spectra
FT-IR spectra can be used to analyze the type of functional groups and deduce the structure of compound, which were measured for the two polymers and shown in Fig. 1. The following peaks were identied in the spectrum of PDTCZ-1: 3063 cm À1 (aromatic C-H stretching vibration), 2922 cm À1 and 2851 cm À1 (aliphatic C-H stretching vibration), 1661 cm À1 (ketone C]O stretching vibration), 1603 cm À1 , 1550 cm À1 , 1515 cm À1 and 1488 cm À1 (benzene, thiophene, IC and DPP substituted ring C]C stretching vibration), 1450 cm À1 , 1430 cm À1 , 1400 cm À1 and 1382 cm À1 (methylene and methyl C-H bending vibration), 1352 cm À1 , 1318 cm À1 , 1225 cm À1 , 1169 cm À1 and 1145 cm À1 (benzene, thiophene, IC and DPP substituted ring C-C, C-S and C-N stretching vibration), 1090 cm À1 , 1070 cm À1 and 1010 cm À1 (benzene, thiophene and IC substituted ring C-H in-plane bending vibrations), 828 cm À1 , 790 cm À1 , 739 cm À1 (benzene, thiophene and IC substituted ring C-H out of plane bending vibrations), 690 cm À1 (methylene C-H out of plane bending vibrations). It was observed that PDTCZ-2 presented almost the same characteristic absorption peaks compared with PDTCZ-1 except for the slight difference in the peak intensity, which could be explicated by the different proportion of donors to acceptors in the polymer backbone.

Electrochemistry
Electrochemical properties of the two polymer lms were determined by cyclic voltammetry (CV) experiments which were executed in ACN solution (including 0.1 M TBAPF 6 as electrolyte) at 100 mV s À1 scan rate. From CV curves shown in Fig. 2, it can be seen that PDTCZ-1 and PDTCZ-2 displayed the similar redox procedures. Specically, they displayed two pairs of oxidation-reduction peaks during the p-type doping which were situated respectively at 0.55 V and 0.23 V as well as 0.92 V and 0.80 V for PDTCZ-1, and at 0.50 V and 0.15 V as well as 0.88 V and 0.73 V for PDTCZ-2. And the two oxidation peaks was resulted from the formation of polarons and bipolarons. 21,44 The onset oxidation potentials (E onset ) of PDTCZ-1 and PDTCZ-2 were evaluated as 0.19 V and 0.15 V, respectively. Based on the above data, it was easy to recognize that the oxidationreduction peak potentials and E onset of PDTCZ-1 were higher than those of PDTCZ-2 as a result of the different ratio of donors to acceptors in the polymer main chain. In the D-A type structure, the increasing of donor units would be of benet to raise the HOMO energy level of the polymer, and in turn reduce the potential required for the formation of radical cation. 48 Consequently, PDTCZ-2 containing more donor units showed lower redox potentials and E onset than PDTCZ-1. Besides, each polymer exhibited individually a slight reduction peak at À0.81 V for PDTCZ-1 and À0.86 V for PDTCZ-2 under the negative potentials, representing the inconspicuous n-type doping process, which might because the presence of little water and dissolved oxygen in the electrolyte solution made it difficult for an inherently unstable n-type doping to exist. 49

Morphology
Using JSM-6380LV scanning electron microscope, the morphology was clearly presented with 120 000 times magnication aer the polymers were spray-coated onto the ITO glasses. As shown in Fig. 3(a), on the surface of PDTCZ-1, many curving texture structures like the capillaries of human body were arranged uniformly, among which a large number nanoscale particles of the polymer were distributed with irregular shape. This microstructure was due to the cracking of thin lm resulted from the volatilization of solvent during the preparation of polymer membrane. The presence of these nano-sized cracks would be conducive to the doping and de-doping of ions, thus increasing the optical contrast and accelerating the speed of electrochromic switch. 43 The morphology of PDTCZ-2 ( Fig. 3(b)) was very similar to that of PDTCZ-1, except that more polymer particles were dispersed throughout the surface and surrounded by more concentrated stripes. This phenomenon could also be interpreted by the different donor/acceptor ratio which might lead to different degree of cracking in the volatilization process.

Optical properties
PDTCZ-1 and PDTCZ-2 were dissolved in chloroform respectively to form their saturated solution, and part of solution was sprayed onto the ITO glasses to prepare thin lms. The optical properties of the polymers in both liquid and solid phases were detected and shown in Fig. 4. Both in chloroform solution and in solid lm, the two polymers exhibited two distinct absorption bands centered around 425 nm and 650 nm which were ascribed to the high energy and the low energy p-p* transitions. 50 And the absorption peaks was considered to be caused by the transitions from IC and thiophene based valence bands to their antibonding counterparts (high-energy transition) and to the substituent localized narrow conduction bands (lowenergy transition). 51 It was also seen clearly that the positions of absorption peaks of PDTCZ-1 and PDTCZ-2 were almost identical in the same phase state which were located at 424 nm  and 645 nm in the solution, as well as 426 nm and 660 nm in the lm, respectively. What was noteworthy was that the absorption peaks of the two polymers showed obvious bathochromic shis and broadening phenomena in the solid state in contrast with those in the solution state especially for the low energy peaks, which demonstrated the enhanced p-p* stacking and stronger intra molecular interaction in the solid polymer lms. 43,52 Also because the centers of absorption bands were all located at about 425 nm and 650 nm, the colors of the two polymers were displayed as green. In the solution, PDTCZ-1 and PDTCZ-2 showed light emerald and deep emerald respectively, while in the solid lm, PDTCZ-1 and PDTCZ-2 presented sea-green and forest-green respectively.

Spectroelectrochemistry
The two polymers were spray-coated onto the ITO glasses and performed spectroelectrochemical tests to investigate the evolution of charge carries during the oxidation course. The experiments were conducted in the 0.1 M TBAPF 6 /ACN solution at the potential from 0 V to 0.98 V for PDTCZ-1 and from 0 V to 0.95 V for PDTCZ-2 with the irregular intervals. The detailed absorption spectra as well as the colors of polymer lms in the neutral and oxidized states were shown in Fig. 5. Both PDTCZ-1 and PDTCZ-2 manifested two absorption peaks in the neutral state centered at 426 nm and 660 nm corresponding to the p-p* transitions in the polymer backbone. When the applied potentials increased gradually, the absorption bands at 660 nm weakened gradually, but those at 426 nm remained largely unchanged. Concurrently, other two new absorption bands emerged and heightened in the near infrared region (NIR) owing to the formation of polarons and bipolarons. 21,38 It could be observed from Fig. 5(a) that the absorption band around 660 nm of PDTCZ-1 attenuated gradually when fully oxidized to 0.98 V, meanwhile, the polaron and bipolaron bands augmented constantly centered at 895 nm and 1565 nm, respectively. With regard to PDTCZ-2 as shown in Fig. 5(b), it exhibited the similar changing trend to PDTCZ-1, except that the polaron and bipolaron bands were located at 898 nm and 1560 nm respectively. Due to the fading of the highenergy absorption peaks in the visible region (did not vanish completely) and the intensifying of the low-energy absorption peaks in the NIR, the polymers demonstrated corresponding color changes from sea-green to pale green for PDTCZ-1 and from forest-green to pale yellowish-green for PDTCZ-2.
In addition, the low energy onset absorption wavelengths (l onset ) of the polymer lms in the neutral state were measured as 861 nm for PDTCZ-1 and 893 nm for PDTCZ-2. Taking advantage of the values of l onset and E onset , the optical band gaps (E g,op ), as well as the HOMO and LUMO energy levels were calculated, and these values mentioned above together with the maximum absorption wavelengths (l max ) were all listed in Table  1. The E g,op of PDTCZ-1 and PDTCZ-2 were 1.44 eV and 1.39 eV respectively, which were lower than that of other DPP or IC units containing D-A polymers. The spectroscopic parameters and molecular structures of the compared polymers were illustrated in Table 1 and Fig. 6. As demonstrated in the table, three kinds of polymers bearing DPP units as acceptor, including P(36CzEtDPP) with carbazole units as donor, 40 P(EH-DPP) with  Moreover, compared with PDTCZ-1, PDTCZ-2 displayed lower E g,op resulting from the larger proportion of donor units in its backbone. It could be found that the calculated HOMO energy level of PDTCZ-2 was higher than that of PDTCZ-1, which was consistent with the previous conclusion that more donor units in the polymer was benet to improve the HOMO energy level. However, the LUMO energy levels of PDTCZ-1 and PDTCZ-2 were hardly changed. For reasons given above, PDTCZ-2 showed the lower E g,op than PDTCZ-1.
As mentioned earlier, neutral green polymer, serving as the RGB (red, green, blue) electrochromic material, is relatively difficult to achieve. In particular, the green-color electrochromic polymers with good solubility are reported seldom in the literatures. Such soluble neutral green polymers usually included different donor/acceptor combination such as thiophene/thienopyrazine, 23 ProDOT/benzothiadiazole, 25 EDOT/quinoxaline, 26 ProDOT/benzoselenadiazole, 20 and cyclopentadithiophene/  benzothiadiazole. 17 However, IC units had never been employed as donor to prepare soluble neutral green electrochromic polymers in the previous reports. In this study, two IC-containing polymers with neutral green color, good solubility, and low band gap were prepared for the rst time, which had important theoretical signicance for the development of neutral green electrochromic polymers.

Electrochromic switching
The kinetic parameters, as the very important performance characterization for the electrochromic materials, could be obtained employing the spectrophotometer combined with the electrochemical workstation by double potential step chronoamperometry. Aer the polymers were spray-coated onto the ITO glasses, the experiments were carried out under the square wave potential with the orderly 4 s interval between 0 V and 1.1 V in 0.1 M TBAPF 6 /ACN solutions. The measurement wavelengths were chosen around l max of the polymer lms in the visible region and the NIR according to the spectroelectrochemical experiments, located at 660 nm, 895 nm and 1560 nm for PDTCZ-1 and PDTCZ-2. The spectra of transmittance changes from 0 to 300 s at different wavelengths and three kinds of dynamic parameters were illustrated in Fig. 7 and Table 2, respectively. Optical contrast (T%), means percentage change in transmittance between the redox state, was measured as 10.3% at 660 nm, 28.5% at 895 nm and 31.1% at 1560 nm for PDTCZ-1, and as 16.6% at 660 nm, 30.7% at 895 nm and 30.1% at 1560 nm for PDTCZ-2. The two polymers presented higher T% in the NIR than in the visible region, which was coincident with many previous reported D-A type polymers. 29,30 On the other hand, by comparing with each other, PDTCZ-2 indicated high T% than PDTCZ-1 especially in the visible region because the larger amounts of IC units as donors in PDTCZ-2 backbone might enhance the susceptibility toward electrochemical oxidation, which correlated well with its higher HOMO energy level as mentioned above.
Response time (t 95% ) refers to the time necessary for 95% of full optical switching during the redox process, which could represent the electrochromic velocity. The calculated values of t 95% were 2.84 s at 660 nm, 0.53 s at 895 nm and 0.73 s at 1560 nm for PDTCZ-1, and 2.50 s at 660 nm, 2.18 s at 895 nm and 2.73 s at 1560 nm for PDTCZ-2. The t 95% at all test wavelengths were below 3 s, suggesting that the two polymers possessed relatively fast switching speed, particularly for PDTCZ-1 which showed 0.53 s and 0.73 s respectively in the NIR.
Coloration efficiency (CE), using to estimate the utilization efficiency of energy in the electrochromic switching process, can be expressed as the ratio between optical density change (DOD) and charge consumed per unit electrode area (DQ) and obtained by the following formulas: 44 where T b and T c mean the transmittance before and aer coloration, respectively. The values of CE were calculated as 89.0 cm 2 C À1 at 660 nm, 141.0 cm 2 C À1 at 895 nm and 197.8 cm 2 C À1 at 1560 nm for PDTCZ-1, and as 96.6 cm 2 C À1 at 660 nm, 168.7 cm 2 C À1 at 895 nm and 91.6 cm 2 C À1 at 1560 nm for PDTCZ-2.
The higher CE values occurred in the NIR compared with those in the visible region for the two polymers except for a lower CE of PDTCZ-2 at 1560 nm. In summary, the opinion of optimum donor-to-acceptor proportion for conjugated polymer should be supported, which deserved further investigations to reveal more regularity in the electrochromic properties.  In order to test the cyclic stability of the polymers in electrochromic process, the time intervals of square wave potentials in dynamic experiments were set to 10 s, 5 s, 3 s, 2 s, and 1 s respectively to provide the relations of optical contrast versus time. As demonstrated in Fig. 8, when the retention time changed from 10 s to 1 s, the T% of PDTCZ-1 decreased by 2.4% at 660 nm, 16.4% at 895 nm and 11.7% at 1560 nm, and that of PDTCZ-2 decreased by 11.9% at 660 nm, 8.7% at 895 nm, and 10.1% at 1560 nm. It was observed that the T% was greatly dependent on the switching time and the two polymers showed various degree of decrease in T% at different wavelengths. 42,56 With the decease of the retention times, the polymers could not be fully doped (oxidized) or dedoped (reduced), resulting in the decrease in the contrast ratios (T%). 57 On another aspect, these data suggested that PDTCZ-1 and PDTCZ-2 were hardly the best materials to be display-type devices, but might be the potential candidates in the applications of smart windows and other devices.

Colorimetry
To further distinguish the similar color changes of green for PDTCZ-1 and PDTCZ-2, the values of L*, a*, and b* were determined by colorimetric experiments which were conducted in the 0.1 M TBAPF 6 /ACN solution at the scanning potential from 0 to 1.3 V using CIE 1976 L* a* b* Color Space soware aer the polymers were spray-coated onto the ITO glasses. L* symbolizes the luminance of color from black to white, a* symbolizes the contrast of red versus green, and b* symbolizes the contrast of yellow versus blue. 25,56 Three thin lms of each polymer with different thickness participated in the experiments, and the thickness was described by the maximum optical absorption value, that is, the larger the value was, the thicker the lm was. Fig. 9 depicted the variations of L* with increasing potentials and listed the values of L*, a*, and b* at 0 V and 1.3 V respectively. As shown in the gure, it was not until the applied potentials exceeded E onset that the L* values of the two polymers began to change obviously. And as the applied potentials continued to raise, the L* of PDTCZ-1 and PDTCZ-2 gradually enhanced to the maximum at 1.3 V. Besides, the values of a* improved from the larger negatives to the smaller negatives when the polymer lms changed from the neutral state to the oxidation state, meanwhile, the values of b* increased for certain degree in the positive range, which suggested the fading of green and the dyeing of yellow in the oxidation process just like the images of the two polymers showed in Fig. 5.
With the thickness of the same polymer (i.e. the maximum optical absorption value) increasing, the L* values decreased during the whole applied potentials. For instance, the L* values of PDTCZ-1 were measured as 73.3, 69.2 and 63.0 at 0 V, and as 78.8, 75.4 and 69.1 at 1.3 V when the maximum absorption grew  from 0.49 to 0.57, and to 0.72 a.u. PDTCZ-2 revealed the similar decrease of the L* values as PDTCZ-1. As the thickness of the polymer lms increased, the intensity of the light passing through the lms decreased, resulting in the weakening of the luminance and the decrease of the L* value. Therefore, the luminance could be tuned by controlling the polymer lm thickness, which had great practical signicance for the application of electrochromic devices.

Thermogravimetric analysis
For an excellent electrochromic material, it is very pivotal to have good thermal stability which can be characterized by TGA test. 55 As shown in Fig. 10, it was found from the thermogravimetric (TG) curves that there was a small amount of weight loss before about 150 C for the two polymers, which might be due to the evaporation of residual solvent or water in the polymers. Then, the polymers continued to suffer small weight loss before about 380 C owing to the decomposition of partial alkyl chains in the polymer backbones, and this process was also reected by the weaker peaks of the differential thermal gravity (DTG) curves. The decomposition temperature at 5% weight loss (T d ) of PDTCZ-1 and PDTCZ-2 were measured as 324.6 C and 221.5 C, respectively. Signicant decomposition occurred approximately between 389.3 C (extrapolated onset temperature, T onset ) and 482.7 C (extrapolated termination temperature, T offset ) for PDTCZ-1, as well as between 383.3 C (T onset ) and 492.5 C (T offset ) for PDTCZ-2. It was observed from the DTG curves that the temperatures with maximum degradation rate (T max ) were measured as 422.9 C for PDTCZ-1 and as 421.7 C for PDTCZ-2. The amount of carbonized residue, also known as char yield (% char), were 59.1% for PDTCZ-1 and 60.9% for PDTCZ-2 at 750 C, which was attributed to a large number of aromatic groups distributed in the polymer backbone. The thermogravimetric parameters of T d , T onset , T offset , T max and % char were all listed in Table 3. According to the above data, both PDTCZ-1 and PDTCZ-2 exhibited desirable thermal stability, which would in turn be propitious to improve the morphological stability and the service time in the practical application.

Conclusions
In this work, two soluble IC-containing polymers with neutral green electrochromism, i.e. PDTCZ-1 and PDTCZ-2, were reported for the rst time. As the D-A type polymers, they were obtained by Stille crossing-coupling reactions using IC units as donor and DPP units as acceptor. Both PDTCZ-1 and PDTCZ-2 were the neutral green polymers with low optical band gaps and favorable thermal stability, and also displayed relatively high optical contrast and satisfactory coloration efficiency especially in the NIR. Moreover, the feed ratio of donors to acceptors proved to be an impactful technique to regulate the electrochromic properties which were manifested in the lower onset oxidation potential and optical band gap of PDTCZ-2 containing larger proportion of donor units in comparison with PDTCZ-1. In conclusion, PDTCZ-1 and PDTCZ-2 displayed the individually distinguishing feature, and more important, they provided a new structure design for green electrochromic materials employing IC units as donor, which made it necessary to research other IC-containing polymers and develop their applications further.

Conflicts of interest
There are no conicts to declare.