由於2x-thru去嵌入校正方法簡單實用,只需測量兩條傳輸線電路即可實現,在實際應用中降低了成本和時間,在相關領域得到越來越廣泛的應用。然而,在過往的文獻除了很少細部分析直通長度對於在實行時間截斷的影響以及在執行時間截斷時,透過窗口函數的技巧減緩頻域截斷的問題,另外,關於四端口實現的方法也缺乏完整文檔。 因此,在本論文的主旨包含了分析不同直通長度對時間截斷造成的影響、針對實務上頻域截斷對信號造成干擾的問題提拱一種改善的方法,以及基於TRL和2x-thru校正演算法,自行編寫了一個Python程序來實現兩端口單端信號的校正,同時,我們事先使用模擬資料來驗證校正演算法的準確性後,再透過量測實例與商用軟體進行校正結果的比較。 此外,隨著科技的進步,差分信號相對於單端信號擁有更快的傳輸速度和抑制雜訊的優勢,因此,為了能夠貼近實際的應用,本研究亦基於2x-thru校正演算法,實現四端口差分信號的校正,同樣地,我們預先利用模擬資料來驗證校正演算法的準確性,再使用量測實例與商用軟體進行校正結果的比較。;The 2x-thru de-embedding calibration method is simple and practical, which only needs to measure two transmission line circuits. It has been widely used in related fields as it helps to reduce the cost and time in practical application. However, in previous literature, the detailed analysis on the effects of thru length on time gating and the use of windowing techniques to mitigate frequency domain truncation issues during time gating is very limited and there is also a lack of complete documentation regarding the implementation of four-port calibration methods. Therefore, the main objective of this thesis includes analyzing the impact of different THRU lengths on time gating, proposing a method to mitigate the interference caused by frequency domain truncation in practical scenarios, and implementing two-port single-ended calibration based on TRL and 2x-thru calibration algorithms through self-developed Python program. The calibration algorithm′s accuracy is verified by using simulated data in advance, then the calibration results with measurement examples and commercial software is cross compared. Furthermore, with the advance of science and technology, comparing to single-ended signals, differential signals offer more advantages such as faster transmission speeds and better noise suppression. In order to make it close to the practical application, this research is to implement four-port differential pair calibration based on the 2x-thru calibration algorithm. Similarly, the prior validation of the calibration algorithm′s accuracy by using simulated data is conducted first, and the comparison of calibration results with measurement examples and commercial software will be made afterwards.