Introduction

The concept of photonic crystals and propagation of electromagnetic waves (EMW) through these structures were introduced since 1987 [1, 2]. One-dimensional photonic crystal has received an increasing interest by many researchers due to the possible use in a considerable set of applications. The most fascinating feature in photonic crystals is the appearance of photonic band gaps in which the transmission of EMW of certain wavelength is not allowed. These structures are constructed by using two or more media repeated alternatively. The width of the band gap varies with the variation of refractive indices of materials, temperature, and the incident angle [3, 4]. If these parameters are maintained fixed, then this photonic structure will have fixed predetermined bands of wavelength or frequencies. Any change in refractive index, temperature, or angle of incidence will change the photonic band gap. This is the rule of operation of a photonic crystal when acting as an optical sensor for detection variations in the index of refraction [5,6,7,8,9,10,11] and temperature [12, 13].

Photonic crystals can be grouped into a set of types according to the number of layers into one period. When there are two layers in a period, it is called binary, and it is known as ternary when there are three layers in a period and so on. In a recent years, photonic crystals have received an increasing attention due to exclusive performance in a set of applications such as omnidirectional reflectors [14], filters [15], and highly sensitive optical sensors [16].

In a recent work, the band gap in a photonic crystal consisting of dielectric/metal/dielectric was shown to be enlarged due to the metal layer [17]. The variation of the band gap width in a periodic photonic crystal with a negative-index material was investigated [18]. An omnidirectional photonic band gap in a photonic crystal having the structure dielectric/plasma layer/dielectric was investigated using the transfer matrix method [19]. The design of 2D photonic crystal-coupled resonating optical waveguide-based integrated optic sensor platform was proposed and investigated [20]. A binary photonic crystal consisting of metal–dielectric layers was analyzed [21]. It was shown that the metal–dielectric photonic crystal can be treated as an effective metallic medium with a well-defined effective plasma frequency [21]. Enhancement of omnidirectional total reflection in a ternary photonic crystal was theoretically proposed [22,23,24].

The rule of operation of a photonic crystal when acting as a temperature sensor is as follows. When the surrounding temperature alters, the index of refraction of substances constituting the crystal will be altered as a result of thermo-optical effect. Moreover, the thickness of the layers in the photonic crystal will be also altered due to the thermal expansion effect. In this case, the transmission profile will be modified. By inspection the transmission spectrum changes or shifts, and a small variation in temperature can be detected. In this way, photonic crystals can be employed as efficient temperature sensors.

In this paper, a ternary photonic crystal with the structure Si/polymer/SiO2 is studied as a temperature sensor. The characteristic matrix of a signal cell consisting of three layers is expressed in terms of the refractive indices, thicknesses, wavelength, and angles of refraction inside the media. The variation in refractive index and thickness of the layers due to the variation in temperature is considered. The transfer matrix of the whole system consisting of N–cells is derived, and the transmission coefficient is also deduced. The transmission profile is investigated at different temperatures.

Theory of scattering from a photonic crystal

One-dimensional ternary photonic crystal is assumed. It consists of three layers of indices n1, n2, and n3. The layers are assumed to have the thicknesses d1, d2, and d3. If we assume one period consisting of three layers, then the thickness of the period will be d = d1 + d2 + d3.

Thickness of a substance (d) can be altered as a result of thermal expansion effect according to

$$ \Delta d = \alpha d\left( {\Delta T} \right) $$
(1)

where α is the thermal expansion coefficient of the substance and ΔT is the change in temperature.

Refractive index a substance (n) can be also altered as a result of thermo-optical effect according to

$$ \Delta n = \gamma n\left( {\Delta T} \right) $$
(2)

where γ is the coefficient of thermo-optic of a substance.

Consider an EMW is incident from air on the proposed photonic crystal. The incident angle is assumed θ0. The transmission of the wave can be calculated by making use of the transfer matrix method. The transfer matrix of a single layer is given by:

$$ h_{i} = \left[ {\begin{array}{*{20}c} {\cos \beta_{i} } & {\frac{{ - i\sin \beta_{i} }}{{p_{i} }}} \\ { - ip_{i} \sin \beta_{i} } & {\cos \beta_{i} } \\ \end{array} } \right]. $$
(3)

