Polyaniline Synthesized by Different Dopants for Fluorene Detection via Photoluminescence Spectroscopy

The effects of different dopants on the synthesis, optical, electrical and thermal features of polyaniline were investigated. Polyaniline (PANI) doped with p-toluene sulfonic acid (PANI-PTSA), camphor sulphonic acid (PANI-CSA), acetic acid (PANI-acetic acid) and hydrochloric acid (PANI-HCl) was synthesized through the oxidative chemical polymerization of aniline under acidic conditions at ambient temperature. Fourier transform infrared light, X-ray diffraction, UV-visible spectroscopy, field emission scanning electron microscopy, photoluminescence spectroscopy and electrical analysis were used to define physical and structural features, bandgap values, electrical conductivity and type and degree of doping, respectively. Tauc calculation reveals the optical band gaps of PANI-PTSA, PANI-CSA, PANI-acetic acid and PANI-HCl at 3.1, 3.5, 3.6 and 3.9 eV, respectively. With the increase in dopant size, crystallinity is reduced, and interchain separations and d-spacing are strengthened. The estimated conductivity values of PANI-PTSA, PANI-CSA, PANI-acetic acid and PANI-HCl are 3.84 × 101, 2.92 × 101, 2.50 × 10−2, and 2.44 × 10−2 S·cm−1, respectively. Particularly, PANI-PTSA shows high PL intensity because of its orderly arranged benzenoid and quinoid units. Owing to its excellent synthesis, low bandgap, high photoluminescence intensity and high electrical features, PANI-PTSA is a suitable candidate to improve PANI properties and electron provider for fluorene-detecting sensors with a linear range of 0.001–10 μM and detection limit of 0.26 nM.


Introduction
Fluorene is a polycyclic aromatic hydrocarbon (PAH) that poses risks to humans and the environment [1]. Several techniques have been developed for PAH detection, such as Fourier Transform Infrared spectroscopy, Raman spectroscopy, mass spectrometry (MS), gas chromatography (GC) and high-performance liquid chromatography [2]. Although these methods are sensitive and give reliable measurement, they are costly and require a long sample preparation time (non-real-time), bulky tabletop equipment and qualified operators. Others also suffer from low detection limits and necessitate a large amount of sample volume and solvent for separation and extraction.
Novel sensors for onsite fluorene detection, quantification and constant monitoring are vital to maintaining a healthy, non-polluted and sustainable environment. Technological growth in the field of sensors is driven by concerns about the safety and health of humanity [3]. Sensor devices are generally based on metal oxides operating at high temperatures. Hence, novel materials that can overcome the limitations of metal oxides are being explored.

Preparation of PANI
PANI was synthesized as previously described [39]. Briefly, 2.75 mL of ani dissolved in 150 mL of 0.4 M PTSA, constantly stirred for 1 h, cooled and dropwis with 25 mL of APS (1.7 g of APS dissolved in 25 mL of 0.4 M PTSA). The tempera kept at 0-5 °C in an ice bath. The mixture was stirred for another 3 h. The precipit polymer was filtered and washed using deionized water until it became colorl final substance was dehydrated in an oven at 50 °C for 12 h. In this form, PANI i In this study, the effects of different acids as dopants on the physical properties and thermal, optical and electrical qualities of PANI were investigated. PANI was prepared through oxidative polymerization and doped using four types of acid, namely, organic acids such as toluene-4-sulfonic acid monohydrate (PTSA), camphor sulfonic acid (CSA) and acetic acid and inorganic acids such as hydrochloric acid (HCl). The prepared samples were examined by Fourier transform infrared (FT-IR) spectroscopy, X-ray diffraction (XRD), UV-visible spectroscopy (UV-vis), field emission scanning electron microscopy (FE-SEM), energy dispersive X-ray spectrometry (EDS), thermal gravity analysis (TGA) and photoluminescence (PL). The four-point probe method was used to investigate electrical behavior, and photoluminescence spectroscopy was applied to detect fluorescence properties. The application of PANI with excellent synthesis, features and high PL intensity to detect low fluorene concentration was also evaluated.

