A class of bithiazole-based wide bandgap polymers and their applications in optoelectronic devices

CN115584017BActive Publication Date: 2024-10-11WUHAN INST OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211214413.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-30
Publication Date
2024-10-11
Estimated Expiration
2042-09-30

AI Technical Summary

Technical Problem

Existing organic solar cells have problems such as high energy loss and low photon utilization in improving photovoltaic parameters (FF, Jsc, Voc). In particular, it is difficult to achieve higher photovoltaic efficiency in terms of matching with non-fullerene acceptor materials. .

Method used

A class of wide-gap polymers in which bithiazole is the A unit is designed. By introducing halogen atoms, methyl or ester groups, the HOMO energy level is reduced, π-π stacking is increased, and combined with thiophene or selenophene monomers, the adjustment Energy levels and light absorption capabilities to match non-fullerene acceptor materials to improve charge transport and photovoltaic performance.

Benefits of technology

It achieves lower energy loss, higher open circuit voltage and charge mobility, improves photovoltaic efficiency, and the material preparation is simple and low-cost. It is suitable for optoelectronic devices such as organic solar cells and perovskite solar cells.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115584017B_ABST
    Figure CN115584017B_ABST
Patent Text Reader

Abstract

The present invention discloses a bithiazole-type wide band gap polymer, which comprises an electron-donating unit and an electron-deficient unit, wherein the electron-deficient unit adopts a monomer containing a bithiazole group; the structural formula is shown in Formula I or Formula II: #imgabs0# wherein R is selected from F, Cl, OR3, methyl or ester group, wherein R3 is selected from alkyl chains of different lengths (C1 to C 30 ); Ar is selected from furan, thiophene, stannophene or dithiophene; n is 10 to 100. The polymer material of the present invention is a polymer material in which dithiazole is used as an electron-deficient unit (A) and is copolymerized with different electron-donating units; it has good absorption, deep highest occupied empty orbital and good planarity in the band gap range of 1.8 to 2.2 eV, and the preparation cost involved is low and the steps are simple; it can be used as an electron donor material or an electron transport layer material, and has good commercial application prospects in the field of optoelectronic devices such as organic solar cells and perovskite solar cells.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of optoelectronic materials and devices thereof, and in particular relates to a type of bithiazole wide bandgap polymer and application thereof in optoelectronic devices. Background Art

[0002] The rapid development of society is inseparable from the consumption of various energy sources, but both fossil energy and nuclear energy inevitably face some serious problems, such as energy shortage, environmental pollution and safety of use. Therefore, the demand for green and clean energy is becoming increasingly urgent. Among them, solar energy has attracted people's attention as a green and pollution-free renewable energy. As a device that can convert light energy into electrical energy, research on organic solar cells has attracted widespread attention from academia and society in recent years. Compared with traditional inorganic semiconductor solar cells, organic solar cells have many advantages, such as low cost, light weight, simple preparation process, and can be prepared into semi-transparent devices and flexible devices, etc., showing high research value and considerable application prospects.

[0003] In order to achieve high-efficiency organic photovoltaic materials, it is necessary to adjust the photovoltaic parameters (FF, J sc 、V oc ) is maximized. Improving these parameters can be achieved through additives, changing the forward and reverse structures of the device, and heat treatment. However, the most important thing is to optimize the structure of the donor-acceptor unit to achieve effective regulation of the polymer band gap, energy level and morphology. In particular, the rapid rise of non-fullerene small molecule acceptor materials in recent years has broken the convention and raised the efficiency of battery devices to a new height, exceeding 18% (Sci. Bull., 2020, 65, 272-275; Adv. Mater., 2020, 32, 1908205;). And in the reported high-performance organic solar cells, compared with fullerene acceptor materials, the absorption spectrum width of non-fullerene small molecule acceptor materials can be extended to the near-infrared region (~1000nm), and under lower charge separation drive, the excitons in the organic photovoltaic material can also be efficiently separated to generate charges. Therefore, how to improve photon utilization while reducing energy loss is the key to the design of efficient photovoltaic materials. Based on the many advantages of non-fullerene acceptor small molecules, it is urgent to design a class of polymer donor materials that better match the non-fullerene acceptors at the energy level and produce lower energy loss (V loss ), thereby achieving higher PCE. Summary of the invention