The characteristic matrix L[d] of a signal period is expressed as:

$$ L[d] = \mathop \prod \limits_{i = 1}^{s} \left[ {\begin{array}{*{20}c} {\cos \beta_{i} } & {\frac{{ - i\sin \beta_{i} }}{{p_{i} }}} \\ { - ip_{i} \sin \beta_{i} } & {\cos \beta_{i} } \\ \end{array} } \right] = \left[ {\begin{array}{*{20}c} {L_{11} } & {L_{12} } \\ {L_{21} } & {L_{22} } \\ \end{array} } \right] , $$
(4)

where s = 3 and i = 1, 2, and 3 denote the layers of refractive indices n1, n2, and n3, respectively, and βi and \( p_{i} \) are given as

$$ \beta_{1} = \frac{{2\pi (n_{1} + \Delta n_{1} )\left( {d_{1} + \Delta d_{1} } \right)\cos \theta_{1} }}{{\lambda_{0} }}, $$
(5)
$$ \beta_{2} = \frac{{2\pi (n_{2} + \Delta n_{2} )\left( {d_{2} + \Delta d_{2} } \right)\cos \theta_{2} }}{{\lambda_{0} }}, $$
(6)
$$ \beta_{3} = \frac{{2\pi \left( {n_{3} + \Delta n_{3} } \right)\left( {d_{3} + \Delta d_{3} } \right)\cos \theta_{3} }}{{\lambda_{0} }}, $$
(7)
$$ p_{1} = (n_{1} + \Delta n_{1} )\cos \theta_{1} , $$
(8)
$$ p_{2} = (n_{2} + \Delta n_{2} )\cos \theta_{2} , $$
(9)
$$ p_{3} = (n_{3} + \Delta n_{3} )\cos \theta_{3} , $$
(10)

with λ0 is the wavelength in vacuum. Angles θ1, θ2, and θ3 are the angles of refraction in the three layers of the cell. In terms of θ0, they are given by:

$$ \cos \theta_{1} = \left[ {1 - \frac{{n_{0}^{2} \sin^{2} \theta_{0} }}{{\left( {n_{1} + \Delta n_{1} } \right)^{2} }}} \right]^{{\frac{1}{2}}} , $$
(11)
$$ \cos \theta_{2} = \left[ {1 - \frac{{n_{0}^{2} \sin^{2} \theta_{0} }}{{\left( {n_{2} + \Delta n_{2} } \right)^{2} }}} \right]^{{\frac{1}{2}}} , $$
(12)
$$ \cos \theta_{3} = \left[ {1 - \frac{{n_{0}^{2} \sin^{2} \theta_{0} }}{{\left( {n_{3} + \Delta n_{3} } \right)^{2} }}} \right]^{{\frac{1}{2}}} . $$
(13)

The determinant of the matrix L[d] is equal to unity.

For a system consisting of N periods, the characteristic matrix is given by:

$$ \left[ {L\left( d \right)} \right]^{N} = \left[ {\begin{array}{*{20}l} {L_{11} T_{N - 1} \left( a \right) - T_{N - 2} \left( a \right)} \hfill & {L_{12} T_{N - 1} \left( a \right)} \hfill \\ {L_{21} T_{N - 1} \left( a \right)} \hfill & {L_{22} T_{N - 1} \left( a \right) - T_{N - 2} \left( a \right)} \hfill \\ \end{array} } \right] = \left[ {\begin{array}{*{20}c} {s_{11} } & {s_{12} } \\ {s_{21} } & {s_{22} } \\ \end{array} } \right] $$
(14)

where

