<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://pc5271.org/PC5271_AY2425S2/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Bohan</id>
	<title>PC5271 wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://pc5271.org/PC5271_AY2425S2/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Bohan"/>
	<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php/Special:Contributions/Bohan"/>
	<updated>2026-04-15T22:36:09Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Terahertz_Electromagnetic_Wave_Detection&amp;diff=1230</id>
		<title>Terahertz Electromagnetic Wave Detection</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Terahertz_Electromagnetic_Wave_Detection&amp;diff=1230"/>
		<updated>2025-04-24T03:50:30Z</updated>

		<summary type="html">&lt;p&gt;Bohan: /* Thermopile Detector */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Members==&lt;br /&gt;
&lt;br /&gt;
Luo Shizhuo E1353445@u.nus.edu&lt;br /&gt;
&lt;br /&gt;
Zhang Bohan E1349227@u.nus.edu&lt;br /&gt;
&lt;br /&gt;
==Project Overview==&lt;br /&gt;
&lt;br /&gt;
Terahertz (THz) waves are rather useful in communication (6G communication: 0.3~3 THz), astronomy (millimetre telescope: 0.22 THz) and solid state material characterisation. However, the generation and detection of THz wave so difficult that it is named as the &amp;quot;THz Gap&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
In this project, we aim to generate and detect a THz pulse with a traditional method (Electro-Optical Sampling) and then via a commercial thermopile sensor. (Specifically, we will use LiNbO3 (LN) crystal, which is reported to be capable of generating THz pulses easily.)&lt;br /&gt;
&lt;br /&gt;
This project can provide a cheaper option compared to specific THz camera (like THz fluorescence camera), and enable us to observe the pattern of THz wave in a more cost-effective way.&lt;br /&gt;
&lt;br /&gt;
==Theory Basis==&lt;br /&gt;
&lt;br /&gt;
===LN-based THz pulse generation===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Phase Match Condition&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We assume that an electromagnetic wave goes in the direction with an angle &amp;lt;math&amp;gt;\epsilon&amp;lt;/math&amp;gt; between z axis. The electric field is given as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E(t)=\int E(\omega) e^{i\omega t-ikz\cdot\cos\epsilon-ikx\cdot\sin\epsilon} d\omega=\int E(\omega) e^{i\omega t-i\varphi} d\omega&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\varphi=kz\cdot\cos\epsilon+kx\cdot\sin\epsilon&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; is the wave vector. The phase term &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; indicates the direction of the motion. When an angular dispersion by frequency &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is introduce in deviation angle &amp;lt;math&amp;gt;\epsilon&amp;lt;/math&amp;gt;, the phase term &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; becomes:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\varphi\approx\varphi(\omega_0)+\frac{\partial\varphi}{\partial\omega}(\omega-\omega_0)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here, &amp;lt;math&amp;gt;\omega_0&amp;lt;/math&amp;gt; is the central frequency. Substituting &amp;lt;math&amp;gt;v_g=\frac{c}{n_g}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\tan \gamma&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;\frac{d\omega}{dk}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\frac{n(\omega_0)}{n_g}\omega_0\frac{d\epsilon}{d\omega}&amp;lt;/math&amp;gt;, respectively, the formula above can be simplified to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\varphi\approx \frac{n(\omega_0)\omega_0}{c}(z\cos\epsilon(\omega_0)+x\sin\epsilon(\omega_0)) + \frac{\omega-\omega_0}{v_g\cos\gamma}(z\cos(\epsilon(\omega_0)+\gamma)+x\sin(\epsilon(\omega_0)+\gamma))&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, the speed of the wave packet (term with a low frequency &amp;lt;math&amp;gt;(\omega-\omega_0)&amp;lt;/math&amp;gt;) is modified to be &amp;lt;math&amp;gt;v_g\cos\gamma&amp;lt;/math&amp;gt;. The phase match condition becomes:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;v_\text{THz}=v_g\cos\gamma&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This shows that the phase match condition can be modulated by the parameter &amp;lt;math&amp;gt;\gamma&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Exact Calculation&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The THz field is generated by Difference Frequency Generation (DFG) described by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_\text{THz}(t)=\iint\chi(\omega_1)E^*(\omega_1)e^{-i\omega_1t+ik_1z\cos\epsilon_1+ik_1x\sin\epsilon_1}E(\omega_2)e^{i\omega_2 t-ik_2z\cos\epsilon_2-ik_2x\sin\epsilon_2}d\omega_1d\omega_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When we substitute &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\omega+\Omega&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;\omega_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\omega_2&amp;lt;/math&amp;gt;, the equation above becomes:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_\text{THz}(t)=\iint\chi(\omega)E^*(\omega)E(\omega+\Omega)e^{i\Omega t+i\frac{\Omega}{v_g\cos\gamma}(z\cos\gamma+x\sin\gamma)}d\omega d\Omega&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, the THz wave by frequency &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_\text{THz}(\Omega)=e^{i\Omega t-i\frac{\Omega}{v_\text{THz}}z}\int\chi(\omega)E^*(\omega)E(\omega+\Omega)e^{i\frac{\Omega}{v_g\cos\gamma}z-i\frac{\Omega}{v_\text{THz}}z}d\omega &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where a rotation of &amp;lt;math&amp;gt;\gamma&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;x-z&amp;lt;/math&amp;gt; plane is imposed. The term &amp;lt;math&amp;gt;e^{i\frac{\Omega}{v_g\cos\gamma}z-i\frac{\Omega}{v_\text{THz}}z}&amp;lt;/math&amp;gt; represents the phase mismatch.&lt;br /&gt;
&lt;br /&gt;
===Electro-Optical Sampling===&lt;br /&gt;
&lt;br /&gt;
The Terahertz photons has so low energy (~0.003 eV) that it can hardly be detected via photodiode made up of common semiconductor (band gap: &amp;gt;0.5eV). Even narrow bandgap semiconductor has a bandgap in the magnitude of 0.01 eV. Hence, conventional detectors cannot directly detect Terahertz photons. Nevertheless, the variance rate of terahertz frequency is in the magnitude of picoseconds. This hints us to use pulses with a duration of 0.1 picosecond magnitude as a &amp;quot;shutter&amp;quot; to capture the shape of terahertz wave.&lt;br /&gt;
&lt;br /&gt;
Optical pulses can detect the transient change of the optical property. Once the electric field of the terahertz wave alters the optical properties of the material, the probe pulse, i.e. the optical pulse, can instantaneously detect this change. This measurement technique is &amp;quot;Electro-Optical (EO) Sampling&amp;quot;. When modifying the time delay between the optical pulse and terahertz wave, the optical pulse can depict the electric field of terahertz wave point by point.&lt;br /&gt;
&lt;br /&gt;
In the experiment, birefringence is the most popular optical property used in EO sampling. This effect can be seen as a special sum-frequency generation . Since the frequency of terahertz wave is much lower than the optical pulse, it can be deemed as zero-frequency term in the special sum-frequency generation. Hence, the dielectric tensor becomes: &amp;lt;math&amp;gt;\varepsilon_{ij}=\chi^{(1)}_{ij}(\omega)+\sum_k\chi^{(2)}_{ijk}(0,\omega;\omega)E_{k,\text{THz}}&amp;lt;/math&amp;gt;. To give the refractive indices, we shall use the refractive ellipse. We reverse the dielectric tensor as &amp;lt;math&amp;gt;\varepsilon^{(-1)}&amp;lt;/math&amp;gt;. When applied Taylor expansion in the order of &amp;lt;math&amp;gt;E_{k,THz}&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt;\varepsilon^{-1}\approx\varepsilon^{-1}_{ij,0}+\sum_kr_{ijk}E_{k,\text{THz}}&amp;lt;/math&amp;gt;. Here, &amp;lt;math&amp;gt;\varepsilon^{-1}_{ij,0}&amp;lt;/math&amp;gt; is the dielectric tensor when there is no outer electric field, and &amp;lt;math&amp;gt;r_{ijk}&amp;lt;/math&amp;gt; is the EO coefficient&lt;br /&gt;
&lt;br /&gt;
According to the conservation of energy density &amp;lt;math&amp;gt;w=\frac{1}{2}\sum_{i,j}D_i\epsilon^{-1}_{ij}D_j&amp;lt;/math&amp;gt; and electric displacement &amp;lt;math&amp;gt;D_i&amp;lt;/math&amp;gt; with and without the medium, we can normalise the conversation relation as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
1=\sum_{i,j}\frac{u_iu_j}{n_{ij}^2}=u_iu_j\varepsilon^{-1}_{ij}\approx \sum_{i,j}u_iu_j(\varepsilon^{-1}_{ij,0}+\sum_k r_{ijk}E_{k,\text{THz}})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;u_i=\frac{D_i}{\sqrt{2w}}&amp;lt;/math&amp;gt; represents the direction of the outer optical field. The above quadric equation can be definitely simplified in the form of &amp;lt;math&amp;gt;\sum_i \frac{u_i\prime^2}{n_i^2}=1&amp;lt;/math&amp;gt; with a transformation &amp;lt;math&amp;gt;u_i\prime=\sum_{j}R_ij u_j&amp;lt;/math&amp;gt; via diagonalzing the tensor &amp;lt;math&amp;gt;\varepsilon^{-1}_{ij}&amp;lt;/math&amp;gt;. Then, we can simply gives the Jones matrix to describe the change of the polarisation of the incident laser. The Jones matrix can be:&lt;br /&gt;
&amp;lt;math&amp;gt;\mathbf{J} = \begin{bmatrix}&lt;br /&gt;
e^{ikn_1 d} &amp;amp;  0 \\&lt;br /&gt;
0 &amp;amp;  e^{ikn_2d} \\&lt;br /&gt;
\end{bmatrix}&amp;lt;/math&amp;gt;&lt;br /&gt;
, where we assume that the incident direction is in the z-direction (index 3).&lt;br /&gt;
&lt;br /&gt;
===Thermopile Detector===&lt;br /&gt;
To detect the generated THz waves, we employ a thermopile detector, which offers a cost-effective and sensitive solution for broadband THz detection. A thermopile is a thermal detector that consists of a series of thermocouples connected in series or parallel, producing a voltage in response to temperature differences across its junctions.&lt;br /&gt;
&lt;br /&gt;
When the THz radiation is absorbed by the blackened surface of the thermopile, it causes a temperature rise, generating a measurable voltage signal due to the Seebeck effect. Unlike semiconductor photodetectors, thermopiles do not rely on photon energy exceeding the material bandgap. This makes them especially suitable for detecting low-energy THz photons (∼0.003 eV), which are otherwise difficult to detect using conventional photodiodes.&lt;br /&gt;
&lt;br /&gt;
In our setup, the thermopile detector is positioned to capture the emitted THz beam after passing through the optical setup. Its broadband response allows us to record the relative intensity of the THz signal under different generation or modulation conditions. Though it does not provide time-resolved measurements, its simplicity and compatibility with room-temperature operation make it a practical tool for evaluating THz pulse generation in a laboratory environment.&lt;br /&gt;
[[File:Differential Temperature Thermopile.png|thumb|center|500px|Schematic of a thermopile structure showing heat flow and voltage generation due to temperature gradient.]]&lt;br /&gt;
&lt;br /&gt;
Thermopiles are used to provide an output in response to temperature as part of a temperature measuring device, such as the infrared thermometers widely used by medical professionals to measure body temperature, or in thermal accelerometers to measure the temperature profile inside the sealed cavity of the sensor. They are also used widely in heat flux sensors and pyrheliometers and gas burner safety controls. The output of a thermopile is usually in the range of tens or hundreds of millivolts. As well as increasing the signal level, the device may be used to provide spatial temperature averaging. Thermopiles are also used to generate electrical energy from, for instance, heat from electrical components, solar wind, radioactive materials, laser radiation or combustion. The process is also an example of the Peltier effect (electric current transferring heat energy) as the process transfers heat from the hot to the cold junctions.&lt;br /&gt;
&lt;br /&gt;
[[File:Thermopile Sensors.jpeg|thumb|center|500px|Thermopile Sensors]]&lt;br /&gt;
&lt;br /&gt;
==Measurements and Setups==&lt;br /&gt;
&lt;br /&gt;
=== EO Sampling with ZnTe===&lt;br /&gt;
&lt;br /&gt;
We use Zinc Telluride (ZnTe) for the EO Sampling. As the theory mentioned above, we shall first give out the electro-optical tensor &amp;lt;math&amp;gt;r_{ijk}&amp;lt;/math&amp;gt;. As reference says that the tensor can be simplified to be &amp;lt;math&amp;gt;r_{ijk}=r_{231}|\epsilon_{ijk}|&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\epsilon_{ijk}&amp;lt;/math&amp;gt; is the Levi-Civita symbol. In most references, &amp;lt;math&amp;gt;r_{231}&amp;lt;/math&amp;gt; is simplified to be &amp;lt;math&amp;gt;r_{41}&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Meanwhile, though ZnTe is isotropic, the measurement using its (110) plane. Thus, we shall first rotate the frame to fit the incident plane. Now we assume that the basis is &amp;lt;math&amp;gt;\mathbf{e}_1=\mathbf{e}_x=\frac{1}{\sqrt{2}}(-1,1,0)&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\mathbf{e}_2=\mathbf{e}_y=(0,0,1)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\mathbf{e}_3=\mathbf{e}_z=\frac{1}{\sqrt{2}}(1,1,0)&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Now, we assume that the incident Terahertz wave has a polarisation in (110) plane with an angle &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt; between &amp;lt;math&amp;gt;\mathbf{e}_x&amp;lt;/math&amp;gt;. The Terahertz wave vector should be &amp;lt;math&amp;gt;\mathbf{E}_\text{THz}=E_\text{THz}\left(-\frac{\cos\alpha}{\sqrt{2}}, \frac{\cos\alpha}{\sqrt{2}},\sin\alpha\right)&amp;lt;/math&amp;gt;. Hence, we can write out the refractive index as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathbf{\varepsilon}^{-1}=\begin{bmatrix}&lt;br /&gt;
\frac{1}{n_0^2} &amp;amp;  r_{41} E_\text{THz}\sin\alpha &amp;amp; r_{41} \frac{E_\text{THz}}{\sqrt{2}}\cos\alpha \\&lt;br /&gt;
r_{41} E_\text{THz}\sin\alpha &amp;amp;  \frac{1}{n_0^2} &amp;amp; -r_{41} \frac{E_\text{THz}}{\sqrt{2}}\cos\alpha \\&lt;br /&gt;
r_{41} \frac{E_\text{THz}}{\sqrt{2}}\cos\alpha &amp;amp; -r_{41} \frac{E_\text{THz}}{\sqrt{2}}\cos\alpha &amp;amp; \frac{1}{n_0^2}\\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which gives Eigenvalues:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_1^{-2}=\frac{1}{n_0^2}-\frac{r_{41}E_\text{THz}}{2}(\sin\alpha+\sqrt{1+3\cos^2\alpha})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_2^{-2}=\frac{1}{n_0^2}-\frac{r_{41}E_\text{THz}}{2}(\sin\alpha-\sqrt{1+3\cos^2\alpha})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_3^{-2}=\frac{1}{n_0^2}+r_{41}E_\text{THz}\sin\alpha&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and the eigenvectors:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u_1\prime\propto\left(-1, 1,b_1(\alpha)\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u_2\prime\propto\left(1, -1,b_2(\alpha)\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u_3=\frac{1}{\sqrt{2}}(-1,-1,0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;b_{1,2}(\alpha)=\frac{\sqrt{7\cos^2\alpha+1}\pm3\sin\alpha}{\cos^2\alpha+1\pm\sin\alpha\sqrt{7\cos^2\alpha+1}}\cos\alpha&amp;lt;/math&amp;gt;. Notice that &amp;lt;math&amp;gt;r_{41}\approx4pm/V&amp;lt;/math&amp;gt;. Hence, when &amp;lt;math&amp;gt;E_{THz}&amp;lt;1 MV/cm&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt;r_{41}E_\text{THz}\leq4\times10^{-4}\ll1&amp;lt;/math&amp;gt;. The refractive indices are approximately:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_1=n_0-\frac{n_0^3r_{41}E_\text{THz}}{4}(\sin\alpha+\sqrt{1+3\cos^2\alpha})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_2=n_0-\frac{n_0^3r_{41}E_\text{THz}}{4}(\sin\alpha-\sqrt{1+3\cos^2\alpha})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_3=n_0+\frac{n_0^3r_{41}E_\text{THz}\sin\alpha}{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, we find that the birefringent coefficient &amp;lt;math&amp;gt;\Delta n=n_1-n_2=\frac{n_0^3r_{41}E_\text{THz}}{2}(\sqrt{1+3\cos^2\alpha})\leq n_0^3r_{41}E_\text{THz}&amp;lt;/math&amp;gt; has a maximum at &amp;lt;math&amp;gt;\alpha=0&amp;lt;/math&amp;gt;. Here, the eigenvectors, i.e., the principle axis of ZnTe, are &amp;lt;math&amp;gt;&lt;br /&gt;
u_1\prime=\left(-\frac{1}{2}, \frac{1}{2}, \frac{1}{\sqrt{2}}\right)=\frac{1}{\sqrt{2}}\mathbf{e}_x+\frac{1}{\sqrt{2}}\mathbf{e}_y, u_2\prime=\left(\frac{1}{2}, -\frac{1}{2}, \frac{1}{\sqrt{2}}\right)=\frac{1}{\sqrt{2}}\mathbf{e}_x+\frac{1}{\sqrt{2}}\mathbf{e}_y&amp;lt;/math&amp;gt;. It shows that the angle between the new axis and the old ones is strictly 45 degree. Therefore, when the normally incident beam has a polarisation along &amp;lt;math&amp;gt;\mathbf{e}_x&amp;lt;/math&amp;gt;, it would becoming elliptically polarised. Specifically, in the experiment, the linearly polarised beam would pass through a Quarter Wave Plate (QWP), then be analysed by Wollaston prism and finally collected by balance detector after passing ZnTe. The balance detector here actually consists of 2 detectors same in type.&lt;br /&gt;
&lt;br /&gt;
We can thereby show the optical field after the Wollaston prism as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\left(E_1\prime, E_2\prime\right)^T=R\mathbf{Q}\mathbf{J}R(E_\text{optical},0)^T&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where the QWP matrix is&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathbf{Q}=\begin{bmatrix}&lt;br /&gt;
1&amp;amp;0\\&lt;br /&gt;
0&amp;amp;i\\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt; and the rotation matrix representing a rotation of 45 deg is&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathbf{R}=\begin{bmatrix}&lt;br /&gt;
\frac{1}{\sqrt{2}}&amp;amp;\frac{1}{\sqrt{2}}\\&lt;br /&gt;
-\frac{1}{\sqrt{2}}&amp;amp;\frac{1}{\sqrt{2}}\\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;. Hence, the formula can be simplified as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\left(E_1\prime, E_2\prime\right)^T=\frac{e^{ik\frac{n_1+n_2}{2}d}E_\text{optical}}{2}\left(ie^{ki\frac{n_1-n_2}{2}d}+e^{-ik\frac{n_1-n_2}{2}d},-ie^{ik\frac{n_1-n_2}{2}d}+e^{-ik\frac{n_1-n_2}{2}d}\right)^T&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the experiment, we extract the difference between the signals from the 2 detectors via lock-in amplifier. As the intensity &amp;lt;math&amp;gt;I_0\propto E_\text{optical}^2&amp;lt;/math&amp;gt;, the final measurement would gives:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
I_\text{signal}=I_0\sin\left(k(n_1-n_2)d\right)=I_0\sin\left(kr_{41} E_\text{THz}n_0^3d\right)\approx I_0kr_{41} E_\text{THz}n_0^3d&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore, we can inversely give the electric field of Terahertz wave as:&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
E_\text{THz}=\frac{I_\text{signal}}{I_0kr_{41}E_\text{THz}n_0^3d}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Modification given finite delay in the circuit ===&lt;br /&gt;
&lt;br /&gt;
In the measurement, we use a source of 2 kHz laser and the frequency of chopper is set to be 1 kHz. However, due to the delay in the circuit, we saw periodic exponential-like signal other than Dirac delta signal as expected. Here, we analyse how the exponential data would affect the result. Assume that the detector is not saturated. Hence, in 1 period, the signal would be the sum of all past exponentially-decaying signals:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
s_p(t)=\sum_{n=0}^{+\infty}s_0e^{-\frac{nT+t}{\tau}}=\frac{s_0e^{-\frac{t}{\tau}}}{1-e^{T/\tau}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\tau&amp;lt;/math&amp;gt; is the time constant of the detector and &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; is the period of the signal. Given a periodic continuation of the signal, we can give the Fourier components by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\tilde{s}(f)=\frac{1}{T}\int_{0}^T\frac{s_0e^{-\frac{t}{\tau}}}{1-e^{T/\tau}}e^{i2\pi ft}dt=\frac{\tau}{T}\frac{1}{1+i\frac{2\pi}{f\tau}}s_0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where frequency &amp;lt;math&amp;gt;f=\frac{n}{T}&amp;lt;/math&amp;gt; is a discrete variable. In the experiment, we measure the Terahertz wave in frequency &amp;lt;math&amp;gt;f_0&amp;lt;/math&amp;gt; and the optical intensity in frequency &amp;lt;math&amp;gt;f_1=2f_0&amp;lt;/math&amp;gt;. Therefore, the lock-in outputs &amp;lt;math&amp;gt;U_{1,2}&amp;lt;/math&amp;gt; and the real values &amp;lt;math&amp;gt;s_{1,2}&amp;lt;/math&amp;gt; should have a relation as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{s_1}{s_2}=\sqrt{\frac{1+\left(\frac{2\pi}{f_0\tau}\right)^2}{1+\left(\frac{2\pi}{2f_0\tau}\right)^2}}\frac{U_1}{U_2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This relation shows that when &amp;lt;math&amp;gt;\tau\rightarrow0&amp;lt;/math&amp;gt;, the real value might be 2 times of the outputs, verified by our program. Here, we measured the&lt;br /&gt;
&lt;br /&gt;
===EO Sampling Setup===&lt;br /&gt;
[[file:schem_eosampling.png|600px|thumb|right|Schematics of Setup with Electro-Optical Sampling]]&lt;br /&gt;
&lt;br /&gt;
Firstly, we try to detect the Terahertz wave with the most traditional method, electro-optical sampling, to demonstrate that we are truely measuring the terahertz wave. This is because the the EO sampling actually measures the wave shape of the Terahertz pulse with a resolution of 0.07 ps which is much smaller than the period of the terahertz wave (2 ps). Hence, we expect to see a oscillation signal representing the electric field of the terahertz wave. Then, we can compare the wave to others result, thereby demonstrating that this pulse is terahertz wave.&lt;br /&gt;
&lt;br /&gt;
The setup (figure in the right) mainly consist of 3 parts, pump path for generating terahertz wave (red one), terahertz wave path (blue one) and the probe path for EO sampling (green one). All pump and probe beam are 2 kHz, 1030 nm Yb:YAG laser with a duration of about 200 fs. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Pump Path&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The delay line is used to control the time delay between the THz pulse and the probe pulse. Then, a telescope with a cylindrical convex lens (f=100 mm) and a conjugate concave lens (f=-50 mm) compresses the beam in the direction perpendicular to the table. The grating then introduces a tilt in the wavefront of the pulse. Subsequently, the pulse will be imaged into the Lithium Niobate (LN) crystal with another telescope. The second one consist of cylindrical convex lens with focal lengths of 50 mm and 100 mm. The Half-Wave Plate (HWP) before the grating is used to optimise the efficiency of the grating, while the one before LN crystal ensures that the polarisation of the beam aligns with the d33 axis to give a maximum THz generation efficiency.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Probe Path&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The probe beam has an energy that is much smaller than the pump path to protect the EO crystal (Zinc Telluride, ZnTe) and the photodiode detectors. When attenuated by the HWP and Polarisation Beam Splitter (PBS), the probe beam would firstly go into a delay path to match the time delay in the pump path. Then, a convex lens with a focal length of 150 mm focuses the beam on the ZnTe to detect the change of birefringence due to Terahertz pulse. Then, the beam is collimated by a conjugated convex lens with a focal length of 50 mm and analysed by the Wollaston prism. The splitted beams would go into 2 same detectors. Experimentally, the linear range of the photodiode on the lock-in amplifier is about from 0~9 mV in our setup.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Terahertz Path&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The Terahertz path is collected by the first Off-Axis Parabolic mirror (OAP) with a focal length of 76.2 mm. Then, it&#039;s collimated by conjugated OPA with focal lengths of 76.2 mm and 101.6 mm. In the end, it would be focused by the final OPA on the ZnTe. The OPA here has a tiny tunnel to allow the 1030 nm probe beam to pass.&lt;br /&gt;
&lt;br /&gt;
===Thermopile Setup===&lt;br /&gt;
&lt;br /&gt;
[[file:schem_thermopile.png|600px|thumb|right|Schematics of setup with thermopile sensor]]&lt;br /&gt;
&lt;br /&gt;
In our second attempt, we try to detect the Terahertz pulse directly via a thermopile sensor.&lt;br /&gt;
&lt;br /&gt;
==Source for Codes==&lt;br /&gt;
===Test Program for Signal Distortion===&lt;br /&gt;
&lt;br /&gt;
===Source for Auto-measurement Program===&lt;br /&gt;
&lt;br /&gt;
==Reference==&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Terahertz_Electromagnetic_Wave_Detection&amp;diff=1229</id>
		<title>Terahertz Electromagnetic Wave Detection</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Terahertz_Electromagnetic_Wave_Detection&amp;diff=1229"/>
		<updated>2025-04-24T03:49:03Z</updated>

		<summary type="html">&lt;p&gt;Bohan: /* Thermopile Detector */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Members==&lt;br /&gt;
&lt;br /&gt;
Luo Shizhuo E1353445@u.nus.edu&lt;br /&gt;
&lt;br /&gt;
Zhang Bohan E1349227@u.nus.edu&lt;br /&gt;
&lt;br /&gt;
==Project Overview==&lt;br /&gt;
&lt;br /&gt;
Terahertz (THz) waves are rather useful in communication (6G communication: 0.3~3 THz), astronomy (millimetre telescope: 0.22 THz) and solid state material characterisation. However, the generation and detection of THz wave so difficult that it is named as the &amp;quot;THz Gap&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
In this project, we aim to generate and detect a THz pulse with a traditional method (Electro-Optical Sampling) and then via a commercial thermopile sensor. (Specifically, we will use LiNbO3 (LN) crystal, which is reported to be capable of generating THz pulses easily.)&lt;br /&gt;
&lt;br /&gt;
This project can provide a cheaper option compared to specific THz camera (like THz fluorescence camera), and enable us to observe the pattern of THz wave in a more cost-effective way.&lt;br /&gt;
&lt;br /&gt;
==Theory Basis==&lt;br /&gt;
&lt;br /&gt;
===LN-based THz pulse generation===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Phase Match Condition&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We assume that an electromagnetic wave goes in the direction with an angle &amp;lt;math&amp;gt;\epsilon&amp;lt;/math&amp;gt; between z axis. The electric field is given as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E(t)=\int E(\omega) e^{i\omega t-ikz\cdot\cos\epsilon-ikx\cdot\sin\epsilon} d\omega=\int E(\omega) e^{i\omega t-i\varphi} d\omega&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\varphi=kz\cdot\cos\epsilon+kx\cdot\sin\epsilon&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; is the wave vector. The phase term &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; indicates the direction of the motion. When an angular dispersion by frequency &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is introduce in deviation angle &amp;lt;math&amp;gt;\epsilon&amp;lt;/math&amp;gt;, the phase term &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; becomes:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\varphi\approx\varphi(\omega_0)+\frac{\partial\varphi}{\partial\omega}(\omega-\omega_0)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here, &amp;lt;math&amp;gt;\omega_0&amp;lt;/math&amp;gt; is the central frequency. Substituting &amp;lt;math&amp;gt;v_g=\frac{c}{n_g}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\tan \gamma&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;\frac{d\omega}{dk}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\frac{n(\omega_0)}{n_g}\omega_0\frac{d\epsilon}{d\omega}&amp;lt;/math&amp;gt;, respectively, the formula above can be simplified to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\varphi\approx \frac{n(\omega_0)\omega_0}{c}(z\cos\epsilon(\omega_0)+x\sin\epsilon(\omega_0)) + \frac{\omega-\omega_0}{v_g\cos\gamma}(z\cos(\epsilon(\omega_0)+\gamma)+x\sin(\epsilon(\omega_0)+\gamma))&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, the speed of the wave packet (term with a low frequency &amp;lt;math&amp;gt;(\omega-\omega_0)&amp;lt;/math&amp;gt;) is modified to be &amp;lt;math&amp;gt;v_g\cos\gamma&amp;lt;/math&amp;gt;. The phase match condition becomes:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;v_\text{THz}=v_g\cos\gamma&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This shows that the phase match condition can be modulated by the parameter &amp;lt;math&amp;gt;\gamma&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Exact Calculation&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The THz field is generated by Difference Frequency Generation (DFG) described by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_\text{THz}(t)=\iint\chi(\omega_1)E^*(\omega_1)e^{-i\omega_1t+ik_1z\cos\epsilon_1+ik_1x\sin\epsilon_1}E(\omega_2)e^{i\omega_2 t-ik_2z\cos\epsilon_2-ik_2x\sin\epsilon_2}d\omega_1d\omega_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When we substitute &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\omega+\Omega&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;\omega_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\omega_2&amp;lt;/math&amp;gt;, the equation above becomes:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_\text{THz}(t)=\iint\chi(\omega)E^*(\omega)E(\omega+\Omega)e^{i\Omega t+i\frac{\Omega}{v_g\cos\gamma}(z\cos\gamma+x\sin\gamma)}d\omega d\Omega&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, the THz wave by frequency &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_\text{THz}(\Omega)=e^{i\Omega t-i\frac{\Omega}{v_\text{THz}}z}\int\chi(\omega)E^*(\omega)E(\omega+\Omega)e^{i\frac{\Omega}{v_g\cos\gamma}z-i\frac{\Omega}{v_\text{THz}}z}d\omega &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where a rotation of &amp;lt;math&amp;gt;\gamma&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;x-z&amp;lt;/math&amp;gt; plane is imposed. The term &amp;lt;math&amp;gt;e^{i\frac{\Omega}{v_g\cos\gamma}z-i\frac{\Omega}{v_\text{THz}}z}&amp;lt;/math&amp;gt; represents the phase mismatch.&lt;br /&gt;
&lt;br /&gt;
===Electro-Optical Sampling===&lt;br /&gt;
&lt;br /&gt;
The Terahertz photons has so low energy (~0.003 eV) that it can hardly be detected via photodiode made up of common semiconductor (band gap: &amp;gt;0.5eV). Even narrow bandgap semiconductor has a bandgap in the magnitude of 0.01 eV. Hence, conventional detectors cannot directly detect Terahertz photons. Nevertheless, the variance rate of terahertz frequency is in the magnitude of picoseconds. This hints us to use pulses with a duration of 0.1 picosecond magnitude as a &amp;quot;shutter&amp;quot; to capture the shape of terahertz wave.&lt;br /&gt;
&lt;br /&gt;
Optical pulses can detect the transient change of the optical property. Once the electric field of the terahertz wave alters the optical properties of the material, the probe pulse, i.e. the optical pulse, can instantaneously detect this change. This measurement technique is &amp;quot;Electro-Optical (EO) Sampling&amp;quot;. When modifying the time delay between the optical pulse and terahertz wave, the optical pulse can depict the electric field of terahertz wave point by point.&lt;br /&gt;
&lt;br /&gt;
In the experiment, birefringence is the most popular optical property used in EO sampling. This effect can be seen as a special sum-frequency generation . Since the frequency of terahertz wave is much lower than the optical pulse, it can be deemed as zero-frequency term in the special sum-frequency generation. Hence, the dielectric tensor becomes: &amp;lt;math&amp;gt;\varepsilon_{ij}=\chi^{(1)}_{ij}(\omega)+\sum_k\chi^{(2)}_{ijk}(0,\omega;\omega)E_{k,\text{THz}}&amp;lt;/math&amp;gt;. To give the refractive indices, we shall use the refractive ellipse. We reverse the dielectric tensor as &amp;lt;math&amp;gt;\varepsilon^{(-1)}&amp;lt;/math&amp;gt;. When applied Taylor expansion in the order of &amp;lt;math&amp;gt;E_{k,THz}&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt;\varepsilon^{-1}\approx\varepsilon^{-1}_{ij,0}+\sum_kr_{ijk}E_{k,\text{THz}}&amp;lt;/math&amp;gt;. Here, &amp;lt;math&amp;gt;\varepsilon^{-1}_{ij,0}&amp;lt;/math&amp;gt; is the dielectric tensor when there is no outer electric field, and &amp;lt;math&amp;gt;r_{ijk}&amp;lt;/math&amp;gt; is the EO coefficient&lt;br /&gt;
&lt;br /&gt;
According to the conservation of energy density &amp;lt;math&amp;gt;w=\frac{1}{2}\sum_{i,j}D_i\epsilon^{-1}_{ij}D_j&amp;lt;/math&amp;gt; and electric displacement &amp;lt;math&amp;gt;D_i&amp;lt;/math&amp;gt; with and without the medium, we can normalise the conversation relation as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
1=\sum_{i,j}\frac{u_iu_j}{n_{ij}^2}=u_iu_j\varepsilon^{-1}_{ij}\approx \sum_{i,j}u_iu_j(\varepsilon^{-1}_{ij,0}+\sum_k r_{ijk}E_{k,\text{THz}})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;u_i=\frac{D_i}{\sqrt{2w}}&amp;lt;/math&amp;gt; represents the direction of the outer optical field. The above quadric equation can be definitely simplified in the form of &amp;lt;math&amp;gt;\sum_i \frac{u_i\prime^2}{n_i^2}=1&amp;lt;/math&amp;gt; with a transformation &amp;lt;math&amp;gt;u_i\prime=\sum_{j}R_ij u_j&amp;lt;/math&amp;gt; via diagonalzing the tensor &amp;lt;math&amp;gt;\varepsilon^{-1}_{ij}&amp;lt;/math&amp;gt;. Then, we can simply gives the Jones matrix to describe the change of the polarisation of the incident laser. The Jones matrix can be:&lt;br /&gt;
&amp;lt;math&amp;gt;\mathbf{J} = \begin{bmatrix}&lt;br /&gt;
e^{ikn_1 d} &amp;amp;  0 \\&lt;br /&gt;
0 &amp;amp;  e^{ikn_2d} \\&lt;br /&gt;
\end{bmatrix}&amp;lt;/math&amp;gt;&lt;br /&gt;
, where we assume that the incident direction is in the z-direction (index 3).&lt;br /&gt;
&lt;br /&gt;
===Thermopile Detector===&lt;br /&gt;
To detect the generated THz waves, we employ a thermopile detector, which offers a cost-effective and sensitive solution for broadband THz detection. A thermopile is a thermal detector that consists of a series of thermocouples connected in series or parallel, producing a voltage in response to temperature differences across its junctions.&lt;br /&gt;
&lt;br /&gt;
When the THz radiation is absorbed by the blackened surface of the thermopile, it causes a temperature rise, generating a measurable voltage signal due to the Seebeck effect. Unlike semiconductor photodetectors, thermopiles do not rely on photon energy exceeding the material bandgap. This makes them especially suitable for detecting low-energy THz photons (∼0.003 eV), which are otherwise difficult to detect using conventional photodiodes.&lt;br /&gt;
&lt;br /&gt;
In our setup, the thermopile detector is positioned to capture the emitted THz beam after passing through the optical setup. Its broadband response allows us to record the relative intensity of the THz signal under different generation or modulation conditions. Though it does not provide time-resolved measurements, its simplicity and compatibility with room-temperature operation make it a practical tool for evaluating THz pulse generation in a laboratory environment.&lt;br /&gt;
[[File:Differential Temperature Thermopile.png|thumb|center|500px|Schematic of a thermopile structure showing heat flow and voltage generation due to temperature gradient.]]&lt;br /&gt;
&lt;br /&gt;
Thermopiles are used to provide an output in response to temperature as part of a temperature measuring device, such as the infrared thermometers widely used by medical professionals to measure body temperature, or in thermal accelerometers to measure the temperature profile inside the sealed cavity of the sensor. They are also used widely in heat flux sensors and pyrheliometers and gas burner safety controls. The output of a thermopile is usually in the range of tens or hundreds of millivolts. As well as increasing the signal level, the device may be used to provide spatial temperature averaging. Thermopiles are also used to generate electrical energy from, for instance, heat from electrical components, solar wind, radioactive materials, laser radiation or combustion. The process is also an example of the Peltier effect (electric current transferring heat energy) as the process transfers heat from the hot to the cold junctions.&lt;br /&gt;
&lt;br /&gt;
[[File:Thermopile_Sensors.png|thumb|center|500px|Thermopile Sensors]]&lt;br /&gt;
&lt;br /&gt;
==Measurements and Setups==&lt;br /&gt;
&lt;br /&gt;
=== EO Sampling with ZnTe===&lt;br /&gt;
&lt;br /&gt;
We use Zinc Telluride (ZnTe) for the EO Sampling. As the theory mentioned above, we shall first give out the electro-optical tensor &amp;lt;math&amp;gt;r_{ijk}&amp;lt;/math&amp;gt;. As reference says that the tensor can be simplified to be &amp;lt;math&amp;gt;r_{ijk}=r_{231}|\epsilon_{ijk}|&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\epsilon_{ijk}&amp;lt;/math&amp;gt; is the Levi-Civita symbol. In most references, &amp;lt;math&amp;gt;r_{231}&amp;lt;/math&amp;gt; is simplified to be &amp;lt;math&amp;gt;r_{41}&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Meanwhile, though ZnTe is isotropic, the measurement using its (110) plane. Thus, we shall first rotate the frame to fit the incident plane. Now we assume that the basis is &amp;lt;math&amp;gt;\mathbf{e}_1=\mathbf{e}_x=\frac{1}{\sqrt{2}}(-1,1,0)&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\mathbf{e}_2=\mathbf{e}_y=(0,0,1)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\mathbf{e}_3=\mathbf{e}_z=\frac{1}{\sqrt{2}}(1,1,0)&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Now, we assume that the incident Terahertz wave has a polarisation in (110) plane with an angle &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt; between &amp;lt;math&amp;gt;\mathbf{e}_x&amp;lt;/math&amp;gt;. The Terahertz wave vector should be &amp;lt;math&amp;gt;\mathbf{E}_\text{THz}=E_\text{THz}\left(-\frac{\cos\alpha}{\sqrt{2}}, \frac{\cos\alpha}{\sqrt{2}},\sin\alpha\right)&amp;lt;/math&amp;gt;. Hence, we can write out the refractive index as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathbf{\varepsilon}^{-1}=\begin{bmatrix}&lt;br /&gt;
\frac{1}{n_0^2} &amp;amp;  r_{41} E_\text{THz}\sin\alpha &amp;amp; r_{41} \frac{E_\text{THz}}{\sqrt{2}}\cos\alpha \\&lt;br /&gt;
r_{41} E_\text{THz}\sin\alpha &amp;amp;  \frac{1}{n_0^2} &amp;amp; -r_{41} \frac{E_\text{THz}}{\sqrt{2}}\cos\alpha \\&lt;br /&gt;
r_{41} \frac{E_\text{THz}}{\sqrt{2}}\cos\alpha &amp;amp; -r_{41} \frac{E_\text{THz}}{\sqrt{2}}\cos\alpha &amp;amp; \frac{1}{n_0^2}\\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which gives Eigenvalues:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_1^{-2}=\frac{1}{n_0^2}-\frac{r_{41}E_\text{THz}}{2}(\sin\alpha+\sqrt{1+3\cos^2\alpha})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_2^{-2}=\frac{1}{n_0^2}-\frac{r_{41}E_\text{THz}}{2}(\sin\alpha-\sqrt{1+3\cos^2\alpha})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_3^{-2}=\frac{1}{n_0^2}+r_{41}E_\text{THz}\sin\alpha&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and the eigenvectors:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u_1\prime\propto\left(-1, 1,b_1(\alpha)\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u_2\prime\propto\left(1, -1,b_2(\alpha)\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u_3=\frac{1}{\sqrt{2}}(-1,-1,0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;b_{1,2}(\alpha)=\frac{\sqrt{7\cos^2\alpha+1}\pm3\sin\alpha}{\cos^2\alpha+1\pm\sin\alpha\sqrt{7\cos^2\alpha+1}}\cos\alpha&amp;lt;/math&amp;gt;. Notice that &amp;lt;math&amp;gt;r_{41}\approx4pm/V&amp;lt;/math&amp;gt;. Hence, when &amp;lt;math&amp;gt;E_{THz}&amp;lt;1 MV/cm&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt;r_{41}E_\text{THz}\leq4\times10^{-4}\ll1&amp;lt;/math&amp;gt;. The refractive indices are approximately:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_1=n_0-\frac{n_0^3r_{41}E_\text{THz}}{4}(\sin\alpha+\sqrt{1+3\cos^2\alpha})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_2=n_0-\frac{n_0^3r_{41}E_\text{THz}}{4}(\sin\alpha-\sqrt{1+3\cos^2\alpha})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_3=n_0+\frac{n_0^3r_{41}E_\text{THz}\sin\alpha}{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, we find that the birefringent coefficient &amp;lt;math&amp;gt;\Delta n=n_1-n_2=\frac{n_0^3r_{41}E_\text{THz}}{2}(\sqrt{1+3\cos^2\alpha})\leq n_0^3r_{41}E_\text{THz}&amp;lt;/math&amp;gt; has a maximum at &amp;lt;math&amp;gt;\alpha=0&amp;lt;/math&amp;gt;. Here, the eigenvectors, i.e., the principle axis of ZnTe, are &amp;lt;math&amp;gt;&lt;br /&gt;
u_1\prime=\left(-\frac{1}{2}, \frac{1}{2}, \frac{1}{\sqrt{2}}\right)=\frac{1}{\sqrt{2}}\mathbf{e}_x+\frac{1}{\sqrt{2}}\mathbf{e}_y, u_2\prime=\left(\frac{1}{2}, -\frac{1}{2}, \frac{1}{\sqrt{2}}\right)=\frac{1}{\sqrt{2}}\mathbf{e}_x+\frac{1}{\sqrt{2}}\mathbf{e}_y&amp;lt;/math&amp;gt;. It shows that the angle between the new axis and the old ones is strictly 45 degree. Therefore, when the normally incident beam has a polarisation along &amp;lt;math&amp;gt;\mathbf{e}_x&amp;lt;/math&amp;gt;, it would becoming elliptically polarised. Specifically, in the experiment, the linearly polarised beam would pass through a Quarter Wave Plate (QWP), then be analysed by Wollaston prism and finally collected by balance detector after passing ZnTe. The balance detector here actually consists of 2 detectors same in type.&lt;br /&gt;
&lt;br /&gt;
We can thereby show the optical field after the Wollaston prism as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\left(E_1\prime, E_2\prime\right)^T=R\mathbf{Q}\mathbf{J}R(E_\text{optical},0)^T&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where the QWP matrix is&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathbf{Q}=\begin{bmatrix}&lt;br /&gt;
1&amp;amp;0\\&lt;br /&gt;
0&amp;amp;i\\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt; and the rotation matrix representing a rotation of 45 deg is&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathbf{R}=\begin{bmatrix}&lt;br /&gt;
\frac{1}{\sqrt{2}}&amp;amp;\frac{1}{\sqrt{2}}\\&lt;br /&gt;
-\frac{1}{\sqrt{2}}&amp;amp;\frac{1}{\sqrt{2}}\\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;. Hence, the formula can be simplified as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\left(E_1\prime, E_2\prime\right)^T=\frac{e^{ik\frac{n_1+n_2}{2}d}E_\text{optical}}{2}\left(ie^{ki\frac{n_1-n_2}{2}d}+e^{-ik\frac{n_1-n_2}{2}d},-ie^{ik\frac{n_1-n_2}{2}d}+e^{-ik\frac{n_1-n_2}{2}d}\right)^T&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the experiment, we extract the difference between the signals from the 2 detectors via lock-in amplifier. As the intensity &amp;lt;math&amp;gt;I_0\propto E_\text{optical}^2&amp;lt;/math&amp;gt;, the final measurement would gives:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
I_\text{signal}=I_0\sin\left(k(n_1-n_2)d\right)=I_0\sin\left(kr_{41} E_\text{THz}n_0^3d\right)\approx I_0kr_{41} E_\text{THz}n_0^3d&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore, we can inversely give the electric field of Terahertz wave as:&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
E_\text{THz}=\frac{I_\text{signal}}{I_0kr_{41}E_\text{THz}n_0^3d}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Modification given finite delay in the circuit ===&lt;br /&gt;
&lt;br /&gt;
In the measurement, we use a source of 2 kHz laser and the frequency of chopper is set to be 1 kHz. However, due to the delay in the circuit, we saw periodic exponential-like signal other than Dirac delta signal as expected. Here, we analyse how the exponential data would affect the result. Assume that the detector is not saturated. Hence, in 1 period, the signal would be the sum of all past exponentially-decaying signals:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
s_p(t)=\sum_{n=0}^{+\infty}s_0e^{-\frac{nT+t}{\tau}}=\frac{s_0e^{-\frac{t}{\tau}}}{1-e^{T/\tau}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\tau&amp;lt;/math&amp;gt; is the time constant of the detector and &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; is the period of the signal. Given a periodic continuation of the signal, we can give the Fourier components by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\tilde{s}(f)=\frac{1}{T}\int_{0}^T\frac{s_0e^{-\frac{t}{\tau}}}{1-e^{T/\tau}}e^{i2\pi ft}dt=\frac{\tau}{T}\frac{1}{1+i\frac{2\pi}{f\tau}}s_0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where frequency &amp;lt;math&amp;gt;f=\frac{n}{T}&amp;lt;/math&amp;gt; is a discrete variable. In the experiment, we measure the Terahertz wave in frequency &amp;lt;math&amp;gt;f_0&amp;lt;/math&amp;gt; and the optical intensity in frequency &amp;lt;math&amp;gt;f_1=2f_0&amp;lt;/math&amp;gt;. Therefore, the lock-in outputs &amp;lt;math&amp;gt;U_{1,2}&amp;lt;/math&amp;gt; and the real values &amp;lt;math&amp;gt;s_{1,2}&amp;lt;/math&amp;gt; should have a relation as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{s_1}{s_2}=\sqrt{\frac{1+\left(\frac{2\pi}{f_0\tau}\right)^2}{1+\left(\frac{2\pi}{2f_0\tau}\right)^2}}\frac{U_1}{U_2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This relation shows that when &amp;lt;math&amp;gt;\tau\rightarrow0&amp;lt;/math&amp;gt;, the real value might be 2 times of the outputs, verified by our program. Here, we measured the&lt;br /&gt;
&lt;br /&gt;
===EO Sampling Setup===&lt;br /&gt;
[[file:schem_eosampling.png|600px|thumb|right|Schematics of Setup with Electro-Optical Sampling]]&lt;br /&gt;
&lt;br /&gt;
Firstly, we try to detect the Terahertz wave with the most traditional method, electro-optical sampling, to demonstrate that we are truely measuring the terahertz wave. This is because the the EO sampling actually measures the wave shape of the Terahertz pulse with a resolution of 0.07 ps which is much smaller than the period of the terahertz wave (2 ps). Hence, we expect to see a oscillation signal representing the electric field of the terahertz wave. Then, we can compare the wave to others result, thereby demonstrating that this pulse is terahertz wave.&lt;br /&gt;
&lt;br /&gt;
The setup (figure in the right) mainly consist of 3 parts, pump path for generating terahertz wave (red one), terahertz wave path (blue one) and the probe path for EO sampling (green one). All pump and probe beam are 2 kHz, 1030 nm Yb:YAG laser with a duration of about 200 fs. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Pump Path&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The delay line is used to control the time delay between the THz pulse and the probe pulse. Then, a telescope with a cylindrical convex lens (f=100 mm) and a conjugate concave lens (f=-50 mm) compresses the beam in the direction perpendicular to the table. The grating then introduces a tilt in the wavefront of the pulse. Subsequently, the pulse will be imaged into the Lithium Niobate (LN) crystal with another telescope. The second one consist of cylindrical convex lens with focal lengths of 50 mm and 100 mm. The Half-Wave Plate (HWP) before the grating is used to optimise the efficiency of the grating, while the one before LN crystal ensures that the polarisation of the beam aligns with the d33 axis to give a maximum THz generation efficiency.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Probe Path&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The probe beam has an energy that is much smaller than the pump path to protect the EO crystal (Zinc Telluride, ZnTe) and the photodiode detectors. When attenuated by the HWP and Polarisation Beam Splitter (PBS), the probe beam would firstly go into a delay path to match the time delay in the pump path. Then, a convex lens with a focal length of 150 mm focuses the beam on the ZnTe to detect the change of birefringence due to Terahertz pulse. Then, the beam is collimated by a conjugated convex lens with a focal length of 50 mm and analysed by the Wollaston prism. The splitted beams would go into 2 same detectors. Experimentally, the linear range of the photodiode on the lock-in amplifier is about from 0~9 mV in our setup.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Terahertz Path&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The Terahertz path is collected by the first Off-Axis Parabolic mirror (OAP) with a focal length of 76.2 mm. Then, it&#039;s collimated by conjugated OPA with focal lengths of 76.2 mm and 101.6 mm. In the end, it would be focused by the final OPA on the ZnTe. The OPA here has a tiny tunnel to allow the 1030 nm probe beam to pass.&lt;br /&gt;
&lt;br /&gt;
===Thermopile Setup===&lt;br /&gt;
&lt;br /&gt;
[[file:schem_thermopile.png|600px|thumb|right|Schematics of setup with thermopile sensor]]&lt;br /&gt;
&lt;br /&gt;
In our second attempt, we try to detect the Terahertz pulse directly via a thermopile sensor.&lt;br /&gt;
&lt;br /&gt;
==Source for Codes==&lt;br /&gt;
===Test Program for Signal Distortion===&lt;br /&gt;
&lt;br /&gt;
===Source for Auto-measurement Program===&lt;br /&gt;
&lt;br /&gt;
==Reference==&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Terahertz_Electromagnetic_Wave_Detection&amp;diff=1228</id>
		<title>Terahertz Electromagnetic Wave Detection</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Terahertz_Electromagnetic_Wave_Detection&amp;diff=1228"/>
		<updated>2025-04-24T03:47:59Z</updated>

		<summary type="html">&lt;p&gt;Bohan: /* Thermopile Detector */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Members==&lt;br /&gt;
&lt;br /&gt;
Luo Shizhuo E1353445@u.nus.edu&lt;br /&gt;
&lt;br /&gt;
Zhang Bohan E1349227@u.nus.edu&lt;br /&gt;
&lt;br /&gt;
==Project Overview==&lt;br /&gt;
&lt;br /&gt;
Terahertz (THz) waves are rather useful in communication (6G communication: 0.3~3 THz), astronomy (millimetre telescope: 0.22 THz) and solid state material characterisation. However, the generation and detection of THz wave so difficult that it is named as the &amp;quot;THz Gap&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
In this project, we aim to generate and detect a THz pulse with a traditional method (Electro-Optical Sampling) and then via a commercial thermopile sensor. (Specifically, we will use LiNbO3 (LN) crystal, which is reported to be capable of generating THz pulses easily.)&lt;br /&gt;
&lt;br /&gt;
This project can provide a cheaper option compared to specific THz camera (like THz fluorescence camera), and enable us to observe the pattern of THz wave in a more cost-effective way.&lt;br /&gt;
&lt;br /&gt;
==Theory Basis==&lt;br /&gt;
&lt;br /&gt;
===LN-based THz pulse generation===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Phase Match Condition&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We assume that an electromagnetic wave goes in the direction with an angle &amp;lt;math&amp;gt;\epsilon&amp;lt;/math&amp;gt; between z axis. The electric field is given as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E(t)=\int E(\omega) e^{i\omega t-ikz\cdot\cos\epsilon-ikx\cdot\sin\epsilon} d\omega=\int E(\omega) e^{i\omega t-i\varphi} d\omega&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\varphi=kz\cdot\cos\epsilon+kx\cdot\sin\epsilon&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; is the wave vector. The phase term &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; indicates the direction of the motion. When an angular dispersion by frequency &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is introduce in deviation angle &amp;lt;math&amp;gt;\epsilon&amp;lt;/math&amp;gt;, the phase term &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; becomes:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\varphi\approx\varphi(\omega_0)+\frac{\partial\varphi}{\partial\omega}(\omega-\omega_0)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here, &amp;lt;math&amp;gt;\omega_0&amp;lt;/math&amp;gt; is the central frequency. Substituting &amp;lt;math&amp;gt;v_g=\frac{c}{n_g}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\tan \gamma&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;\frac{d\omega}{dk}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\frac{n(\omega_0)}{n_g}\omega_0\frac{d\epsilon}{d\omega}&amp;lt;/math&amp;gt;, respectively, the formula above can be simplified to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\varphi\approx \frac{n(\omega_0)\omega_0}{c}(z\cos\epsilon(\omega_0)+x\sin\epsilon(\omega_0)) + \frac{\omega-\omega_0}{v_g\cos\gamma}(z\cos(\epsilon(\omega_0)+\gamma)+x\sin(\epsilon(\omega_0)+\gamma))&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, the speed of the wave packet (term with a low frequency &amp;lt;math&amp;gt;(\omega-\omega_0)&amp;lt;/math&amp;gt;) is modified to be &amp;lt;math&amp;gt;v_g\cos\gamma&amp;lt;/math&amp;gt;. The phase match condition becomes:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;v_\text{THz}=v_g\cos\gamma&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This shows that the phase match condition can be modulated by the parameter &amp;lt;math&amp;gt;\gamma&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Exact Calculation&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The THz field is generated by Difference Frequency Generation (DFG) described by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_\text{THz}(t)=\iint\chi(\omega_1)E^*(\omega_1)e^{-i\omega_1t+ik_1z\cos\epsilon_1+ik_1x\sin\epsilon_1}E(\omega_2)e^{i\omega_2 t-ik_2z\cos\epsilon_2-ik_2x\sin\epsilon_2}d\omega_1d\omega_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When we substitute &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\omega+\Omega&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;\omega_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\omega_2&amp;lt;/math&amp;gt;, the equation above becomes:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_\text{THz}(t)=\iint\chi(\omega)E^*(\omega)E(\omega+\Omega)e^{i\Omega t+i\frac{\Omega}{v_g\cos\gamma}(z\cos\gamma+x\sin\gamma)}d\omega d\Omega&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, the THz wave by frequency &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_\text{THz}(\Omega)=e^{i\Omega t-i\frac{\Omega}{v_\text{THz}}z}\int\chi(\omega)E^*(\omega)E(\omega+\Omega)e^{i\frac{\Omega}{v_g\cos\gamma}z-i\frac{\Omega}{v_\text{THz}}z}d\omega &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where a rotation of &amp;lt;math&amp;gt;\gamma&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;x-z&amp;lt;/math&amp;gt; plane is imposed. The term &amp;lt;math&amp;gt;e^{i\frac{\Omega}{v_g\cos\gamma}z-i\frac{\Omega}{v_\text{THz}}z}&amp;lt;/math&amp;gt; represents the phase mismatch.&lt;br /&gt;
&lt;br /&gt;
===Electro-Optical Sampling===&lt;br /&gt;
&lt;br /&gt;
The Terahertz photons has so low energy (~0.003 eV) that it can hardly be detected via photodiode made up of common semiconductor (band gap: &amp;gt;0.5eV). Even narrow bandgap semiconductor has a bandgap in the magnitude of 0.01 eV. Hence, conventional detectors cannot directly detect Terahertz photons. Nevertheless, the variance rate of terahertz frequency is in the magnitude of picoseconds. This hints us to use pulses with a duration of 0.1 picosecond magnitude as a &amp;quot;shutter&amp;quot; to capture the shape of terahertz wave.&lt;br /&gt;
&lt;br /&gt;
Optical pulses can detect the transient change of the optical property. Once the electric field of the terahertz wave alters the optical properties of the material, the probe pulse, i.e. the optical pulse, can instantaneously detect this change. This measurement technique is &amp;quot;Electro-Optical (EO) Sampling&amp;quot;. When modifying the time delay between the optical pulse and terahertz wave, the optical pulse can depict the electric field of terahertz wave point by point.&lt;br /&gt;
&lt;br /&gt;
In the experiment, birefringence is the most popular optical property used in EO sampling. This effect can be seen as a special sum-frequency generation . Since the frequency of terahertz wave is much lower than the optical pulse, it can be deemed as zero-frequency term in the special sum-frequency generation. Hence, the dielectric tensor becomes: &amp;lt;math&amp;gt;\varepsilon_{ij}=\chi^{(1)}_{ij}(\omega)+\sum_k\chi^{(2)}_{ijk}(0,\omega;\omega)E_{k,\text{THz}}&amp;lt;/math&amp;gt;. To give the refractive indices, we shall use the refractive ellipse. We reverse the dielectric tensor as &amp;lt;math&amp;gt;\varepsilon^{(-1)}&amp;lt;/math&amp;gt;. When applied Taylor expansion in the order of &amp;lt;math&amp;gt;E_{k,THz}&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt;\varepsilon^{-1}\approx\varepsilon^{-1}_{ij,0}+\sum_kr_{ijk}E_{k,\text{THz}}&amp;lt;/math&amp;gt;. Here, &amp;lt;math&amp;gt;\varepsilon^{-1}_{ij,0}&amp;lt;/math&amp;gt; is the dielectric tensor when there is no outer electric field, and &amp;lt;math&amp;gt;r_{ijk}&amp;lt;/math&amp;gt; is the EO coefficient&lt;br /&gt;
&lt;br /&gt;
According to the conservation of energy density &amp;lt;math&amp;gt;w=\frac{1}{2}\sum_{i,j}D_i\epsilon^{-1}_{ij}D_j&amp;lt;/math&amp;gt; and electric displacement &amp;lt;math&amp;gt;D_i&amp;lt;/math&amp;gt; with and without the medium, we can normalise the conversation relation as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
1=\sum_{i,j}\frac{u_iu_j}{n_{ij}^2}=u_iu_j\varepsilon^{-1}_{ij}\approx \sum_{i,j}u_iu_j(\varepsilon^{-1}_{ij,0}+\sum_k r_{ijk}E_{k,\text{THz}})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;u_i=\frac{D_i}{\sqrt{2w}}&amp;lt;/math&amp;gt; represents the direction of the outer optical field. The above quadric equation can be definitely simplified in the form of &amp;lt;math&amp;gt;\sum_i \frac{u_i\prime^2}{n_i^2}=1&amp;lt;/math&amp;gt; with a transformation &amp;lt;math&amp;gt;u_i\prime=\sum_{j}R_ij u_j&amp;lt;/math&amp;gt; via diagonalzing the tensor &amp;lt;math&amp;gt;\varepsilon^{-1}_{ij}&amp;lt;/math&amp;gt;. Then, we can simply gives the Jones matrix to describe the change of the polarisation of the incident laser. The Jones matrix can be:&lt;br /&gt;
&amp;lt;math&amp;gt;\mathbf{J} = \begin{bmatrix}&lt;br /&gt;
e^{ikn_1 d} &amp;amp;  0 \\&lt;br /&gt;
0 &amp;amp;  e^{ikn_2d} \\&lt;br /&gt;
\end{bmatrix}&amp;lt;/math&amp;gt;&lt;br /&gt;
, where we assume that the incident direction is in the z-direction (index 3).&lt;br /&gt;
&lt;br /&gt;
===Thermopile Detector===&lt;br /&gt;
To detect the generated THz waves, we employ a thermopile detector, which offers a cost-effective and sensitive solution for broadband THz detection. A thermopile is a thermal detector that consists of a series of thermocouples connected in series or parallel, producing a voltage in response to temperature differences across its junctions.&lt;br /&gt;
&lt;br /&gt;
When the THz radiation is absorbed by the blackened surface of the thermopile, it causes a temperature rise, generating a measurable voltage signal due to the Seebeck effect. Unlike semiconductor photodetectors, thermopiles do not rely on photon energy exceeding the material bandgap. This makes them especially suitable for detecting low-energy THz photons (∼0.003 eV), which are otherwise difficult to detect using conventional photodiodes.&lt;br /&gt;
&lt;br /&gt;
In our setup, the thermopile detector is positioned to capture the emitted THz beam after passing through the optical setup. Its broadband response allows us to record the relative intensity of the THz signal under different generation or modulation conditions. Though it does not provide time-resolved measurements, its simplicity and compatibility with room-temperature operation make it a practical tool for evaluating THz pulse generation in a laboratory environment.&lt;br /&gt;
[[File:Differential Temperature Thermopile.png|thumb|center|500px|Schematic of a thermopile structure showing heat flow and voltage generation due to temperature gradient.]]&lt;br /&gt;
&lt;br /&gt;
Thermopiles are used to provide an output in response to temperature as part of a temperature measuring device, such as the infrared thermometers widely used by medical professionals to measure body temperature, or in thermal accelerometers to measure the temperature profile inside the sealed cavity of the sensor. They are also used widely in heat flux sensors and pyrheliometers and gas burner safety controls. The output of a thermopile is usually in the range of tens or hundreds of millivolts. As well as increasing the signal level, the device may be used to provide spatial temperature averaging. Thermopiles are also used to generate electrical energy from, for instance, heat from electrical components, solar wind, radioactive materials, laser radiation or combustion. The process is also an example of the Peltier effect (electric current transferring heat energy) as the process transfers heat from the hot to the cold junctions.&lt;br /&gt;
&lt;br /&gt;
[[File:Thermopile Sensors.png|thumb|center|500px|Thermopile Sensors]]&lt;br /&gt;
&lt;br /&gt;
==Measurements and Setups==&lt;br /&gt;
&lt;br /&gt;
=== EO Sampling with ZnTe===&lt;br /&gt;
&lt;br /&gt;
We use Zinc Telluride (ZnTe) for the EO Sampling. As the theory mentioned above, we shall first give out the electro-optical tensor &amp;lt;math&amp;gt;r_{ijk}&amp;lt;/math&amp;gt;. As reference says that the tensor can be simplified to be &amp;lt;math&amp;gt;r_{ijk}=r_{231}|\epsilon_{ijk}|&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\epsilon_{ijk}&amp;lt;/math&amp;gt; is the Levi-Civita symbol. In most references, &amp;lt;math&amp;gt;r_{231}&amp;lt;/math&amp;gt; is simplified to be &amp;lt;math&amp;gt;r_{41}&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Meanwhile, though ZnTe is isotropic, the measurement using its (110) plane. Thus, we shall first rotate the frame to fit the incident plane. Now we assume that the basis is &amp;lt;math&amp;gt;\mathbf{e}_1=\mathbf{e}_x=\frac{1}{\sqrt{2}}(-1,1,0)&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\mathbf{e}_2=\mathbf{e}_y=(0,0,1)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\mathbf{e}_3=\mathbf{e}_z=\frac{1}{\sqrt{2}}(1,1,0)&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Now, we assume that the incident Terahertz wave has a polarisation in (110) plane with an angle &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt; between &amp;lt;math&amp;gt;\mathbf{e}_x&amp;lt;/math&amp;gt;. The Terahertz wave vector should be &amp;lt;math&amp;gt;\mathbf{E}_\text{THz}=E_\text{THz}\left(-\frac{\cos\alpha}{\sqrt{2}}, \frac{\cos\alpha}{\sqrt{2}},\sin\alpha\right)&amp;lt;/math&amp;gt;. Hence, we can write out the refractive index as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathbf{\varepsilon}^{-1}=\begin{bmatrix}&lt;br /&gt;
\frac{1}{n_0^2} &amp;amp;  r_{41} E_\text{THz}\sin\alpha &amp;amp; r_{41} \frac{E_\text{THz}}{\sqrt{2}}\cos\alpha \\&lt;br /&gt;
r_{41} E_\text{THz}\sin\alpha &amp;amp;  \frac{1}{n_0^2} &amp;amp; -r_{41} \frac{E_\text{THz}}{\sqrt{2}}\cos\alpha \\&lt;br /&gt;
r_{41} \frac{E_\text{THz}}{\sqrt{2}}\cos\alpha &amp;amp; -r_{41} \frac{E_\text{THz}}{\sqrt{2}}\cos\alpha &amp;amp; \frac{1}{n_0^2}\\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which gives Eigenvalues:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_1^{-2}=\frac{1}{n_0^2}-\frac{r_{41}E_\text{THz}}{2}(\sin\alpha+\sqrt{1+3\cos^2\alpha})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_2^{-2}=\frac{1}{n_0^2}-\frac{r_{41}E_\text{THz}}{2}(\sin\alpha-\sqrt{1+3\cos^2\alpha})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_3^{-2}=\frac{1}{n_0^2}+r_{41}E_\text{THz}\sin\alpha&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and the eigenvectors:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u_1\prime\propto\left(-1, 1,b_1(\alpha)\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u_2\prime\propto\left(1, -1,b_2(\alpha)\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u_3=\frac{1}{\sqrt{2}}(-1,-1,0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;b_{1,2}(\alpha)=\frac{\sqrt{7\cos^2\alpha+1}\pm3\sin\alpha}{\cos^2\alpha+1\pm\sin\alpha\sqrt{7\cos^2\alpha+1}}\cos\alpha&amp;lt;/math&amp;gt;. Notice that &amp;lt;math&amp;gt;r_{41}\approx4pm/V&amp;lt;/math&amp;gt;. Hence, when &amp;lt;math&amp;gt;E_{THz}&amp;lt;1 MV/cm&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt;r_{41}E_\text{THz}\leq4\times10^{-4}\ll1&amp;lt;/math&amp;gt;. The refractive indices are approximately:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_1=n_0-\frac{n_0^3r_{41}E_\text{THz}}{4}(\sin\alpha+\sqrt{1+3\cos^2\alpha})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_2=n_0-\frac{n_0^3r_{41}E_\text{THz}}{4}(\sin\alpha-\sqrt{1+3\cos^2\alpha})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_3=n_0+\frac{n_0^3r_{41}E_\text{THz}\sin\alpha}{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, we find that the birefringent coefficient &amp;lt;math&amp;gt;\Delta n=n_1-n_2=\frac{n_0^3r_{41}E_\text{THz}}{2}(\sqrt{1+3\cos^2\alpha})\leq n_0^3r_{41}E_\text{THz}&amp;lt;/math&amp;gt; has a maximum at &amp;lt;math&amp;gt;\alpha=0&amp;lt;/math&amp;gt;. Here, the eigenvectors, i.e., the principle axis of ZnTe, are &amp;lt;math&amp;gt;&lt;br /&gt;
u_1\prime=\left(-\frac{1}{2}, \frac{1}{2}, \frac{1}{\sqrt{2}}\right)=\frac{1}{\sqrt{2}}\mathbf{e}_x+\frac{1}{\sqrt{2}}\mathbf{e}_y, u_2\prime=\left(\frac{1}{2}, -\frac{1}{2}, \frac{1}{\sqrt{2}}\right)=\frac{1}{\sqrt{2}}\mathbf{e}_x+\frac{1}{\sqrt{2}}\mathbf{e}_y&amp;lt;/math&amp;gt;. It shows that the angle between the new axis and the old ones is strictly 45 degree. Therefore, when the normally incident beam has a polarisation along &amp;lt;math&amp;gt;\mathbf{e}_x&amp;lt;/math&amp;gt;, it would becoming elliptically polarised. Specifically, in the experiment, the linearly polarised beam would pass through a Quarter Wave Plate (QWP), then be analysed by Wollaston prism and finally collected by balance detector after passing ZnTe. The balance detector here actually consists of 2 detectors same in type.&lt;br /&gt;
&lt;br /&gt;
We can thereby show the optical field after the Wollaston prism as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\left(E_1\prime, E_2\prime\right)^T=R\mathbf{Q}\mathbf{J}R(E_\text{optical},0)^T&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where the QWP matrix is&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathbf{Q}=\begin{bmatrix}&lt;br /&gt;
1&amp;amp;0\\&lt;br /&gt;
0&amp;amp;i\\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt; and the rotation matrix representing a rotation of 45 deg is&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathbf{R}=\begin{bmatrix}&lt;br /&gt;
\frac{1}{\sqrt{2}}&amp;amp;\frac{1}{\sqrt{2}}\\&lt;br /&gt;
-\frac{1}{\sqrt{2}}&amp;amp;\frac{1}{\sqrt{2}}\\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;. Hence, the formula can be simplified as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\left(E_1\prime, E_2\prime\right)^T=\frac{e^{ik\frac{n_1+n_2}{2}d}E_\text{optical}}{2}\left(ie^{ki\frac{n_1-n_2}{2}d}+e^{-ik\frac{n_1-n_2}{2}d},-ie^{ik\frac{n_1-n_2}{2}d}+e^{-ik\frac{n_1-n_2}{2}d}\right)^T&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the experiment, we extract the difference between the signals from the 2 detectors via lock-in amplifier. As the intensity &amp;lt;math&amp;gt;I_0\propto E_\text{optical}^2&amp;lt;/math&amp;gt;, the final measurement would gives:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
I_\text{signal}=I_0\sin\left(k(n_1-n_2)d\right)=I_0\sin\left(kr_{41} E_\text{THz}n_0^3d\right)\approx I_0kr_{41} E_\text{THz}n_0^3d&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore, we can inversely give the electric field of Terahertz wave as:&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
E_\text{THz}=\frac{I_\text{signal}}{I_0kr_{41}E_\text{THz}n_0^3d}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Modification given finite delay in the circuit ===&lt;br /&gt;
&lt;br /&gt;
In the measurement, we use a source of 2 kHz laser and the frequency of chopper is set to be 1 kHz. However, due to the delay in the circuit, we saw periodic exponential-like signal other than Dirac delta signal as expected. Here, we analyse how the exponential data would affect the result. Assume that the detector is not saturated. Hence, in 1 period, the signal would be the sum of all past exponentially-decaying signals:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
s_p(t)=\sum_{n=0}^{+\infty}s_0e^{-\frac{nT+t}{\tau}}=\frac{s_0e^{-\frac{t}{\tau}}}{1-e^{T/\tau}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\tau&amp;lt;/math&amp;gt; is the time constant of the detector and &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; is the period of the signal. Given a periodic continuation of the signal, we can give the Fourier components by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\tilde{s}(f)=\frac{1}{T}\int_{0}^T\frac{s_0e^{-\frac{t}{\tau}}}{1-e^{T/\tau}}e^{i2\pi ft}dt=\frac{\tau}{T}\frac{1}{1+i\frac{2\pi}{f\tau}}s_0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where frequency &amp;lt;math&amp;gt;f=\frac{n}{T}&amp;lt;/math&amp;gt; is a discrete variable. In the experiment, we measure the Terahertz wave in frequency &amp;lt;math&amp;gt;f_0&amp;lt;/math&amp;gt; and the optical intensity in frequency &amp;lt;math&amp;gt;f_1=2f_0&amp;lt;/math&amp;gt;. Therefore, the lock-in outputs &amp;lt;math&amp;gt;U_{1,2}&amp;lt;/math&amp;gt; and the real values &amp;lt;math&amp;gt;s_{1,2}&amp;lt;/math&amp;gt; should have a relation as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{s_1}{s_2}=\sqrt{\frac{1+\left(\frac{2\pi}{f_0\tau}\right)^2}{1+\left(\frac{2\pi}{2f_0\tau}\right)^2}}\frac{U_1}{U_2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This relation shows that when &amp;lt;math&amp;gt;\tau\rightarrow0&amp;lt;/math&amp;gt;, the real value might be 2 times of the outputs, verified by our program. Here, we measured the&lt;br /&gt;
&lt;br /&gt;
===EO Sampling Setup===&lt;br /&gt;
[[file:schem_eosampling.png|600px|thumb|right|Schematics of Setup with Electro-Optical Sampling]]&lt;br /&gt;
&lt;br /&gt;
Firstly, we try to detect the Terahertz wave with the most traditional method, electro-optical sampling, to demonstrate that we are truely measuring the terahertz wave. This is because the the EO sampling actually measures the wave shape of the Terahertz pulse with a resolution of 0.07 ps which is much smaller than the period of the terahertz wave (2 ps). Hence, we expect to see a oscillation signal representing the electric field of the terahertz wave. Then, we can compare the wave to others result, thereby demonstrating that this pulse is terahertz wave.&lt;br /&gt;
&lt;br /&gt;
The setup (figure in the right) mainly consist of 3 parts, pump path for generating terahertz wave (red one), terahertz wave path (blue one) and the probe path for EO sampling (green one). All pump and probe beam are 2 kHz, 1030 nm Yb:YAG laser with a duration of about 200 fs. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Pump Path&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The delay line is used to control the time delay between the THz pulse and the probe pulse. Then, a telescope with a cylindrical convex lens (f=100 mm) and a conjugate concave lens (f=-50 mm) compresses the beam in the direction perpendicular to the table. The grating then introduces a tilt in the wavefront of the pulse. Subsequently, the pulse will be imaged into the Lithium Niobate (LN) crystal with another telescope. The second one consist of cylindrical convex lens with focal lengths of 50 mm and 100 mm. The Half-Wave Plate (HWP) before the grating is used to optimise the efficiency of the grating, while the one before LN crystal ensures that the polarisation of the beam aligns with the d33 axis to give a maximum THz generation efficiency.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Probe Path&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The probe beam has an energy that is much smaller than the pump path to protect the EO crystal (Zinc Telluride, ZnTe) and the photodiode detectors. When attenuated by the HWP and Polarisation Beam Splitter (PBS), the probe beam would firstly go into a delay path to match the time delay in the pump path. Then, a convex lens with a focal length of 150 mm focuses the beam on the ZnTe to detect the change of birefringence due to Terahertz pulse. Then, the beam is collimated by a conjugated convex lens with a focal length of 50 mm and analysed by the Wollaston prism. The splitted beams would go into 2 same detectors. Experimentally, the linear range of the photodiode on the lock-in amplifier is about from 0~9 mV in our setup.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Terahertz Path&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The Terahertz path is collected by the first Off-Axis Parabolic mirror (OAP) with a focal length of 76.2 mm. Then, it&#039;s collimated by conjugated OPA with focal lengths of 76.2 mm and 101.6 mm. In the end, it would be focused by the final OPA on the ZnTe. The OPA here has a tiny tunnel to allow the 1030 nm probe beam to pass.&lt;br /&gt;
&lt;br /&gt;
===Thermopile Setup===&lt;br /&gt;
&lt;br /&gt;
[[file:schem_thermopile.png|600px|thumb|right|Schematics of setup with thermopile sensor]]&lt;br /&gt;
&lt;br /&gt;
In our second attempt, we try to detect the Terahertz pulse directly via a thermopile sensor.&lt;br /&gt;
&lt;br /&gt;
==Source for Codes==&lt;br /&gt;
===Test Program for Signal Distortion===&lt;br /&gt;
&lt;br /&gt;
===Source for Auto-measurement Program===&lt;br /&gt;
&lt;br /&gt;
==Reference==&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Terahertz_Electromagnetic_Wave_Detection&amp;diff=1227</id>
		<title>Terahertz Electromagnetic Wave Detection</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Terahertz_Electromagnetic_Wave_Detection&amp;diff=1227"/>
		<updated>2025-04-24T03:47:16Z</updated>

		<summary type="html">&lt;p&gt;Bohan: /* Thermopile Detector */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Members==&lt;br /&gt;
&lt;br /&gt;
Luo Shizhuo E1353445@u.nus.edu&lt;br /&gt;
&lt;br /&gt;
Zhang Bohan E1349227@u.nus.edu&lt;br /&gt;
&lt;br /&gt;
==Project Overview==&lt;br /&gt;
&lt;br /&gt;
Terahertz (THz) waves are rather useful in communication (6G communication: 0.3~3 THz), astronomy (millimetre telescope: 0.22 THz) and solid state material characterisation. However, the generation and detection of THz wave so difficult that it is named as the &amp;quot;THz Gap&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
In this project, we aim to generate and detect a THz pulse with a traditional method (Electro-Optical Sampling) and then via a commercial thermopile sensor. (Specifically, we will use LiNbO3 (LN) crystal, which is reported to be capable of generating THz pulses easily.)&lt;br /&gt;
&lt;br /&gt;
This project can provide a cheaper option compared to specific THz camera (like THz fluorescence camera), and enable us to observe the pattern of THz wave in a more cost-effective way.&lt;br /&gt;
&lt;br /&gt;
==Theory Basis==&lt;br /&gt;
&lt;br /&gt;
===LN-based THz pulse generation===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Phase Match Condition&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We assume that an electromagnetic wave goes in the direction with an angle &amp;lt;math&amp;gt;\epsilon&amp;lt;/math&amp;gt; between z axis. The electric field is given as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E(t)=\int E(\omega) e^{i\omega t-ikz\cdot\cos\epsilon-ikx\cdot\sin\epsilon} d\omega=\int E(\omega) e^{i\omega t-i\varphi} d\omega&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\varphi=kz\cdot\cos\epsilon+kx\cdot\sin\epsilon&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; is the wave vector. The phase term &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; indicates the direction of the motion. When an angular dispersion by frequency &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is introduce in deviation angle &amp;lt;math&amp;gt;\epsilon&amp;lt;/math&amp;gt;, the phase term &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; becomes:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\varphi\approx\varphi(\omega_0)+\frac{\partial\varphi}{\partial\omega}(\omega-\omega_0)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here, &amp;lt;math&amp;gt;\omega_0&amp;lt;/math&amp;gt; is the central frequency. Substituting &amp;lt;math&amp;gt;v_g=\frac{c}{n_g}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\tan \gamma&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;\frac{d\omega}{dk}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\frac{n(\omega_0)}{n_g}\omega_0\frac{d\epsilon}{d\omega}&amp;lt;/math&amp;gt;, respectively, the formula above can be simplified to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\varphi\approx \frac{n(\omega_0)\omega_0}{c}(z\cos\epsilon(\omega_0)+x\sin\epsilon(\omega_0)) + \frac{\omega-\omega_0}{v_g\cos\gamma}(z\cos(\epsilon(\omega_0)+\gamma)+x\sin(\epsilon(\omega_0)+\gamma))&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, the speed of the wave packet (term with a low frequency &amp;lt;math&amp;gt;(\omega-\omega_0)&amp;lt;/math&amp;gt;) is modified to be &amp;lt;math&amp;gt;v_g\cos\gamma&amp;lt;/math&amp;gt;. The phase match condition becomes:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;v_\text{THz}=v_g\cos\gamma&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This shows that the phase match condition can be modulated by the parameter &amp;lt;math&amp;gt;\gamma&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Exact Calculation&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The THz field is generated by Difference Frequency Generation (DFG) described by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_\text{THz}(t)=\iint\chi(\omega_1)E^*(\omega_1)e^{-i\omega_1t+ik_1z\cos\epsilon_1+ik_1x\sin\epsilon_1}E(\omega_2)e^{i\omega_2 t-ik_2z\cos\epsilon_2-ik_2x\sin\epsilon_2}d\omega_1d\omega_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When we substitute &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\omega+\Omega&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;\omega_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\omega_2&amp;lt;/math&amp;gt;, the equation above becomes:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_\text{THz}(t)=\iint\chi(\omega)E^*(\omega)E(\omega+\Omega)e^{i\Omega t+i\frac{\Omega}{v_g\cos\gamma}(z\cos\gamma+x\sin\gamma)}d\omega d\Omega&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, the THz wave by frequency &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_\text{THz}(\Omega)=e^{i\Omega t-i\frac{\Omega}{v_\text{THz}}z}\int\chi(\omega)E^*(\omega)E(\omega+\Omega)e^{i\frac{\Omega}{v_g\cos\gamma}z-i\frac{\Omega}{v_\text{THz}}z}d\omega &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where a rotation of &amp;lt;math&amp;gt;\gamma&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;x-z&amp;lt;/math&amp;gt; plane is imposed. The term &amp;lt;math&amp;gt;e^{i\frac{\Omega}{v_g\cos\gamma}z-i\frac{\Omega}{v_\text{THz}}z}&amp;lt;/math&amp;gt; represents the phase mismatch.&lt;br /&gt;
&lt;br /&gt;
===Electro-Optical Sampling===&lt;br /&gt;
&lt;br /&gt;
The Terahertz photons has so low energy (~0.003 eV) that it can hardly be detected via photodiode made up of common semiconductor (band gap: &amp;gt;0.5eV). Even narrow bandgap semiconductor has a bandgap in the magnitude of 0.01 eV. Hence, conventional detectors cannot directly detect Terahertz photons. Nevertheless, the variance rate of terahertz frequency is in the magnitude of picoseconds. This hints us to use pulses with a duration of 0.1 picosecond magnitude as a &amp;quot;shutter&amp;quot; to capture the shape of terahertz wave.&lt;br /&gt;
&lt;br /&gt;
Optical pulses can detect the transient change of the optical property. Once the electric field of the terahertz wave alters the optical properties of the material, the probe pulse, i.e. the optical pulse, can instantaneously detect this change. This measurement technique is &amp;quot;Electro-Optical (EO) Sampling&amp;quot;. When modifying the time delay between the optical pulse and terahertz wave, the optical pulse can depict the electric field of terahertz wave point by point.&lt;br /&gt;
&lt;br /&gt;
In the experiment, birefringence is the most popular optical property used in EO sampling. This effect can be seen as a special sum-frequency generation . Since the frequency of terahertz wave is much lower than the optical pulse, it can be deemed as zero-frequency term in the special sum-frequency generation. Hence, the dielectric tensor becomes: &amp;lt;math&amp;gt;\varepsilon_{ij}=\chi^{(1)}_{ij}(\omega)+\sum_k\chi^{(2)}_{ijk}(0,\omega;\omega)E_{k,\text{THz}}&amp;lt;/math&amp;gt;. To give the refractive indices, we shall use the refractive ellipse. We reverse the dielectric tensor as &amp;lt;math&amp;gt;\varepsilon^{(-1)}&amp;lt;/math&amp;gt;. When applied Taylor expansion in the order of &amp;lt;math&amp;gt;E_{k,THz}&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt;\varepsilon^{-1}\approx\varepsilon^{-1}_{ij,0}+\sum_kr_{ijk}E_{k,\text{THz}}&amp;lt;/math&amp;gt;. Here, &amp;lt;math&amp;gt;\varepsilon^{-1}_{ij,0}&amp;lt;/math&amp;gt; is the dielectric tensor when there is no outer electric field, and &amp;lt;math&amp;gt;r_{ijk}&amp;lt;/math&amp;gt; is the EO coefficient&lt;br /&gt;
&lt;br /&gt;
According to the conservation of energy density &amp;lt;math&amp;gt;w=\frac{1}{2}\sum_{i,j}D_i\epsilon^{-1}_{ij}D_j&amp;lt;/math&amp;gt; and electric displacement &amp;lt;math&amp;gt;D_i&amp;lt;/math&amp;gt; with and without the medium, we can normalise the conversation relation as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
1=\sum_{i,j}\frac{u_iu_j}{n_{ij}^2}=u_iu_j\varepsilon^{-1}_{ij}\approx \sum_{i,j}u_iu_j(\varepsilon^{-1}_{ij,0}+\sum_k r_{ijk}E_{k,\text{THz}})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;u_i=\frac{D_i}{\sqrt{2w}}&amp;lt;/math&amp;gt; represents the direction of the outer optical field. The above quadric equation can be definitely simplified in the form of &amp;lt;math&amp;gt;\sum_i \frac{u_i\prime^2}{n_i^2}=1&amp;lt;/math&amp;gt; with a transformation &amp;lt;math&amp;gt;u_i\prime=\sum_{j}R_ij u_j&amp;lt;/math&amp;gt; via diagonalzing the tensor &amp;lt;math&amp;gt;\varepsilon^{-1}_{ij}&amp;lt;/math&amp;gt;. Then, we can simply gives the Jones matrix to describe the change of the polarisation of the incident laser. The Jones matrix can be:&lt;br /&gt;
&amp;lt;math&amp;gt;\mathbf{J} = \begin{bmatrix}&lt;br /&gt;
e^{ikn_1 d} &amp;amp;  0 \\&lt;br /&gt;
0 &amp;amp;  e^{ikn_2d} \\&lt;br /&gt;
\end{bmatrix}&amp;lt;/math&amp;gt;&lt;br /&gt;
, where we assume that the incident direction is in the z-direction (index 3).&lt;br /&gt;
&lt;br /&gt;
===Thermopile Detector===&lt;br /&gt;
To detect the generated THz waves, we employ a thermopile detector, which offers a cost-effective and sensitive solution for broadband THz detection. A thermopile is a thermal detector that consists of a series of thermocouples connected in series or parallel, producing a voltage in response to temperature differences across its junctions.&lt;br /&gt;
&lt;br /&gt;
When the THz radiation is absorbed by the blackened surface of the thermopile, it causes a temperature rise, generating a measurable voltage signal due to the Seebeck effect. Unlike semiconductor photodetectors, thermopiles do not rely on photon energy exceeding the material bandgap. This makes them especially suitable for detecting low-energy THz photons (∼0.003 eV), which are otherwise difficult to detect using conventional photodiodes.&lt;br /&gt;
&lt;br /&gt;
In our setup, the thermopile detector is positioned to capture the emitted THz beam after passing through the optical setup. Its broadband response allows us to record the relative intensity of the THz signal under different generation or modulation conditions. Though it does not provide time-resolved measurements, its simplicity and compatibility with room-temperature operation make it a practical tool for evaluating THz pulse generation in a laboratory environment.&lt;br /&gt;
[[File:Differential Temperature Thermopile.png|thumb|center|500px|Schematic of a thermopile structure showing heat flow and voltage generation due to temperature gradient.]]&lt;br /&gt;
&lt;br /&gt;
Thermopiles are used to provide an output in response to temperature as part of a temperature measuring device, such as the infrared thermometers widely used by medical professionals to measure body temperature, or in thermal accelerometers to measure the temperature profile inside the sealed cavity of the sensor. They are also used widely in heat flux sensors and pyrheliometers and gas burner safety controls. The output of a thermopile is usually in the range of tens or hundreds of millivolts. As well as increasing the signal level, the device may be used to provide spatial temperature averaging. Thermopiles are also used to generate electrical energy from, for instance, heat from electrical components, solar wind, radioactive materials, laser radiation or combustion. The process is also an example of the Peltier effect (electric current transferring heat energy) as the process transfers heat from the hot to the cold junctions.&lt;br /&gt;
&lt;br /&gt;
[[File:Thermopile Sensors.png|thumb|center|500px|Thermopile Sensors.]]&lt;br /&gt;
&lt;br /&gt;
==Measurements and Setups==&lt;br /&gt;
&lt;br /&gt;
=== EO Sampling with ZnTe===&lt;br /&gt;
&lt;br /&gt;
We use Zinc Telluride (ZnTe) for the EO Sampling. As the theory mentioned above, we shall first give out the electro-optical tensor &amp;lt;math&amp;gt;r_{ijk}&amp;lt;/math&amp;gt;. As reference says that the tensor can be simplified to be &amp;lt;math&amp;gt;r_{ijk}=r_{231}|\epsilon_{ijk}|&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\epsilon_{ijk}&amp;lt;/math&amp;gt; is the Levi-Civita symbol. In most references, &amp;lt;math&amp;gt;r_{231}&amp;lt;/math&amp;gt; is simplified to be &amp;lt;math&amp;gt;r_{41}&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Meanwhile, though ZnTe is isotropic, the measurement using its (110) plane. Thus, we shall first rotate the frame to fit the incident plane. Now we assume that the basis is &amp;lt;math&amp;gt;\mathbf{e}_1=\mathbf{e}_x=\frac{1}{\sqrt{2}}(-1,1,0)&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\mathbf{e}_2=\mathbf{e}_y=(0,0,1)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\mathbf{e}_3=\mathbf{e}_z=\frac{1}{\sqrt{2}}(1,1,0)&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Now, we assume that the incident Terahertz wave has a polarisation in (110) plane with an angle &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt; between &amp;lt;math&amp;gt;\mathbf{e}_x&amp;lt;/math&amp;gt;. The Terahertz wave vector should be &amp;lt;math&amp;gt;\mathbf{E}_\text{THz}=E_\text{THz}\left(-\frac{\cos\alpha}{\sqrt{2}}, \frac{\cos\alpha}{\sqrt{2}},\sin\alpha\right)&amp;lt;/math&amp;gt;. Hence, we can write out the refractive index as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathbf{\varepsilon}^{-1}=\begin{bmatrix}&lt;br /&gt;
\frac{1}{n_0^2} &amp;amp;  r_{41} E_\text{THz}\sin\alpha &amp;amp; r_{41} \frac{E_\text{THz}}{\sqrt{2}}\cos\alpha \\&lt;br /&gt;
r_{41} E_\text{THz}\sin\alpha &amp;amp;  \frac{1}{n_0^2} &amp;amp; -r_{41} \frac{E_\text{THz}}{\sqrt{2}}\cos\alpha \\&lt;br /&gt;
r_{41} \frac{E_\text{THz}}{\sqrt{2}}\cos\alpha &amp;amp; -r_{41} \frac{E_\text{THz}}{\sqrt{2}}\cos\alpha &amp;amp; \frac{1}{n_0^2}\\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which gives Eigenvalues:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_1^{-2}=\frac{1}{n_0^2}-\frac{r_{41}E_\text{THz}}{2}(\sin\alpha+\sqrt{1+3\cos^2\alpha})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_2^{-2}=\frac{1}{n_0^2}-\frac{r_{41}E_\text{THz}}{2}(\sin\alpha-\sqrt{1+3\cos^2\alpha})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_3^{-2}=\frac{1}{n_0^2}+r_{41}E_\text{THz}\sin\alpha&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and the eigenvectors:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u_1\prime\propto\left(-1, 1,b_1(\alpha)\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u_2\prime\propto\left(1, -1,b_2(\alpha)\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u_3=\frac{1}{\sqrt{2}}(-1,-1,0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;b_{1,2}(\alpha)=\frac{\sqrt{7\cos^2\alpha+1}\pm3\sin\alpha}{\cos^2\alpha+1\pm\sin\alpha\sqrt{7\cos^2\alpha+1}}\cos\alpha&amp;lt;/math&amp;gt;. Notice that &amp;lt;math&amp;gt;r_{41}\approx4pm/V&amp;lt;/math&amp;gt;. Hence, when &amp;lt;math&amp;gt;E_{THz}&amp;lt;1 MV/cm&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt;r_{41}E_\text{THz}\leq4\times10^{-4}\ll1&amp;lt;/math&amp;gt;. The refractive indices are approximately:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_1=n_0-\frac{n_0^3r_{41}E_\text{THz}}{4}(\sin\alpha+\sqrt{1+3\cos^2\alpha})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_2=n_0-\frac{n_0^3r_{41}E_\text{THz}}{4}(\sin\alpha-\sqrt{1+3\cos^2\alpha})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_3=n_0+\frac{n_0^3r_{41}E_\text{THz}\sin\alpha}{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, we find that the birefringent coefficient &amp;lt;math&amp;gt;\Delta n=n_1-n_2=\frac{n_0^3r_{41}E_\text{THz}}{2}(\sqrt{1+3\cos^2\alpha})\leq n_0^3r_{41}E_\text{THz}&amp;lt;/math&amp;gt; has a maximum at &amp;lt;math&amp;gt;\alpha=0&amp;lt;/math&amp;gt;. Here, the eigenvectors, i.e., the principle axis of ZnTe, are &amp;lt;math&amp;gt;&lt;br /&gt;
u_1\prime=\left(-\frac{1}{2}, \frac{1}{2}, \frac{1}{\sqrt{2}}\right)=\frac{1}{\sqrt{2}}\mathbf{e}_x+\frac{1}{\sqrt{2}}\mathbf{e}_y, u_2\prime=\left(\frac{1}{2}, -\frac{1}{2}, \frac{1}{\sqrt{2}}\right)=\frac{1}{\sqrt{2}}\mathbf{e}_x+\frac{1}{\sqrt{2}}\mathbf{e}_y&amp;lt;/math&amp;gt;. It shows that the angle between the new axis and the old ones is strictly 45 degree. Therefore, when the normally incident beam has a polarisation along &amp;lt;math&amp;gt;\mathbf{e}_x&amp;lt;/math&amp;gt;, it would becoming elliptically polarised. Specifically, in the experiment, the linearly polarised beam would pass through a Quarter Wave Plate (QWP), then be analysed by Wollaston prism and finally collected by balance detector after passing ZnTe. The balance detector here actually consists of 2 detectors same in type.&lt;br /&gt;
&lt;br /&gt;
We can thereby show the optical field after the Wollaston prism as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\left(E_1\prime, E_2\prime\right)^T=R\mathbf{Q}\mathbf{J}R(E_\text{optical},0)^T&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where the QWP matrix is&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathbf{Q}=\begin{bmatrix}&lt;br /&gt;
1&amp;amp;0\\&lt;br /&gt;
0&amp;amp;i\\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt; and the rotation matrix representing a rotation of 45 deg is&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathbf{R}=\begin{bmatrix}&lt;br /&gt;
\frac{1}{\sqrt{2}}&amp;amp;\frac{1}{\sqrt{2}}\\&lt;br /&gt;
-\frac{1}{\sqrt{2}}&amp;amp;\frac{1}{\sqrt{2}}\\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;. Hence, the formula can be simplified as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\left(E_1\prime, E_2\prime\right)^T=\frac{e^{ik\frac{n_1+n_2}{2}d}E_\text{optical}}{2}\left(ie^{ki\frac{n_1-n_2}{2}d}+e^{-ik\frac{n_1-n_2}{2}d},-ie^{ik\frac{n_1-n_2}{2}d}+e^{-ik\frac{n_1-n_2}{2}d}\right)^T&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the experiment, we extract the difference between the signals from the 2 detectors via lock-in amplifier. As the intensity &amp;lt;math&amp;gt;I_0\propto E_\text{optical}^2&amp;lt;/math&amp;gt;, the final measurement would gives:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
I_\text{signal}=I_0\sin\left(k(n_1-n_2)d\right)=I_0\sin\left(kr_{41} E_\text{THz}n_0^3d\right)\approx I_0kr_{41} E_\text{THz}n_0^3d&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore, we can inversely give the electric field of Terahertz wave as:&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
E_\text{THz}=\frac{I_\text{signal}}{I_0kr_{41}E_\text{THz}n_0^3d}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Modification given finite delay in the circuit ===&lt;br /&gt;
&lt;br /&gt;
In the measurement, we use a source of 2 kHz laser and the frequency of chopper is set to be 1 kHz. However, due to the delay in the circuit, we saw periodic exponential-like signal other than Dirac delta signal as expected. Here, we analyse how the exponential data would affect the result. Assume that the detector is not saturated. Hence, in 1 period, the signal would be the sum of all past exponentially-decaying signals:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
s_p(t)=\sum_{n=0}^{+\infty}s_0e^{-\frac{nT+t}{\tau}}=\frac{s_0e^{-\frac{t}{\tau}}}{1-e^{T/\tau}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\tau&amp;lt;/math&amp;gt; is the time constant of the detector and &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; is the period of the signal. Given a periodic continuation of the signal, we can give the Fourier components by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\tilde{s}(f)=\frac{1}{T}\int_{0}^T\frac{s_0e^{-\frac{t}{\tau}}}{1-e^{T/\tau}}e^{i2\pi ft}dt=\frac{\tau}{T}\frac{1}{1+i\frac{2\pi}{f\tau}}s_0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where frequency &amp;lt;math&amp;gt;f=\frac{n}{T}&amp;lt;/math&amp;gt; is a discrete variable. In the experiment, we measure the Terahertz wave in frequency &amp;lt;math&amp;gt;f_0&amp;lt;/math&amp;gt; and the optical intensity in frequency &amp;lt;math&amp;gt;f_1=2f_0&amp;lt;/math&amp;gt;. Therefore, the lock-in outputs &amp;lt;math&amp;gt;U_{1,2}&amp;lt;/math&amp;gt; and the real values &amp;lt;math&amp;gt;s_{1,2}&amp;lt;/math&amp;gt; should have a relation as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{s_1}{s_2}=\sqrt{\frac{1+\left(\frac{2\pi}{f_0\tau}\right)^2}{1+\left(\frac{2\pi}{2f_0\tau}\right)^2}}\frac{U_1}{U_2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This relation shows that when &amp;lt;math&amp;gt;\tau\rightarrow0&amp;lt;/math&amp;gt;, the real value might be 2 times of the outputs, verified by our program. Here, we measured the&lt;br /&gt;
&lt;br /&gt;
===EO Sampling Setup===&lt;br /&gt;
[[file:schem_eosampling.png|600px|thumb|right|Schematics of Setup with Electro-Optical Sampling]]&lt;br /&gt;
&lt;br /&gt;
Firstly, we try to detect the Terahertz wave with the most traditional method, electro-optical sampling, to demonstrate that we are truely measuring the terahertz wave. This is because the the EO sampling actually measures the wave shape of the Terahertz pulse with a resolution of 0.07 ps which is much smaller than the period of the terahertz wave (2 ps). Hence, we expect to see a oscillation signal representing the electric field of the terahertz wave. Then, we can compare the wave to others result, thereby demonstrating that this pulse is terahertz wave.&lt;br /&gt;
&lt;br /&gt;
The setup (figure in the right) mainly consist of 3 parts, pump path for generating terahertz wave (red one), terahertz wave path (blue one) and the probe path for EO sampling (green one). All pump and probe beam are 2 kHz, 1030 nm Yb:YAG laser with a duration of about 200 fs. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Pump Path&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The delay line is used to control the time delay between the THz pulse and the probe pulse. Then, a telescope with a cylindrical convex lens (f=100 mm) and a conjugate concave lens (f=-50 mm) compresses the beam in the direction perpendicular to the table. The grating then introduces a tilt in the wavefront of the pulse. Subsequently, the pulse will be imaged into the Lithium Niobate (LN) crystal with another telescope. The second one consist of cylindrical convex lens with focal lengths of 50 mm and 100 mm. The Half-Wave Plate (HWP) before the grating is used to optimise the efficiency of the grating, while the one before LN crystal ensures that the polarisation of the beam aligns with the d33 axis to give a maximum THz generation efficiency.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Probe Path&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The probe beam has an energy that is much smaller than the pump path to protect the EO crystal (Zinc Telluride, ZnTe) and the photodiode detectors. When attenuated by the HWP and Polarisation Beam Splitter (PBS), the probe beam would firstly go into a delay path to match the time delay in the pump path. Then, a convex lens with a focal length of 150 mm focuses the beam on the ZnTe to detect the change of birefringence due to Terahertz pulse. Then, the beam is collimated by a conjugated convex lens with a focal length of 50 mm and analysed by the Wollaston prism. The splitted beams would go into 2 same detectors. Experimentally, the linear range of the photodiode on the lock-in amplifier is about from 0~9 mV in our setup.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Terahertz Path&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The Terahertz path is collected by the first Off-Axis Parabolic mirror (OAP) with a focal length of 76.2 mm. Then, it&#039;s collimated by conjugated OPA with focal lengths of 76.2 mm and 101.6 mm. In the end, it would be focused by the final OPA on the ZnTe. The OPA here has a tiny tunnel to allow the 1030 nm probe beam to pass.&lt;br /&gt;
&lt;br /&gt;
===Thermopile Setup===&lt;br /&gt;
&lt;br /&gt;
[[file:schem_thermopile.png|600px|thumb|right|Schematics of setup with thermopile sensor]]&lt;br /&gt;
&lt;br /&gt;
In our second attempt, we try to detect the Terahertz pulse directly via a thermopile sensor.&lt;br /&gt;
&lt;br /&gt;
==Source for Codes==&lt;br /&gt;
===Test Program for Signal Distortion===&lt;br /&gt;
&lt;br /&gt;
===Source for Auto-measurement Program===&lt;br /&gt;
&lt;br /&gt;
==Reference==&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Terahertz_Electromagnetic_Wave_Detection&amp;diff=1226</id>
		<title>Terahertz Electromagnetic Wave Detection</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Terahertz_Electromagnetic_Wave_Detection&amp;diff=1226"/>
		<updated>2025-04-24T03:46:50Z</updated>

		<summary type="html">&lt;p&gt;Bohan: /* Thermopile Detector */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Members==&lt;br /&gt;
&lt;br /&gt;
Luo Shizhuo E1353445@u.nus.edu&lt;br /&gt;
&lt;br /&gt;
Zhang Bohan E1349227@u.nus.edu&lt;br /&gt;
&lt;br /&gt;
==Project Overview==&lt;br /&gt;
&lt;br /&gt;
Terahertz (THz) waves are rather useful in communication (6G communication: 0.3~3 THz), astronomy (millimetre telescope: 0.22 THz) and solid state material characterisation. However, the generation and detection of THz wave so difficult that it is named as the &amp;quot;THz Gap&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
In this project, we aim to generate and detect a THz pulse with a traditional method (Electro-Optical Sampling) and then via a commercial thermopile sensor. (Specifically, we will use LiNbO3 (LN) crystal, which is reported to be capable of generating THz pulses easily.)&lt;br /&gt;
&lt;br /&gt;
This project can provide a cheaper option compared to specific THz camera (like THz fluorescence camera), and enable us to observe the pattern of THz wave in a more cost-effective way.&lt;br /&gt;
&lt;br /&gt;
==Theory Basis==&lt;br /&gt;
&lt;br /&gt;
===LN-based THz pulse generation===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Phase Match Condition&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We assume that an electromagnetic wave goes in the direction with an angle &amp;lt;math&amp;gt;\epsilon&amp;lt;/math&amp;gt; between z axis. The electric field is given as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E(t)=\int E(\omega) e^{i\omega t-ikz\cdot\cos\epsilon-ikx\cdot\sin\epsilon} d\omega=\int E(\omega) e^{i\omega t-i\varphi} d\omega&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\varphi=kz\cdot\cos\epsilon+kx\cdot\sin\epsilon&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; is the wave vector. The phase term &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; indicates the direction of the motion. When an angular dispersion by frequency &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is introduce in deviation angle &amp;lt;math&amp;gt;\epsilon&amp;lt;/math&amp;gt;, the phase term &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; becomes:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\varphi\approx\varphi(\omega_0)+\frac{\partial\varphi}{\partial\omega}(\omega-\omega_0)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here, &amp;lt;math&amp;gt;\omega_0&amp;lt;/math&amp;gt; is the central frequency. Substituting &amp;lt;math&amp;gt;v_g=\frac{c}{n_g}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\tan \gamma&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;\frac{d\omega}{dk}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\frac{n(\omega_0)}{n_g}\omega_0\frac{d\epsilon}{d\omega}&amp;lt;/math&amp;gt;, respectively, the formula above can be simplified to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\varphi\approx \frac{n(\omega_0)\omega_0}{c}(z\cos\epsilon(\omega_0)+x\sin\epsilon(\omega_0)) + \frac{\omega-\omega_0}{v_g\cos\gamma}(z\cos(\epsilon(\omega_0)+\gamma)+x\sin(\epsilon(\omega_0)+\gamma))&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, the speed of the wave packet (term with a low frequency &amp;lt;math&amp;gt;(\omega-\omega_0)&amp;lt;/math&amp;gt;) is modified to be &amp;lt;math&amp;gt;v_g\cos\gamma&amp;lt;/math&amp;gt;. The phase match condition becomes:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;v_\text{THz}=v_g\cos\gamma&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This shows that the phase match condition can be modulated by the parameter &amp;lt;math&amp;gt;\gamma&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Exact Calculation&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The THz field is generated by Difference Frequency Generation (DFG) described by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_\text{THz}(t)=\iint\chi(\omega_1)E^*(\omega_1)e^{-i\omega_1t+ik_1z\cos\epsilon_1+ik_1x\sin\epsilon_1}E(\omega_2)e^{i\omega_2 t-ik_2z\cos\epsilon_2-ik_2x\sin\epsilon_2}d\omega_1d\omega_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When we substitute &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\omega+\Omega&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;\omega_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\omega_2&amp;lt;/math&amp;gt;, the equation above becomes:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_\text{THz}(t)=\iint\chi(\omega)E^*(\omega)E(\omega+\Omega)e^{i\Omega t+i\frac{\Omega}{v_g\cos\gamma}(z\cos\gamma+x\sin\gamma)}d\omega d\Omega&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, the THz wave by frequency &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_\text{THz}(\Omega)=e^{i\Omega t-i\frac{\Omega}{v_\text{THz}}z}\int\chi(\omega)E^*(\omega)E(\omega+\Omega)e^{i\frac{\Omega}{v_g\cos\gamma}z-i\frac{\Omega}{v_\text{THz}}z}d\omega &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where a rotation of &amp;lt;math&amp;gt;\gamma&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;x-z&amp;lt;/math&amp;gt; plane is imposed. The term &amp;lt;math&amp;gt;e^{i\frac{\Omega}{v_g\cos\gamma}z-i\frac{\Omega}{v_\text{THz}}z}&amp;lt;/math&amp;gt; represents the phase mismatch.&lt;br /&gt;
&lt;br /&gt;
===Electro-Optical Sampling===&lt;br /&gt;
&lt;br /&gt;
The Terahertz photons has so low energy (~0.003 eV) that it can hardly be detected via photodiode made up of common semiconductor (band gap: &amp;gt;0.5eV). Even narrow bandgap semiconductor has a bandgap in the magnitude of 0.01 eV. Hence, conventional detectors cannot directly detect Terahertz photons. Nevertheless, the variance rate of terahertz frequency is in the magnitude of picoseconds. This hints us to use pulses with a duration of 0.1 picosecond magnitude as a &amp;quot;shutter&amp;quot; to capture the shape of terahertz wave.&lt;br /&gt;
&lt;br /&gt;
Optical pulses can detect the transient change of the optical property. Once the electric field of the terahertz wave alters the optical properties of the material, the probe pulse, i.e. the optical pulse, can instantaneously detect this change. This measurement technique is &amp;quot;Electro-Optical (EO) Sampling&amp;quot;. When modifying the time delay between the optical pulse and terahertz wave, the optical pulse can depict the electric field of terahertz wave point by point.&lt;br /&gt;
&lt;br /&gt;
In the experiment, birefringence is the most popular optical property used in EO sampling. This effect can be seen as a special sum-frequency generation . Since the frequency of terahertz wave is much lower than the optical pulse, it can be deemed as zero-frequency term in the special sum-frequency generation. Hence, the dielectric tensor becomes: &amp;lt;math&amp;gt;\varepsilon_{ij}=\chi^{(1)}_{ij}(\omega)+\sum_k\chi^{(2)}_{ijk}(0,\omega;\omega)E_{k,\text{THz}}&amp;lt;/math&amp;gt;. To give the refractive indices, we shall use the refractive ellipse. We reverse the dielectric tensor as &amp;lt;math&amp;gt;\varepsilon^{(-1)}&amp;lt;/math&amp;gt;. When applied Taylor expansion in the order of &amp;lt;math&amp;gt;E_{k,THz}&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt;\varepsilon^{-1}\approx\varepsilon^{-1}_{ij,0}+\sum_kr_{ijk}E_{k,\text{THz}}&amp;lt;/math&amp;gt;. Here, &amp;lt;math&amp;gt;\varepsilon^{-1}_{ij,0}&amp;lt;/math&amp;gt; is the dielectric tensor when there is no outer electric field, and &amp;lt;math&amp;gt;r_{ijk}&amp;lt;/math&amp;gt; is the EO coefficient&lt;br /&gt;
&lt;br /&gt;
According to the conservation of energy density &amp;lt;math&amp;gt;w=\frac{1}{2}\sum_{i,j}D_i\epsilon^{-1}_{ij}D_j&amp;lt;/math&amp;gt; and electric displacement &amp;lt;math&amp;gt;D_i&amp;lt;/math&amp;gt; with and without the medium, we can normalise the conversation relation as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
1=\sum_{i,j}\frac{u_iu_j}{n_{ij}^2}=u_iu_j\varepsilon^{-1}_{ij}\approx \sum_{i,j}u_iu_j(\varepsilon^{-1}_{ij,0}+\sum_k r_{ijk}E_{k,\text{THz}})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;u_i=\frac{D_i}{\sqrt{2w}}&amp;lt;/math&amp;gt; represents the direction of the outer optical field. The above quadric equation can be definitely simplified in the form of &amp;lt;math&amp;gt;\sum_i \frac{u_i\prime^2}{n_i^2}=1&amp;lt;/math&amp;gt; with a transformation &amp;lt;math&amp;gt;u_i\prime=\sum_{j}R_ij u_j&amp;lt;/math&amp;gt; via diagonalzing the tensor &amp;lt;math&amp;gt;\varepsilon^{-1}_{ij}&amp;lt;/math&amp;gt;. Then, we can simply gives the Jones matrix to describe the change of the polarisation of the incident laser. The Jones matrix can be:&lt;br /&gt;
&amp;lt;math&amp;gt;\mathbf{J} = \begin{bmatrix}&lt;br /&gt;
e^{ikn_1 d} &amp;amp;  0 \\&lt;br /&gt;
0 &amp;amp;  e^{ikn_2d} \\&lt;br /&gt;
\end{bmatrix}&amp;lt;/math&amp;gt;&lt;br /&gt;
, where we assume that the incident direction is in the z-direction (index 3).&lt;br /&gt;
&lt;br /&gt;
===Thermopile Detector===&lt;br /&gt;
To detect the generated THz waves, we employ a thermopile detector, which offers a cost-effective and sensitive solution for broadband THz detection. A thermopile is a thermal detector that consists of a series of thermocouples connected in series or parallel, producing a voltage in response to temperature differences across its junctions.&lt;br /&gt;
&lt;br /&gt;
When the THz radiation is absorbed by the blackened surface of the thermopile, it causes a temperature rise, generating a measurable voltage signal due to the Seebeck effect. Unlike semiconductor photodetectors, thermopiles do not rely on photon energy exceeding the material bandgap. This makes them especially suitable for detecting low-energy THz photons (∼0.003 eV), which are otherwise difficult to detect using conventional photodiodes.&lt;br /&gt;
&lt;br /&gt;
In our setup, the thermopile detector is positioned to capture the emitted THz beam after passing through the optical setup. Its broadband response allows us to record the relative intensity of the THz signal under different generation or modulation conditions. Though it does not provide time-resolved measurements, its simplicity and compatibility with room-temperature operation make it a practical tool for evaluating THz pulse generation in a laboratory environment.&lt;br /&gt;
[[File:Differential Temperature Thermopile.png|thumb|center|500px|Schematic of a thermopile structure showing heat flow and voltage generation due to temperature gradient.]]&lt;br /&gt;
&lt;br /&gt;
Thermopiles are used to provide an output in response to temperature as part of a temperature measuring device, such as the infrared thermometers widely used by medical professionals to measure body temperature, or in thermal accelerometers to measure the temperature profile inside the sealed cavity of the sensor. They are also used widely in heat flux sensors and pyrheliometers and gas burner safety controls. The output of a thermopile is usually in the range of tens or hundreds of millivolts. As well as increasing the signal level, the device may be used to provide spatial temperature averaging. Thermopiles are also used to generate electrical energy from, for instance, heat from electrical components, solar wind, radioactive materials, laser radiation or combustion. The process is also an example of the Peltier effect (electric current transferring heat energy) as the process transfers heat from the hot to the cold junctions.&lt;br /&gt;
&lt;br /&gt;
[[File:Thermopile Sensors.png|thumb|center|500px|]]&lt;br /&gt;
&lt;br /&gt;
==Measurements and Setups==&lt;br /&gt;
&lt;br /&gt;
=== EO Sampling with ZnTe===&lt;br /&gt;
&lt;br /&gt;
We use Zinc Telluride (ZnTe) for the EO Sampling. As the theory mentioned above, we shall first give out the electro-optical tensor &amp;lt;math&amp;gt;r_{ijk}&amp;lt;/math&amp;gt;. As reference says that the tensor can be simplified to be &amp;lt;math&amp;gt;r_{ijk}=r_{231}|\epsilon_{ijk}|&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\epsilon_{ijk}&amp;lt;/math&amp;gt; is the Levi-Civita symbol. In most references, &amp;lt;math&amp;gt;r_{231}&amp;lt;/math&amp;gt; is simplified to be &amp;lt;math&amp;gt;r_{41}&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Meanwhile, though ZnTe is isotropic, the measurement using its (110) plane. Thus, we shall first rotate the frame to fit the incident plane. Now we assume that the basis is &amp;lt;math&amp;gt;\mathbf{e}_1=\mathbf{e}_x=\frac{1}{\sqrt{2}}(-1,1,0)&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\mathbf{e}_2=\mathbf{e}_y=(0,0,1)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\mathbf{e}_3=\mathbf{e}_z=\frac{1}{\sqrt{2}}(1,1,0)&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Now, we assume that the incident Terahertz wave has a polarisation in (110) plane with an angle &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt; between &amp;lt;math&amp;gt;\mathbf{e}_x&amp;lt;/math&amp;gt;. The Terahertz wave vector should be &amp;lt;math&amp;gt;\mathbf{E}_\text{THz}=E_\text{THz}\left(-\frac{\cos\alpha}{\sqrt{2}}, \frac{\cos\alpha}{\sqrt{2}},\sin\alpha\right)&amp;lt;/math&amp;gt;. Hence, we can write out the refractive index as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathbf{\varepsilon}^{-1}=\begin{bmatrix}&lt;br /&gt;
\frac{1}{n_0^2} &amp;amp;  r_{41} E_\text{THz}\sin\alpha &amp;amp; r_{41} \frac{E_\text{THz}}{\sqrt{2}}\cos\alpha \\&lt;br /&gt;
r_{41} E_\text{THz}\sin\alpha &amp;amp;  \frac{1}{n_0^2} &amp;amp; -r_{41} \frac{E_\text{THz}}{\sqrt{2}}\cos\alpha \\&lt;br /&gt;
r_{41} \frac{E_\text{THz}}{\sqrt{2}}\cos\alpha &amp;amp; -r_{41} \frac{E_\text{THz}}{\sqrt{2}}\cos\alpha &amp;amp; \frac{1}{n_0^2}\\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which gives Eigenvalues:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_1^{-2}=\frac{1}{n_0^2}-\frac{r_{41}E_\text{THz}}{2}(\sin\alpha+\sqrt{1+3\cos^2\alpha})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_2^{-2}=\frac{1}{n_0^2}-\frac{r_{41}E_\text{THz}}{2}(\sin\alpha-\sqrt{1+3\cos^2\alpha})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_3^{-2}=\frac{1}{n_0^2}+r_{41}E_\text{THz}\sin\alpha&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and the eigenvectors:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u_1\prime\propto\left(-1, 1,b_1(\alpha)\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u_2\prime\propto\left(1, -1,b_2(\alpha)\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u_3=\frac{1}{\sqrt{2}}(-1,-1,0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;b_{1,2}(\alpha)=\frac{\sqrt{7\cos^2\alpha+1}\pm3\sin\alpha}{\cos^2\alpha+1\pm\sin\alpha\sqrt{7\cos^2\alpha+1}}\cos\alpha&amp;lt;/math&amp;gt;. Notice that &amp;lt;math&amp;gt;r_{41}\approx4pm/V&amp;lt;/math&amp;gt;. Hence, when &amp;lt;math&amp;gt;E_{THz}&amp;lt;1 MV/cm&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt;r_{41}E_\text{THz}\leq4\times10^{-4}\ll1&amp;lt;/math&amp;gt;. The refractive indices are approximately:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_1=n_0-\frac{n_0^3r_{41}E_\text{THz}}{4}(\sin\alpha+\sqrt{1+3\cos^2\alpha})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_2=n_0-\frac{n_0^3r_{41}E_\text{THz}}{4}(\sin\alpha-\sqrt{1+3\cos^2\alpha})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_3=n_0+\frac{n_0^3r_{41}E_\text{THz}\sin\alpha}{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, we find that the birefringent coefficient &amp;lt;math&amp;gt;\Delta n=n_1-n_2=\frac{n_0^3r_{41}E_\text{THz}}{2}(\sqrt{1+3\cos^2\alpha})\leq n_0^3r_{41}E_\text{THz}&amp;lt;/math&amp;gt; has a maximum at &amp;lt;math&amp;gt;\alpha=0&amp;lt;/math&amp;gt;. Here, the eigenvectors, i.e., the principle axis of ZnTe, are &amp;lt;math&amp;gt;&lt;br /&gt;
u_1\prime=\left(-\frac{1}{2}, \frac{1}{2}, \frac{1}{\sqrt{2}}\right)=\frac{1}{\sqrt{2}}\mathbf{e}_x+\frac{1}{\sqrt{2}}\mathbf{e}_y, u_2\prime=\left(\frac{1}{2}, -\frac{1}{2}, \frac{1}{\sqrt{2}}\right)=\frac{1}{\sqrt{2}}\mathbf{e}_x+\frac{1}{\sqrt{2}}\mathbf{e}_y&amp;lt;/math&amp;gt;. It shows that the angle between the new axis and the old ones is strictly 45 degree. Therefore, when the normally incident beam has a polarisation along &amp;lt;math&amp;gt;\mathbf{e}_x&amp;lt;/math&amp;gt;, it would becoming elliptically polarised. Specifically, in the experiment, the linearly polarised beam would pass through a Quarter Wave Plate (QWP), then be analysed by Wollaston prism and finally collected by balance detector after passing ZnTe. The balance detector here actually consists of 2 detectors same in type.&lt;br /&gt;
&lt;br /&gt;
We can thereby show the optical field after the Wollaston prism as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\left(E_1\prime, E_2\prime\right)^T=R\mathbf{Q}\mathbf{J}R(E_\text{optical},0)^T&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where the QWP matrix is&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathbf{Q}=\begin{bmatrix}&lt;br /&gt;
1&amp;amp;0\\&lt;br /&gt;
0&amp;amp;i\\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt; and the rotation matrix representing a rotation of 45 deg is&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathbf{R}=\begin{bmatrix}&lt;br /&gt;
\frac{1}{\sqrt{2}}&amp;amp;\frac{1}{\sqrt{2}}\\&lt;br /&gt;
-\frac{1}{\sqrt{2}}&amp;amp;\frac{1}{\sqrt{2}}\\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;. Hence, the formula can be simplified as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\left(E_1\prime, E_2\prime\right)^T=\frac{e^{ik\frac{n_1+n_2}{2}d}E_\text{optical}}{2}\left(ie^{ki\frac{n_1-n_2}{2}d}+e^{-ik\frac{n_1-n_2}{2}d},-ie^{ik\frac{n_1-n_2}{2}d}+e^{-ik\frac{n_1-n_2}{2}d}\right)^T&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the experiment, we extract the difference between the signals from the 2 detectors via lock-in amplifier. As the intensity &amp;lt;math&amp;gt;I_0\propto E_\text{optical}^2&amp;lt;/math&amp;gt;, the final measurement would gives:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
I_\text{signal}=I_0\sin\left(k(n_1-n_2)d\right)=I_0\sin\left(kr_{41} E_\text{THz}n_0^3d\right)\approx I_0kr_{41} E_\text{THz}n_0^3d&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore, we can inversely give the electric field of Terahertz wave as:&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
E_\text{THz}=\frac{I_\text{signal}}{I_0kr_{41}E_\text{THz}n_0^3d}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Modification given finite delay in the circuit ===&lt;br /&gt;
&lt;br /&gt;
In the measurement, we use a source of 2 kHz laser and the frequency of chopper is set to be 1 kHz. However, due to the delay in the circuit, we saw periodic exponential-like signal other than Dirac delta signal as expected. Here, we analyse how the exponential data would affect the result. Assume that the detector is not saturated. Hence, in 1 period, the signal would be the sum of all past exponentially-decaying signals:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
s_p(t)=\sum_{n=0}^{+\infty}s_0e^{-\frac{nT+t}{\tau}}=\frac{s_0e^{-\frac{t}{\tau}}}{1-e^{T/\tau}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\tau&amp;lt;/math&amp;gt; is the time constant of the detector and &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; is the period of the signal. Given a periodic continuation of the signal, we can give the Fourier components by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\tilde{s}(f)=\frac{1}{T}\int_{0}^T\frac{s_0e^{-\frac{t}{\tau}}}{1-e^{T/\tau}}e^{i2\pi ft}dt=\frac{\tau}{T}\frac{1}{1+i\frac{2\pi}{f\tau}}s_0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where frequency &amp;lt;math&amp;gt;f=\frac{n}{T}&amp;lt;/math&amp;gt; is a discrete variable. In the experiment, we measure the Terahertz wave in frequency &amp;lt;math&amp;gt;f_0&amp;lt;/math&amp;gt; and the optical intensity in frequency &amp;lt;math&amp;gt;f_1=2f_0&amp;lt;/math&amp;gt;. Therefore, the lock-in outputs &amp;lt;math&amp;gt;U_{1,2}&amp;lt;/math&amp;gt; and the real values &amp;lt;math&amp;gt;s_{1,2}&amp;lt;/math&amp;gt; should have a relation as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{s_1}{s_2}=\sqrt{\frac{1+\left(\frac{2\pi}{f_0\tau}\right)^2}{1+\left(\frac{2\pi}{2f_0\tau}\right)^2}}\frac{U_1}{U_2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This relation shows that when &amp;lt;math&amp;gt;\tau\rightarrow0&amp;lt;/math&amp;gt;, the real value might be 2 times of the outputs, verified by our program. Here, we measured the&lt;br /&gt;
&lt;br /&gt;
===EO Sampling Setup===&lt;br /&gt;
[[file:schem_eosampling.png|600px|thumb|right|Schematics of Setup with Electro-Optical Sampling]]&lt;br /&gt;
&lt;br /&gt;
Firstly, we try to detect the Terahertz wave with the most traditional method, electro-optical sampling, to demonstrate that we are truely measuring the terahertz wave. This is because the the EO sampling actually measures the wave shape of the Terahertz pulse with a resolution of 0.07 ps which is much smaller than the period of the terahertz wave (2 ps). Hence, we expect to see a oscillation signal representing the electric field of the terahertz wave. Then, we can compare the wave to others result, thereby demonstrating that this pulse is terahertz wave.&lt;br /&gt;
&lt;br /&gt;
The setup (figure in the right) mainly consist of 3 parts, pump path for generating terahertz wave (red one), terahertz wave path (blue one) and the probe path for EO sampling (green one). All pump and probe beam are 2 kHz, 1030 nm Yb:YAG laser with a duration of about 200 fs. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Pump Path&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The delay line is used to control the time delay between the THz pulse and the probe pulse. Then, a telescope with a cylindrical convex lens (f=100 mm) and a conjugate concave lens (f=-50 mm) compresses the beam in the direction perpendicular to the table. The grating then introduces a tilt in the wavefront of the pulse. Subsequently, the pulse will be imaged into the Lithium Niobate (LN) crystal with another telescope. The second one consist of cylindrical convex lens with focal lengths of 50 mm and 100 mm. The Half-Wave Plate (HWP) before the grating is used to optimise the efficiency of the grating, while the one before LN crystal ensures that the polarisation of the beam aligns with the d33 axis to give a maximum THz generation efficiency.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Probe Path&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The probe beam has an energy that is much smaller than the pump path to protect the EO crystal (Zinc Telluride, ZnTe) and the photodiode detectors. When attenuated by the HWP and Polarisation Beam Splitter (PBS), the probe beam would firstly go into a delay path to match the time delay in the pump path. Then, a convex lens with a focal length of 150 mm focuses the beam on the ZnTe to detect the change of birefringence due to Terahertz pulse. Then, the beam is collimated by a conjugated convex lens with a focal length of 50 mm and analysed by the Wollaston prism. The splitted beams would go into 2 same detectors. Experimentally, the linear range of the photodiode on the lock-in amplifier is about from 0~9 mV in our setup.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Terahertz Path&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The Terahertz path is collected by the first Off-Axis Parabolic mirror (OAP) with a focal length of 76.2 mm. Then, it&#039;s collimated by conjugated OPA with focal lengths of 76.2 mm and 101.6 mm. In the end, it would be focused by the final OPA on the ZnTe. The OPA here has a tiny tunnel to allow the 1030 nm probe beam to pass.&lt;br /&gt;
&lt;br /&gt;
===Thermopile Setup===&lt;br /&gt;
&lt;br /&gt;
[[file:schem_thermopile.png|600px|thumb|right|Schematics of setup with thermopile sensor]]&lt;br /&gt;
&lt;br /&gt;
In our second attempt, we try to detect the Terahertz pulse directly via a thermopile sensor.&lt;br /&gt;
&lt;br /&gt;
==Source for Codes==&lt;br /&gt;
===Test Program for Signal Distortion===&lt;br /&gt;
&lt;br /&gt;
===Source for Auto-measurement Program===&lt;br /&gt;
&lt;br /&gt;
==Reference==&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Terahertz_Electromagnetic_Wave_Detection&amp;diff=1225</id>
		<title>Terahertz Electromagnetic Wave Detection</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Terahertz_Electromagnetic_Wave_Detection&amp;diff=1225"/>
		<updated>2025-04-24T03:46:14Z</updated>

		<summary type="html">&lt;p&gt;Bohan: /* Thermopile Detector */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Members==&lt;br /&gt;
&lt;br /&gt;
Luo Shizhuo E1353445@u.nus.edu&lt;br /&gt;
&lt;br /&gt;
Zhang Bohan E1349227@u.nus.edu&lt;br /&gt;
&lt;br /&gt;
==Project Overview==&lt;br /&gt;
&lt;br /&gt;
Terahertz (THz) waves are rather useful in communication (6G communication: 0.3~3 THz), astronomy (millimetre telescope: 0.22 THz) and solid state material characterisation. However, the generation and detection of THz wave so difficult that it is named as the &amp;quot;THz Gap&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
In this project, we aim to generate and detect a THz pulse with a traditional method (Electro-Optical Sampling) and then via a commercial thermopile sensor. (Specifically, we will use LiNbO3 (LN) crystal, which is reported to be capable of generating THz pulses easily.)&lt;br /&gt;
&lt;br /&gt;
This project can provide a cheaper option compared to specific THz camera (like THz fluorescence camera), and enable us to observe the pattern of THz wave in a more cost-effective way.&lt;br /&gt;
&lt;br /&gt;
==Theory Basis==&lt;br /&gt;
&lt;br /&gt;
===LN-based THz pulse generation===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Phase Match Condition&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We assume that an electromagnetic wave goes in the direction with an angle &amp;lt;math&amp;gt;\epsilon&amp;lt;/math&amp;gt; between z axis. The electric field is given as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E(t)=\int E(\omega) e^{i\omega t-ikz\cdot\cos\epsilon-ikx\cdot\sin\epsilon} d\omega=\int E(\omega) e^{i\omega t-i\varphi} d\omega&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\varphi=kz\cdot\cos\epsilon+kx\cdot\sin\epsilon&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; is the wave vector. The phase term &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; indicates the direction of the motion. When an angular dispersion by frequency &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is introduce in deviation angle &amp;lt;math&amp;gt;\epsilon&amp;lt;/math&amp;gt;, the phase term &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; becomes:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\varphi\approx\varphi(\omega_0)+\frac{\partial\varphi}{\partial\omega}(\omega-\omega_0)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here, &amp;lt;math&amp;gt;\omega_0&amp;lt;/math&amp;gt; is the central frequency. Substituting &amp;lt;math&amp;gt;v_g=\frac{c}{n_g}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\tan \gamma&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;\frac{d\omega}{dk}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\frac{n(\omega_0)}{n_g}\omega_0\frac{d\epsilon}{d\omega}&amp;lt;/math&amp;gt;, respectively, the formula above can be simplified to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\varphi\approx \frac{n(\omega_0)\omega_0}{c}(z\cos\epsilon(\omega_0)+x\sin\epsilon(\omega_0)) + \frac{\omega-\omega_0}{v_g\cos\gamma}(z\cos(\epsilon(\omega_0)+\gamma)+x\sin(\epsilon(\omega_0)+\gamma))&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, the speed of the wave packet (term with a low frequency &amp;lt;math&amp;gt;(\omega-\omega_0)&amp;lt;/math&amp;gt;) is modified to be &amp;lt;math&amp;gt;v_g\cos\gamma&amp;lt;/math&amp;gt;. The phase match condition becomes:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;v_\text{THz}=v_g\cos\gamma&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This shows that the phase match condition can be modulated by the parameter &amp;lt;math&amp;gt;\gamma&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Exact Calculation&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The THz field is generated by Difference Frequency Generation (DFG) described by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_\text{THz}(t)=\iint\chi(\omega_1)E^*(\omega_1)e^{-i\omega_1t+ik_1z\cos\epsilon_1+ik_1x\sin\epsilon_1}E(\omega_2)e^{i\omega_2 t-ik_2z\cos\epsilon_2-ik_2x\sin\epsilon_2}d\omega_1d\omega_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When we substitute &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\omega+\Omega&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;\omega_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\omega_2&amp;lt;/math&amp;gt;, the equation above becomes:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_\text{THz}(t)=\iint\chi(\omega)E^*(\omega)E(\omega+\Omega)e^{i\Omega t+i\frac{\Omega}{v_g\cos\gamma}(z\cos\gamma+x\sin\gamma)}d\omega d\Omega&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, the THz wave by frequency &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_\text{THz}(\Omega)=e^{i\Omega t-i\frac{\Omega}{v_\text{THz}}z}\int\chi(\omega)E^*(\omega)E(\omega+\Omega)e^{i\frac{\Omega}{v_g\cos\gamma}z-i\frac{\Omega}{v_\text{THz}}z}d\omega &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where a rotation of &amp;lt;math&amp;gt;\gamma&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;x-z&amp;lt;/math&amp;gt; plane is imposed. The term &amp;lt;math&amp;gt;e^{i\frac{\Omega}{v_g\cos\gamma}z-i\frac{\Omega}{v_\text{THz}}z}&amp;lt;/math&amp;gt; represents the phase mismatch.&lt;br /&gt;
&lt;br /&gt;
===Electro-Optical Sampling===&lt;br /&gt;
&lt;br /&gt;
The Terahertz photons has so low energy (~0.003 eV) that it can hardly be detected via photodiode made up of common semiconductor (band gap: &amp;gt;0.5eV). Even narrow bandgap semiconductor has a bandgap in the magnitude of 0.01 eV. Hence, conventional detectors cannot directly detect Terahertz photons. Nevertheless, the variance rate of terahertz frequency is in the magnitude of picoseconds. This hints us to use pulses with a duration of 0.1 picosecond magnitude as a &amp;quot;shutter&amp;quot; to capture the shape of terahertz wave.&lt;br /&gt;
&lt;br /&gt;
Optical pulses can detect the transient change of the optical property. Once the electric field of the terahertz wave alters the optical properties of the material, the probe pulse, i.e. the optical pulse, can instantaneously detect this change. This measurement technique is &amp;quot;Electro-Optical (EO) Sampling&amp;quot;. When modifying the time delay between the optical pulse and terahertz wave, the optical pulse can depict the electric field of terahertz wave point by point.&lt;br /&gt;
&lt;br /&gt;
In the experiment, birefringence is the most popular optical property used in EO sampling. This effect can be seen as a special sum-frequency generation . Since the frequency of terahertz wave is much lower than the optical pulse, it can be deemed as zero-frequency term in the special sum-frequency generation. Hence, the dielectric tensor becomes: &amp;lt;math&amp;gt;\varepsilon_{ij}=\chi^{(1)}_{ij}(\omega)+\sum_k\chi^{(2)}_{ijk}(0,\omega;\omega)E_{k,\text{THz}}&amp;lt;/math&amp;gt;. To give the refractive indices, we shall use the refractive ellipse. We reverse the dielectric tensor as &amp;lt;math&amp;gt;\varepsilon^{(-1)}&amp;lt;/math&amp;gt;. When applied Taylor expansion in the order of &amp;lt;math&amp;gt;E_{k,THz}&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt;\varepsilon^{-1}\approx\varepsilon^{-1}_{ij,0}+\sum_kr_{ijk}E_{k,\text{THz}}&amp;lt;/math&amp;gt;. Here, &amp;lt;math&amp;gt;\varepsilon^{-1}_{ij,0}&amp;lt;/math&amp;gt; is the dielectric tensor when there is no outer electric field, and &amp;lt;math&amp;gt;r_{ijk}&amp;lt;/math&amp;gt; is the EO coefficient&lt;br /&gt;
&lt;br /&gt;
According to the conservation of energy density &amp;lt;math&amp;gt;w=\frac{1}{2}\sum_{i,j}D_i\epsilon^{-1}_{ij}D_j&amp;lt;/math&amp;gt; and electric displacement &amp;lt;math&amp;gt;D_i&amp;lt;/math&amp;gt; with and without the medium, we can normalise the conversation relation as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
1=\sum_{i,j}\frac{u_iu_j}{n_{ij}^2}=u_iu_j\varepsilon^{-1}_{ij}\approx \sum_{i,j}u_iu_j(\varepsilon^{-1}_{ij,0}+\sum_k r_{ijk}E_{k,\text{THz}})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;u_i=\frac{D_i}{\sqrt{2w}}&amp;lt;/math&amp;gt; represents the direction of the outer optical field. The above quadric equation can be definitely simplified in the form of &amp;lt;math&amp;gt;\sum_i \frac{u_i\prime^2}{n_i^2}=1&amp;lt;/math&amp;gt; with a transformation &amp;lt;math&amp;gt;u_i\prime=\sum_{j}R_ij u_j&amp;lt;/math&amp;gt; via diagonalzing the tensor &amp;lt;math&amp;gt;\varepsilon^{-1}_{ij}&amp;lt;/math&amp;gt;. Then, we can simply gives the Jones matrix to describe the change of the polarisation of the incident laser. The Jones matrix can be:&lt;br /&gt;
&amp;lt;math&amp;gt;\mathbf{J} = \begin{bmatrix}&lt;br /&gt;
e^{ikn_1 d} &amp;amp;  0 \\&lt;br /&gt;
0 &amp;amp;  e^{ikn_2d} \\&lt;br /&gt;
\end{bmatrix}&amp;lt;/math&amp;gt;&lt;br /&gt;
, where we assume that the incident direction is in the z-direction (index 3).&lt;br /&gt;
&lt;br /&gt;
===Thermopile Detector===&lt;br /&gt;
To detect the generated THz waves, we employ a thermopile detector, which offers a cost-effective and sensitive solution for broadband THz detection. A thermopile is a thermal detector that consists of a series of thermocouples connected in series or parallel, producing a voltage in response to temperature differences across its junctions.&lt;br /&gt;
&lt;br /&gt;
When the THz radiation is absorbed by the blackened surface of the thermopile, it causes a temperature rise, generating a measurable voltage signal due to the Seebeck effect. Unlike semiconductor photodetectors, thermopiles do not rely on photon energy exceeding the material bandgap. This makes them especially suitable for detecting low-energy THz photons (∼0.003 eV), which are otherwise difficult to detect using conventional photodiodes.&lt;br /&gt;
&lt;br /&gt;
In our setup, the thermopile detector is positioned to capture the emitted THz beam after passing through the optical setup. Its broadband response allows us to record the relative intensity of the THz signal under different generation or modulation conditions. Though it does not provide time-resolved measurements, its simplicity and compatibility with room-temperature operation make it a practical tool for evaluating THz pulse generation in a laboratory environment.&lt;br /&gt;
[[File:Differential Temperature Thermopile.png|thumb|center|500px|Schematic of a thermopile structure showing heat flow and voltage generation due to temperature gradient.]]&lt;br /&gt;
&lt;br /&gt;
Thermopiles are used to provide an output in response to temperature as part of a temperature measuring device, such as the infrared thermometers widely used by medical professionals to measure body temperature, or in thermal accelerometers to measure the temperature profile inside the sealed cavity of the sensor. They are also used widely in heat flux sensors and pyrheliometers and gas burner safety controls. The output of a thermopile is usually in the range of tens or hundreds of millivolts. As well as increasing the signal level, the device may be used to provide spatial temperature averaging. Thermopiles are also used to generate electrical energy from, for instance, heat from electrical components, solar wind, radioactive materials, laser radiation or combustion. The process is also an example of the Peltier effect (electric current transferring heat energy) as the process transfers heat from the hot to the cold junctions.&lt;br /&gt;
&lt;br /&gt;
[[File:Thermopile Sensors.png|thumb|center|500px|Schematic of a thermopile structure showing heat flow and voltage generation due to temperature gradient.]]&lt;br /&gt;
&lt;br /&gt;
==Measurements and Setups==&lt;br /&gt;
&lt;br /&gt;
=== EO Sampling with ZnTe===&lt;br /&gt;
&lt;br /&gt;
We use Zinc Telluride (ZnTe) for the EO Sampling. As the theory mentioned above, we shall first give out the electro-optical tensor &amp;lt;math&amp;gt;r_{ijk}&amp;lt;/math&amp;gt;. As reference says that the tensor can be simplified to be &amp;lt;math&amp;gt;r_{ijk}=r_{231}|\epsilon_{ijk}|&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\epsilon_{ijk}&amp;lt;/math&amp;gt; is the Levi-Civita symbol. In most references, &amp;lt;math&amp;gt;r_{231}&amp;lt;/math&amp;gt; is simplified to be &amp;lt;math&amp;gt;r_{41}&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Meanwhile, though ZnTe is isotropic, the measurement using its (110) plane. Thus, we shall first rotate the frame to fit the incident plane. Now we assume that the basis is &amp;lt;math&amp;gt;\mathbf{e}_1=\mathbf{e}_x=\frac{1}{\sqrt{2}}(-1,1,0)&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\mathbf{e}_2=\mathbf{e}_y=(0,0,1)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\mathbf{e}_3=\mathbf{e}_z=\frac{1}{\sqrt{2}}(1,1,0)&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Now, we assume that the incident Terahertz wave has a polarisation in (110) plane with an angle &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt; between &amp;lt;math&amp;gt;\mathbf{e}_x&amp;lt;/math&amp;gt;. The Terahertz wave vector should be &amp;lt;math&amp;gt;\mathbf{E}_\text{THz}=E_\text{THz}\left(-\frac{\cos\alpha}{\sqrt{2}}, \frac{\cos\alpha}{\sqrt{2}},\sin\alpha\right)&amp;lt;/math&amp;gt;. Hence, we can write out the refractive index as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathbf{\varepsilon}^{-1}=\begin{bmatrix}&lt;br /&gt;
\frac{1}{n_0^2} &amp;amp;  r_{41} E_\text{THz}\sin\alpha &amp;amp; r_{41} \frac{E_\text{THz}}{\sqrt{2}}\cos\alpha \\&lt;br /&gt;
r_{41} E_\text{THz}\sin\alpha &amp;amp;  \frac{1}{n_0^2} &amp;amp; -r_{41} \frac{E_\text{THz}}{\sqrt{2}}\cos\alpha \\&lt;br /&gt;
r_{41} \frac{E_\text{THz}}{\sqrt{2}}\cos\alpha &amp;amp; -r_{41} \frac{E_\text{THz}}{\sqrt{2}}\cos\alpha &amp;amp; \frac{1}{n_0^2}\\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which gives Eigenvalues:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_1^{-2}=\frac{1}{n_0^2}-\frac{r_{41}E_\text{THz}}{2}(\sin\alpha+\sqrt{1+3\cos^2\alpha})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_2^{-2}=\frac{1}{n_0^2}-\frac{r_{41}E_\text{THz}}{2}(\sin\alpha-\sqrt{1+3\cos^2\alpha})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_3^{-2}=\frac{1}{n_0^2}+r_{41}E_\text{THz}\sin\alpha&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and the eigenvectors:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u_1\prime\propto\left(-1, 1,b_1(\alpha)\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u_2\prime\propto\left(1, -1,b_2(\alpha)\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u_3=\frac{1}{\sqrt{2}}(-1,-1,0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;b_{1,2}(\alpha)=\frac{\sqrt{7\cos^2\alpha+1}\pm3\sin\alpha}{\cos^2\alpha+1\pm\sin\alpha\sqrt{7\cos^2\alpha+1}}\cos\alpha&amp;lt;/math&amp;gt;. Notice that &amp;lt;math&amp;gt;r_{41}\approx4pm/V&amp;lt;/math&amp;gt;. Hence, when &amp;lt;math&amp;gt;E_{THz}&amp;lt;1 MV/cm&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt;r_{41}E_\text{THz}\leq4\times10^{-4}\ll1&amp;lt;/math&amp;gt;. The refractive indices are approximately:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_1=n_0-\frac{n_0^3r_{41}E_\text{THz}}{4}(\sin\alpha+\sqrt{1+3\cos^2\alpha})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_2=n_0-\frac{n_0^3r_{41}E_\text{THz}}{4}(\sin\alpha-\sqrt{1+3\cos^2\alpha})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_3=n_0+\frac{n_0^3r_{41}E_\text{THz}\sin\alpha}{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, we find that the birefringent coefficient &amp;lt;math&amp;gt;\Delta n=n_1-n_2=\frac{n_0^3r_{41}E_\text{THz}}{2}(\sqrt{1+3\cos^2\alpha})\leq n_0^3r_{41}E_\text{THz}&amp;lt;/math&amp;gt; has a maximum at &amp;lt;math&amp;gt;\alpha=0&amp;lt;/math&amp;gt;. Here, the eigenvectors, i.e., the principle axis of ZnTe, are &amp;lt;math&amp;gt;&lt;br /&gt;
u_1\prime=\left(-\frac{1}{2}, \frac{1}{2}, \frac{1}{\sqrt{2}}\right)=\frac{1}{\sqrt{2}}\mathbf{e}_x+\frac{1}{\sqrt{2}}\mathbf{e}_y, u_2\prime=\left(\frac{1}{2}, -\frac{1}{2}, \frac{1}{\sqrt{2}}\right)=\frac{1}{\sqrt{2}}\mathbf{e}_x+\frac{1}{\sqrt{2}}\mathbf{e}_y&amp;lt;/math&amp;gt;. It shows that the angle between the new axis and the old ones is strictly 45 degree. Therefore, when the normally incident beam has a polarisation along &amp;lt;math&amp;gt;\mathbf{e}_x&amp;lt;/math&amp;gt;, it would becoming elliptically polarised. Specifically, in the experiment, the linearly polarised beam would pass through a Quarter Wave Plate (QWP), then be analysed by Wollaston prism and finally collected by balance detector after passing ZnTe. The balance detector here actually consists of 2 detectors same in type.&lt;br /&gt;
&lt;br /&gt;
We can thereby show the optical field after the Wollaston prism as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\left(E_1\prime, E_2\prime\right)^T=R\mathbf{Q}\mathbf{J}R(E_\text{optical},0)^T&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where the QWP matrix is&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathbf{Q}=\begin{bmatrix}&lt;br /&gt;
1&amp;amp;0\\&lt;br /&gt;
0&amp;amp;i\\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt; and the rotation matrix representing a rotation of 45 deg is&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathbf{R}=\begin{bmatrix}&lt;br /&gt;
\frac{1}{\sqrt{2}}&amp;amp;\frac{1}{\sqrt{2}}\\&lt;br /&gt;
-\frac{1}{\sqrt{2}}&amp;amp;\frac{1}{\sqrt{2}}\\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;. Hence, the formula can be simplified as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\left(E_1\prime, E_2\prime\right)^T=\frac{e^{ik\frac{n_1+n_2}{2}d}E_\text{optical}}{2}\left(ie^{ki\frac{n_1-n_2}{2}d}+e^{-ik\frac{n_1-n_2}{2}d},-ie^{ik\frac{n_1-n_2}{2}d}+e^{-ik\frac{n_1-n_2}{2}d}\right)^T&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the experiment, we extract the difference between the signals from the 2 detectors via lock-in amplifier. As the intensity &amp;lt;math&amp;gt;I_0\propto E_\text{optical}^2&amp;lt;/math&amp;gt;, the final measurement would gives:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
I_\text{signal}=I_0\sin\left(k(n_1-n_2)d\right)=I_0\sin\left(kr_{41} E_\text{THz}n_0^3d\right)\approx I_0kr_{41} E_\text{THz}n_0^3d&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore, we can inversely give the electric field of Terahertz wave as:&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
E_\text{THz}=\frac{I_\text{signal}}{I_0kr_{41}E_\text{THz}n_0^3d}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Modification given finite delay in the circuit ===&lt;br /&gt;
&lt;br /&gt;
In the measurement, we use a source of 2 kHz laser and the frequency of chopper is set to be 1 kHz. However, due to the delay in the circuit, we saw periodic exponential-like signal other than Dirac delta signal as expected. Here, we analyse how the exponential data would affect the result. Assume that the detector is not saturated. Hence, in 1 period, the signal would be the sum of all past exponentially-decaying signals:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
s_p(t)=\sum_{n=0}^{+\infty}s_0e^{-\frac{nT+t}{\tau}}=\frac{s_0e^{-\frac{t}{\tau}}}{1-e^{T/\tau}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\tau&amp;lt;/math&amp;gt; is the time constant of the detector and &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; is the period of the signal. Given a periodic continuation of the signal, we can give the Fourier components by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\tilde{s}(f)=\frac{1}{T}\int_{0}^T\frac{s_0e^{-\frac{t}{\tau}}}{1-e^{T/\tau}}e^{i2\pi ft}dt=\frac{\tau}{T}\frac{1}{1+i\frac{2\pi}{f\tau}}s_0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where frequency &amp;lt;math&amp;gt;f=\frac{n}{T}&amp;lt;/math&amp;gt; is a discrete variable. In the experiment, we measure the Terahertz wave in frequency &amp;lt;math&amp;gt;f_0&amp;lt;/math&amp;gt; and the optical intensity in frequency &amp;lt;math&amp;gt;f_1=2f_0&amp;lt;/math&amp;gt;. Therefore, the lock-in outputs &amp;lt;math&amp;gt;U_{1,2}&amp;lt;/math&amp;gt; and the real values &amp;lt;math&amp;gt;s_{1,2}&amp;lt;/math&amp;gt; should have a relation as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{s_1}{s_2}=\sqrt{\frac{1+\left(\frac{2\pi}{f_0\tau}\right)^2}{1+\left(\frac{2\pi}{2f_0\tau}\right)^2}}\frac{U_1}{U_2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This relation shows that when &amp;lt;math&amp;gt;\tau\rightarrow0&amp;lt;/math&amp;gt;, the real value might be 2 times of the outputs, verified by our program. Here, we measured the&lt;br /&gt;
&lt;br /&gt;
===EO Sampling Setup===&lt;br /&gt;
[[file:schem_eosampling.png|600px|thumb|right|Schematics of Setup with Electro-Optical Sampling]]&lt;br /&gt;
&lt;br /&gt;
Firstly, we try to detect the Terahertz wave with the most traditional method, electro-optical sampling, to demonstrate that we are truely measuring the terahertz wave. This is because the the EO sampling actually measures the wave shape of the Terahertz pulse with a resolution of 0.07 ps which is much smaller than the period of the terahertz wave (2 ps). Hence, we expect to see a oscillation signal representing the electric field of the terahertz wave. Then, we can compare the wave to others result, thereby demonstrating that this pulse is terahertz wave.&lt;br /&gt;
&lt;br /&gt;
The setup (figure in the right) mainly consist of 3 parts, pump path for generating terahertz wave (red one), terahertz wave path (blue one) and the probe path for EO sampling (green one). All pump and probe beam are 2 kHz, 1030 nm Yb:YAG laser with a duration of about 200 fs. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Pump Path&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The delay line is used to control the time delay between the THz pulse and the probe pulse. Then, a telescope with a cylindrical convex lens (f=100 mm) and a conjugate concave lens (f=-50 mm) compresses the beam in the direction perpendicular to the table. The grating then introduces a tilt in the wavefront of the pulse. Subsequently, the pulse will be imaged into the Lithium Niobate (LN) crystal with another telescope. The second one consist of cylindrical convex lens with focal lengths of 50 mm and 100 mm. The Half-Wave Plate (HWP) before the grating is used to optimise the efficiency of the grating, while the one before LN crystal ensures that the polarisation of the beam aligns with the d33 axis to give a maximum THz generation efficiency.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Probe Path&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The probe beam has an energy that is much smaller than the pump path to protect the EO crystal (Zinc Telluride, ZnTe) and the photodiode detectors. When attenuated by the HWP and Polarisation Beam Splitter (PBS), the probe beam would firstly go into a delay path to match the time delay in the pump path. Then, a convex lens with a focal length of 150 mm focuses the beam on the ZnTe to detect the change of birefringence due to Terahertz pulse. Then, the beam is collimated by a conjugated convex lens with a focal length of 50 mm and analysed by the Wollaston prism. The splitted beams would go into 2 same detectors. Experimentally, the linear range of the photodiode on the lock-in amplifier is about from 0~9 mV in our setup.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Terahertz Path&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The Terahertz path is collected by the first Off-Axis Parabolic mirror (OAP) with a focal length of 76.2 mm. Then, it&#039;s collimated by conjugated OPA with focal lengths of 76.2 mm and 101.6 mm. In the end, it would be focused by the final OPA on the ZnTe. The OPA here has a tiny tunnel to allow the 1030 nm probe beam to pass.&lt;br /&gt;
&lt;br /&gt;
===Thermopile Setup===&lt;br /&gt;
&lt;br /&gt;
[[file:schem_thermopile.png|600px|thumb|right|Schematics of setup with thermopile sensor]]&lt;br /&gt;
&lt;br /&gt;
In our second attempt, we try to detect the Terahertz pulse directly via a thermopile sensor.&lt;br /&gt;
&lt;br /&gt;
==Source for Codes==&lt;br /&gt;
===Test Program for Signal Distortion===&lt;br /&gt;
&lt;br /&gt;
===Source for Auto-measurement Program===&lt;br /&gt;
&lt;br /&gt;
==Reference==&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=File:Thermopile_Sensors.jpeg&amp;diff=1224</id>
		<title>File:Thermopile Sensors.jpeg</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=File:Thermopile_Sensors.jpeg&amp;diff=1224"/>
		<updated>2025-04-24T03:44:24Z</updated>

		<summary type="html">&lt;p&gt;Bohan: Thermopile Sensors&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
Thermopile Sensors&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Terahertz_Electromagnetic_Wave_Detection&amp;diff=1223</id>
		<title>Terahertz Electromagnetic Wave Detection</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Terahertz_Electromagnetic_Wave_Detection&amp;diff=1223"/>
		<updated>2025-04-24T03:40:37Z</updated>

		<summary type="html">&lt;p&gt;Bohan: /* Thermopile Detector */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Members==&lt;br /&gt;
&lt;br /&gt;
Luo Shizhuo E1353445@u.nus.edu&lt;br /&gt;
&lt;br /&gt;
Zhang Bohan E1349227@u.nus.edu&lt;br /&gt;
&lt;br /&gt;
==Project Overview==&lt;br /&gt;
&lt;br /&gt;
Terahertz (THz) waves are rather useful in communication (6G communication: 0.3~3 THz), astronomy (millimetre telescope: 0.22 THz) and solid state material characterisation. However, the generation and detection of THz wave so difficult that it is named as the &amp;quot;THz Gap&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
In this project, we aim to generate and detect a THz pulse with a traditional method (Electro-Optical Sampling) and then via a commercial thermopile sensor. (Specifically, we will use LiNbO3 (LN) crystal, which is reported to be capable of generating THz pulses easily.)&lt;br /&gt;
&lt;br /&gt;
This project can provide a cheaper option compared to specific THz camera (like THz fluorescence camera), and enable us to observe the pattern of THz wave in a more cost-effective way.&lt;br /&gt;
&lt;br /&gt;
==Theory Basis==&lt;br /&gt;
&lt;br /&gt;
===LN-based THz pulse generation===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Phase Match Condition&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We assume that an electromagnetic wave goes in the direction with an angle &amp;lt;math&amp;gt;\epsilon&amp;lt;/math&amp;gt; between z axis. The electric field is given as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E(t)=\int E(\omega) e^{i\omega t-ikz\cdot\cos\epsilon-ikx\cdot\sin\epsilon} d\omega=\int E(\omega) e^{i\omega t-i\varphi} d\omega&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\varphi=kz\cdot\cos\epsilon+kx\cdot\sin\epsilon&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; is the wave vector. The phase term &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; indicates the direction of the motion. When an angular dispersion by frequency &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is introduce in deviation angle &amp;lt;math&amp;gt;\epsilon&amp;lt;/math&amp;gt;, the phase term &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; becomes:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\varphi\approx\varphi(\omega_0)+\frac{\partial\varphi}{\partial\omega}(\omega-\omega_0)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here, &amp;lt;math&amp;gt;\omega_0&amp;lt;/math&amp;gt; is the central frequency. Substituting &amp;lt;math&amp;gt;v_g=\frac{c}{n_g}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\tan \gamma&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;\frac{d\omega}{dk}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\frac{n(\omega_0)}{n_g}\omega_0\frac{d\epsilon}{d\omega}&amp;lt;/math&amp;gt;, respectively, the formula above can be simplified to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\varphi\approx \frac{n(\omega_0)\omega_0}{c}(z\cos\epsilon(\omega_0)+x\sin\epsilon(\omega_0)) + \frac{\omega-\omega_0}{v_g\cos\gamma}(z\cos(\epsilon(\omega_0)+\gamma)+x\sin(\epsilon(\omega_0)+\gamma))&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, the speed of the wave packet (term with a low frequency &amp;lt;math&amp;gt;(\omega-\omega_0)&amp;lt;/math&amp;gt;) is modified to be &amp;lt;math&amp;gt;v_g\cos\gamma&amp;lt;/math&amp;gt;. The phase match condition becomes:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;v_\text{THz}=v_g\cos\gamma&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This shows that the phase match condition can be modulated by the parameter &amp;lt;math&amp;gt;\gamma&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Exact Calculation&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The THz field is generated by Difference Frequency Generation (DFG) described by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_\text{THz}(t)=\iint\chi(\omega_1)E^*(\omega_1)e^{-i\omega_1t+ik_1z\cos\epsilon_1+ik_1x\sin\epsilon_1}E(\omega_2)e^{i\omega_2 t-ik_2z\cos\epsilon_2-ik_2x\sin\epsilon_2}d\omega_1d\omega_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When we substitute &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\omega+\Omega&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;\omega_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\omega_2&amp;lt;/math&amp;gt;, the equation above becomes:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_\text{THz}(t)=\iint\chi(\omega)E^*(\omega)E(\omega+\Omega)e^{i\Omega t+i\frac{\Omega}{v_g\cos\gamma}(z\cos\gamma+x\sin\gamma)}d\omega d\Omega&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, the THz wave by frequency &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_\text{THz}(\Omega)=e^{i\Omega t-i\frac{\Omega}{v_\text{THz}}z}\int\chi(\omega)E^*(\omega)E(\omega+\Omega)e^{i\frac{\Omega}{v_g\cos\gamma}z-i\frac{\Omega}{v_\text{THz}}z}d\omega &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where a rotation of &amp;lt;math&amp;gt;\gamma&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;x-z&amp;lt;/math&amp;gt; plane is imposed. The term &amp;lt;math&amp;gt;e^{i\frac{\Omega}{v_g\cos\gamma}z-i\frac{\Omega}{v_\text{THz}}z}&amp;lt;/math&amp;gt; represents the phase mismatch.&lt;br /&gt;
&lt;br /&gt;
===Electro-Optical Sampling===&lt;br /&gt;
&lt;br /&gt;
The Terahertz photons has so low energy (~0.003 eV) that it can hardly be detected via photodiode made up of common semiconductor (band gap: &amp;gt;0.5eV). Even narrow bandgap semiconductor has a bandgap in the magnitude of 0.01 eV. Hence, conventional detectors cannot directly detect Terahertz photons. Nevertheless, the variance rate of terahertz frequency is in the magnitude of picoseconds. This hints us to use pulses with a duration of 0.1 picosecond magnitude as a &amp;quot;shutter&amp;quot; to capture the shape of terahertz wave.&lt;br /&gt;
&lt;br /&gt;
Optical pulses can detect the transient change of the optical property. Once the electric field of the terahertz wave alters the optical properties of the material, the probe pulse, i.e. the optical pulse, can instantaneously detect this change. This measurement technique is &amp;quot;Electro-Optical (EO) Sampling&amp;quot;. When modifying the time delay between the optical pulse and terahertz wave, the optical pulse can depict the electric field of terahertz wave point by point.&lt;br /&gt;
&lt;br /&gt;
In the experiment, birefringence is the most popular optical property used in EO sampling. This effect can be seen as a special sum-frequency generation . Since the frequency of terahertz wave is much lower than the optical pulse, it can be deemed as zero-frequency term in the special sum-frequency generation. Hence, the dielectric tensor becomes: &amp;lt;math&amp;gt;\varepsilon_{ij}=\chi^{(1)}_{ij}(\omega)+\sum_k\chi^{(2)}_{ijk}(0,\omega;\omega)E_{k,\text{THz}}&amp;lt;/math&amp;gt;. To give the refractive indices, we shall use the refractive ellipse. We reverse the dielectric tensor as &amp;lt;math&amp;gt;\varepsilon^{(-1)}&amp;lt;/math&amp;gt;. When applied Taylor expansion in the order of &amp;lt;math&amp;gt;E_{k,THz}&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt;\varepsilon^{-1}\approx\varepsilon^{-1}_{ij,0}+\sum_kr_{ijk}E_{k,\text{THz}}&amp;lt;/math&amp;gt;. Here, &amp;lt;math&amp;gt;\varepsilon^{-1}_{ij,0}&amp;lt;/math&amp;gt; is the dielectric tensor when there is no outer electric field, and &amp;lt;math&amp;gt;r_{ijk}&amp;lt;/math&amp;gt; is the EO coefficient&lt;br /&gt;
&lt;br /&gt;
According to the conservation of energy density &amp;lt;math&amp;gt;w=\frac{1}{2}\sum_{i,j}D_i\epsilon^{-1}_{ij}D_j&amp;lt;/math&amp;gt; and electric displacement &amp;lt;math&amp;gt;D_i&amp;lt;/math&amp;gt; with and without the medium, we can normalise the conversation relation as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
1=\sum_{i,j}\frac{u_iu_j}{n_{ij}^2}=u_iu_j\varepsilon^{-1}_{ij}\approx \sum_{i,j}u_iu_j(\varepsilon^{-1}_{ij,0}+\sum_k r_{ijk}E_{k,\text{THz}})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;u_i=\frac{D_i}{\sqrt{2w}}&amp;lt;/math&amp;gt; represents the direction of the outer optical field. The above quadric equation can be definitely simplified in the form of &amp;lt;math&amp;gt;\sum_i \frac{u_i\prime^2}{n_i^2}=1&amp;lt;/math&amp;gt; with a transformation &amp;lt;math&amp;gt;u_i\prime=\sum_{j}R_ij u_j&amp;lt;/math&amp;gt; via diagonalzing the tensor &amp;lt;math&amp;gt;\varepsilon^{-1}_{ij}&amp;lt;/math&amp;gt;. Then, we can simply gives the Jones matrix to describe the change of the polarisation of the incident laser. The Jones matrix can be:&lt;br /&gt;
&amp;lt;math&amp;gt;\mathbf{J} = \begin{bmatrix}&lt;br /&gt;
e^{ikn_1 d} &amp;amp;  0 \\&lt;br /&gt;
0 &amp;amp;  e^{ikn_2d} \\&lt;br /&gt;
\end{bmatrix}&amp;lt;/math&amp;gt;&lt;br /&gt;
, where we assume that the incident direction is in the z-direction (index 3).&lt;br /&gt;
&lt;br /&gt;
===Thermopile Detector===&lt;br /&gt;
To detect the generated THz waves, we employ a thermopile detector, which offers a cost-effective and sensitive solution for broadband THz detection. A thermopile is a thermal detector that consists of a series of thermocouples connected in series or parallel, producing a voltage in response to temperature differences across its junctions.&lt;br /&gt;
&lt;br /&gt;
When the THz radiation is absorbed by the blackened surface of the thermopile, it causes a temperature rise, generating a measurable voltage signal due to the Seebeck effect. Unlike semiconductor photodetectors, thermopiles do not rely on photon energy exceeding the material bandgap. This makes them especially suitable for detecting low-energy THz photons (∼0.003 eV), which are otherwise difficult to detect using conventional photodiodes.&lt;br /&gt;
&lt;br /&gt;
In our setup, the thermopile detector is positioned to capture the emitted THz beam after passing through the optical setup. Its broadband response allows us to record the relative intensity of the THz signal under different generation or modulation conditions. Though it does not provide time-resolved measurements, its simplicity and compatibility with room-temperature operation make it a practical tool for evaluating THz pulse generation in a laboratory environment.&lt;br /&gt;
[[File:Differential Temperature Thermopile.png|thumb|center|500px|Schematic of a thermopile structure showing heat flow and voltage generation due to temperature gradient.]]&lt;br /&gt;
&lt;br /&gt;
==Measurements and Setups==&lt;br /&gt;
&lt;br /&gt;
=== EO Sampling with ZnTe===&lt;br /&gt;
&lt;br /&gt;
We use Zinc Telluride (ZnTe) for the EO Sampling. As the theory mentioned above, we shall first give out the electro-optical tensor &amp;lt;math&amp;gt;r_{ijk}&amp;lt;/math&amp;gt;. As reference says that the tensor can be simplified to be &amp;lt;math&amp;gt;r_{ijk}=r_{231}|\epsilon_{ijk}|&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\epsilon_{ijk}&amp;lt;/math&amp;gt; is the Levi-Civita symbol. In most references, &amp;lt;math&amp;gt;r_{231}&amp;lt;/math&amp;gt; is simplified to be &amp;lt;math&amp;gt;r_{41}&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Meanwhile, though ZnTe is isotropic, the measurement using its (110) plane. Thus, we shall first rotate the frame to fit the incident plane. Now we assume that the basis is &amp;lt;math&amp;gt;\mathbf{e}_1=\mathbf{e}_x=\frac{1}{\sqrt{2}}(-1,1,0)&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\mathbf{e}_2=\mathbf{e}_y=(0,0,1)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\mathbf{e}_3=\mathbf{e}_z=\frac{1}{\sqrt{2}}(1,1,0)&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Now, we assume that the incident Terahertz wave has a polarisation in (110) plane with an angle &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt; between &amp;lt;math&amp;gt;\mathbf{e}_x&amp;lt;/math&amp;gt;. The Terahertz wave vector should be &amp;lt;math&amp;gt;\mathbf{E}_\text{THz}=E_\text{THz}\left(-\frac{\cos\alpha}{\sqrt{2}}, \frac{\cos\alpha}{\sqrt{2}},\sin\alpha\right)&amp;lt;/math&amp;gt;. Hence, we can write out the refractive index as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathbf{\varepsilon}^{-1}=\begin{bmatrix}&lt;br /&gt;
\frac{1}{n_0^2} &amp;amp;  r_{41} E_\text{THz}\sin\alpha &amp;amp; r_{41} \frac{E_\text{THz}}{\sqrt{2}}\cos\alpha \\&lt;br /&gt;
r_{41} E_\text{THz}\sin\alpha &amp;amp;  \frac{1}{n_0^2} &amp;amp; -r_{41} \frac{E_\text{THz}}{\sqrt{2}}\cos\alpha \\&lt;br /&gt;
r_{41} \frac{E_\text{THz}}{\sqrt{2}}\cos\alpha &amp;amp; -r_{41} \frac{E_\text{THz}}{\sqrt{2}}\cos\alpha &amp;amp; \frac{1}{n_0^2}\\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which gives Eigenvalues:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_1^{-2}=\frac{1}{n_0^2}-\frac{r_{41}E_\text{THz}}{2}(\sin\alpha+\sqrt{1+3\cos^2\alpha})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_2^{-2}=\frac{1}{n_0^2}-\frac{r_{41}E_\text{THz}}{2}(\sin\alpha-\sqrt{1+3\cos^2\alpha})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_3^{-2}=\frac{1}{n_0^2}+r_{41}E_\text{THz}\sin\alpha&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and the eigenvectors:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u_1\prime\propto\left(-1, 1,b_1(\alpha)\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u_2\prime\propto\left(1, -1,b_2(\alpha)\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u_3=\frac{1}{\sqrt{2}}(-1,-1,0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;b_{1,2}(\alpha)=\frac{\sqrt{7\cos^2\alpha+1}\pm3\sin\alpha}{\cos^2\alpha+1\pm\sin\alpha\sqrt{7\cos^2\alpha+1}}\cos\alpha&amp;lt;/math&amp;gt;. Notice that &amp;lt;math&amp;gt;r_{41}\approx4pm/V&amp;lt;/math&amp;gt;. Hence, when &amp;lt;math&amp;gt;E_{THz}&amp;lt;1 MV/cm&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt;r_{41}E_\text{THz}\leq4\times10^{-4}\ll1&amp;lt;/math&amp;gt;. The refractive indices are approximately:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_1=n_0-\frac{n_0^3r_{41}E_\text{THz}}{4}(\sin\alpha+\sqrt{1+3\cos^2\alpha})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_2=n_0-\frac{n_0^3r_{41}E_\text{THz}}{4}(\sin\alpha-\sqrt{1+3\cos^2\alpha})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_3=n_0+\frac{n_0^3r_{41}E_\text{THz}\sin\alpha}{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, we find that the birefringent coefficient &amp;lt;math&amp;gt;\Delta n=n_1-n_2=\frac{n_0^3r_{41}E_\text{THz}}{2}(\sqrt{1+3\cos^2\alpha})\leq n_0^3r_{41}E_\text{THz}&amp;lt;/math&amp;gt; has a maximum at &amp;lt;math&amp;gt;\alpha=0&amp;lt;/math&amp;gt;. Here, the eigenvectors, i.e., the principle axis of ZnTe, are &amp;lt;math&amp;gt;&lt;br /&gt;
u_1\prime=\left(-\frac{1}{2}, \frac{1}{2}, \frac{1}{\sqrt{2}}\right)=\frac{1}{\sqrt{2}}\mathbf{e}_x+\frac{1}{\sqrt{2}}\mathbf{e}_y, u_2\prime=\left(\frac{1}{2}, -\frac{1}{2}, \frac{1}{\sqrt{2}}\right)=\frac{1}{\sqrt{2}}\mathbf{e}_x+\frac{1}{\sqrt{2}}\mathbf{e}_y&amp;lt;/math&amp;gt;. It shows that the angle between the new axis and the old ones is strictly 45 degree. Therefore, when the normally incident beam has a polarisation along &amp;lt;math&amp;gt;\mathbf{e}_x&amp;lt;/math&amp;gt;, it would becoming elliptically polarised. Specifically, in the experiment, the linearly polarised beam would pass through a Quarter Wave Plate (QWP), then be analysed by Wollaston prism and finally collected by balance detector after passing ZnTe. The balance detector here actually consists of 2 detectors same in type.&lt;br /&gt;
&lt;br /&gt;
We can thereby show the optical field after the Wollaston prism as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\left(E_1\prime, E_2\prime\right)^T=R\mathbf{Q}\mathbf{J}R(E_\text{optical},0)^T&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where the QWP matrix is&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathbf{Q}=\begin{bmatrix}&lt;br /&gt;
1&amp;amp;0\\&lt;br /&gt;
0&amp;amp;i\\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt; and the rotation matrix representing a rotation of 45 deg is&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathbf{R}=\begin{bmatrix}&lt;br /&gt;
\frac{1}{\sqrt{2}}&amp;amp;\frac{1}{\sqrt{2}}\\&lt;br /&gt;
-\frac{1}{\sqrt{2}}&amp;amp;\frac{1}{\sqrt{2}}\\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;. Hence, the formula can be simplified as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\left(E_1\prime, E_2\prime\right)^T=\frac{e^{ik\frac{n_1+n_2}{2}d}E_\text{optical}}{2}\left(ie^{ki\frac{n_1-n_2}{2}d}+e^{-ik\frac{n_1-n_2}{2}d},-ie^{ik\frac{n_1-n_2}{2}d}+e^{-ik\frac{n_1-n_2}{2}d}\right)^T&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the experiment, we extract the difference between the signals from the 2 detectors via lock-in amplifier. As the intensity &amp;lt;math&amp;gt;I_0\propto E_\text{optical}^2&amp;lt;/math&amp;gt;, the final measurement would gives:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
I_\text{signal}=I_0\sin\left(k(n_1-n_2)d\right)=I_0\sin\left(kr_{41} E_\text{THz}n_0^3d\right)\approx I_0kr_{41} E_\text{THz}n_0^3d&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore, we can inversely give the electric field of Terahertz wave as:&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
E_\text{THz}=\frac{I_\text{signal}}{I_0kr_{41}E_\text{THz}n_0^3d}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Modification given finite delay in the circuit ===&lt;br /&gt;
&lt;br /&gt;
In the measurement, we use a source of 2 kHz laser and the frequency of chopper is set to be 1 kHz. However, due to the delay in the circuit, we saw periodic exponential-like signal other than Dirac delta signal as expected. Here, we analyse how the exponential data would affect the result. Assume that the detector is not saturated. Hence, in 1 period, the signal would be the sum of all past exponentially-decaying signals:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
s_p(t)=\sum_{n=0}^{+\infty}s_0e^{-\frac{nT+t}{\tau}}=\frac{s_0e^{-\frac{t}{\tau}}}{1-e^{T/\tau}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\tau&amp;lt;/math&amp;gt; is the time constant of the detector and &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; is the period of the signal. Given a periodic continuation of the signal, we can give the Fourier components by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\tilde{s}(f)=\frac{1}{T}\int_{0}^T\frac{s_0e^{-\frac{t}{\tau}}}{1-e^{T/\tau}}e^{i2\pi ft}dt=\frac{\tau}{T}\frac{1}{1+i\frac{2\pi}{f\tau}}s_0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where frequency &amp;lt;math&amp;gt;f=\frac{n}{T}&amp;lt;/math&amp;gt; is a discrete variable. In the experiment, we measure the Terahertz wave in frequency &amp;lt;math&amp;gt;f_0&amp;lt;/math&amp;gt; and the optical intensity in frequency &amp;lt;math&amp;gt;f_1=2f_0&amp;lt;/math&amp;gt;. Therefore, the lock-in outputs &amp;lt;math&amp;gt;U_{1,2}&amp;lt;/math&amp;gt; and the real values &amp;lt;math&amp;gt;s_{1,2}&amp;lt;/math&amp;gt; should have a relation as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{s_1}{s_2}=\sqrt{\frac{1+\left(\frac{2\pi}{f_0\tau}\right)^2}{1+\left(\frac{2\pi}{2f_0\tau}\right)^2}}\frac{U_1}{U_2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This relation shows that when &amp;lt;math&amp;gt;\tau\rightarrow0&amp;lt;/math&amp;gt;, the real value might be 2 times of the outputs, verified by our program. Here, we measured the&lt;br /&gt;
&lt;br /&gt;
===EO Sampling Setup===&lt;br /&gt;
[[file:schem_eosampling.png|600px|thumb|right|Schematics of Setup with Electro-Optical Sampling]]&lt;br /&gt;
&lt;br /&gt;
Firstly, we try to detect the Terahertz wave with the most traditional method, electro-optical sampling, to demonstrate that we are truely measuring the terahertz wave. This is because the the EO sampling actually measures the wave shape of the Terahertz pulse with a resolution of 0.07 ps which is much smaller than the period of the terahertz wave (2 ps). Hence, we expect to see a oscillation signal representing the electric field of the terahertz wave. Then, we can compare the wave to others result, thereby demonstrating that this pulse is terahertz wave.&lt;br /&gt;
&lt;br /&gt;
The setup (figure in the right) mainly consist of 3 parts, pump path for generating terahertz wave (red one), terahertz wave path (blue one) and the probe path for EO sampling (green one). All pump and probe beam are 2 kHz, 1030 nm Yb:YAG laser with a duration of about 200 fs. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Pump Path&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The delay line is used to control the time delay between the THz pulse and the probe pulse. Then, a telescope with a cylindrical convex lens (f=100 mm) and a conjugate concave lens (f=-50 mm) compresses the beam in the direction perpendicular to the table. The grating then introduces a tilt in the wavefront of the pulse. Subsequently, the pulse will be imaged into the Lithium Niobate (LN) crystal with another telescope. The second one consist of cylindrical convex lens with focal lengths of 50 mm and 100 mm. The Half-Wave Plate (HWP) before the grating is used to optimise the efficiency of the grating, while the one before LN crystal ensures that the polarisation of the beam aligns with the d33 axis to give a maximum THz generation efficiency.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Probe Path&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The probe beam has an energy that is much smaller than the pump path to protect the EO crystal (Zinc Telluride, ZnTe) and the photodiode detectors. When attenuated by the HWP and Polarisation Beam Splitter (PBS), the probe beam would firstly go into a delay path to match the time delay in the pump path. Then, a convex lens with a focal length of 150 mm focuses the beam on the ZnTe to detect the change of birefringence due to Terahertz pulse. Then, the beam is collimated by a conjugated convex lens with a focal length of 50 mm and analysed by the Wollaston prism. The splitted beams would go into 2 same detectors. Experimentally, the linear range of the photodiode on the lock-in amplifier is about from 0~9 mV in our setup.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Terahertz Path&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The Terahertz path is collected by the first Off-Axis Parabolic mirror (OAP) with a focal length of 76.2 mm. Then, it&#039;s collimated by conjugated OPA with focal lengths of 76.2 mm and 101.6 mm. In the end, it would be focused by the final OPA on the ZnTe. The OPA here has a tiny tunnel to allow the 1030 nm probe beam to pass.&lt;br /&gt;
&lt;br /&gt;
===Thermopile Setup===&lt;br /&gt;
&lt;br /&gt;
[[file:schem_thermopile.png|600px|thumb|right|Schematics of setup with thermopile sensor]]&lt;br /&gt;
&lt;br /&gt;
In our second attempt, we try to detect the Terahertz pulse directly via a thermopile sensor.&lt;br /&gt;
&lt;br /&gt;
==Source for Codes==&lt;br /&gt;
===Test Program for Signal Distortion===&lt;br /&gt;
&lt;br /&gt;
===Source for Auto-measurement Program===&lt;br /&gt;
&lt;br /&gt;
==Reference==&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Terahertz_Electromagnetic_Wave_Detection&amp;diff=1222</id>
		<title>Terahertz Electromagnetic Wave Detection</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Terahertz_Electromagnetic_Wave_Detection&amp;diff=1222"/>
		<updated>2025-04-24T03:36:21Z</updated>

		<summary type="html">&lt;p&gt;Bohan: /* Thermopile Detector */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Members==&lt;br /&gt;
&lt;br /&gt;
Luo Shizhuo E1353445@u.nus.edu&lt;br /&gt;
&lt;br /&gt;
Zhang Bohan E1349227@u.nus.edu&lt;br /&gt;
&lt;br /&gt;
==Project Overview==&lt;br /&gt;
&lt;br /&gt;
Terahertz (THz) waves are rather useful in communication (6G communication: 0.3~3 THz), astronomy (millimetre telescope: 0.22 THz) and solid state material characterisation. However, the generation and detection of THz wave so difficult that it is named as the &amp;quot;THz Gap&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
In this project, we aim to generate and detect a THz pulse with a traditional method (Electro-Optical Sampling) and then via a commercial thermopile sensor. (Specifically, we will use LiNbO3 (LN) crystal, which is reported to be capable of generating THz pulses easily.)&lt;br /&gt;
&lt;br /&gt;
This project can provide a cheaper option compared to specific THz camera (like THz fluorescence camera), and enable us to observe the pattern of THz wave in a more cost-effective way.&lt;br /&gt;
&lt;br /&gt;
==Theory Basis==&lt;br /&gt;
&lt;br /&gt;
===LN-based THz pulse generation===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Phase Match Condition&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We assume that an electromagnetic wave goes in the direction with an angle &amp;lt;math&amp;gt;\epsilon&amp;lt;/math&amp;gt; between z axis. The electric field is given as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E(t)=\int E(\omega) e^{i\omega t-ikz\cdot\cos\epsilon-ikx\cdot\sin\epsilon} d\omega=\int E(\omega) e^{i\omega t-i\varphi} d\omega&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\varphi=kz\cdot\cos\epsilon+kx\cdot\sin\epsilon&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; is the wave vector. The phase term &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; indicates the direction of the motion. When an angular dispersion by frequency &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is introduce in deviation angle &amp;lt;math&amp;gt;\epsilon&amp;lt;/math&amp;gt;, the phase term &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; becomes:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\varphi\approx\varphi(\omega_0)+\frac{\partial\varphi}{\partial\omega}(\omega-\omega_0)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here, &amp;lt;math&amp;gt;\omega_0&amp;lt;/math&amp;gt; is the central frequency. Substituting &amp;lt;math&amp;gt;v_g=\frac{c}{n_g}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\tan \gamma&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;\frac{d\omega}{dk}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\frac{n(\omega_0)}{n_g}\omega_0\frac{d\epsilon}{d\omega}&amp;lt;/math&amp;gt;, respectively, the formula above can be simplified to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\varphi\approx \frac{n(\omega_0)\omega_0}{c}(z\cos\epsilon(\omega_0)+x\sin\epsilon(\omega_0)) + \frac{\omega-\omega_0}{v_g\cos\gamma}(z\cos(\epsilon(\omega_0)+\gamma)+x\sin(\epsilon(\omega_0)+\gamma))&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, the speed of the wave packet (term with a low frequency &amp;lt;math&amp;gt;(\omega-\omega_0)&amp;lt;/math&amp;gt;) is modified to be &amp;lt;math&amp;gt;v_g\cos\gamma&amp;lt;/math&amp;gt;. The phase match condition becomes:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;v_\text{THz}=v_g\cos\gamma&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This shows that the phase match condition can be modulated by the parameter &amp;lt;math&amp;gt;\gamma&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Exact Calculation&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The THz field is generated by Difference Frequency Generation (DFG) described by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_\text{THz}(t)=\iint\chi(\omega_1)E^*(\omega_1)e^{-i\omega_1t+ik_1z\cos\epsilon_1+ik_1x\sin\epsilon_1}E(\omega_2)e^{i\omega_2 t-ik_2z\cos\epsilon_2-ik_2x\sin\epsilon_2}d\omega_1d\omega_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When we substitute &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\omega+\Omega&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;\omega_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\omega_2&amp;lt;/math&amp;gt;, the equation above becomes:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_\text{THz}(t)=\iint\chi(\omega)E^*(\omega)E(\omega+\Omega)e^{i\Omega t+i\frac{\Omega}{v_g\cos\gamma}(z\cos\gamma+x\sin\gamma)}d\omega d\Omega&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, the THz wave by frequency &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_\text{THz}(\Omega)=e^{i\Omega t-i\frac{\Omega}{v_\text{THz}}z}\int\chi(\omega)E^*(\omega)E(\omega+\Omega)e^{i\frac{\Omega}{v_g\cos\gamma}z-i\frac{\Omega}{v_\text{THz}}z}d\omega &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where a rotation of &amp;lt;math&amp;gt;\gamma&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;x-z&amp;lt;/math&amp;gt; plane is imposed. The term &amp;lt;math&amp;gt;e^{i\frac{\Omega}{v_g\cos\gamma}z-i\frac{\Omega}{v_\text{THz}}z}&amp;lt;/math&amp;gt; represents the phase mismatch.&lt;br /&gt;
&lt;br /&gt;
===Electro-Optical Sampling===&lt;br /&gt;
&lt;br /&gt;
The Terahertz photons has so low energy (~0.003 eV) that it can hardly be detected via photodiode made up of common semiconductor (band gap: &amp;gt;0.5eV). Even narrow bandgap semiconductor has a bandgap in the magnitude of 0.01 eV. Hence, conventional detectors cannot directly detect Terahertz photons. Nevertheless, the variance rate of terahertz frequency is in the magnitude of picoseconds. This hints us to use pulses with a duration of 0.1 picosecond magnitude as a &amp;quot;shutter&amp;quot; to capture the shape of terahertz wave.&lt;br /&gt;
&lt;br /&gt;
Optical pulses can detect the transient change of the optical property. Once the electric field of the terahertz wave alters the optical properties of the material, the probe pulse, i.e. the optical pulse, can instantaneously detect this change. This measurement technique is &amp;quot;Electro-Optical (EO) Sampling&amp;quot;. When modifying the time delay between the optical pulse and terahertz wave, the optical pulse can depict the electric field of terahertz wave point by point.&lt;br /&gt;
&lt;br /&gt;
In the experiment, birefringence is the most popular optical property used in EO sampling. This effect can be seen as a special sum-frequency generation . Since the frequency of terahertz wave is much lower than the optical pulse, it can be deemed as zero-frequency term in the special sum-frequency generation. Hence, the dielectric tensor becomes: &amp;lt;math&amp;gt;\varepsilon_{ij}=\chi^{(1)}_{ij}(\omega)+\sum_k\chi^{(2)}_{ijk}(0,\omega;\omega)E_{k,\text{THz}}&amp;lt;/math&amp;gt;. To give the refractive indices, we shall use the refractive ellipse. We reverse the dielectric tensor as &amp;lt;math&amp;gt;\varepsilon^{(-1)}&amp;lt;/math&amp;gt;. When applied Taylor expansion in the order of &amp;lt;math&amp;gt;E_{k,THz}&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt;\varepsilon^{-1}\approx\varepsilon^{-1}_{ij,0}+\sum_kr_{ijk}E_{k,\text{THz}}&amp;lt;/math&amp;gt;. Here, &amp;lt;math&amp;gt;\varepsilon^{-1}_{ij,0}&amp;lt;/math&amp;gt; is the dielectric tensor when there is no outer electric field, and &amp;lt;math&amp;gt;r_{ijk}&amp;lt;/math&amp;gt; is the EO coefficient&lt;br /&gt;
&lt;br /&gt;
According to the conservation of energy density &amp;lt;math&amp;gt;w=\frac{1}{2}\sum_{i,j}D_i\epsilon^{-1}_{ij}D_j&amp;lt;/math&amp;gt; and electric displacement &amp;lt;math&amp;gt;D_i&amp;lt;/math&amp;gt; with and without the medium, we can normalise the conversation relation as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
1=\sum_{i,j}\frac{u_iu_j}{n_{ij}^2}=u_iu_j\varepsilon^{-1}_{ij}\approx \sum_{i,j}u_iu_j(\varepsilon^{-1}_{ij,0}+\sum_k r_{ijk}E_{k,\text{THz}})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;u_i=\frac{D_i}{\sqrt{2w}}&amp;lt;/math&amp;gt; represents the direction of the outer optical field. The above quadric equation can be definitely simplified in the form of &amp;lt;math&amp;gt;\sum_i \frac{u_i\prime^2}{n_i^2}=1&amp;lt;/math&amp;gt; with a transformation &amp;lt;math&amp;gt;u_i\prime=\sum_{j}R_ij u_j&amp;lt;/math&amp;gt; via diagonalzing the tensor &amp;lt;math&amp;gt;\varepsilon^{-1}_{ij}&amp;lt;/math&amp;gt;. Then, we can simply gives the Jones matrix to describe the change of the polarisation of the incident laser. The Jones matrix can be:&lt;br /&gt;
&amp;lt;math&amp;gt;\mathbf{J} = \begin{bmatrix}&lt;br /&gt;
e^{ikn_1 d} &amp;amp;  0 \\&lt;br /&gt;
0 &amp;amp;  e^{ikn_2d} \\&lt;br /&gt;
\end{bmatrix}&amp;lt;/math&amp;gt;&lt;br /&gt;
, where we assume that the incident direction is in the z-direction (index 3).&lt;br /&gt;
&lt;br /&gt;
===Thermopile Detector===&lt;br /&gt;
To detect the generated THz waves, we employ a thermopile detector, which offers a cost-effective and sensitive solution for broadband THz detection. A thermopile is a thermal detector that consists of a series of thermocouples connected in series or parallel, producing a voltage in response to temperature differences across its junctions.&lt;br /&gt;
&lt;br /&gt;
When the THz radiation is absorbed by the blackened surface of the thermopile, it causes a temperature rise, generating a measurable voltage signal due to the Seebeck effect. Unlike semiconductor photodetectors, thermopiles do not rely on photon energy exceeding the material bandgap. This makes them especially suitable for detecting low-energy THz photons (∼0.003 eV), which are otherwise difficult to detect using conventional photodiodes.&lt;br /&gt;
&lt;br /&gt;
In our setup, the thermopile detector is positioned to capture the emitted THz beam after passing through the optical setup. Its broadband response allows us to record the relative intensity of the THz signal under different generation or modulation conditions. Though it does not provide time-resolved measurements, its simplicity and compatibility with room-temperature operation make it a practical tool for evaluating THz pulse generation in a laboratory environment.&lt;br /&gt;
[[File:Thermal_Resistance_Layer.png|thumb|center|500px|Schematic of a thermopile structure showing heat flow and voltage generation due to temperature gradient.]]&lt;br /&gt;
&lt;br /&gt;
==Measurements and Setups==&lt;br /&gt;
&lt;br /&gt;
=== EO Sampling with ZnTe===&lt;br /&gt;
&lt;br /&gt;
We use Zinc Telluride (ZnTe) for the EO Sampling. As the theory mentioned above, we shall first give out the electro-optical tensor &amp;lt;math&amp;gt;r_{ijk}&amp;lt;/math&amp;gt;. As reference says that the tensor can be simplified to be &amp;lt;math&amp;gt;r_{ijk}=r_{231}|\epsilon_{ijk}|&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\epsilon_{ijk}&amp;lt;/math&amp;gt; is the Levi-Civita symbol. In most references, &amp;lt;math&amp;gt;r_{231}&amp;lt;/math&amp;gt; is simplified to be &amp;lt;math&amp;gt;r_{41}&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Meanwhile, though ZnTe is isotropic, the measurement using its (110) plane. Thus, we shall first rotate the frame to fit the incident plane. Now we assume that the basis is &amp;lt;math&amp;gt;\mathbf{e}_1=\mathbf{e}_x=\frac{1}{\sqrt{2}}(-1,1,0)&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\mathbf{e}_2=\mathbf{e}_y=(0,0,1)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\mathbf{e}_3=\mathbf{e}_z=\frac{1}{\sqrt{2}}(1,1,0)&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Now, we assume that the incident Terahertz wave has a polarisation in (110) plane with an angle &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt; between &amp;lt;math&amp;gt;\mathbf{e}_x&amp;lt;/math&amp;gt;. The Terahertz wave vector should be &amp;lt;math&amp;gt;\mathbf{E}_\text{THz}=E_\text{THz}\left(-\frac{\cos\alpha}{\sqrt{2}}, \frac{\cos\alpha}{\sqrt{2}},\sin\alpha\right)&amp;lt;/math&amp;gt;. Hence, we can write out the refractive index as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathbf{\varepsilon}^{-1}=\begin{bmatrix}&lt;br /&gt;
\frac{1}{n_0^2} &amp;amp;  r_{41} E_\text{THz}\sin\alpha &amp;amp; r_{41} \frac{E_\text{THz}}{\sqrt{2}}\cos\alpha \\&lt;br /&gt;
r_{41} E_\text{THz}\sin\alpha &amp;amp;  \frac{1}{n_0^2} &amp;amp; -r_{41} \frac{E_\text{THz}}{\sqrt{2}}\cos\alpha \\&lt;br /&gt;
r_{41} \frac{E_\text{THz}}{\sqrt{2}}\cos\alpha &amp;amp; -r_{41} \frac{E_\text{THz}}{\sqrt{2}}\cos\alpha &amp;amp; \frac{1}{n_0^2}\\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which gives Eigenvalues:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_1^{-2}=\frac{1}{n_0^2}-\frac{r_{41}E_\text{THz}}{2}(\sin\alpha+\sqrt{1+3\cos^2\alpha})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_2^{-2}=\frac{1}{n_0^2}-\frac{r_{41}E_\text{THz}}{2}(\sin\alpha-\sqrt{1+3\cos^2\alpha})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_3^{-2}=\frac{1}{n_0^2}+r_{41}E_\text{THz}\sin\alpha&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and the eigenvectors:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u_1\prime\propto\left(-1, 1,b_1(\alpha)\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u_2\prime\propto\left(1, -1,b_2(\alpha)\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u_3=\frac{1}{\sqrt{2}}(-1,-1,0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;b_{1,2}(\alpha)=\frac{\sqrt{7\cos^2\alpha+1}\pm3\sin\alpha}{\cos^2\alpha+1\pm\sin\alpha\sqrt{7\cos^2\alpha+1}}\cos\alpha&amp;lt;/math&amp;gt;. Notice that &amp;lt;math&amp;gt;r_{41}\approx4pm/V&amp;lt;/math&amp;gt;. Hence, when &amp;lt;math&amp;gt;E_{THz}&amp;lt;1 MV/cm&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt;r_{41}E_\text{THz}\leq4\times10^{-4}\ll1&amp;lt;/math&amp;gt;. The refractive indices are approximately:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_1=n_0-\frac{n_0^3r_{41}E_\text{THz}}{4}(\sin\alpha+\sqrt{1+3\cos^2\alpha})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_2=n_0-\frac{n_0^3r_{41}E_\text{THz}}{4}(\sin\alpha-\sqrt{1+3\cos^2\alpha})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_3=n_0+\frac{n_0^3r_{41}E_\text{THz}\sin\alpha}{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, we find that the birefringent coefficient &amp;lt;math&amp;gt;\Delta n=n_1-n_2=\frac{n_0^3r_{41}E_\text{THz}}{2}(\sqrt{1+3\cos^2\alpha})\leq n_0^3r_{41}E_\text{THz}&amp;lt;/math&amp;gt; has a maximum at &amp;lt;math&amp;gt;\alpha=0&amp;lt;/math&amp;gt;. Here, the eigenvectors, i.e., the principle axis of ZnTe, are &amp;lt;math&amp;gt;&lt;br /&gt;
u_1\prime=\left(-\frac{1}{2}, \frac{1}{2}, \frac{1}{\sqrt{2}}\right)=\frac{1}{\sqrt{2}}\mathbf{e}_x+\frac{1}{\sqrt{2}}\mathbf{e}_y, u_2\prime=\left(\frac{1}{2}, -\frac{1}{2}, \frac{1}{\sqrt{2}}\right)=\frac{1}{\sqrt{2}}\mathbf{e}_x+\frac{1}{\sqrt{2}}\mathbf{e}_y&amp;lt;/math&amp;gt;. It shows that the angle between the new axis and the old ones is strictly 45 degree. Therefore, when the normally incident beam has a polarisation along &amp;lt;math&amp;gt;\mathbf{e}_x&amp;lt;/math&amp;gt;, it would becoming elliptically polarised. Specifically, in the experiment, the linearly polarised beam would pass through a Quarter Wave Plate (QWP), then be analysed by Wollaston prism and finally collected by balance detector after passing ZnTe. The balance detector here actually consists of 2 detectors same in type.&lt;br /&gt;
&lt;br /&gt;
We can thereby show the optical field after the Wollaston prism as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\left(E_1\prime, E_2\prime\right)^T=R\mathbf{Q}\mathbf{J}R(E_\text{optical},0)^T&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where the QWP matrix is&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathbf{Q}=\begin{bmatrix}&lt;br /&gt;
1&amp;amp;0\\&lt;br /&gt;
0&amp;amp;i\\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt; and the rotation matrix representing a rotation of 45 deg is&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathbf{R}=\begin{bmatrix}&lt;br /&gt;
\frac{1}{\sqrt{2}}&amp;amp;\frac{1}{\sqrt{2}}\\&lt;br /&gt;
-\frac{1}{\sqrt{2}}&amp;amp;\frac{1}{\sqrt{2}}\\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;. Hence, the formula can be simplified as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\left(E_1\prime, E_2\prime\right)^T=\frac{e^{ik\frac{n_1+n_2}{2}d}E_\text{optical}}{2}\left(ie^{ki\frac{n_1-n_2}{2}d}+e^{-ik\frac{n_1-n_2}{2}d},-ie^{ik\frac{n_1-n_2}{2}d}+e^{-ik\frac{n_1-n_2}{2}d}\right)^T&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the experiment, we extract the difference between the signals from the 2 detectors via lock-in amplifier. As the intensity &amp;lt;math&amp;gt;I_0\propto E_\text{optical}^2&amp;lt;/math&amp;gt;, the final measurement would gives:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
I_\text{signal}=I_0\sin\left(k(n_1-n_2)d\right)=I_0\sin\left(kr_{41} E_\text{THz}n_0^3d\right)\approx I_0kr_{41} E_\text{THz}n_0^3d&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore, we can inversely give the electric field of Terahertz wave as:&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
E_\text{THz}=\frac{I_\text{signal}}{I_0kr_{41}E_\text{THz}n_0^3d}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Modification given finite delay in the circuit ===&lt;br /&gt;
&lt;br /&gt;
In the measurement, we use a source of 2 kHz laser and the frequency of chopper is set to be 1 kHz. However, due to the delay in the circuit, we saw periodic exponential-like signal other than Dirac delta signal as expected. Here, we analyse how the exponential data would affect the result. Assume that the detector is not saturated. Hence, in 1 period, the signal would be the sum of all past exponentially-decaying signals:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
s_p(t)=\sum_{n=0}^{+\infty}s_0e^{-\frac{nT+t}{\tau}}=\frac{s_0e^{-\frac{t}{\tau}}}{1-e^{T/\tau}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\tau&amp;lt;/math&amp;gt; is the time constant of the detector and &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; is the period of the signal. Given a periodic continuation of the signal, we can give the Fourier components by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\tilde{s}(f)=\frac{1}{T}\int_{0}^T\frac{s_0e^{-\frac{t}{\tau}}}{1-e^{T/\tau}}e^{i2\pi ft}dt=\frac{\tau}{T}\frac{1}{1+i\frac{2\pi}{f\tau}}s_0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where frequency &amp;lt;math&amp;gt;f=\frac{n}{T}&amp;lt;/math&amp;gt; is a discrete variable. In the experiment, we measure the Terahertz wave in frequency &amp;lt;math&amp;gt;f_0&amp;lt;/math&amp;gt; and the optical intensity in frequency &amp;lt;math&amp;gt;f_1=2f_0&amp;lt;/math&amp;gt;. Therefore, the lock-in outputs &amp;lt;math&amp;gt;U_{1,2}&amp;lt;/math&amp;gt; and the real values &amp;lt;math&amp;gt;s_{1,2}&amp;lt;/math&amp;gt; should have a relation as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{s_1}{s_2}=\sqrt{\frac{1+\left(\frac{2\pi}{f_0\tau}\right)^2}{1+\left(\frac{2\pi}{2f_0\tau}\right)^2}}\frac{U_1}{U_2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This relation shows that when &amp;lt;math&amp;gt;\tau\rightarrow0&amp;lt;/math&amp;gt;, the real value might be 2 times of the outputs, verified by our program. Here, we measured the&lt;br /&gt;
&lt;br /&gt;
===EO Sampling Setup===&lt;br /&gt;
[[file:schem_eosampling.png|600px|thumb|right|Schematics of Setup with Electro-Optical Sampling]]&lt;br /&gt;
&lt;br /&gt;
Firstly, we try to detect the Terahertz wave with the most traditional method, electro-optical sampling, to demonstrate that we are truely measuring the terahertz wave. This is because the the EO sampling actually measures the wave shape of the Terahertz pulse with a resolution of 0.07 ps which is much smaller than the period of the terahertz wave (2 ps). Hence, we expect to see a oscillation signal representing the electric field of the terahertz wave. Then, we can compare the wave to others result, thereby demonstrating that this pulse is terahertz wave.&lt;br /&gt;
&lt;br /&gt;
The setup (figure in the right) mainly consist of 3 parts, pump path for generating terahertz wave (red one), terahertz wave path (blue one) and the probe path for EO sampling (green one). All pump and probe beam are 2 kHz, 1030 nm Yb:YAG laser with a duration of about 200 fs. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Pump Path&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The delay line is used to control the time delay between the THz pulse and the probe pulse. Then, a telescope with a cylindrical convex lens (f=100 mm) and a conjugate concave lens (f=-50 mm) compresses the beam in the direction perpendicular to the table. The grating then introduces a tilt in the wavefront of the pulse. Subsequently, the pulse will be imaged into the Lithium Niobate (LN) crystal with another telescope. The second one consist of cylindrical convex lens with focal lengths of 50 mm and 100 mm. The Half-Wave Plate (HWP) before the grating is used to optimise the efficiency of the grating, while the one before LN crystal ensures that the polarisation of the beam aligns with the d33 axis to give a maximum THz generation efficiency.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Probe Path&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The probe beam has an energy that is much smaller than the pump path to protect the EO crystal (Zinc Telluride, ZnTe) and the photodiode detectors. When attenuated by the HWP and Polarisation Beam Splitter (PBS), the probe beam would firstly go into a delay path to match the time delay in the pump path. Then, a convex lens with a focal length of 150 mm focuses the beam on the ZnTe to detect the change of birefringence due to Terahertz pulse. Then, the beam is collimated by a conjugated convex lens with a focal length of 50 mm and analysed by the Wollaston prism. The splitted beams would go into 2 same detectors. Experimentally, the linear range of the photodiode on the lock-in amplifier is about from 0~9 mV in our setup.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Terahertz Path&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The Terahertz path is collected by the first Off-Axis Parabolic mirror (OAP) with a focal length of 76.2 mm. Then, it&#039;s collimated by conjugated OPA with focal lengths of 76.2 mm and 101.6 mm. In the end, it would be focused by the final OPA on the ZnTe. The OPA here has a tiny tunnel to allow the 1030 nm probe beam to pass.&lt;br /&gt;
&lt;br /&gt;
===Thermopile Setup===&lt;br /&gt;
&lt;br /&gt;
[[file:schem_thermopile.png|600px|thumb|right|Schematics of setup with thermopile sensor]]&lt;br /&gt;
&lt;br /&gt;
In our second attempt, we try to detect the Terahertz pulse directly via a thermopile sensor.&lt;br /&gt;
&lt;br /&gt;
==Source for Codes==&lt;br /&gt;
===Test Program for Signal Distortion===&lt;br /&gt;
&lt;br /&gt;
===Source for Auto-measurement Program===&lt;br /&gt;
&lt;br /&gt;
==Reference==&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Terahertz_Electromagnetic_Wave_Detection&amp;diff=1221</id>
		<title>Terahertz Electromagnetic Wave Detection</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Terahertz_Electromagnetic_Wave_Detection&amp;diff=1221"/>
		<updated>2025-04-24T03:25:31Z</updated>

		<summary type="html">&lt;p&gt;Bohan: /* Thermopile Detector */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Members==&lt;br /&gt;
&lt;br /&gt;
Luo Shizhuo E1353445@u.nus.edu&lt;br /&gt;
&lt;br /&gt;
Zhang Bohan E1349227@u.nus.edu&lt;br /&gt;
&lt;br /&gt;
==Project Overview==&lt;br /&gt;
&lt;br /&gt;
Terahertz (THz) waves are rather useful in communication (6G communication: 0.3~3 THz), astronomy (millimetre telescope: 0.22 THz) and solid state material characterisation. However, the generation and detection of THz wave so difficult that it is named as the &amp;quot;THz Gap&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
In this project, we aim to generate and detect a THz pulse with a traditional method (Electro-Optical Sampling) and then via a commercial thermopile sensor. (Specifically, we will use LiNbO3 (LN) crystal, which is reported to be capable of generating THz pulses easily.)&lt;br /&gt;
&lt;br /&gt;
This project can provide a cheaper option compared to specific THz camera (like THz fluorescence camera), and enable us to observe the pattern of THz wave in a more cost-effective way.&lt;br /&gt;
&lt;br /&gt;
==Theory Basis==&lt;br /&gt;
&lt;br /&gt;
===LN-based THz pulse generation===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Phase Match Condition&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We assume that an electromagnetic wave goes in the direction with an angle &amp;lt;math&amp;gt;\epsilon&amp;lt;/math&amp;gt; between z axis. The electric field is given as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E(t)=\int E(\omega) e^{i\omega t-ikz\cdot\cos\epsilon-ikx\cdot\sin\epsilon} d\omega=\int E(\omega) e^{i\omega t-i\varphi} d\omega&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\varphi=kz\cdot\cos\epsilon+kx\cdot\sin\epsilon&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; is the wave vector. The phase term &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; indicates the direction of the motion. When an angular dispersion by frequency &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is introduce in deviation angle &amp;lt;math&amp;gt;\epsilon&amp;lt;/math&amp;gt;, the phase term &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; becomes:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\varphi\approx\varphi(\omega_0)+\frac{\partial\varphi}{\partial\omega}(\omega-\omega_0)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here, &amp;lt;math&amp;gt;\omega_0&amp;lt;/math&amp;gt; is the central frequency. Substituting &amp;lt;math&amp;gt;v_g=\frac{c}{n_g}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\tan \gamma&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;\frac{d\omega}{dk}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\frac{n(\omega_0)}{n_g}\omega_0\frac{d\epsilon}{d\omega}&amp;lt;/math&amp;gt;, respectively, the formula above can be simplified to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\varphi\approx \frac{n(\omega_0)\omega_0}{c}(z\cos\epsilon(\omega_0)+x\sin\epsilon(\omega_0)) + \frac{\omega-\omega_0}{v_g\cos\gamma}(z\cos(\epsilon(\omega_0)+\gamma)+x\sin(\epsilon(\omega_0)+\gamma))&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, the speed of the wave packet (term with a low frequency &amp;lt;math&amp;gt;(\omega-\omega_0)&amp;lt;/math&amp;gt;) is modified to be &amp;lt;math&amp;gt;v_g\cos\gamma&amp;lt;/math&amp;gt;. The phase match condition becomes:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;v_\text{THz}=v_g\cos\gamma&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This shows that the phase match condition can be modulated by the parameter &amp;lt;math&amp;gt;\gamma&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Exact Calculation&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The THz field is generated by Difference Frequency Generation (DFG) described by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_\text{THz}(t)=\iint\chi(\omega_1)E^*(\omega_1)e^{-i\omega_1t+ik_1z\cos\epsilon_1+ik_1x\sin\epsilon_1}E(\omega_2)e^{i\omega_2 t-ik_2z\cos\epsilon_2-ik_2x\sin\epsilon_2}d\omega_1d\omega_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When we substitute &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\omega+\Omega&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;\omega_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\omega_2&amp;lt;/math&amp;gt;, the equation above becomes:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_\text{THz}(t)=\iint\chi(\omega)E^*(\omega)E(\omega+\Omega)e^{i\Omega t+i\frac{\Omega}{v_g\cos\gamma}(z\cos\gamma+x\sin\gamma)}d\omega d\Omega&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, the THz wave by frequency &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_\text{THz}(\Omega)=e^{i\Omega t-i\frac{\Omega}{v_\text{THz}}z}\int\chi(\omega)E^*(\omega)E(\omega+\Omega)e^{i\frac{\Omega}{v_g\cos\gamma}z-i\frac{\Omega}{v_\text{THz}}z}d\omega &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where a rotation of &amp;lt;math&amp;gt;\gamma&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;x-z&amp;lt;/math&amp;gt; plane is imposed. The term &amp;lt;math&amp;gt;e^{i\frac{\Omega}{v_g\cos\gamma}z-i\frac{\Omega}{v_\text{THz}}z}&amp;lt;/math&amp;gt; represents the phase mismatch.&lt;br /&gt;
&lt;br /&gt;
===Electro-Optical Sampling===&lt;br /&gt;
&lt;br /&gt;
The Terahertz photons has so low energy (~0.003 eV) that it can hardly be detected via photodiode made up of common semiconductor (band gap: &amp;gt;0.5eV). Even narrow bandgap semiconductor has a bandgap in the magnitude of 0.01 eV. Hence, conventional detectors cannot directly detect Terahertz photons. Nevertheless, the variance rate of terahertz frequency is in the magnitude of picoseconds. This hints us to use pulses with a duration of 0.1 picosecond magnitude as a &amp;quot;shutter&amp;quot; to capture the shape of terahertz wave.&lt;br /&gt;
&lt;br /&gt;
Optical pulses can detect the transient change of the optical property. Once the electric field of the terahertz wave alters the optical properties of the material, the probe pulse, i.e. the optical pulse, can instantaneously detect this change. This measurement technique is &amp;quot;Electro-Optical (EO) Sampling&amp;quot;. When modifying the time delay between the optical pulse and terahertz wave, the optical pulse can depict the electric field of terahertz wave point by point.&lt;br /&gt;
&lt;br /&gt;
In the experiment, birefringence is the most popular optical property used in EO sampling. This effect can be seen as a special sum-frequency generation . Since the frequency of terahertz wave is much lower than the optical pulse, it can be deemed as zero-frequency term in the special sum-frequency generation. Hence, the dielectric tensor becomes: &amp;lt;math&amp;gt;\varepsilon_{ij}=\chi^{(1)}_{ij}(\omega)+\sum_k\chi^{(2)}_{ijk}(0,\omega;\omega)E_{k,\text{THz}}&amp;lt;/math&amp;gt;. To give the refractive indices, we shall use the refractive ellipse. We reverse the dielectric tensor as &amp;lt;math&amp;gt;\varepsilon^{(-1)}&amp;lt;/math&amp;gt;. When applied Taylor expansion in the order of &amp;lt;math&amp;gt;E_{k,THz}&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt;\varepsilon^{-1}\approx\varepsilon^{-1}_{ij,0}+\sum_kr_{ijk}E_{k,\text{THz}}&amp;lt;/math&amp;gt;. Here, &amp;lt;math&amp;gt;\varepsilon^{-1}_{ij,0}&amp;lt;/math&amp;gt; is the dielectric tensor when there is no outer electric field, and &amp;lt;math&amp;gt;r_{ijk}&amp;lt;/math&amp;gt; is the EO coefficient&lt;br /&gt;
&lt;br /&gt;
According to the conservation of energy density &amp;lt;math&amp;gt;w=\frac{1}{2}\sum_{i,j}D_i\epsilon^{-1}_{ij}D_j&amp;lt;/math&amp;gt; and electric displacement &amp;lt;math&amp;gt;D_i&amp;lt;/math&amp;gt; with and without the medium, we can normalise the conversation relation as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
1=\sum_{i,j}\frac{u_iu_j}{n_{ij}^2}=u_iu_j\varepsilon^{-1}_{ij}\approx \sum_{i,j}u_iu_j(\varepsilon^{-1}_{ij,0}+\sum_k r_{ijk}E_{k,\text{THz}})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;u_i=\frac{D_i}{\sqrt{2w}}&amp;lt;/math&amp;gt; represents the direction of the outer optical field. The above quadric equation can be definitely simplified in the form of &amp;lt;math&amp;gt;\sum_i \frac{u_i\prime^2}{n_i^2}=1&amp;lt;/math&amp;gt; with a transformation &amp;lt;math&amp;gt;u_i\prime=\sum_{j}R_ij u_j&amp;lt;/math&amp;gt; via diagonalzing the tensor &amp;lt;math&amp;gt;\varepsilon^{-1}_{ij}&amp;lt;/math&amp;gt;. Then, we can simply gives the Jones matrix to describe the change of the polarisation of the incident laser. The Jones matrix can be:&lt;br /&gt;
&amp;lt;math&amp;gt;\mathbf{J} = \begin{bmatrix}&lt;br /&gt;
e^{ikn_1 d} &amp;amp;  0 \\&lt;br /&gt;
0 &amp;amp;  e^{ikn_2d} \\&lt;br /&gt;
\end{bmatrix}&amp;lt;/math&amp;gt;&lt;br /&gt;
, where we assume that the incident direction is in the z-direction (index 3).&lt;br /&gt;
&lt;br /&gt;
===Thermopile Detector===&lt;br /&gt;
To detect the generated THz waves, we employ a thermopile detector, which offers a cost-effective and sensitive solution for broadband THz detection. A thermopile is a thermal detector that consists of a series of thermocouples connected in series or parallel, producing a voltage in response to temperature differences across its junctions.&lt;br /&gt;
&lt;br /&gt;
When the THz radiation is absorbed by the blackened surface of the thermopile, it causes a temperature rise, generating a measurable voltage signal due to the Seebeck effect. Unlike semiconductor photodetectors, thermopiles do not rely on photon energy exceeding the material bandgap. This makes them especially suitable for detecting low-energy THz photons (∼0.003 eV), which are otherwise difficult to detect using conventional photodiodes.&lt;br /&gt;
&lt;br /&gt;
In our setup, the thermopile detector is positioned to capture the emitted THz beam after passing through the optical setup. Its broadband response allows us to record the relative intensity of the THz signal under different generation or modulation conditions. Though it does not provide time-resolved measurements, its simplicity and compatibility with room-temperature operation make it a practical tool for evaluating THz pulse generation in a laboratory environment.&lt;br /&gt;
&lt;br /&gt;
==Measurements and Setups==&lt;br /&gt;
&lt;br /&gt;
=== EO Sampling with ZnTe===&lt;br /&gt;
&lt;br /&gt;
We use Zinc Telluride (ZnTe) for the EO Sampling. As the theory mentioned above, we shall first give out the electro-optical tensor &amp;lt;math&amp;gt;r_{ijk}&amp;lt;/math&amp;gt;. As reference says that the tensor can be simplified to be &amp;lt;math&amp;gt;r_{ijk}=r_{231}|\epsilon_{ijk}|&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\epsilon_{ijk}&amp;lt;/math&amp;gt; is the Levi-Civita symbol. In most references, &amp;lt;math&amp;gt;r_{231}&amp;lt;/math&amp;gt; is simplified to be &amp;lt;math&amp;gt;r_{41}&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Meanwhile, though ZnTe is isotropic, the measurement using its (110) plane. Thus, we shall first rotate the frame to fit the incident plane. Now we assume that the basis is &amp;lt;math&amp;gt;\mathbf{e}_1=\mathbf{e}_x=\frac{1}{\sqrt{2}}(-1,1,0)&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\mathbf{e}_2=\mathbf{e}_y=(0,0,1)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\mathbf{e}_3=\mathbf{e}_z=\frac{1}{\sqrt{2}}(1,1,0)&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Now, we assume that the incident Terahertz wave has a polarisation in (110) plane with an angle &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt; between &amp;lt;math&amp;gt;\mathbf{e}_x&amp;lt;/math&amp;gt;. The Terahertz wave vector should be &amp;lt;math&amp;gt;\mathbf{E}_\text{THz}=E_\text{THz}\left(-\frac{\cos\alpha}{\sqrt{2}}, \frac{\cos\alpha}{\sqrt{2}},\sin\alpha\right)&amp;lt;/math&amp;gt;. Hence, we can write out the refractive index as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathbf{\varepsilon}^{-1}=\begin{bmatrix}&lt;br /&gt;
\frac{1}{n_0^2} &amp;amp;  r_{41} E_\text{THz}\sin\alpha &amp;amp; r_{41} \frac{E_\text{THz}}{\sqrt{2}}\cos\alpha \\&lt;br /&gt;
r_{41} E_\text{THz}\sin\alpha &amp;amp;  \frac{1}{n_0^2} &amp;amp; -r_{41} \frac{E_\text{THz}}{\sqrt{2}}\cos\alpha \\&lt;br /&gt;
r_{41} \frac{E_\text{THz}}{\sqrt{2}}\cos\alpha &amp;amp; -r_{41} \frac{E_\text{THz}}{\sqrt{2}}\cos\alpha &amp;amp; \frac{1}{n_0^2}\\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which gives Eigenvalues:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_1^{-2}=\frac{1}{n_0^2}-\frac{r_{41}E_\text{THz}}{2}(\sin\alpha+\sqrt{1+3\cos^2\alpha})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_2^{-2}=\frac{1}{n_0^2}-\frac{r_{41}E_\text{THz}}{2}(\sin\alpha-\sqrt{1+3\cos^2\alpha})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_3^{-2}=\frac{1}{n_0^2}+r_{41}E_\text{THz}\sin\alpha&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and the eigenvectors:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u_1\prime\propto\left(-1, 1,b_1(\alpha)\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u_2\prime\propto\left(1, -1,b_2(\alpha)\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u_3=\frac{1}{\sqrt{2}}(-1,-1,0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;b_{1,2}(\alpha)=\frac{\sqrt{7\cos^2\alpha+1}\pm3\sin\alpha}{\cos^2\alpha+1\pm\sin\alpha\sqrt{7\cos^2\alpha+1}}\cos\alpha&amp;lt;/math&amp;gt;. Notice that &amp;lt;math&amp;gt;r_{41}\approx4pm/V&amp;lt;/math&amp;gt;. Hence, when &amp;lt;math&amp;gt;E_{THz}&amp;lt;1 MV/cm&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt;r_{41}E_\text{THz}\leq4\times10^{-4}\ll1&amp;lt;/math&amp;gt;. The refractive indices are approximately:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_1=n_0-\frac{n_0^3r_{41}E_\text{THz}}{4}(\sin\alpha+\sqrt{1+3\cos^2\alpha})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_2=n_0-\frac{n_0^3r_{41}E_\text{THz}}{4}(\sin\alpha-\sqrt{1+3\cos^2\alpha})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
n_3=n_0+\frac{n_0^3r_{41}E_\text{THz}\sin\alpha}{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, we find that the birefringent coefficient &amp;lt;math&amp;gt;\Delta n=n_1-n_2=\frac{n_0^3r_{41}E_\text{THz}}{2}(\sqrt{1+3\cos^2\alpha})\leq n_0^3r_{41}E_\text{THz}&amp;lt;/math&amp;gt; has a maximum at &amp;lt;math&amp;gt;\alpha=0&amp;lt;/math&amp;gt;. Here, the eigenvectors, i.e., the principle axis of ZnTe, are &amp;lt;math&amp;gt;&lt;br /&gt;
u_1\prime=\left(-\frac{1}{2}, \frac{1}{2}, \frac{1}{\sqrt{2}}\right)=\frac{1}{\sqrt{2}}\mathbf{e}_x+\frac{1}{\sqrt{2}}\mathbf{e}_y, u_2\prime=\left(\frac{1}{2}, -\frac{1}{2}, \frac{1}{\sqrt{2}}\right)=\frac{1}{\sqrt{2}}\mathbf{e}_x+\frac{1}{\sqrt{2}}\mathbf{e}_y&amp;lt;/math&amp;gt;. It shows that the angle between the new axis and the old ones is strictly 45 degree. Therefore, when the normally incident beam has a polarisation along &amp;lt;math&amp;gt;\mathbf{e}_x&amp;lt;/math&amp;gt;, it would becoming elliptically polarised. Specifically, in the experiment, the linearly polarised beam would pass through a Quarter Wave Plate (QWP), then be analysed by Wollaston prism and finally collected by balance detector after passing ZnTe. The balance detector here actually consists of 2 detectors same in type.&lt;br /&gt;
&lt;br /&gt;
We can thereby show the optical field after the Wollaston prism as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\left(E_1\prime, E_2\prime\right)^T=R\mathbf{Q}\mathbf{J}R(E_\text{optical},0)^T&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where the QWP matrix is&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathbf{Q}=\begin{bmatrix}&lt;br /&gt;
1&amp;amp;0\\&lt;br /&gt;
0&amp;amp;i\\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt; and the rotation matrix representing a rotation of 45 deg is&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathbf{R}=\begin{bmatrix}&lt;br /&gt;
\frac{1}{\sqrt{2}}&amp;amp;\frac{1}{\sqrt{2}}\\&lt;br /&gt;
-\frac{1}{\sqrt{2}}&amp;amp;\frac{1}{\sqrt{2}}\\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;. Hence, the formula can be simplified as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\left(E_1\prime, E_2\prime\right)^T=\frac{e^{ik\frac{n_1+n_2}{2}d}E_\text{optical}}{2}\left(ie^{ki\frac{n_1-n_2}{2}d}+e^{-ik\frac{n_1-n_2}{2}d},-ie^{ik\frac{n_1-n_2}{2}d}+e^{-ik\frac{n_1-n_2}{2}d}\right)^T&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the experiment, we extract the difference between the signals from the 2 detectors via lock-in amplifier. As the intensity &amp;lt;math&amp;gt;I_0\propto E_\text{optical}^2&amp;lt;/math&amp;gt;, the final measurement would gives:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
I_\text{signal}=I_0\sin\left(k(n_1-n_2)d\right)=I_0\sin\left(kr_{41} E_\text{THz}n_0^3d\right)\approx I_0kr_{41} E_\text{THz}n_0^3d&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore, we can inversely give the electric field of Terahertz wave as:&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
E_\text{THz}=\frac{I_\text{signal}}{I_0kr_{41}E_\text{THz}n_0^3d}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Modification given finite delay in the circuit ===&lt;br /&gt;
&lt;br /&gt;
In the measurement, we use a source of 2 kHz laser and the frequency of chopper is set to be 1 kHz. However, due to the delay in the circuit, we saw periodic exponential-like signal other than Dirac delta signal as expected. Here, we analyse how the exponential data would affect the result. Assume that the detector is not saturated. Hence, in 1 period, the signal would be the sum of all past exponentially-decaying signals:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
s_p(t)=\sum_{n=0}^{+\infty}s_0e^{-\frac{nT+t}{\tau}}=\frac{s_0e^{-\frac{t}{\tau}}}{1-e^{T/\tau}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\tau&amp;lt;/math&amp;gt; is the time constant of the detector and &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; is the period of the signal. Given a periodic continuation of the signal, we can give the Fourier components by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\tilde{s}(f)=\frac{1}{T}\int_{0}^T\frac{s_0e^{-\frac{t}{\tau}}}{1-e^{T/\tau}}e^{i2\pi ft}dt=\frac{\tau}{T}\frac{1}{1+i\frac{2\pi}{f\tau}}s_0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where frequency &amp;lt;math&amp;gt;f=\frac{n}{T}&amp;lt;/math&amp;gt; is a discrete variable. In the experiment, we measure the Terahertz wave in frequency &amp;lt;math&amp;gt;f_0&amp;lt;/math&amp;gt; and the optical intensity in frequency &amp;lt;math&amp;gt;f_1=2f_0&amp;lt;/math&amp;gt;. Therefore, the lock-in outputs &amp;lt;math&amp;gt;U_{1,2}&amp;lt;/math&amp;gt; and the real values &amp;lt;math&amp;gt;s_{1,2}&amp;lt;/math&amp;gt; should have a relation as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{s_1}{s_2}=\sqrt{\frac{1+\left(\frac{2\pi}{f_0\tau}\right)^2}{1+\left(\frac{2\pi}{2f_0\tau}\right)^2}}\frac{U_1}{U_2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This relation shows that when &amp;lt;math&amp;gt;\tau\rightarrow0&amp;lt;/math&amp;gt;, the real value might be 2 times of the outputs, verified by our program. Here, we measured the&lt;br /&gt;
&lt;br /&gt;
===EO Sampling Setup===&lt;br /&gt;
[[file:schem_eosampling.png|600px|thumb|right|Schematics of Setup with Electro-Optical Sampling]]&lt;br /&gt;
&lt;br /&gt;
Firstly, we try to detect the Terahertz wave with the most traditional method, electro-optical sampling, to demonstrate that we are truely measuring the terahertz wave. This is because the the EO sampling actually measures the wave shape of the Terahertz pulse with a resolution of 0.07 ps which is much smaller than the period of the terahertz wave (2 ps). Hence, we expect to see a oscillation signal representing the electric field of the terahertz wave. Then, we can compare the wave to others result, thereby demonstrating that this pulse is terahertz wave.&lt;br /&gt;
&lt;br /&gt;
The setup (figure in the right) mainly consist of 3 parts, pump path for generating terahertz wave (red one), terahertz wave path (blue one) and the probe path for EO sampling (green one). All pump and probe beam are 2 kHz, 1030 nm Yb:YAG laser with a duration of about 200 fs. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Pump Path&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The delay line is used to control the time delay between the THz pulse and the probe pulse. Then, a telescope with a cylindrical convex lens (f=100 mm) and a conjugate concave lens (f=-50 mm) compresses the beam in the direction perpendicular to the table. The grating then introduces a tilt in the wavefront of the pulse. Subsequently, the pulse will be imaged into the Lithium Niobate (LN) crystal with another telescope. The second one consist of cylindrical convex lens with focal lengths of 50 mm and 100 mm. The Half-Wave Plate (HWP) before the grating is used to optimise the efficiency of the grating, while the one before LN crystal ensures that the polarisation of the beam aligns with the d33 axis to give a maximum THz generation efficiency.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Probe Path&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The probe beam has an energy that is much smaller than the pump path to protect the EO crystal (Zinc Telluride, ZnTe) and the photodiode detectors. When attenuated by the HWP and Polarisation Beam Splitter (PBS), the probe beam would firstly go into a delay path to match the time delay in the pump path. Then, a convex lens with a focal length of 150 mm focuses the beam on the ZnTe to detect the change of birefringence due to Terahertz pulse. Then, the beam is collimated by a conjugated convex lens with a focal length of 50 mm and analysed by the Wollaston prism. The splitted beams would go into 2 same detectors. Experimentally, the linear range of the photodiode on the lock-in amplifier is about from 0~9 mV in our setup.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Terahertz Path&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The Terahertz path is collected by the first Off-Axis Parabolic mirror (OAP) with a focal length of 76.2 mm. Then, it&#039;s collimated by conjugated OPA with focal lengths of 76.2 mm and 101.6 mm. In the end, it would be focused by the final OPA on the ZnTe. The OPA here has a tiny tunnel to allow the 1030 nm probe beam to pass.&lt;br /&gt;
&lt;br /&gt;
===Thermopile Setup===&lt;br /&gt;
&lt;br /&gt;
[[file:schem_thermopile.png|600px|thumb|right|Schematics of setup with thermopile sensor]]&lt;br /&gt;
&lt;br /&gt;
In our second attempt, we try to detect the Terahertz pulse directly via a thermopile sensor.&lt;br /&gt;
&lt;br /&gt;
==Source for Codes==&lt;br /&gt;
===Test Program for Signal Distortion===&lt;br /&gt;
&lt;br /&gt;
===Source for Auto-measurement Program===&lt;br /&gt;
&lt;br /&gt;
==Reference==&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=File:Differential_Temperature_Thermopile.png&amp;diff=1220</id>
		<title>File:Differential Temperature Thermopile.png</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=File:Differential_Temperature_Thermopile.png&amp;diff=1220"/>
		<updated>2025-04-24T03:22:26Z</updated>

		<summary type="html">&lt;p&gt;Bohan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Terahertz_Electromagnetic_Wave_Detection&amp;diff=285</id>
		<title>Terahertz Electromagnetic Wave Detection</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Terahertz_Electromagnetic_Wave_Detection&amp;diff=285"/>
		<updated>2025-03-04T02:29:38Z</updated>

		<summary type="html">&lt;p&gt;Bohan: /* Members */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Members==&lt;br /&gt;
&lt;br /&gt;
Luo Shizhuo E1353445@u.nus.edu&lt;br /&gt;
Zhang Bohan E1349227@u.nus.edu&lt;br /&gt;
&lt;br /&gt;
==Project Overview==&lt;br /&gt;
&lt;br /&gt;
Terahertz (THz) waves are rather useful in communication (6G communication: 0.3~3 THz), astronomy (millimetre telescope: 0.22 THz) and solid state material characterisation. However, the generation and detection of THz wave so difficult that it is named as the &amp;quot;THz Gap&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
In this project, we aim to generate and detect a THz pulse with a traditional method (Electro-Optical Sampling) and then calibrate a commercial VO2 thermal detector which is reported to be able to detect THz wave. (Specifically, we will use LiNbO3 (LN) crystal, which is generally applied in intense THz pulse generation, to generate a common THz pulse.)&lt;br /&gt;
&lt;br /&gt;
This project can provide a cheaper option compared to specific THz camera (like THz fluorescence camera), and enable us to observe the pattern of THz wave in a more cost-effective way.&lt;br /&gt;
&lt;br /&gt;
==Theory Basis==&lt;br /&gt;
&lt;br /&gt;
===LN-based THz pulse generation===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Phase Match Condition&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We assume that an electromagnetic wave goes in the direction with an angle &amp;lt;math&amp;gt;\epsilon&amp;lt;/math&amp;gt; between z axis. The electric field is given as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E(t)=\int E(\omega) e^{i\omega t-ikz\cdot\cos\epsilon-ikx\cdot\sin\epsilon} d\omega=\int E(\omega) e^{i\omega t-i\varphi} d\omega&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\varphi=kz\cdot\cos\epsilon+kx\cdot\sin\epsilon&amp;lt;/math&amp;gt;, and \textit{k} is the wave vector. The phase term &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; indicates the direction of the motion. When an angular dispersion by frequency &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; is introduce in deviation angle &amp;lt;math&amp;gt;\epsilon&amp;lt;/math&amp;gt;, the phase term &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; becomes:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\varphi\approx\varphi(\omega_0)+\frac{\partial\varphi}{\partial\omega}(\omega-\omega_0)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here, &amp;lt;math&amp;gt;\omega_0&amp;lt;/math&amp;gt; is the central frequency. Substituting &amp;lt;math&amp;gt;v_g=\frac{c}{n_g}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\tan \gamma&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;\frac{d\omega}{dk}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\frac{n(\omega_0)}{n_g}\omega_0\frac{d\epsilon}{d\omega}&amp;lt;/math&amp;gt;, respectively, the formula above can be simplified to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\varphi\approx \frac{n(\omega_0)\omega_0}{c}(z\cos\epsilon(\omega_0)+x\sin\epsilon(\omega_0)) + \frac{\omega-\omega_0}{v_g\cos\gamma}(z\cos(\epsilon(\omega_0)+\gamma)+x\sin(\epsilon(\omega_0)+\gamma))&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, the speed of the wave packet (term with a low frequency &amp;lt;math&amp;gt;(\omega-\omega_0)&amp;lt;/math&amp;gt;) is modified to be &amp;lt;math&amp;gt;v_g\cos\gamma&amp;lt;/math&amp;gt;. The phase match condition becomes:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;v_\text{THz}=v_g\cos\gamma&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This shows that the phase match condition can be modulated by the parameter &amp;lt;math&amp;gt;\gamma&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Exact Calculation&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The THz field is generated by Difference Frequency Generation (DFG) described by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_\text{THz}(t)=\iint\chi(\omega_1)E^*(\omega_1)e^{-i\omega_1t+ik_1z\cos\epsilon_1+ik_1x\sin\epsilon_1}E(\omega_2)e^{i\omega_2 t-ik_2z\cos\epsilon_2-ik_2x\sin\epsilon_2}d\omega_1d\omega_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When we substitute &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\omega+\Omega&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;\omega_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\omega_2&amp;lt;/math&amp;gt;, the equation above becomes:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_\text{THz}(t)=\iint\chi(\omega)E^*(\omega)E(\omega+\Omega)e^{i\Omega t+i\frac{\Omega}{v_g\cos\gamma}(z\cos\gamma+x\sin\gamma)}d\omega d\Omega&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, the THz wave by frequency &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_\text{THz}(\Omega)=e^{i\Omega t-i\frac{\Omega}{v_\text{THz}}z}\int\chi(\omega)E^*(\omega)E(\omega+\Omega)e^{i\frac{\Omega}{v_g\cos\gamma}z-i\frac{\Omega}{v_\text{THz}}z}d\omega &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where a rotation of &amp;lt;math&amp;gt;\gamma&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;x-z&amp;lt;/math&amp;gt; plane is imposed. The term &amp;lt;math&amp;gt;e^{i\frac{\Omega}{v_g\cos\gamma}z-i\frac{\Omega}{v_\text{THz}}z}&amp;lt;/math&amp;gt; represents the phase mismatch.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Optimization&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Electro-Optical Sampling===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===VO2 Detector===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Thermopile Detector===&lt;br /&gt;
&lt;br /&gt;
==Setup==&lt;br /&gt;
&lt;br /&gt;
==Measurement==&lt;br /&gt;
&lt;br /&gt;
==Reference==&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
	<entry>
		<id>https://pc5271.org/PC5271_AY2425S2/index.php?title=Main_Page&amp;diff=283</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://pc5271.org/PC5271_AY2425S2/index.php?title=Main_Page&amp;diff=283"/>
		<updated>2025-03-04T02:28:59Z</updated>

		<summary type="html">&lt;p&gt;Bohan: /* Terahertz Electromagnetic Wave Detection */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Welcome to the wiki page for the course PC5271: Physics of Sensors!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This is the repository where projects are documented. Creation of new accounts have now been blocked,and editing/creating pages is enabled. If you need an account, please contact Christian.&lt;br /&gt;
&lt;br /&gt;
==Projects==&lt;br /&gt;
===[[Project 1 (Example)]]===&lt;br /&gt;
Keep a very brief description of a project or even a suggestion here, and perhaps the names of the team members, or who to contact if there is interest to join. Once the project has stabilized, keep stuff in the project page linked by the headline.&lt;br /&gt;
&lt;br /&gt;
===[[Laser Gyroscope]]===&lt;br /&gt;
Team members: Darren Koh, Chiew Wen Xin&lt;br /&gt;
&lt;br /&gt;
Build a laser interferometer to detect rotation.&lt;br /&gt;
&lt;br /&gt;
===[[Laser Distance Measurer]]===&lt;br /&gt;
Team members: Arya Chowdhury, Liu Sijin, Jonathan Wong&lt;br /&gt;
&lt;br /&gt;
Description: To build a device that uses lasers to measure distances.&lt;br /&gt;
&lt;br /&gt;
(CK: We should have fast laser diodes and fast photodiodes, mounted in optics bench kits)&lt;br /&gt;
&lt;br /&gt;
===[[Alcohol Concentration Measurement]]===&lt;br /&gt;
&lt;br /&gt;
Team members: Lim Gin Joe,Sun Weijia, Yan Chengrui, Zhu Junyi&lt;br /&gt;
&lt;br /&gt;
This project aims to build a sensor to measure the concentration of alcohol by optical method&lt;br /&gt;
&lt;br /&gt;
(CK: you can check  Optics Letters &amp;lt;b&amp;gt;47&amp;lt;/b&amp;gt;, 5076-5079 (2022) https://doi.org/10.1364/OL.472890 for some info)&lt;br /&gt;
&lt;br /&gt;
===[[Ultrasonic Acoustic Remote Sensing]]===&lt;br /&gt;
Team member(s): Chua Rui Ming&lt;br /&gt;
&lt;br /&gt;
How well can we use sound waves to survey the environment?&lt;br /&gt;
&lt;br /&gt;
(CK: we have some ultrasonic transducers around 40kHz, see datasheets below)&lt;br /&gt;
&lt;br /&gt;
===[[Blood Oxygen Sensor]]===&lt;br /&gt;
Team members: He Lingzi, Zhao Lubo, Zhang Ruoxi, Xu Yintong&lt;br /&gt;
&lt;br /&gt;
This project aims to build a sensor to detect the oxygen concentration in the blood.&lt;br /&gt;
&lt;br /&gt;
(CK: We have LEDs at 940nm and 660nm peak wavelenth emission, plus some Si photodiodes)&lt;br /&gt;
&lt;br /&gt;
===[[Terahertz Electromagnetic Wave Detection]]===&lt;br /&gt;
Team members: Shizhuo Luo, Bohan Zhang&lt;br /&gt;
&lt;br /&gt;
This project aims to detect Terahertz waves, especially terahertz pulses (This is because they are intense and controllable). We may try different ways like electro-optical sampling and VO2 detectors.&lt;br /&gt;
&lt;br /&gt;
===[[Optical measurement of atmospheric carbon dioxide]]===&lt;br /&gt;
Team member(s): Ta Na, Cao Yuan, Qi Kaiyi, Gao Yihan, Chen Yiming&lt;br /&gt;
&lt;br /&gt;
This project aims to make use of the optical properties of carbon dioxide gas to create a portable and accurate measurement device of carbon dioxide.&lt;br /&gt;
&lt;br /&gt;
===[[Photodetector with wavelength @ 780nm and 1560nm]]===&lt;br /&gt;
Team members: Sunke Lan&lt;br /&gt;
&lt;br /&gt;
To design photodetector as power monitor with power within 10mW.&lt;br /&gt;
&lt;br /&gt;
(CK: Standard problem, we have already the respective photodiodes)&lt;br /&gt;
&lt;br /&gt;
===[[Single photon double-slit interference]]===&lt;br /&gt;
&lt;br /&gt;
Team members: Cai Shijie, Nie Huanxin, Yang Runzhi&lt;br /&gt;
&lt;br /&gt;
1.Build a single photon detector using LED. The possible LED is gallium compounds based, emitting wavelength around 800nm(red light).&lt;br /&gt;
&lt;br /&gt;
2. Other possible detector: photomultiplier or avalanche photon detector(do we have that?).&lt;br /&gt;
&lt;br /&gt;
3.Do single double-slit interference experiment.&lt;br /&gt;
&lt;br /&gt;
Other devices needed: use LED as single photon source (wavelength shorter than the emitting wavelength 800nm)&lt;br /&gt;
&lt;br /&gt;
prove the detection is single photon: need optical fibre, counting module&lt;br /&gt;
&lt;br /&gt;
===[[STM32-Based IMU Attitude Estimation]]===&lt;br /&gt;
&lt;br /&gt;
Team members: Li Ding, Fan Xuting&lt;br /&gt;
&lt;br /&gt;
This project utilizes an STM32 microcontroller and an MPU6050 IMU sensor to measure angular velocity and acceleration, enabling real-time attitude angle computation for motion tracking.&lt;br /&gt;
&lt;br /&gt;
===Hall effect magnetometer===&lt;br /&gt;
Team members: Ni Xueqi&lt;br /&gt;
&lt;br /&gt;
This project uses the Hall effect to quantify the magnitude of an external magnetic field.&lt;br /&gt;
&lt;br /&gt;
===[[Light Sensing System Based on the Photoelectric Effect]]===&lt;br /&gt;
Team members: Xu Ruizhe, Wei Heyi, Li Zerui, Ma Shunyu&lt;br /&gt;
&lt;br /&gt;
This project utilizes the principle of the photoelectric effect to design a smart light sensing system. The system can detect ambient light intensity and process the data using Arduino or Raspberry Pi. When the light intensity changes beyond a predefined threshold, the system can trigger responses such as lighting up an LED, activating a buzzer, or automatically adjusting curtains.&lt;br /&gt;
&lt;br /&gt;
==Resources==&lt;br /&gt;
===Books and links===&lt;br /&gt;
* A good textbook on the Physics of Sensors is Jacob Fraden: Handbook of Mondern Sensors, Springer, ISBN 978-3-319-19302-1 or [https://link.springer.com/book/10.1007/978-3-319-19303-8 doi:10.1007/978-3-319-19303-8]. There shoud be an e-book available through the NUS library at https://linc.nus.edu.sg/record=b3554643&lt;br /&gt;
&lt;br /&gt;
===Software===&lt;br /&gt;
* Various Python extensions. [https://www.python.org Python] is a very powerful free programming language that runs on just about any computer platform. It is open source and completely free.&lt;br /&gt;
* [https://www.gnuplot.info Gnuplot]: A free and very mature data display tool that works on just about any platform used that produces excellent publication-grade eps and pdf figures. Can be also used in scripts. Open source and completely free.&lt;br /&gt;
* Matlab: Very common, good toolset also for formal mathematics, good graphics. Expensive. We may have a site license, but I am not sure how painful it is for us to get a license for this course. Ask if interested.&lt;br /&gt;
* Mathematica: More common among theroetical physicists, very good in formal maths, now with better numerics. Graphs are ok but can be a pain to make looking good. As with Matlab, we do have a campus license. Ask if interested.&lt;br /&gt;
&lt;br /&gt;
===Apps===&lt;br /&gt;
Common mobile phones these days are equipped with an amazing toolchest of sensors. There are a few apps that allow you to access them directly, and turn your phone into a powerful sensor. Here some suggestions:&lt;br /&gt;
&lt;br /&gt;
* Physics Toolbox sensor suite on [https://play.google.com/store/apps/details?id=com.chrystianvieyra.physicstoolboxsuite&amp;amp;hl=en_SG Google play store] or [https://apps.apple.com/us/app/physics-toolbox-sensor-suite/id1128914250 Apple App store].&lt;br /&gt;
&lt;br /&gt;
===Data sheets===&lt;br /&gt;
A number of components might be useful for several groups. Some common data sheets are here:&lt;br /&gt;
* Photodiodes:&lt;br /&gt;
** Generic Silicon pin Photodiode type [[Media:Bpw34.pdf|BPW34]]&lt;br /&gt;
** Fast photodiodes (Silicon PIN, small area): [[Media:S5971_etc_kpin1025e.pdf|S5971/S5972/S5973]]&lt;br /&gt;
* PT 100 Temperature sensors based on platinum wire: [[Media:|PT100_TABLA_R_T.pdfCalibration table]]&lt;br /&gt;
* Thermistor type [[Media:Thermistor B57861S.pdf|B57861S]] (R0=10k&amp;amp;Omega;, B=3988Kelvin). Search for   [https://en.wikipedia.org/wiki/Steinhart-Hart_equation Steinhart-Hart equation]. See [[Thermistor]] page here as well.&lt;br /&gt;
* Thermopile detectors:&lt;br /&gt;
** [[Media:Thermopile_G-TPCO-035 TS418-1N426.pdf|G-TPCO-035 / TS418-1N426]]: Thermopile detector with a built-in optical bandpass filter for light around 4&amp;amp;mu;m wavelength for CO&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; absorption&lt;br /&gt;
* Resistor color codes are explained [https://en.wikipedia.org/wiki/Electronic_color_code here]&lt;br /&gt;
* Ultrasonic detectors:&lt;br /&gt;
** plastic detctor, 40 kHz, -74dB: [[Media:MCUSD16P40B12RO.pdf|MCUSD16P40B12RO]]&lt;br /&gt;
** metal casing/waterproof, 48 kHz, -90dB, [[Media:MCUSD14A48S09RS-30C.pdf|MCUSD14A48S09RS-30C]]&lt;br /&gt;
** metal casing, 40 kHz, sensitivity unknown, [[Media:MCUST16A40S12RO.pdf|MCUST16A40S12RO]]&lt;br /&gt;
** metal casing/waterproof, 300kHz, may need high voltage: [[Media:MCUSD13A300B09RS.pdf|MCUSD13A300B09RS]]&lt;br /&gt;
&lt;br /&gt;
==Some wiki reference materials==&lt;br /&gt;
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ MediaWiki FAQ]&lt;br /&gt;
* [[Writing mathematical expressions]]&lt;br /&gt;
* [[Uploading images and files]]&lt;br /&gt;
&lt;br /&gt;
== Old Wiki ==&lt;br /&gt;
You can find entries to the wiki from [https://pc5271.org/PC5271_AY2324S2 AY2023/24 Sem 2]&lt;/div&gt;</summary>
		<author><name>Bohan</name></author>
	</entry>
</feed>