Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 GPS NTP 时间服务器同步我的电脑。我如何能够将 GPS 接收器的 1PPS 与我的 PC 的时钟脉冲进行比较,以查看它与 GPS 时间同步的准确程度?(可能使用示波器!)
我以前设计过这种实验。在我的例子中,我编写了一个设备驱动程序,它会在内核内部——在一个紧密的循环中观察 PC 的时钟,等待它翻转到新的一秒。一旦完成,我就会将 PC 并行端口上的一个引脚抬高。然后我将并口的那个引脚和 GPS 接收器的 PPS 信号输出连接到示波器上,让它测量两个脉冲之间的时间差。