[0004] The main purpose of the present invention is to provide a wide bandgap polymer with dithiazole as the A unit in view of the shortcomings of the prior art. The wide bandgap polymer has the advantages of simple preparation steps, low cost, good planarity, large-scale preparation, lower HOMO, higher open circuit voltage, energy level matching with electron acceptor materials, absorption complementarity, smaller energy loss, higher charge mobility, etc. The wide bandgap polymer can be used as an electron donor material or an electron transport layer material, and has good commercial application prospects in the field of optoelectronic devices such as organic solar cells and perovskite solar cells.

[0005] To achieve the above object, the technical solution adopted by the present invention is:

[0006] A type of bithiazole wide band gap polymer, which includes an electron donating unit (D unit) and an electron deficient unit (A unit), wherein the electron deficient unit adopts a bithiazole-containing monomer; the structural formula is shown in Formula I or Formula II:

[0007]

[0008] In the formula, R is selected from F, Cl, OR3, methyl or ester, wherein R3 is selected from alkyl chains of different lengths (C1 to C 30 ); Ar is selected from furan, thiophene, stannane or dithiophene; n is 10 to 100.

[0009] In the above scheme, the molecular weight of the dithiazole wide bandgap polymer is 10,000 to 500,000.

[0010] Further, the structural formula of the electron donating unit (D unit) is selected from the following:

[0011]

[0012] Wherein R2 is selected from an alkyl chain with a carbon number of 1 to 30; X is selected from H, F or Cl; X1 is selected from H, F or Cl.

[0013] In the above scheme, the structural formula of the dithiazolyl-containing monomer is shown in Formula IV;

[0014]