Preparation of PANI
PANI was synthesized as previously described [39]. Briefly, 2.75 mL of aniline was dissolved in 150 mL of 0.4 M PTSA, constantly stirred for 1 h, cooled and dropwise added with 25 mL of APS (1.7 g of APS dissolved in 25 mL of 0.4 M PTSA). The temperature was kept at 0-5 • C in an ice bath. The mixture was stirred for another 3 h. The precipitated raw polymer was filtered and washed using deionized water until it became colorless. The final substance was dehydrated in an oven at 50 • C for 12 h. In this form, PANI is known as emeraldine salt (ES). PANI was re-synthesized with three organic (CSA and acetic acid) and inorganic (HCl) acids (Table 1).

Preparation of Fluorene
PANI-PTSA with fluorene was prepared as follows. Briefly, 0.002 g of fluorene was dissolved in 250 mL of hexane containing 10 µM of fluorene solution to prepare aqueous fluorene solution. Other concentrations, i.e., 0.001, 0.01, 0.1, 1 and 10 µM were obtained by diluting the 10 µM fluorene solution as mentioned in Table 2. In all samples, fluorene amount was set as 160 µL.

Preparation of Thin Film
For the preparation of thin PANI layers, microscope glass slides were sonicated in ethanol for 10 min, then immersed in an aqueous solution of 4.0 mL of H 2 O 2 , 4.0 mL of NH 4 OH and 20.0 mL of deionized water for another 10 min, sonicated in deionized water and finally dried naturally. PANI solution with different dopants was adjusted to 80 µL. The thin film was deposited above a glass substrate by applying a spin coater (POLOS) at approximately 1500 rpm for 60 s. The remaining dispersions were stored in a safe place and monitored after 24 h.

Analytical Methods
FT-IR spectroscopy (Thermo Nicolet 6700 FT-IR) with KBr pellets was conducted in the range of 400-4000 cm −1 to categorize the functional groups and surface state of the PANI samples. X-ray diffraction (XRD) images were obtained by Shimadzu 6000 using Cu-Kα radiation at a scanning speed of 1.2 • min −1 of 3 to 90 degrees to ascertain the purity phase. Optical characteristics were determined by UV-vis spectroscopy (UV-vis, Lambda 35, PerkinElmer) at ambient temperature. Morphology was examined using a field emission scanning electron microscope (FE-SEM, NOVA NANOSEM 230). X-ray energy dispersive spectroscopy (EDS) was employed to determine the elemental composition of specific points or record the lateral distribution of elements in the imaged region. TGA analysis was adopted to study the thermal stability of the PANI samples below a nitrogen atmosphere from ambient temperature up to 900 • C at a heat range of 10 • C/min (Brand: METTLER TOLEDO). The photoluminescence excitation and emission wavelengths of 230 and 370 nm, respectively, were recorded in an aqueous solution utilising photoluminescence settings (PL, PerkinElmer, and LS 55). Electrical conductivity was measured using a four-terminal probe from Mitsubishi Chemical Analytech (MCCAT) Measuring Systems.

FT-IR Characterization
The components of PANI samples were examined by FT-IR analysis at 500-4000 cm −1 . Figure 2 displays that doping with various acids effectively alters the PANI environment. All PANI samples are mainly of the same structure but still show significant differences from each other. The prominent vibrational bands shown in Table 3 are consistent with those previously reported for PANI salt [39].

