高速数字系统的频域仿真与PCB走线分析
1. 频域仿真基础
在高速数字系统的仿真中,采样率不足会导致波形出现“摆动”现象,其具体表现取决于采样的精确位置。频域仿真可以处理一些相当复杂的情况。
1.1 频域仿真的实现
以下是一个使用MathCad语法的FFT仿真示例代码,该代码模拟了一个长度为N/2的脉冲,其上升和下降沿为高斯型,10% - 90%的上升/下降时间为40 ps,延迟为4096 ps。
Table 4.2-Example Code Showing FFT Simulation
Item Expression Units
Sampling resolution ΔT := 10^-11 sec
Length of sample vector N := 4096 a power of two
Index to time points n := 0,1..(N - 1) integer
Horizontal axis for time- tₙ := nΔT sec
domain plots
Index to frequency points k := 0,1..(N/2) integer
Horizontal axis for fₖ := k/(NΔT) Hertz