$$ s_{11} = \left( {\sigma_{1} - \frac{{p_{2} }}{{p_{1} }}\sigma_{2} - \frac{{p_{3} }}{{p_{2} }}\sigma_{3} - \frac{{p_{3} }}{{p_{1} }}\sigma_{4} } \right), $$
(15)
$$ s_{12} = - i\left( {\frac{{\rho_{1} }}{{p_{1} }} + \frac{{\rho_{2} }}{{p_{2} }} + \frac{{\rho_{3} }}{{p_{3} }} - \frac{{p_{2} \rho_{4} }}{{p_{1} p_{2} }}} \right), $$
(16)
$$ s_{21} = - i\left( {p_{1} \rho_{1} + p_{2} \rho_{2} + p_{3} \rho_{3} - \frac{{p_{1} p_{3} }}{{p_{2} }}\rho_{4} } \right), $$
(17)
$$ s_{22} = \left( {\sigma_{1} - \frac{{p_{1} }}{{p_{2} }}\sigma_{2} - \frac{{p_{2} }}{{p_{3} }}\sigma_{3} - \frac{{p_{1} }}{{p_{3} }}\sigma_{4} } \right). $$
(18)

where σ1 = cos β1 cos β2 cos β3, σ2 = sin β1 sin β2 cos β3, σ3 = cos β1 sin β2 sin β3, σ4 = sin β1 cos β2 sin β3, ρ1 = sin β1 cos β2 cos β3, ρ2 = cos β1 sin β2 cos β3, ρ3 = cos β1 cos β2 sin β3 and ρ4 = sin β1 sin β2 sin β3.

TN are Chebyshev polynomials of the second kind given by:

$$ T_{N} \left( a \right) = \frac{{\sin \left[ {\left( {N + 1} \right)\cos^{ - 1} a} \right]}}{{\left[ {1 - a^{2} } \right]^{{\frac{1}{2}}} }}, $$
(19)

and a is given by

$$ a = \frac{1}{2}\left[ {s_{11} + s_{22} } \right]. $$
(20)

In terms of the elements sij, the transmission coefficient of a system consisting of N periods is given by:

$$ t = \frac{{2p_{0} }}{{\left( {s_{11} + s_{12} p_{0} } \right)p_{0} + \left( {s_{21} + s_{22} p_{0} } \right)}}, $$
(21)

where

$$ p_{0} = n_{0} ~\cos \theta _{0} = \cos \theta _{0} ({\text{as}}\;n_{0} = 1) $$
(22)

The transmissivity of the system can be written as:

$$ T = \left| t \right|^{2} . $$
(23)

Results and discussion

Ternary photonic crystal is considered of the structure Si/polymer/SiO2. In Fig. 1, we consider the polymer to be polycarbonate. The parameters of the structure are taken as [13] n1 = 3.3 (Si), n3 = 1.46 (SiO2), d1 = 117 nm, and d3 = 265 nm. The number of the period is considered N = 10. The coefficient of thermo-optic (γ) of a material represents the change in the index of refraction per degree rise in temperature, whereas the coefficient of thermal expansion (α) of a material represents the change in the dimensions of a material per degree rise in temperature. In the following calculations, we take γ = 1.86 × 10−4 °C−1 (Si), γ = 6.8 × 10−6 °C−1 (SiO2), α = 0.5 × 10−6 °C−1 (Si) and α = 2.6 × 10−6 °C−1 (SiO2). The parameters of polycarbonate are taken as n2 = 1.5848 and d2 = 10 nm. In a recent study conducted by Zhang et al. [23] on polymers to determine their thermal coefficients for optical waveguide applications, they found that γ = 0.9 × 10−4 °C−1 and α = 1.7 × 10−6 °C−1 for polycarbonate. The angle of incidence is considered to be θ0 = 0 (normal incidence). In Fig. 1, the transmission spectra of one-dimensional ternary photonic crystal structure are shown for temperatures of 25 °C, 50 °C, 75 °C, and 100 °C. Inspecting the first transmission peak at different temperatures, we find that the wavelengths corresponding to the first peak are λ1 = 2172 nm (25 °C), λ1 = 2181.2 nm (50 °C), λ1 = 2190.4 nm (75 °C), and λ1 = 2199.6 nm (100 °C). This means that for a temperature rise of 75 °C, we have a transmission peak shift of 27.6 nm. Then we have a transmission peak shift of 0.368 nm degree rise in temperature. It is worth mentioning that the shift occurs toward higher wavelengths. Moreover, the shift versus temperature of the first peak is shown in Fig. 2 for the photonic crystal containing polycarbonate. It is clear that \( \Delta \lambda /\Delta T = 0.368 \).

Fig. 1
figure 1