[0015] In the formula, R is selected from F, Cl, OR1, methyl or ester (R1 is selected from alkyl chains of different lengths (C1~C 30 ); Ar is selected from furan, thiophene, stannane or dithiophene.

[0016] The preparation method of the above-mentioned dithiazole wide band gap polymer comprises the following steps: adding an electron donating unit monomer, a dithiazole-containing monomer and a catalyst into an organic solvent and mixing them evenly, and then reacting them at 110-150° C. and in a protective atmosphere for 24-72 hours; wherein the molar ratio of the D unit monomer, the A unit monomer and the catalyst is 1:1:(0.02-0.05).

[0017] In the above scheme, the structural formula of the electron-donating unit monomer (D unit monomer) is one of the formula V:

[0018]

[0019] In the formula, R2 is selected from an alkyl chain with a carbon number of 1 to 30; X is selected from H, F or Cl; X1 is selected from H, F or Cl; and Y is selected from O, S or Se.

[0020] In the above scheme, the catalyst is tetrakis(triphenylphosphine)palladium or tris(dibenzylideneacetone)dipalladium; and the organic solvent is toluene, chlorobenzene or o-xylene.

[0021] In the above scheme, the protective atmosphere can be nitrogen or other atmospheres.

[0022] In the above scheme, the preparation method of the electron-deficient unit monomer (A unit monomer) includes the following steps: reacting 2-bromothiazole-4-carboxylic acid methyl ester under the catalytic conditions of silver fluoride and dibenzonitrile palladium dichloride to generate a white solid; then coupling with thiophene tin salt to generate an oily liquid; then adding cerium oxide and alkyl alcohol to generate an oily liquid; finally, reacting with NBS to generate the final A unit monomer.

[0023] In the above scheme, the reaction process for generating a white solid comprises: mixing methyl 2-bromothiazole-4-carboxylate, dibenzonitrile palladium dichloride and a solvent, adding part of the silver fluoride, stirring and reacting at a temperature of 60 to 120° C. for 6 to 12 hours; then adding the remaining silver fluoride and continuing to stir and react at a temperature of 60 to 120° C. for 6 to 12 hours.

[0024] In the above scheme, the molar ratio of 2-bromothiazole-4-carboxylic acid methyl ester, silver fluoride, and dibenzonitrile palladium dichloride is 1:1-2:0.05-0.2.

[0025] In the above scheme, the carbon number of the alkyl alcohol is 1 to 30.

[0026] In the above scheme, the preparation method of the electron donating unit monomer (D unit monomer) comprises the following steps:

[0027] Under anhydrous and oxygen-free conditions, halogenated thiophene is dissolved in tetrahydrofuran (THF), an equimolar amount of lithium diisopropylamide (LDA) is added dropwise, and the mixture is reacted at room temperature for 1 to 1.5 hours, then bromoalkane is added, and the mixture is refluxed and stirred overnight; water is then used for quenching, extraction is performed, the solvent is removed by drying, and the mixture is distilled under reduced pressure to obtain a colorless oily liquid; then tetrahydrofuran is added under a protective atmosphere, and an equimolar amount of lithium diisopropylamide is added in an ice bath to react for 1 to 1.5 hours, and then the mixture is returned to room temperature, BDT is added, the temperature is raised to 40 to 50°C, the reaction is carried out for 1.5 to 2 hours, and then the temperature is reduced to 40 to 50°C. Add SnCl2 and hydrochloric acid to room temperature, reflux overnight; quench with water, extract, dry and then evaporate to remove the solvent, separate and purify by silica gel column chromatography, eluent is petroleum ether, to obtain a yellow solid; finally dissolve in tetrahydrofuran, add n-butyl lithium, react at -78°C for 1 to 2h, then add trimethyltin chloride, react for 0.5 to 1h, then warm to room temperature and react overnight; prepare D unit monomer or add n-butyl lithium to the monomer, react at -78°C for 1 to 2h, then add trimethyltin chloride, react for 0.5 to 1h, then warm to room temperature and react overnight to prepare D unit monomer.

[0028] In the above scheme, the carbon number of the brominated alkane is 1 to 20.

[0029] The present invention also includes the use of a wide bandgap polymer with an electron-donating unit and dithiazole as an A unit as an active layer material or a transport layer material in a photoelectric device.

[0030] Specifically, the wide bandgap polymer materials can be used in organic solar cells, perovskite solar cells, organic light-emitting diodes, organic detectors, and the like.

[0031] Compared with the prior art, the present invention has the following beneficial effects:

[0032] 1) The introduction of halogen atoms, methyl groups or ester groups can effectively reduce the HOMO energy level of the polymer, increase the open circuit voltage, and increase π-π stacking, which is beneficial to charge transfer; the dithiazole introduced in the present invention can effectively reduce the HOMO energy level, provide a larger Voc and a smaller E loss; and the C=N double bond can make the π-π stacking of the polymer better, effectively improving the crystallization performance of the polymer and the charge transfer performance; the more planar structure also leads to the red shift of the light absorption ability of the polymer, which can better match the absorption of the acceptor and improve Jsc; after connecting monomer units such as thiophene or selenophene, the π-π stacking of the polymer can be further increased, and the photovoltaic performance of the polymer can be improved. The C=N double bond in dithiazole can effectively improve the planarity and stacking of the molecule. Further introduction of monomer units such as thiophene and selenophene can adjust the HOMO energy level and light absorption ability, so that the resulting polymer donor can be well matched with the energy level and absorption of the acceptor; and after connecting monomer units such as thiophene or selenophene, the π-π stacking of the polymer can be increased, causing the ultraviolet absorption to red shift, improving the light absorption ability, and improving Jsc. SC ; The introduced D unit can further reduce the HOMO energy level, improve the planarity, make the crystallization performance better, and be more conducive to charge transfer; the obtained polymer is a wide bandgap polymer, which can have better energy conversion efficiency with non-fullerene acceptors compared with narrow bandgap polymers; using it as a donor material in organic solar cells can effectively improve the photoelectric conversion efficiency;

[0033] 2) The raw materials of the A unit in the wide bandgap polymer material of the present invention are cheap, the preparation steps are simple, and it can be prepared in large quantities. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 The UV-visible absorption spectra of the polymer 6 obtained in the present invention in o-dichlorobenzene solution (room temperature) and in the thin film state are shown respectively.

[0035] Figure 2 The electrochemical cyclic voltammetry curve of the polymer 6 obtained in the present invention is shown in FIG. 1 , using a 0.1 M tetrabutylammonium hexafluorophosphate anhydrous acetonitrile solution as the electrolyte solution, and the scan rate is 0.1 V / s. DETAILED DESCRIPTION

[0036] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0037] Example 1

[0038] A wide bandgap polymer with dithiophene as D unit and dithiazole as A unit, wherein the preparation method comprises the following steps:

[0039] (1) Preparation of the electron-deficient unit monomer of dithiazole, the synthetic route is as follows:

[0040]

[0041] The specific preparation steps are as follows:

[0042] 1-1) 2-bromothiazole-4-carboxylic acid methyl ester (200 mg, 0.9 mmol), PdCl2(PhCN)2 (34 mg, 0.09 mmol) and DMSO (10 mL) were added to a 20 ml Schlenk test tube equipped with a magnetic stirring bar; a portion of AgF (114 mg, 0.9 mmol) was added, and the resulting mixture was heated and stirred at 60°C for 3 h, and then AgF (114 mg, 0.9 mmol) was added, and stirring was continued at 60°C for 3 h; after the reaction was completed, it was extracted with dichloromethane and saturated NaCl, the organic phases were combined, dried over anhydrous NaSO4, and the solvent was removed; it was separated and purified by silica gel column chromatography, and the eluent was petroleum ether / ethyl acetate (5:1) to obtain white solid compound 1 (0.198 g, 45%);

[0043] 1-2) Under anhydrous and oxygen-free conditions, compound 1 (1.1 g, 2.5 mmol), 2-tributylstannylthiophene (2.05 g, 5.5 mmol) and Pd(PPh3)4 (0.289 g, 0.25 mmol) were dissolved in 30 mL of toluene and refluxed overnight; after the reaction was completed, the mixture was quenched with distilled water, extracted with saturated sodium chloride and dichloromethane, the organic phase was dried over anhydrous NaSO4, and the solvent was removed; the mixture was separated and purified by silica gel column chromatography, the eluent was petroleum ether / dichloromethane (volume ratio of 1:2), and a yellow oily compound 2 (0.81 g, yield 72%) was obtained;

[0044] 1-3) Under anhydrous and oxygen-free conditions, compound 2 (0.448 g, 1 mmol), 2-octane-1-dodecanol (0.596 g, 2 mmol) and cerium oxide (0.412 g, 2.4 mmol) were dissolved in 10 mL of toluene and refluxed overnight; after the reaction was completed, it was extracted with a large amount of water and petroleum ether, and the organic phase was dried over anhydrous NaSO4 and then evaporated to remove the solvent; the crude product was separated and purified by silica gel column chromatography, and the eluent was petroleum ether / dichloromethane (volume ratio of 1:1) to obtain a yellow oily liquid compound 3 (0.762 g, yield 80%);

[0045] 1-4) Compound 3 (0.953 g, 1 mmol) was dissolved in chloroform and acetic acid (volume ratio of 1:1), and after dissolution, NBS (0.356 g, 2 mmol) was added at room temperature in the dark, and the reaction was allowed to proceed overnight; the mixture was quenched with deionized water, and dichloromethane was added for extraction. After drying with anhydrous NaSO4, the solvent was removed, and the mixture was separated and purified by silica gel column chromatography, and the eluent was petroleum ether / dichloromethane (volume ratio of 2:1). Yellow oily liquid 4 (0.943 g, yield 85%)

[0046] (2) Preparation of dithiophene electron-donating unit, the specific synthetic route is as follows:

[0047]

[0048] The specific preparation steps are as follows:

[0049] Under anhydrous and oxygen-free conditions, 3,3'-difluoro-2,2'-bithiophene (0.202 g, 1 mmol) was dissolved in 30 mL THF, and n-butyl lithium (2.1 mmol) was added at -78°C for 1 h; then, trimethyltin chloride (0.498 g, 2.5 mmol) was added, and after reacting for 30 min, the temperature was raised to room temperature overnight; after the reaction was completed, the reaction was quenched with distilled water, extracted with dichloromethane and saturated NaCl solution, and then dried with anhydrous NaSO4, and the solvent was removed by rotary evaporation, and the product 5 (0.421 g, yield 80%) was obtained by vacuum pump drying;

[0050] (3) Preparation of wide bandgap polymers, the synthesis route is as follows:

[0051]

[0052] The specific preparation steps are as follows:

[0053] Under nitrogen protection, compound 4 (0.222 g, 0.2 mmol) and compound 5 (0.105 g, 0.2 mmol), catalyst Pd(PPh3)4 (0.012 g, 0.01 mmol) and 5 mL of anhydrous toluene were added in sequence, and the reaction was carried out at 120°C for 48 h; the crude product was precipitated with methanol, and then extracted with acetone, n-hexane, dichloromethane and chloroform in sequence; chloroform was rotary evaporated, methanol was added for precipitation, and the final wide bandgap polymer product 6 (0.177 g, yield 75%) was obtained by suction filtration.

