Differences between potentiometric and amperometric gas sensor.
Since the discovery of conducting polymers (CPs), their unique properties and tailor-made structures on-demand have shown in the last decade a renaissance and have been widely used in fields of chemistry and materials science. The chemical and thermal stability of CPs under ambient conditions greatly enhances their utilizations as active sensitive layers deposited either by in situ chemical or by electrochemical methodologies over electrodes and electrode arrays for fabricating gas sensor devices, to respond and/or detect particular toxic gases, volatile organic compounds (VOCs), and ions trapping at ambient temperature for environmental remediation and industrial quality control of production. Due to the extent of the literature on CPs, this chapter, after a concise introduction about the development of methods and techniques in fabricating CP nanomaterials, is focused exclusively on the recent advancements in gas sensor devices employing CPs and their nanocomposites. The key issues on nanostructured CPs in the development of state-of-the-art miniaturized sensor devices are carefully discussed. A perspective on next-generation sensor technology from a material point of view is demonstrated, as well. This chapter is expected to be comprehensive and useful to the chemical community interested in CPs-based gas sensor applications.
- conducting organic polymers
- gas sensors
- polypyrrole (PPY)
- polyaniline (PANI)
- toxic gases
- miniaturized sensor devices
The initial development of conducting polymers (CPs) began in 1977 by the American scientists MacDiarmid and Heeger and their Japanese colleague Shirakawa, as they discovered a highly conductive polyacetylene (PA) via chemical doping with iodine or other ionic dopants which endowed the polymer with metal-like properties, producing copper-colored films with an increased conductivity of 10 orders of magnitude (Noble Laureate in Chemistry in 2000) [1, 2, 3]. However, the instability and ease of degradation of PA by oxidative degradation was a big obstacle to find applications such as batteries or electronic devices. Since then, there have been worldwide considerable efforts in synthesizing numerous other CPs similar to those of PA with high doping level over the range from insulator to metal, such as polyphenylene (PP), polypyrrole (PPY), polythiophene (PTH), and polyaniline (PANI) [4, 5, 6, 7].
Hitherto, however, studies on CPs have been extensively investigated in both fundamental and practical perspectives; their unique chemical and physical characteristics have been continuously discovered. These fascinating properties are derived from their π-electron conjugation system along the polymer chain, which allow the formation of delocalized electronic states, resulting in a resonance-stabilized structure of the polymer . Over a wide range of polymer-based materials, CPs are of particular interest due to their unique electrical and optical properties rivaling metals or inorganic semiconductors and still retain the attractive mechanical properties and processing advantages of polymeric materials, known as “synthetic metals” . In addition to a variety of advantages, ease of preparation procedures, controlling the morphology, structural flexibility, light weight, and cost-effectiveness are included. The molecular structures of some of the prominent CPs include PANI, PPY, poly-paraphenylene (PPP), and PTH, which are shown in Figure 1 (left) in their non-conducting (undoped) states. In the past few decades, CPs have been continuously studied for their tremendous use in electronic and optoelectronic devices. In this context, particular interest has been paid toward utilization of nanostructured CP-based sensors as high-performance signal transducers with enhanced sensing capability relative to their conventional bulk-scale materials, because of their high surface-to-volume ratios and unique electrical and physical properties . In the sense of sensor applications, the distinguishing properties of CPs offer a great potential in efficient sensing systems by virtue of their unique electrical, optical, and mechanical transduction mechanisms [11, 12]. To achieve superior performances in both sensitivity and response time, critical issues include conductivity, morphological design, size control, bioprobes, and surface modification which are very crucial. In terms of conductivity change, oxidation level achieved by chemical and electrochemical doping/dedoping mechanisms could in turn fabricate a sensitive and rapid sensor response to an analyte of interest at room temperature [11, 13]. Recently, special attention has been paid to nanostructured CPs as one of the most substantial achievements in sensor technology because their high surface areas, multidimensional architectures, and easy functionalization with a variety of functional groups enable the sensing of a trace amount of a target species . Further, the signal intensity of the sensor can be enhanced by controlling the shapes because of the one-directional signal pathway of the CP nanostructure.
Typical CPs, such as PPY, PANI, PTH, and poly(3,4-ethylenedioxythiophene) (PEDOT), have been extensively studied in environmental monitoring of various types of target analytes, such as volatile organic compounds (VOCs), gases, heavy metals, and biomolecules [15, 16, 17]. On exposure to analyte, their response mechanisms comprise chemical and physical interactions, including oxidation/reduction, swelling, conformational changes, charge transfer, and so on. In terms of charge transfer, doping and oxidation levels and conjugation length are key intrinsic factors of CPs in which the delocalization of the π-electron takes place. It is well-known that most of CPs are p-type semiconductors, and thus they feature the emergence of charge carriers (polaron and biopolaron) as oxidative doping proceeds as shown in Figure 1 (right). Accordingly, these intrinsic factors are very useful for designing the high performance of CP-based sensors.
2. Synthesis of nanostructured conducting polymers
Conducting polymers have traditionally been synthesized either by chemical or electrochemical oxidation routes of the corresponding monomers with acid or peroxide initiators resulting in insulating materials that require a post-doping process [11, 18, 19, 20]. In both cases, the overall polymerization process includes the oxidation of monomer, followed by coupling reaction of the charged monomers to produce a polymer chain. Chemical polymerization method is usually applicable for large-scale production of CP powders. In contrast, electrochemical polymerization offers an in situ one-step effective process for producing CP nanomaterials deposited onto the electrode surface as films for a sensor device, which grow along the direction of the electric field to form oriented nanostructures. The morphological structure and thickness of the CP films can be tailored by controlling the electrochemical polymerization conditions, applied potential or current density, and electrolyte. Owing to their electrical conductivity, CPs can grow electrochemically on an electrode surface without addition of oxidizing agents.
Great efforts have been devoted toward the preparation of CP nanomaterials for the fabrication of miniaturized novel flexible sensor platforms that enable portability and high-density arrays because of using small sample amounts, which offer excellent prospects in sensor nanotechnology for advanced detection systems . Recent studies have demonstrated the synthesis of nanostructured CPs with controlled shape and size, which ranged from lithographic techniques to chemical methods [22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33]. Stejskal and coworkers demonstrated synthesizing PANI nanostructures and its derivatives by the chemical oxidative polymerization in water [34, 35, 36]. Further, Ayad et al. reported the synthesis of PANI and PPY nanotubes, nanorods, nanoflowers, nanoflakes, and nanocomposites via chemical oxidative polymerization using diluted aqueous camphor sulfonic acid (CSA) and acetic acid solutions as shown in Figure 2 [37, 38]. Besides, the incorporation of metals/metal oxide NPs, graphene, or carbon nanotubes (CNTs) into nanostructured PANI and PPY has been recently reported as a way of increasing the CP electrochemical and electrocatalytic activities and sensing capabilities [39, 40, 41, 42].
Recently, research studies have focused on the development of templating approaches such as hard template, soft template, and template-free synthesis as an aid template in combination with other polymerization methods, like dispersion polymerization, interfacial polymerization, vapor deposition polymerization (VDP), and electrochemical polymerization for the synthesis of well-defined CP nanomaterials [43, 44, 45, 46, 47, 48]. Depending on the monomer properties, whether it interacts electrostatically or chemically bound to the template, different CP micro- and nanostructures can be fabricated retaining the original shape of the porous template itself.
So far, the hard template approach is utilized for the synthesis of one-dimensional (1D) CP nanostructures such as nanotubes, nanorods, and nanofibers which are synthesized using anodic aluminum oxide (AAO) membranes, zeolite channels, mesoporous silica, and track-etched polycarbonate [49, 50]. Depending on the pore length and diameter of the membrane template, size and diameter of CP nanostructures can be precisely controlled because the monomers are absorbed or attached inside the pore walls, followed by chemical oxidative polymerization . In addition, the wall thickness can be tuned by controlling the polymerization time and concentration of monomer. In pioneering studies to Jang et al., they proposed a facile route to synthesize PPY nanotubes with a wall thickness of a few nanometers using AAO membrane template via VDP as signal transducers [52, 53]. Park et al. reported a one-pot synthesis of Ag NPs decorated PEDOT nanotubes with high surface area and enhanced conductivity via VDP method using an AAO template and Fe(NO3)3 as an oxidant for sensing ammonia gas . Furthermore, combination of electrospinning using electrospun nanofiber templates and VDP methods provided CP nanomaterials with remarkable surface areas and uniform nanostructures . Kwon et al. reported the use of electrospun ultrathin poly(methyl methacrylate) (PMMA) nanofibers as a template to synthesize PEDOT after immersing with ferric chloride solution followed by VDP of EDOT monomer at controlled temperatures and pressures to yield core-shell PEDOT nanofibers . However, this method suffers from the difficulties of removing the template without aggregation of the resulting CPs and is not suitable for commercial applications. Regardless, high-impact nanostructured CP composites can be prepared without removal of template. Furthermore, previous studies reported that the synthesis of different CP nanohybrids, such as metal, metal sulfides, and metal oxides/PPY nanowires, was prepared by the hard template method [57, 58, 59].
An alternative strategy known as the soft template approach has been used to effectively fabricate CP nanomaterials using templates such as surfactants, block copolymers, polyelectrolytes, and liquid crystals combined with interfacial polymerization and emulsion/dispersion polymerization [60, 61, 62]. Accordingly, 1D CP nanostructures can be tailored by varying the synthetic conditions and produced in large scale . A cationic surfactant, dodecyltrimethylammonium bromide (DTAB), has been utilized to form spherical micelles reinforced with decanol in aqueous solution as a stable microemulsion for the synthesis of monodispersed PPY nanoparticles with a large quantity . However, this technique requires high surfactant concentration, which is problematic in terms of cost and environmental pollution. Jang and coworkers reported the formation of PPY nanotubes and nanoparticles using a reverse micelle system (water-in-oil systems) with a molecular template, sodium bis(2-ethylhexyl) sulfosuccinate (known as AOT), and dispersion polymerization (water-soluble polymers) employing polyvinyl alcohol (PVA) in an aqueous solution, respectively [65, 66, 67]. In addition, PANI nanowire network was carefully synthesized using a cationic surfactant, hexadecyltrimethylammonium bromide and oxalic acid in aqueous solution . Further, an anionic oxidant/cationic surfactant complex was used as a template to fabricate clip-like nanostructures of PPY, PANI, and PEDOT . By judiciously changing the combination of surfactants, oxidizing/doping agents, pH, and temperature, infinite nanostructures with desirable morphology could be successfully fabricated. A facile method to synthesize nanostructured core-shell PPY/Ag using sodium dodecyl benzyl sulfonate (SDBS) and CTAB as templates through a redox reaction was proposed . Very recently, Stejskal et al. demonstrated a cotton fabric coating of PPY and PANI nanotubes, colloidal PPY nanotubes/nanorods, and microporous PANI cryogels obtained by the chemical polymerization of pyrrole in the presence of a structure-directing dye, methyl orange (MO), as a starting template, and poly(
Template-free approach is a quite facile and a straightforward method for producing CP nanomaterials with large quantity without using specific sacrificial templates and post−/pretreatment procedures; however extensive efforts are needed to design building blocks that can spontaneously self-assemble into nanostructures under certain conditions without addition of artificial templates. PANI nanofibers prepared from template-free synthesis have been considered as an interesting sensing material since the pioneering study by Huang et al. . Several types of template-free methods, such as chemical, electrochemical, dispersion, and aqueous/organic interfacial polymerization, resulting in various CP micro−/nanostructures, including nanotubes, nanofibers, hollow nanoparticles, core-shell nanoparticles, and multidimensional nanotubes, were extensively reported [87, 88, 89, 90, 91, 92, 93, 94, 95, 96]. In addition, a template-free site-specific electrochemical method was developed for the fabrication of PPY, PANI, and PEDOT nanowires on microelectrode junctions [97, 98]. Moreover, a bottom-up approach was applied for the fabricating of PPY/Ag core-shell nanoparticles with an average core diameter of 36 nm and a shell thickness of 13 nm via a simple one-pot synthesis using a starch . In this process, the OH− groups of the soluble starch provided nucleation sites for Ag+ that were readily reduced by the pyrrole monomer. Simultaneously, pyrrole monomers were oxidized to form radical cations that have led to the generation of PPY short chains which are further oxidized by the silver nanoseed active sites to finally produce PPY core-shell nanostructures.
3. Gas sensors based on CPs
Chemical sensor is composed of a sensitive material to a particular analyte (molecular recognition) and a transducer, which transforms the concentrations of an analyte into other detectable physical signals, such as current, absorbance, or mass ( Figure 3 ). Depending on signal transduction, gas sensor devices based on CPs have been classified by IUPAC . Sensors based on chemical modulation of electronic, optical, or mechanical transduction mechanisms of CPs will be discussed in detail in light of the gas sensing applications.
3.1 Electrochemical device sensors
Electrochemical devices transform the electrochemical interaction that occurred at analyte-electrode interface into a detectable signal related to the analyte involved in the chemical process. Most of CP sensors rely on electrochemical techniques using amperometric (measurement of current at constant potential) and potentiometric (current measurements during varying potentials). In electrochemical sensor, the charge transport properties of CPs are changed when exposed to an analyte, and the change can be correlated quantitatively to the analyte concentration [101, . In either case, the peak current, as the voltage is scanned, is proportional to the concentration of the target molecule. Based on the electrical transduction modes, electrochemical sensors are classified into the following.
3.1.1 Amperometric sensors
Amperometric gas sensor is a subgroup of electrochemical gas sensing devices that can be utilized for environmental monitoring and clinical analysis of electro-active species, whether in a liquid or a gas phase . The principle of amperometric sensing is to measure the current generated by the redox reaction of an analyte at a working electrode, where the current is subject to Faraday’s law and a dynamic reaction, achieving steady-state conditions in the system under an impressed constant voltage on the chemically stable CP-modified electrode . Based on the nature of analyte, when an appropriate potential is applied on the electrode, the analyte molecules are respectively oxidized or reduced on anode or cathode, resulting in a current change. For gas-phase analytes, amperometric sensors are characterized with a gas/liquid/solid boundary and an interfacial transport process that frequently controls the analytical performances and sensor response characteristics. Besides, an inorganic acid is usually used as the supporting electrolyte to provide H+ ions for ionic conductance in Nafion film. Do et al. fabricated an amperometric NO2 gas sensor based on PANI/Au/Nafion hybrid nanocomposite using the CV technique at ambient temperature . NO2 diffusion into a porous PANI was prepared by CV and constant current (CC) methods, resulting in a reduction of mass transfer resistance with increment in cathodic reduction of NO2 compared to Au/Nafion [105, 106]. Also, the redox response plays a definitive role in the signal transduction of the PANI nanoparticle-based amperometric ammonia gas sensor . The sensor exhibited a sensitivity of 3.04 μA ppm−1 with a switching effect for 0 and 100 ppm concentrations. Recent studies have also demonstrated that CNTs enhance the electrocatalytic properties of gases in PANI films associated with the high electron density and conductivity of the polymer and surface reactivity of the composite when used as an amperometric sensor. For example, a 3D nanofibrous structure of WO3-chitosan-
3.1.2 Potentiometric sensors
As a subgroup of electrochemical sensors, potentiometric sensors, known as ion-selective or ion-sensitive sensors (ISEs), are utilized for monitoring voltage as a result of specific electrochemical reactions involving a redox reaction for determination of the analyte concentration by measuring accumulation of a charge potential at the working electrode when zero or no current flow arises mainly from shifts in the “dopant” anion equilibrium within the polymer chain (sensing membrane) . Potentiometric sensor technique is very attractive for practical applications, because it provides advantages in the use of small-sized, portable, and low-cost instruments. In the electrochemical cell, the potential (
Among the sensors, Pt-loaded SnO2 exhibited the most excellent CO selectivity against H2. On the other hand, Au-loaded In2O3 or SnO2 effectively improved the magnitude of the CO and H2 responses, resulting in a relatively poor CO selectivity against H2. However, the selectivity was improved after heat treatment of the Au-loaded In2O3 or SnO2 powder under a reducing atmosphere at 250°C [113, 114]. Based on electrical transduction modes, dynamic processes, such as chemical and diffusion which occurred at the sensor surface under the steady-state condition, result in a thermodynamically accurate signal for potentiometric sensors following Nernst’s law of thermodynamics, whereas amperometric sensors relate to Faraday’s law ( Table 1 ).
|Electrochemical sensor||Sensor signal vs. [gas]||Principle|
|Amperometric||Kinetics (Faraday’s law)|
|Potentiometric||Thermodynamics (Nernst’s law)|
3.2 Electrical device sensors
Conductometric gas sensor is an electrical device-based measurement, which measures the signal induced by the change of CP electrical properties as a result of analyte interaction, and no electrochemical reactions take place . Because of their cost-effectiveness and sensitivity, conductometric gas sensors can be used to study the analyte interaction with the sensing materials leading to a resistance change (Eq. (4)). This process causes changes in carrier density or mobility, resulting in a conductivity change (ρ) which is the reciprocal of resistivity (Eq. (5)).
3.2.1 Polymer-absorption sensors (chemiresistors)
Chemiresistors are the most common type of sensors which can measure the change in the resistance of an electrically active sensitive material on exposure of a target gas analyte or a medium . In addition to their small-sized low-power devices, chemiresistors exhibited good sensitivity and are amenable for online monitoring of various toxic chemicals. Compared with standard electrochemical sensors, chemiresistors do not require liquid electrolyte to work properly. The measured electrical resistance change as the output is attributed to absorption/adsorption of gas analytes into the sensitive material ( Figure 4 ). It is a known fact that the conductivity of an identical CP material varies according to the method of preparation and the thickness of the film , which has a considerable influence over the surface morphology. In addition, the CP/insulating substrate (oxides such as glass, quartz, sapphire) interface is another aspect which may contribute to the overall conductivity. As a result, the degree of hydration alters the surface conductivity of the substrate because of the interfering water vapors when chemiresistors are operated at room temperature . Making such a substrate surface rather hydrophobic before depositing CP material may mitigate this problem .
In the mid-1990s, Agbor et al. demonstrated the deposition of PANI thin films by various techniques (evaporation, spinning, and the Langmuir–Blodgett) as chemiresistor gas sensor of NOx, H2S, SO2, CO, and CH4 . All types of deposited PANI/EB were sensitive to NOx, H2S gas down to 4.0 ppm, whereas only spun and evaporated PANI/EB dissolved in NMP were responsive to SO2. Then after, recent studies investigated the design of flexible room temperature chemiresistive NH3 [123, 124, 125, 126], and CO2  gas sensor based on nanostructured PPY and PANI was synthesized via an in situ chemical polymerization with an aid of dual templates, MO and CTAB. This work represented competitive results for pure, metal-free, and flexible CP sensors operated at room temperature for monitoring NH3 sensor in workplaces and air pollution with a fast response time and a high selectivity. Bartlett and coworkers have used poly-5-caboxyindole, PPY, and PANI and their derivatives formed by electrochemical polymerization as sensors for alcohols, ether, and other organic vapors; however it showed a low sensitivity [128, 129, 130] and an incomplete desorption of the gas molecules . Of the four polymers investigated, poly-5-caboxyindole was the most stable and represented a reproducible behavior. A chemiresistive type H2 gas sensor based on PANI and PANI/CNT composite at room temperature has been developed by Srivastava et al. . The sensor response showed a higher response after doping of CNT using IDE-type sensor due to a significant interaction between H2- and CNT-doped PANI composites. In an interesting study by Xue et al., they fabricated a miniaturized chemiresistor gas sensor to next-generation high-performance sensors based on oriented single crystal PPY nanotube (SCPNT) arrays with an ultrathin wall thickness prepared with a combination of cold-wall VDP and template-assisted synthesis using AAO template. A SCPNT chemiresistor sensor exhibited a superior sensing capability to NH3 gas at a low detection limit down to 0.05 ppb at room temperature, surpassing commercially metal oxide-based sensors . The ultrahigh sensor sensitivity originating from not only higher crystal orientation but also hollow structure and high surface area of the nanotubes allowed the easy diffusion of gas molecules, since the thickness of the SCPNT walls is only about 10 nm scale. An innovative flexible chemiresistor NH3 gas sensor was fabricated by an in situ chemical oxidative polymerization of PANI with multiwalled CNTs  and S, N-doped graphene quantum dots (S, N:GQDs) [134, 135]. A significant increase in the gas sensing performance with improved sensor response/recovery characteristics could be realized at trace-level detection under ambient conditions. The response of S, N:GQDs/PANI composite toward NH3 gas was five times higher than pure PANI, because the S, N:GQDs cavities facilitated large interaction sites for NH3 via π-electron networks. Also, the enhancement in PANI/MWCNTs performance was attributed to the physisorption/chemisorption of NH3 gas due to the synergetic cooperation between acid–base doping/dedoping effect of PANI and the electron transfer between NH3 molecules and CNT or GQDs. Once NH3 has adsorbed onto the surface of PANI, it reacted with amine (N-H) groups of PANI forming NH4 + , resulting in the localization of PANI polarons, and thus increased the sensor resistance.
For maximizing the renewable energy recovery, Xue and coworkers designed a flexible hierarchical PANI/CNT nanocomposite film-based electronic gas sensor for a real-time monitoring of NH3 in anaerobic digestion from 200 ppb to 50 ppm at room temperature . The sensor exhibited a fast response/recovery time with excellent selectivity to NH3 compared to other VOCs, such as methanol, ethanol, acetone, dichloromethane, isopropyl alcohol, ethylene glycol, and pyridine due to the high surface area of nanocomposite films. An in situ synthesis of SnO2-rGO)-PANI (SGP) nanocomposite via surfactant-free precursor at low temperature was investigated for enhanced performance of NH3 gas sensor . From XPS, the well-defined p-n hetero junction existed in the hybridized SGP nanocomposite dramatically enhanced the sensing activity, selectivity, and chemical stability, in comparison of pure SnO2 and SnO2-rGO hybrid. In addition, Ye et al. reported the rGO/Poly (3-hexylthiophene) (rGO/P3HT) composite film prepared by spray process for constructing the resistive NH3 sensor . The composite film sensor exhibited better sensing properties and reversibility than pure rGO, as a result of π-π interaction between rGO and P3HT. Moreover, Sharma and coworkers demonstrated the synthesis of Al-SnO2-PANI, MWCNT-PANI, and MWCNT-PEDOT-polystyrene sulfonic acid (PSS) nanofibers via electrospinning technique for H2 and NH3 gas sensing application [139, 140]. On exposure to 1000 ppm of H2 gas, the Al-SnO2-PANI nanofiber composite showed fast response/recovery at 48°C . MWCNT-PEDOT-PSS was found to be more effective than MWCNT-PANI composite in terms of sensitivity and repeatability for NH3 gas . However, the sensor presented a major challenge of complete recovery of chemisorbed NH3 from CNT; the research group proposed a trial experiment for sensor complete recovery within a short time (20 min) using a combination of heat and DC electric field.
Besides, various metals and/or metal oxides were also introduced to further enhance the response/recovery kinetics of the sensing materials. Chemiresistor gas sensing behavior of NH3 based on nanostructured PPY/SnO2 , PPY/ZnO [142, 143, 144], PPY/Zn2SnO4 , PPY/Ag-TiO2 , PPY/silicon nanowires (PPY/SNWs) , PANI/SnO2 , PANI/ZnO , PANI/In2O3 , PANI/TiO2 , PANI/flower-like WO3 , PANI/SnO2/rGO , PANI-TiO2-Au , and Ag-AgCl/PPY  has recently been studied so far. The CP/metal oxide nanocomposite thin films exhibited an outstanding response time of 2 S for NH3 at very low concentration of 50 ppb in air with respect to methanol and ethanol vapors . Thin films of Cu/PANI have also been examined as a sensor toward different gases, such as NH3, CO, CO2, NO, and CH4 at room temperature . Incorporation of Cu nanoparticles improved the response and the recovery times, in addition to its excellent selectivity toward NH3 due to doping and dedoping processes of PANI. Composite of Pd-PANI-rGO  has been recently synthesized to fabricate a highly sensitive and selective chemiresistive H2 gas sensor. In addition to high surface area of the PANI-GO composite, the fast spillover effect and hydrogen dissociation over Pd significantly enhanced the sensing performance. Other studies by Xu and coworkers employing films of SnO2-ZnO/PANI  and SnO2/PANI  hybrids as NO2 gas sensors prepared by the solvothermal hot-press (SHP) process were demonstrated. The later sensors exhibited much high affinity and selectivity to a low concentration of NO2 gas at 140°C caused by the formation of p-n junction. For porous SnO2-ZnO/PANI, a high selective sensor responded to a low NO2 concentration at 180°C, due to the porous nature of SnO2 and high ZnO content (20 wt.%). Mane et al. investigated chemiresistive NO2 gas sensors based on DBSA-doped PPY/WO3 and CSA-doped PPY/NiO nanocomposites at room temperature [161, 162]. The sensor can successfully detect NO2 gas at a concentration as low as 5 ppm. The enhanced gas sensing properties would be assigned to the formation of random nano p-n junctions distributed over the polymer surface film and activity of dopants. Moreover, Mondal and coworkers  reported a green chemical route synthesis of P3TH/CdSe (QDs) nanocomposites as a chemiresistive CHCl3 gas sensor at concentrations range of 100–1200 ppm at room temperature. On illumination of the sensor with a monochromatic light of 600 nm, an enhancement of charge transfer in nanocomposites was photo-induced, resulting in an improvement in sensor response and recovery time.
3.3 Optical device sensors
The gas sensors based on optical transductions are described as change in absorbance and luminescence as a result of gas analytes, interaction with a sensitive material . For signal generation, optical parameters such as refractive index and reflectivity have been used. Optical gas sensors have been recently utilized for multi-analyte array-based gas sensing, due to low cost, miniaturized optoelectronic light sources, and efficient detectors . Based on the signal generated due to intrinsic properties of sensing material, optical sensors are classified as absorption and luminescence.
3.3.1 UV–vis and infrared sensors
The UV–visible and near infrared (NIR) spectra can reflect the electron configurations of CPs. After doping process, the spectral absorbance of CP film is changed with an appearance of new bands due to the formation of polarons and bipolarons . Thus, the interaction of gas analytes at CP film interfaces can be detected by the change in spectra of UV–vis or NIR. When an ultrathin film of CP was deposited on a glass, an optic sensor can be fabricated to record the corresponding spectrum (absorbance or transmittance) by using conventional spectrometers . However, colorimetry is limited in sensitivity to an individual analyte and not useful for in situ applications . For IR sensors, they can only monitor specific analytes of nonlinear molecules; in addition, the measurements are influenced by humidified environment . So far, UV–vis–NIR spectrophotometer has been used to study the sensing characteristics of PANI to a variety of VOCs . Tavoli and Alizadeh designed an optical NH3 gas sensor based on nanostructure PPY doped with eriochrome cyanine R (ECR) thin film as a dopant for optical selectivity of NH3 gas using UV–vis spectroscopy with a fast response time (50 s) and a high sensitivity in the concentration range of 15–260 μg L−1 . The sensor showed a low detection limit of 5 μg L−1 and a good reproducibility.
3.3.2 Fiber-optic devices
Fiber-optic sensors are a class of optical sensors that use optical fibers to detect chemical analytes. Light is generated by a light source and is sent through an optical fiber, then reflects the absorption property of the CP surface when it returns through the optical fiber, and finally is captured by a photo detector . Sensors based on fiber optics used the light guiding properties of the optical fibers to carry the light into and from the CP active layer . However, this type of optical sensor has some drawback concerning the complication of associated electronics and software, cost-effectiveness, concentration limitation, short lifetime due to photobleaching, and limited ability to transmit light through optical fiber over long distances [167, 172]. A fiber-optic device based on PANI was used to detect HCl, NH3, hydrazine (H4N2), and dimethyl methylphosphonate (DMMP, a nerve agent, sarin stimulant) . Muthusamy and coworkers developed gas sensors based on PPY and PPY/Prussian blue (PPY-PB) nanocomposite coating on fiber optic to monitor NH3, acetone, and ethanol gases at room temperature . The PPY-PB nanocomposite-based fiber-optic sensor exhibited an enhanced sensitivity for ethanol than pure PPY nanoparticles, and spectral intensity increases linearly with increasing the concentrations of gas. Very recently, Mohammed et al. fabricated an etched-tapered single-mode fiber (SMF) coated with a high surface area PANI/graphite nanofiber (GNF) nanocomposite as optical sensor for NH3 gas at room temperature in the visible wavelength range . The sensor exhibited a good response time, sensitivity, and reproducibility for NH3, compared with pure PANI-coated SMF. Furthermore, an optical microfiber sensor was designed by drop coating of PANI doped with dioctyl sodium sulfosuccinate onto a microfiber resonator as a sensor for alcohols . The sensor output spectrum showed red shift in wavelength upon response to various alcohols at different concentrations, due to the increase in dihedral angle and average band gap (lower energy) of PANI fiber. In a recent study by Kim and coworkers reported the application of fiber-optic reflectance sensors (FORS) coated with PPY film for sensing VOCs up to 1 ppm under atmospheric conditions . The variation in the reflected light intensity was caused by the formation of polaron-bipolaron and film swelling when interacted with VOCs.
3.3.3 Surface plasmon resonance (SPR)
Surface plasmon resonance is another class of optical sensors which referred to excitation of surface plasmon-based optical sensor for chemical sensing utilizing light. SPR optical sensor is a thin film refractometer sensing device which measures the changes in refractive index that occurred at the surface of a plasmon-supported metal film. On excitation by the monochromatic light, a change in the refractive index of a dielectric material gives rise to a change in propagation constant of the surface plasmon (prism coupled, i.e., attenuated total reflectance (ATR), waveguide coupled, and grating coupled) [178, 179]. The propagation constant of a radiation alters the characteristics of light wave coupled to the surface plasmon, e.g., coupling angle, coupling wavelength, and intensity phase . After exposing to analytes, the minimum in the reflectance curve can be shifted, indicating the presence of analyte. The sensitivity of this type of sensors is high, but the detecting procedures are complicated. A SPR device was explored by Agbor and coworkers using PANI thin films to detect NO2 and H2S gases, resulting in an increase in reflectivity and resonance angle .
3.4 Mass-sensitive device sensors
Mass-sensitive devices transform the mass change at a specially modified surface into a change of a property of the piezoelectric material. Surface acoustic wave (SAW) and the quartz crystal microbalance (QCM) techniques are the main categories of piezoelectric gas sensing devices . SAW and QCM are the simplest piezoelectric devices with a selective coating deposited on the surface to serve as an adsorptive surface capable of measuring an extremely small mass change at room temperatures . Interestingly, SAW and QCM sensors are very promising and are widely accepted as smart transducers for their miniaturized design, possibility of wireless integration, high thermal stability, inertness, and room temperature operation. In addition, they can be easily combined with a variety of recognition sensitive layers for sensing applications ranging from small gas molecules to large biomolecules or even whole cell structures.
3.4.1 Surface acoustic wave
Surface acoustic wave resonators represent one of the most prominent acoustic devices for their exceptionally high frequency from several hundred MHz to GHz, which can record remarkably diminutive frequency shifts resulting from exceptionally small mass loadings making them potentially suitable in mass sensing applications . Clearly, SAW resonator is a sensitive layer coated on the gap between a transmitter (an input) and a receptor (an output) interdigital transducers (IDTs) coating on the top of the piezoelectric crystal to design a SAW gas sensor . An input radio-frequency voltage is applied across the transmitter IDTs, inducing deformations in the piezoelectric crystal that give rise to an acoustic wave, traversing the gap between two IDTs. When it reaches the receptor IDTs, the mechanical energy was converted back to radio-frequency voltage. The adsorption/desorption of gas on the CP film on the gap modulates the wave propagation characters, and a frequency shift can be recorded between the input and output voltages. In the sense of applications, a SAW sensor based on fibrous PANI nanocomposites layers prepared by chemical oxidative polymerization of aniline in the presence of finely divided metal oxides deposited on ZnO/64° YX LiNbO3 SAW transducer to detect H2, NO2, NO, CO2 and CO gases [185, 186, 187, 188]. The designed SAW sensor exhibited improved sensitivity and repeatability of the gas molecules in ppm level at room temperature. Attractive studies utilized PPY nanocomposite-based SAW gas sensors deposited onto 128° YX-LiNbO3 substrate via Langmuir-Blodgett (LB) method due to high sensitivity and low cost. The LB PPY nanocomposite-based SAW exhibited excellent selectivity toward low NH3 concentration of 20 ppm, with respect to other interfering gases, such as CO, CH4, H2, and O2, at room ambient temperature [189, 190, 191]. By merging with electrical conductivity gas response, the sensing mechanism for gas detection has been investigated as elastic loading. Very recently, SAW integrated with PPY and PPY/TiO2 films has been utilized for NO2 and H2S detection at room temperature by the self-assembly method . Upon exposure to NO2, the SAW sensors coated with PPY film showed a negative frequency shift (Δ
3.4.2 Quartz crystal microbalance
The advantage of conceptual simplicity, relative ease of modification, chemical inertness of the substrates, ruggedness, low cost, and ready availability of piezoelectric transducers have encouraged the development of QCM technique in various sensor applications. In addition, the sensitivity of piezoelectric transducers is based on the mass per unit area, suggesting miniaturization without losses in their sensitivity. The associated electronics are fairly simple, and frequency measurements are very precise (<1 part in 107) . As illustrated in Figure 5 , a QCM sensor consists of a quartz disk coated with metal electrodes on both sides (usually Pt or Au). When a voltage is applied to the quartz crystal plate, it can oscillate at a specific frequency, and the relation between frequency change (Δ
During the past few decades, the relationship between frequency shift and mass change, which was initially described by Sauerbrey, has been extensively applied for chemical sensing . The Δ
The interaction between target molecules and sensitive coating layers (known as “guest-host interaction”) plays an important role in the sensing mechanism. Such a guest-host interaction is considered as an adsorption process involving enrichment of guest species at the interface of a certain adsorbent, such as CP nanomaterials ( Figure 5 ). In terms of high sensitivity and selectivity, the fabrication of CP nanomaterials is an important step toward the development of efficient advanced detection sensors. Since 1964, a QCM sensor had been implemented by King into a gas chromatography system for the detection of hydrocarbons . Then after, QCM sensor device has been successfully applied as a sensitive tool to sense mass interfacial  and polymer film properties [198, 199, 200, 201]. Accordingly, Δ
Li et al. constructed a sensor using water-soluble PANI and PANI-TiO2 nanocomposite-coated QCM for a selective detection of amine vapors [219, 220]. The nanocomposite exhibited a higher sensing affinity and good selectivity toward (CH3)3N and (CH3CH2)3N than other VOCs, such as C2H5OH, CH3-COO-CH2-CH3, CH2O, and CH3CHO. As the van der Waals absorption is the main interaction between PANI and amine, the sensor responses could be completely recovered after purging N2 at room temperature. Further, PANI/ES films doped with several dopants, such as HCl and DBSA, and 1,5-naphtalenedisulfonic acid (1,5-NDSA))-coated QCM sensor films have been fabricated to detect BTEX vapors . The Δ
Gas sensing properties of the CPs have dramatically improved after incorporation of other nanomaterials such as CNTs, GO, metals, and other nanometal oxides. Very recently, Wang et al. fabricated a gas sensor by using PPY and PPY/TiO2 coating on QCM electrode for detecting different chemical vapors . As a result, the sensor coated with PPY/TiO2 was found to exhibit a better sensing performance, long-term stability, and excellent reversibility, as well as acceptable selectivity toward NH3 in comparison to (CH3)3N, H2S, and C2H5OH. Based on QCM measurements, researchers could fabricate a PPY/TiO2 sensor for evaluating shelf-life quality changes of three typical foodstuffs (mango, egg, and fish) during 1-week storage. Novel low-humidity sensors were investigated by the in situ photopolymerization of PPY/Ag/TiO2 nanoparticle composite thin film coating on QCM . Room temperature highly sensitive sensors with short response/recovery time for humidity based on GO/SnO2/PANI and PANI-GO coating on QCM were explored by Zhang et al. [225, 226]. The adsorption process of water molecules on QCM senor was carefully discussed using Langmuir adsorption isotherm model.
3.5 Summary and perspectives
With the development of nanotechnology, CP nanostructures integrated into advanced electronics have pursuit of better sensing systems during the past decade for fabricating miniaturizing state-of-the-art sensor devices, due to their continuously discovered unique chemical and physical characteristics, such as reversible signal transduction processes, low operating temperature, tunable sensitivity, and design flexibility. However, sensing technologies based on CPs still require significant incubation and device development. From the viewpoint of sensing activity, control over CP characteristics is necessary to improve sensitivity, selectivity, and stability to design advanced detection sensors. The desired set of physicochemical properties can be introduced into the CPs through the rational molecular design of specific receptors or judicious functionalization of the CP surface with a molecular recognition, leading to enhanced specificity via covalent attachments and reproducibility in response. Also, for large-scale synthesis, it is important to develop reliable routes to synthesize CP nanostructures and nanocomposites with controlled morphology. Of the exciting synthetic methods, the soft template approach is somewhat advantageous in both large-scale synthesis and size/shape control. Such improvements in their molecular structure and crystallinity and an increase in conjugation length are crucial for increasing room temperature conductivity. Another concern is that CPs are also susceptible to environmental perturbations such as moisture, heat, and light, which may degrade over time, even in dry, oxygen-free environments, and thus much attention must be paid to improving their long-term stability that is considered to be an important factor in pursuing high sensor reliability for an ever-increasing role in online environmental monitoring, industrial safety control, and security. Since the fabrication of nanostructured CPs, response time and sensitivity have experienced impressive improvements with great advances in sensor nanotechnology. However, selectivity is still a challenging task for detecting specific target analyte in a multi-analyte environment which hindered the widespread application of CP-based sensors. Besides, the demand for miniaturization has encouraged for designing portable sensor devices, lower power dissipation, and better device integration. In this sense, nanostructured CPs have considerable potential for fabricating miniaturized multi-sensing arrays by using microcontact printing, surface-directed assembly, site-specific polymerization, inkjet printing, etc. Interestingly, CPs are highly compatible with a flexible substrate, which opens up the possibility of realizing all-polymer electronics. From viewpoint, we believe that nanostructured CPs still have many unexplored potentials and will definitely play an expanding role in future sensor technology for exclusively designing of next-generation sensors involving high sensitivity, high reliability, multi-analyte determination, miniaturization, and structural flexibility due to their fascinating chemical/physical properties that are not available in other materials. Thus, it is anticipated that extensive future research studies into the development of flexible high-performance sensors by utilizing CPs will be expected in the near future.