Categories
Engineering Blog Data Analysis FEA Physics Physics Tips Python Research Research Work simulation

Photonic crystals sensor using TMM

Bookmark (0)
Please login to bookmark Close

Photonic crystals (PhCs) are periodic dielectric structures that affect the motion of photons in much the same way that the periodic potential in a semiconductor crystal affects electrons. The ability of photonic crystals to create photonic band gaps (PBGs) has led to numerous applications, including optical filters, waveguides, and more recently, sensors.

Among the various computational methods used to analyze photonic crystal behavior, the Transfer Matrix Method (TMM) is one of the most effective for computing the transmission and reflection characteristics of layered photonic structures. This article delves into how the TMM is applied to photonic crystal sensor development, including theoretical formulations, numerical simulations, and case studies.

📌 Fundamentals of Photonic Crystals
A photonic crystal is typically designed with alternating layers of materials having different refractive indices. The governing equation for wave propagation in a one-dimensional photonic crystal is derived from Maxwell's equations. Assuming a plane wave propagating in the $z$-direction, the wave equation is given as:

$$
\frac{d^2 E}{dz^2} + k^2 n^2(z) E = 0
$$

where $E$ is the electric field, $k = \frac{2\pi}{\lambda}$ is the wave number, and $n(z)$ is the refractive index profile.

For a periodic multilayer system, the transmission properties are determined by solving for the eigenvalues of the system matrix using Bloch’s theorem:

$$
E(z + d) = E(z) e^{i \beta d}
$$

where $\beta$ is the Bloch wavevector and $d$ is the period of the photonic crystal. The frequency bands where propagation is forbidden correspond to photonic band gaps.

📌 Transfer Matrix Method (TMM) for Photonic Crystals
TMM is widely used for analyzing light propagation through layered structures. The approach considers the boundary conditions of electromagnetic waves at each interface. For a single interface between two media, the continuity conditions for electric and magnetic fields give the following matrix representation:

$$
\begin{bmatrix}
E_1^+ \ E_1^-\end{bmatrix}
=\begin{bmatrix}
\cos(k d) & \frac{i}{k} \sin(k d) \\
i k \sin(k d) & \cos(k d)
\end{bmatrix}
\begin{bmatrix}
E_2^+ \\ E_2^-
\end{bmatrix}
$$

where $E_1^+, E_1^-$ represent forward and backward propagating waves in medium 1, and $E_2^+, E_2^-$ represent those in medium 2.

For a multilayer photonic crystal, the total transfer matrix is obtained by multiplying the individual layer matrices:

$$
M_{\text{total}} = M_1 M_2 M_3 \dots M_N
$$

The transmission and reflection coefficients can then be calculated using:

$$
T = \frac{1}{|M_{11}|^2}, \quad R = \left| \frac{M_{21}}{M_{11}} \right|^2
$$

where $M_{11}$ and $M_{21}$ are elements of the final transfer matrix.

📌 Photonic Crystal Sensors Based on TMM
Photonic crystal sensors work by detecting shifts in transmission spectra due to environmental changes. These sensors typically function on the principle that changes in the refractive index of the analyte alter the photonic band gap position, thereby affecting the transmission peaks.

✅ Example Case Study: Refractive Index Sensing
A simple 1D photonic crystal sensor is composed of alternating layers of SiOâ‚‚ and TiOâ‚‚ with a defect layer acting as the sensing region. The defect layer is filled with an analyte whose refractive index varies with concentration. Using TMM, we compute the transmission spectrum for different refractive indices ($n$) of the analyte.

For an initial analyte refractive index of 1.33 (water), the defect mode appears at $\lambda = 600$ nm. When the analyte refractive index changes to 1.38, the defect mode shifts to $\lambda = 620$ nm. This shift ($\Delta \lambda$) is the basis for detecting changes in the analyte concentration:

$$
S = \frac{\Delta \lambda}{\Delta n}
$$

where $S$ is the sensitivity of the photonic crystal sensor.

📌 Advantages of TMM in Sensor Design
🔹 Computational Efficiency – Compared to Finite-Difference Time-Domain (FDTD) methods, TMM is computationally efficient for periodic layered structures.
🔹 Analytical Insight – Provides direct physical insight into transmission characteristics.
🔹 Scalability – Can be extended to two-dimensional and three-dimensional photonic crystals.

📌 Challenges and Future Prospects
Despite its advantages, TMM has limitations when dealing with complex geometries and non-uniform structures. Hybrid computational techniques, combining TMM with numerical optimization algorithms, are being explored to improve sensor performance. Recent advancements in machine learning-assisted photonic sensor design have also opened new frontiers for biosensing and environmental monitoring.


The Transfer Matrix Method is a powerful analytical tool for designing photonic crystal sensors. By efficiently computing the transmission spectra of multilayer structures, it enables the precise detection of refractive index variations, making it highly suitable for biosensors, chemical sensors, and optical filter designs. Future research will focus on real-time monitoring applications and integration with nanophotonic technologies to enhance sensitivity and miniaturization.

🔗 References & Further Reading

Ultra-high sensitive 1D porous silicon photonic crystal sensor

A Theoretical Proposal for One-Dimensional Photonic Crystals

I also have developed my own software that can actually do this kind of simulation using gui interface using python If you are interested to know more or want to get access to the software, you can contact us directly.

If you want to discuss, feel free to talk HERE.

Check out YouTube channel, published research

you can contact us (bkacademy.in@gmail.com)

Interested to Learn Engineering modelling Check our Courses 🙂