FT-IR Characterization
The components of PANI samples were examined by FT-IR analysis at 500-4000 cm −1 . Figure 2 displays that doping with various acids effectively alters the PANI environment. All PANI samples are mainly of the same structure but still show significant differences from each other. The prominent vibrational bands shown in Table 3 are consistent with those previously reported for PANI salt [39].  The peaks for PANI-PTSA and PANI-HCl are sharper than those for PANI-CSA and PANI-acetic acid. Protonation converts PTSA and HCl to imine and amine nitrogen atoms, respectively, in PANI-PTSA and PANI-HCl structures, respectively. Benzenoid's FT-IR absorption peaks and quinoid stretching fluctuations can predict the oxidation degree  The peaks for PANI-PTSA and PANI-HCl are sharper than those for PANI-CSA and PANI-acetic acid. Protonation converts PTSA and HCl to imine and amine nitrogen atoms, respectively, in PANI-PTSA and PANI-HCl structures, respectively. Benzenoid's FT-IR absorption peaks and quinoid stretching fluctuations can predict the oxidation degree [39,40]. The peaks for PANI samples in Table 3 are consistent with those in previous reports [39][40][41][42].
In PANI-CSA and PANI-PTSA, the peaks at 2960 and 2970 cm −1 are associated with C-H stretching. These bands are not affected by doping, indicating that an aromatic ring is preserved inside the polymer [40]. Figure 3 presents the XRD pattern of PANI doped with different acids, and Table 4 summarises their peak values. As indicated by differences in their diffraction patterns, the doping abilities of the dopants significantly vary under the same doping conditions. A broad diffraction pattern is obtained for all PANI samples due to their typical amorphous nature. XRD helps in estimating the size of inter-chain disconnection, crystallinity, crystallite size and d-spacing. PTSA > PANI-CSA > PANI-acetic acid > PANI-HCl. The actual quantity of inter-chain separation and d-spacing is the exact opposite of the theoretical quantity. Hence, conductivity decreases in the following order: PANI-PTSA > PANI-CSA > PANI-acetic acid > PANI-HCl. Nonetheless, the large acid exerts great force against the ordering and closing of polymer chains, resulting in low crystallinity, great inter-chain spacing and d-spacing and reduced conductivity.  Table 4. Crystallite size, d-spacing and interchain division of PANI samples exposed over various shots of ES reflection (measured from XRD).   Table 4. Crystallite size, d-spacing and interchain division of PANI samples exposed over various shots of ES reflection (measured from XRD). For all samples, d-spacing was delimited using Debye-Scherrer (powder) method utilizing the Bragg relation (Equation (1)) [43].