[0054] Figure 1 The UV-visible absorption spectra of the polymer 6 obtained in the present invention in o-dichlorobenzene solution (room temperature) and in the film state are shown in the following steps: the polymer 6 is dissolved in chloroform to prepare a solution with a concentration of 0.1 g / mL, and then a film with a thickness of 80 to 160 nm is obtained by rotary evaporation coating. Figure 1 It can be seen that: at a concentration of 10 -2 In the 100 mg / mL o-dichlorobenzene solution, the obtained polymer 6 showed two characteristic absorption peaks, among which the short-wavelength absorption peak was 350nm, which was attributed to the π-π electron transition of the side chain in the compound; the long-wavelength absorption peak was located at 536nm, which was attributed to the π-π electron transition of the main structure in the compound; in addition, the absorption peak at 566nm was a shoulder peak, and the absorption coefficient was slightly higher than that of the long-wave absorption peak.

[0055] In the film state, the characteristic peak of polymer 6 is 12nm red-shifted compared with that in the solution state. At the same time, the absorption range is widened and the shoulder peak is higher, indicating that the formed film structure has stronger π-π stacking, which is conducive to obtaining high carrier mobility. The edge absorption of polymer 6 film is 652nm. According to formula E g =1240 / λ, band gap E g It is 1.90 eV, which is a wide band gap polymer.

[0056] The redox process of polymer 6 was tested by electrochemical cyclic voltammetry to obtain the initial redox potential relative to ferrocene, and then the frontier orbital energy levels (HUMO energy level and LUMO energy level) of the corresponding material were estimated. The specific steps include: using a three-electrode system, the synthesized polymer 6 was dissolved in chloroform, and a solution with a concentration of 5 mg / mL was dropped on a glassy carbon electrode to prepare a thin film, which was then placed in an acetonitrile electrolyte solution containing 0.1 M tetrabutylammonium hexafluorophosphate for testing. The entire test process required nitrogen protection, and the scanning rate was 0.1 V / s. The results are shown in Figure 2 .from Figure 2 It can be seen that polymer 6 has an irreversible redox process at the anode, and the corresponding initial oxidation potential is 0.73 V. According to the formula HUMO = -(E Ox,onset +4.8)eV, we can calculate the HUMO level of polymer 6 to be -5.53eV. The LUMO level is obtained as -3.63eV according to the optical band gap and HUMO of the material (LUMO = HUMO + Eg).

[0057] Depend on Figure 1 and Figure 2 It can be seen that there is good energy level matching and complementary absorption between polymer 6 and reported non-fullerene acceptor materials such as Y6, and the prepared device can obtain a higher open circuit voltage and a smaller energy loss. The polymer 6 obtained by the present invention is used as a donor material in an organic solar cell to obtain a higher photoelectric efficiency.

[0058] Example 2

[0059] A wide bandgap polymer with chloro-BDT as D unit and dithiazole as A unit, wherein the preparation method comprises the following steps:

[0060] (1) Preparation of chloro-BDT electron-donating unit, the specific synthetic route is as follows:

[0061]

[0062] The specific preparation steps are as follows:

[0063] 1-1) Under anhydrous and oxygen-free conditions, 3-chlorothiophene (4.74 g, 40 mmol) was dissolved in 50 mL of anhydrous THF, and an equimolar amount of lithium diisopropylamide (LDA) was slowly and uniformly added dropwise. After reacting at room temperature for 1 h, isooctane bromide (8.5 g, 44 mmol) was added and stirred at 40° C. overnight. After the reaction was completed, the mixture was quenched with deionized water, extracted with petroleum ether, and then dried with anhydrous NaSO4. After removing the solvent, the mixture was distilled under reduced pressure to obtain a colorless oily liquid compound 8 (8.49 g, yield 92%).