Transmission spectra of one-dimensional ternary photonic crystal structure with n1 = 3.3 (Si), n2 = 1.5848 (polycarbonate), n3 = 1.46 (SiO2), d1 = 117 nm, d2 = 10 nm and d3 = 265 nm, N = 10 at temperatures of 25 °C, 50 °C, 75 °C, and 100 °C

Fig. 2
figure 2

Shift versus temperature of the first peak for polycarbonate

In Fig. 3, the same parameters as in Fig. 1 are adopted. The only difference between them is the polymer. We consider in Fig. 3 the polymer to be polystyrene of index of refraction n2 = 1.5916. From Ref. [25], they found γ = 1.2 × 10−4 °C−1 and α = 2.2 × 10−6 °C−1 for polystyrene. The transmission spectra of the proposed ternary photonic crystal with polystyrene layer are shown in Fig. 2 for the same values of temperature. As can be seen from the figure, the first transmission peak are found to occur at λ1 = 2172 nm (25 °C), λ1 = 2181.5 nm (50 °C), λ1 = 2191 nm (75 °C) and λ1 = 2200.5 nm (100 °C). For a temperature rise of 75 °C, there is a transmission peak shift of 28.5 nm. A transmission peak shift of 0.380 nm per degree rise in temperature. There is a preference of using polystyrene over polycarbonate because of the higher transmission peak shift.

Fig. 3
figure 3

Transmission spectra of one-dimensional ternary photonic crystal structure with n1 = 3.3 (Si), n2 = 1.5916 (Polystyrene), n3 = 1.46 (SiO2), d1 = 117 nm, d2 = 10 nm and d3 = 265 nm, N = 10 at temperatures of 25 °C, 50 °C, 75 °C and 100 °C

We also show the shift versus temperature of the first peak in Fig. 4 for the photonic crystal containing polystyrene. It is clear that \( \Delta \lambda /\Delta T = 0.380 \).

Fig. 4
figure 4

Shift versus temperature of the first peak for polystyrene

It is worth mentioning that glass transition points of polycarbonate and polystyrene are 147 °C and 100 °C, respectively. Melting points of the two polymers are 225 °C for polycarbonate and 240 °C for polystyrene. So the proposed sensor cannot be used for temperatures higher than 100 °C especially that consisting of Si/polystyrene/SiO2. If it is used for sensing high temperatures, shrinking of the layers may occur.

In a recent study [12], A. Banerjee compared binary and ternary photonic crystals as temperature sensors. He found that a temperature peak shift of 0.350 nm can be obtained with the binary structure, whereas a peak shift of 0.355 can be attained with the ternary one. In his structure, he used Bi4Ge3O12 to form a ternary photonic crystal.

In this work, a much higher peak shift is obtained with the use of polymers (polycarbonate and polystyrene) instead of Bi4Ge3O12.

Conclusion

Recently, binary and ternary photonic crystals were proposed in temperature sensing. The author of Ref. [12] found that with a binary photonic crystal, a temperature peak shift of 0.350 nm may be obtained, whereas with a ternary photonic crystal, a peak shift of 0.355 may be obtained. His ternary photonic crystal has a working layer of Bi4Ge3O12. No doubt that this was a fascinating result. In this work, a much higher peak shift was obtained using a polymer as a working layer. The proposed ternary photonic crystal was assumed to have the structure Si/polymer/SiO2. Transmission profile of this photonic structure was investigated at different temperatures. It was found that with the increase in temperature, the transmission peak shifts toward higher wavelengths. This can be attributed to thermo-optic and thermal expansion coefficients. When the polymer “polycarbonate” was used, a transmission peak shift of 0.368 nm per degree rise in temperature was obtained, whereas when the polymer (Polystyrene) was employed, a transmission peak shift of 0.380 nm per degree rise in temperature.

It is concluded that the temperature-sensitive transmission peak shift is considerably enhanced due to the insertion of the polymer layer between Si and SiO2 to constitute a ternary photonic crystal.

Finally, it is worth mentioning that a ternary photonic crystal of Si/polymer/SiO2 would involve a complicated sputtering/spin coating/sputtering procedure for N periods. In future work, we may try to find alternative transparent inorganic materials of appropriate properties.