Sample Name Peak Sign d-Spacing (Å) FWHM (B) Crystallite Size (nm) Inter-Chain Separation (Å)
where n is an integer; λ is the wavelength of X-ray, which for the Cu target is 1.54 Å; d, named as d-spacing, is the distance among the planes; and θ is the angle between the path of the beam and the planes. Crystallite quantity was measured using the Scherrer relation (Equation (2)) [44]; where t is the crystallite quantity, K is the ordinary crystallite (∼0.9) the shape factor and B is the entire diameter at crystalline peak's half maximum in radians [45].
Inter-chain separation was determined using the relation given by Klug and Alexander (Equation (3)): where R is the inter-chain division. The XRD profile for the PANI-PTSA pattern includes broad peaks at 6.4 • and 18.97 • and a sharp peak at 25.64 • . The peak at 18.97 • indicates the inter-chain distance between adjoining benzene rings in PANI, and the peak at 25.64 • is attributed to the dispersion of PANI chains at an interplanar distance. On the basis of this microstructural analysis, PANI is in the verified form of ES [46]. PANI-CSA also shows similar peaks at 6.35 • and 18.86 • and a sharp peak at 25.61 • [40]. PANI-acetic acid shows sharp, intense peaks at 6.26 • , 17.49 • and 24.72 • attributed to the arrangement of the acetic acid molecules in the tunnels between the PANI chains [47]. Finally, PANI-HCl shows five peaks at 5.65 • , 9.05 • , 14.92 • , 20.62 • and 25.55 • [48,49]. Given its long alkyl tails, PTSA can penetrate the crystal planes of PANI deeper than other acids with bulky cycloaliphatic rings such as CSA, acetic acid and HCl.
As shown in Table 4, all PANI samples have three crystalline peaks at 6 • , 18 • and 25 • . Conductivity increases with the increasing crystallinity and decreasing inter-chain spacing and d-spacing. Table 5 describes the main properties of PANI samples obtained from the peak at 25 • in the XRD characterization and their comparison with those from other research. A high grade of balance in the organization or order of polymer chains implies great crystallinity. Balance and ordered construction, defined as crystallinity, is a desirable factor, particularly for the intra-molecular movement of charged varieties towards the chain and to any degree for inter-molecular jumps due to dense and good packing. Therefore, an increase in crystallinity also increases conductivity. When the inter-chain spacing and d-spacing decrease, the possibility of inter-chain jumps increases, and conductivity simultaneously increases. Net conductivity is attributed to the intra-chain and inter-chain mobility of the electrons and holes [50,51]. Crystallinity reduction is in the order of PANI-PTSA > PANI-CSA > PANI-acetic acid > PANI-HCl. The actual quantity of inter-chain separation and d-spacing is the exact opposite of the theoretical quantity. Hence, conductivity decreases in the following order: PANI-PTSA > PANI-CSA > PANI-acetic acid > PANI-HCl. Nonetheless, the large acid exerts great force against the ordering and closing of polymer chains, resulting in low crystallinity, great inter-chain spacing and d-spacing and reduced conductivity.  Figure 4 shows the UV-vis spectra of PANI samples. The absorption peaks of PANI samples depend on the doping level, conjugation extent and solvent type [57]. Valance and conduction bands are formed by the π and π* orbital, respectively.  Figure 4 shows the UV-vis spectra of PANI samples. The absorption peaks of samples depend on the doping level, conjugation extent and solvent type [57]. V and conduction bands are formed by the π and π* orbital, respectively. Bandgaps are energy variations between two bands and are used to determi optical properties of semiconducting polymers. Low bandgap energy implies smo π* electronic transformation and increased conductivity [58]. The UV spectra of samples exhibit three specific absorption bands across the wavelength regions of 25 320-450 and 450-800 nm. Nitrogen excitation in the benzenoid segments (π-π* tran causes the first absorption, and the shift from polaron to π* band and from π to p band of the doped PANI chains causes the second and third absorptions, respec [53,[58][59][60]. Table 6 shows the comparison of absorption rates from the UV-vis spe PANI samples. A decrease in absorption band at 578, 579 and 630 nm occurs for PTSA, PANI-HCl, and PANI-acetic acid, respectively. This phenomenon indicates th Bandgaps are energy variations between two bands and are used to determine the optical properties of semiconducting polymers. Low bandgap energy implies smooth π-π* electronic transformation and increased conductivity [58]. The UV spectra of PANI samples exhibit three specific absorption bands across the wavelength regions of 250-320, 320-450 and 450-800 nm. Nitrogen excitation in the benzenoid segments (π-π* transition) causes the first absorption, and the shift from polaron to π* band and from π to polaron band of the doped PANI chains causes the second and third absorptions, respectively [53,[58][59][60]. Table 6 shows the comparison of absorption rates from the UV-vis spectra of PANI samples. A decrease in absorption band at 578, 579 and 630 nm occurs for PANI-PTSA, PANI-HCl, and PANI-acetic acid, respectively. This phenomenon indicates that the quinoid rings and imine nitrogen atoms generated from protonation with PTSA, HCl and acetic acid dopants are transformed to benzenoid rings. The steric effect of the dopant anions may be the reason for the decrease in the peaks at 570 and 630 nm of the PANI samples [55]. Diffuse reflectance was analyzed to ascertain the energy range and the optical features of the PANI samples. Bandgap energies were calculated using the Tauc method, in which the energy-dependent absorption coefficient α is obtained using the following Equation (4):

UV-Vis Characterization
where υ is the frequency of the photon, h is Planck's constant, Eg is the bandgap energy, K is a constant and α is the diffuse reflectance spectrum calculated from Equation (5): Substituting F(R) in place of α in Equation (1) yields Equation (6): where R is the recognized reflectance inside UV-vis spectra, the crossing position within the [F(R). hυ] 2 versus hυ ( Figure 5) implies that the bandgaps are an optical feature that can be calculated by extrapolating the straight line at α = 0. Therefore, the calculated optical bandgaps of PANI-PTSA, PANI-CSA, PANI-acetic acid and PANI-HCl were 3.1, 3.5, 3.6 and 3.9 eV, respectively. Laboratory experiment confirmed that the PANI bandgap differs significantly depending on the doping process. With increasing interaction between PANI and doping anions PTSA, CSA, acetic acid, and HCl and BSA, the conductivity of particles and the number of charge carriers increase, whereas the amount of bandgap decreases (Table 5).

FE-SEM and EDS Characterization
PANI morphology relies on the synthesis method, medium or solvent [61]. Figure 6 shows the FE-SEM images and elemental analysis of PANI samples prepared by using oxidative aniline polymerization techniques in organic and inorganic acid solutions. High surface tension is observed, leading to an aggregation tendency and a low specific surface area [62]. All the figures present the micrographs of PANI particles at a magnification of 10,000 with a scale bar of 2 µm. A granular structure (cluster) with micrometer-sized particles is found on the PANI surface, thus confirming the formation of ES [62]. By contrast, large aggregates of PANI particles with up to several microns in size are formed after drying as shown in FE-SEM images. Nanofibres are generally the fundamental units produced during the oxidative chemical polymerization of PANI [63][64][65]. Owing to secondary overgrowth, the generated final products become irregularly shaped PANI powders. Although the chemical polymerization of aniline can prevent secondary growth [66], aggregation remains crucial in this case. Agglomeration occurs due to the intra-and intermolecular ionic interchain interactions triggered by the proto-generated charge carriers (i.e., polarons/bipolarons) [67]. PANI-PTSA, PANI-CSA and PANI-acetic acid exhibit fi-brous crystals when compressed. Meanwhile, PANI-HCl forms agglomerated ball crystals because the molecular chain stretches along the direction of mixing and shear forces during polymer crystallization [68].
the [F(R). hυ] versus hυ ( Figure 5) implies that the bandgaps are an optical feature that can be calculated by extrapolating the straight line at α = 0. Therefore, the calculated optical bandgaps of PANI-PTSA, PANI-CSA, PANI-acetic acid and PANI-HCl were 3.1, 3.5, 3.6 and 3.9 eV, respectively. Laboratory experiment confirmed that the PANI bandgap differs significantly depending on the doping process. With increasing interaction between PANI and doping anions PTSA, CSA, acetic acid, and HCl and BSA, the conductivity of particles and the number of charge carriers increase, whereas the amount of bandgap decreases (Table 5).  The EDS results provide an explicit indication of the doped elements in the PANI samples. Chlorine (Cl) was generated from PANI doped by HCl. The importance of sulfur in the EDX pattern is because of using APS as an oxidant in polymerization.

TGA Characterization
TGA was conducted to assess the thermal stability of the PANI synthesized in different acids, as shown in Figure 7, PANI-PTSA, PANI-CSA, PANI-acetic acid, and PANI-HCl. The mass losses were studied when heated in a nitrogen atmosphere. TGA curves for all samples show almost three regions of weight loss. In PANI-PTSA, the loss at around 108 • C is due to the elimination of moisture and other volatile compounds [69,70]. The second region starting at approximately 275 • C could be due to the loss of PTSA in the product [71]. The third region starting at approximately 391 • C could be due to the degradation of PTSA bonds [39]. Figure 7 shows that PANI-CSA and PANI-HCl exhibit almost three weight loss regions, particularly a weight loss at <120 • C caused by the evaporation or excretion of the imbibed water. Thus, moisture cannot be completely removed from the samples throughout the synthesis [72]. The second weight loss in PANI-HCl at 250 • C is due to the evaporation of HCl molecules.
This intermediate, relatively small decomposition stage is discerned in PANI-CSA. The process begins at 286 • C and extends to 500 • C, after which a rapid decomposition occurs. Although the intermediate stage of degradation is highly evident with HCl doping at 490 • C, this phenomenon is also observed for PANI-CSA near~502 • C, which represents the ultimate disintegration related to the polymer backbone. All the doped samples exhibit low disintegration temperature and low thermal resistance, except for the plasticized PANI-HCl with high estimated thermal stability [73]. Figure 7 shows the shape of the TGA thermograms for PANI-acetic acid. Solvent evaporation was conducted to purify the composites, and this procedure causes the first weight loss. Oligomer degradation causes the second weight loss (between 296 • C and 317 • C), and the evaporation of the sample causes the third weight loss of PANI-acetic acid [53].

TGA Characterization
TGA was conducted to assess the thermal stability of the PANI synthesized in different acids, as shown in Figure 7, PANI-PTSA, PANI-CSA, PANI-acetic acid, and PANI-HCl. The mass losses were studied when heated in a nitrogen atmosphere. TGA curves for all samples show almost three regions of weight loss. In PANI-PTSA, the loss at around 108 °C is due to the elimination of moisture and other volatile compounds [69,70]. The  Figure 7 shows that PANI-CSA and PANI-HCl exhibit almost three weight l gions, particularly a weight loss at <120 °C caused by the evaporation or excretion imbibed water. Thus, moisture cannot be completely removed from the samples th out the synthesis [72]. The second weight loss in PANI-HCl at 250 °C is due to the ration of HCl molecules.
This intermediate, relatively small decomposition stage is discerned in PAN The process begins at 286 °C and extends to 500 °C, after which a rapid decomp occurs. Although the intermediate stage of degradation is highly evident with HCl d at 490 °C, this phenomenon is also observed for PANI-CSA near ~502 °C, which repr the ultimate disintegration related to the polymer backbone. All the doped samp hibit low disintegration temperature and low thermal resistance, except for the plas PANI-HCl with high estimated thermal stability [73]. Figure 7 shows the shape of the TGA thermograms for PANI-acetic acid. S evaporation was conducted to purify the composites, and this procedure causes th weight loss. Oligomer degradation causes the second weight loss (between 296 °C a °C), and the evaporation of the sample causes the third weight loss of PANI-acet [53].
PANI amount determines the thermal stability of the prepared composites. T sults showed that acidity affects the thermal stability of PANI. Figure 8 shows the measured PL spectra for the four samples. Excitation and sion wavelengths of 230 and 370 nm were chosen because the π-π* transition of ben units is responsible for PL in PANI [74]. As shown in Figure 8a, the excitation pe all samples were observed at 258 nm, except for PANI-HCl with a peak at 264 n shown in Figure 8b, the emission peaks for all samples were located at 326 nm, exc PANI-HCl with a peak at 316 nm. The PL intensity of PANI-HCl could be attribu the appearance of few dopant ions (Cl−) in PANI-HCl that have greater charge m than the heavy dopant ions in other samples [73]. PANI amount determines the thermal stability of the prepared composites. TGA results showed that acidity affects the thermal stability of PANI. Figure 8 shows the measured PL spectra for the four samples. Excitation and emission wavelengths of 230 and 370 nm were chosen because the π-π* transition of benzenoid units is responsible for PL in PANI [74]. As shown in Figure 8a, the excitation peaks for all samples were observed at 258 nm, except for PANI-HCl with a peak at 264 nm. As shown in Figure 8b, the emission peaks for all samples were located at 326 nm, except for PANI-HCl with a peak at 316 nm. The PL intensity of PANI-HCl could be attributed to the appearance of few dopant ions (Cl−) in PANI-HCl that have greater charge mobility than the heavy dopant ions in other samples [73].

PL Analysis
PANI-PTSA shows the highest PL intensity, followed by PANI-CSA, PANI-acetic acid and PANI-HCl. In PANI-PTSA, the benzenoid and quinoid parts are orderly arranged and thus support the formation of excitons and the enlargement of singlet exciton's delocalization length [74,75]. Therefore, a high photoluminescence emission with a great extent of π conjugation should be expected from PANI-PTSA.

Electrical Analysis
A four-point probe was used to determine the conductivity of PANI samples at room temperature. The voltage difference can be observed when a current flows through the test specimen. Conversely, the resistance to current flow indicates conductivity.
Two parameters are crucial in PANI conductivity. One is the degree of oxidation, and the other is the degree of protonation [76]. The properties of PANI depend on the polymerization conditions (pH, temperature and time), monomer concentration, dopant type, the molar ratio of monomer to oxidant and solvent concentration [77]. PANI samples were prepared using different acids as dopants, and a four-point probe was applied to determine their electrical properties.
Resistance (Ω) was employed in accordance with the four-point probe technique. This parameter varies according to the nature, structure and composition of particles and the measurement position. Resistivity (Ω·cm) is used to represent exact and actual substance characteristics and can be directly computed by multiplying the recorded resistance by a resistivity correction factor (RCF). Given that MCCAT resistivity measurement devices are designed to facilitate RCF computation, the resistivity was evaluated using a straightfor-ward method. The sample size was set as 7.5 × 15 (mm) at the fixed position, and RCF was measured as 8.857. PANI-PTSA shows the highest PL intensity, followed by PANI-CSA, PAN acid and PANI-HCl. In PANI-PTSA, the benzenoid and quinoid parts are orde ranged and thus support the formation of excitons and the enlargement of singl ton's delocalization length [74,75]. Therefore, a high photoluminescence emission great extent of π conjugation should be expected from PANI-PTSA.

Electrical Analysis
A four-point probe was used to determine the conductivity of PANI samples a temperature. The voltage difference can be observed when a current flows throu test specimen. Conversely, the resistance to current flow indicates conductivity.
Two parameters are crucial in PANI conductivity. One is the degree of oxidati the other is the degree of protonation [76]. The properties of PANI depend on the po ization conditions (pH, temperature and time), monomer concentration, dopant ty molar ratio of monomer to oxidant and solvent concentration [77]. PANI sample prepared using different acids as dopants, and a four-point probe was applied to mine their electrical properties.
Resistance (Ω) was employed in accordance with the four-point probe tech This parameter varies according to the nature, structure and composition of partic In the four-point probe method, the resistance R (Ω), volume resistivity (R v ) and surface resistivity (Rs) of samples were calculated using Equations (7)-(9): According to the Ohm rule, the current (I) flowing through a conductor between two locations is equal to their potential difference (V) and inversely related to their resistance (R).
Volume resistivity (R v ), also known as special resistance, is the resistance per unit volume of the specimen. This phrase is most commonly used in substance sorting (Ω·cm). For this parameter, every substance is assumed to possess a particular specific percentage.
Surface resistivity (R s ), commonly known as flake resistance, is the resistance per unit of the surface area of a specimen and is presented as Ω/sq to distinguish it from resistance.
Given that R s fluctuates with the specimen diameter, most studies assess dye and fine coatings.
where R is resistivity (Ω), RCF is resistivity correction factor, and t [cm] is thickness. Thus, the effect of RCF on the resistivity of a specimen depends on measurement location, specimen dimensions and diameter. Conductivity (σ), also called specific conductivity, is inversely related to volume resistivity (unit of S/cm or (Ω·cm) −1 and was computed using Equation (10). The obtained values are listed in Tables 5 and 7.  Table 7 presents the electrical parameters of PANI samples. Their good conductivity values imply the successful production of adequate ES PANI type. The order of conductivity is PANI-PTSA > PANI-HCl > PANI-CSA > PANI-acetic acid. Intensity and charge carrier mobility determine the net conductivity of doped PANI and depend on the dopant nature, the structure of the doped PANI and preparation method [50,51,58,78].

Fluorescence Detection of Fluorene
PL studies confirmed that PANI-PTSA has the best PL intensity among the samples. This finding could be attributed to the orderly arrangement of benzenoid and quinoid units which support the formation of excitons and the enlargement of singlet exciton' delocalization length. With its advanced PL and electrical properties, PANI-PTSA (PANI*) shows an excellent crossing point of providing electrons in sensor application and therefore was selected for fluorene detection. Figure 9 depicts the PL intensity when PANI-PTSA was used detect various fluorene concentrations (0.001, 0.01, 0.1,1 and 10 µM). As shown in Figure 9a, the specific excitation intensity that activates photoluminescence when PANI* is in contact with fluorene appears at 258 nm. As displayed in Figure 9b, the photoluminescence emission peak related to PANI* in contact with fluorene appears at 324 nm. These results indicate that when fluorene concentration increases from 0.001 µM to 10 µM, the intensity of the photoluminescence peak decreases [79,80].
Stern-Volmer equation was used to study the interaction between PANI and fluorene (Equation (11)) as follows: where F and F 0 are the PL intensity of PANI*-fluorene systems and PANI* solution, respectively; CDA is the quencher (fluorene) concentration, and K sv is the Stern-Volmer quenching constant [81]. A good linear relationship is obtained between PL intensity ratio (F 0 /F-1) and fluorene concentration in the range of 0.001-10 µM (Figure 9c). A photoluminescence test was carried out 10 times to evaluate the stability of the photoluminescence properties of PANI*. The standard error, standard deviation (σ) and slope of variation curve are 0.0009, 0.002 and 0.026, respectively. The limit of detection (LOD) is proportional to the standard deviation (σ) and slop (K) of variation of photoluminescence intensity with fluorene concentration. Therefore, the LOD (LOD = (3.3 × σ)/K) is approximately 0.26. Table 8 shows the com-parison of detection results for fluorene sensors with different fluorescence spectroscopy methods.
rene concentration in the range of 0.001-10 μM (Figure 9c). A photoluminescence test was carried out 10 times to evaluate the stability of the photoluminescence properties of PANI*. The standard error, standard deviation (σ) and slope of variation curve are 0.0009, 0.002 and 0.026, respectively. The limit of detection (LOD) is proportional to the standard deviation (σ) and slop (K) of variation of photoluminescence intensity with fluorene concentration. Therefore, the LOD (LOD = (3.3 × σ)/K) is approximately 0.26. Table 8 shows the comparison of detection results for fluorene sensors with different fluorescence spectroscopy methods.

Conclusions
PANI-PTSA, PANI-CSA, PANI-acetic acid and PANI-HCl were successfully prepared through chemical oxidative polymerization. The optical, thermal, and electrical properties of PANI rely on the nature and particle quantity of the acid dopant. UV-vis and FT-IR spectra showed that doping creates fundamental varieties inside PANI chains. PANI-PTSA, PANI-CSA and PANI-acetic acid appear as fibrous crystals when compressed. PANI-HCl presents as agglomerated ball crystals because the molecular chain stretches along the direction of mixing and shear forces during polymer crystallization. An XRD study revealed that the chain length grows with the increasing acidity. When the dopant quantity increases, crystallinity decreases, and inter-chain separation and d-spacing increase. As a result, the mobility of load carriers along with a polymer chain and over chains decreases, and conductivity declines. PANI-PTSA exhibits the highest conductivity among the PANI samples. Additionally, TGA results implied that acidity affects the thermal stability of PANI. PL studies confirmed that among the samples, PANI-PTSA has the best PL intensity because of the orderly arrangement of benzenoid and quinoid units that support the formation of excitons and the enlargement of singlet exciton' delocalization length. Therefore, PANI-PTSA (PANI*) with advanced PL and 0.26 nM detection limit shows a good balance of providing an electron and detecting fluorene in sensor applications.

Data Availability Statement:
The data presented in this study are available on request from the corresponding author.