[0064] 1-2) Under nitrogen protection, 50 mL of THF and compound 7 (2.03 g, 8.8 mmol) were added, and an equal amount of LDA was added under ice bath to react for 1 h; then, the mixture was returned to room temperature and BDT (0.881 g, 4 mmol) was added, and the temperature was raised to 50°C to react for 1.5 h. Then, SnCl2·2H2O (7.22 g, 32 mmol) and 10 mL of 10% HCl were added to the mixture and refluxed overnight. The mixture was quenched with deionized water, and petroleum ether was added for extraction. After drying with anhydrous NaSO4, the solvent was removed by rotary evaporation, and the mixture was separated and purified by silica gel column chromatography, and petroleum ether was used as the eluent to obtain compound 9 (2.33 g, yield 89.9%) as a yellow solid;

[0065] 1-3) Under anhydrous and oxygen-free conditions, the yellow solid 8 (1.295 g, 2 mmol) was dissolved in 30 mL THF, and n-butyl lithium (4.4 mmol) was added at -78°C for 1 h; then, trimethyltin chloride (0.896 g, 4.5 mmol) was added, and after reacting for 30 min, the temperature was raised to room temperature overnight; after the reaction was completed, the reaction was quenched with distilled water, extracted with dichloromethane and saturated NaCl solution, and then dried with anhydrous NaSO4, and the solvent was removed by rotary evaporation, and the product 10 (1.27 g, yield 85.2%) was obtained by vacuum pump drying.

[0066] (2) Preparation of wide bandgap polymers, the synthesis route is as follows:

[0067]

[0068] The specific preparation steps are as follows:

[0069] Under nitrogen protection, compound 4 (0.222 g, 0.2 mmol) and compound 10 (0.195 g, 0.2 mmol), catalyst Pd(PPh3)4 (0.012 g, 0.01 mmol) and 5 mL of anhydrous toluene were added in sequence, and the reaction was carried out at 120°C for 48 h; the crude product was precipitated with methanol, and then extracted with acetone, n-hexane, dichloromethane and chloroform in sequence; chloroform was rotary evaporated, methanol was added for precipitation, and the final wide bandgap polymer product 6 (0.28 g, yield 86%) was obtained by suction filtration.

[0070] Comparative Example 1

[0071] Try to use other routes to synthesize compound 1. The specific steps are as follows:

[0072]

[0073] Methyl 2-bromothiazole-4-carboxylate (222.06 mg, 1 mmol), CuCl2 (215.11 mg, 1.6 mmol), LDA (1 mmol) and DMSO (10 mL) were added into a 20 mL Schlenk tube equipped with a magnetic stirring bar; the resulting mixture was heated and stirred at 120°C overnight; after the reaction, it was extracted with dichloromethane and saturated NaCl, the organic phases were combined, dried over anhydrous NaSO4, and the solvent was removed; the reaction results showed that the obtained product was basically the raw material, and the target product could not be synthesized.

[0074] The novel bithiazole wide bandgap polymer of the present invention exhibits relatively good spectral absorption, energy level distribution and stacking ability, so that such polymer materials have a wide range of applications in organic optoelectronic materials. At the same time, the thiazole monomer can be further optimized to play an important role in its optoelectronic applications.

[0075] The above embodiments are only examples for clear explanation, and are not intended to limit the implementation methods. For ordinary technicians in the relevant field, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here, so the obvious changes or modifications derived are still within the protection scope of the invention.

Claims

1. A type of bithiazole wide bandgap polymer, characterized in that: The structural formula is as follows: In the formula, n ranges from 10 to 100.

2. The method for preparing the dithiazole wide band gap polymer according to claim 1, characterized in that: The method comprises the following steps: adding an electron-donating unit monomer, a dithiazyl-containing monomer and a catalyst into an organic solvent and mixing them evenly, and then reacting them at 110 to 150° C. and in a protective atmosphere for 24 to 72 hours; wherein the molar ratio of the electron-donating unit monomer, the dithiazyl-containing monomer and the catalyst is 1:1:(0.02 to 0.05); The structural formula of the dithiazolyl-containing monomer is as follows: The structural formula of the electron-donating unit monomer is as follows:

3. The preparation method according to claim 2, characterized in that: The catalyst is tetrakis(triphenylphosphine)palladium or trisdibenzylideneacetone dipalladium; and the organic solvent is toluene, chlorobenzene or o-xylene.

4. Use of the wide bandgap polymer of the dithiazole type according to claim 1 or the wide bandgap polymer of the dithiazole type prepared by the preparation method according to any one of claims 2 to 3 in optoelectronic devices.