CN109581917B - A control device for GNSS second pulse smooth output - Google Patents

A control device for GNSS second pulse smooth output Download PDF

Info

Publication number
CN109581917B
CN109581917B CN201811426449.9A CN201811426449A CN109581917B CN 109581917 B CN109581917 B CN 109581917B CN 201811426449 A CN201811426449 A CN 201811426449A CN 109581917 B CN109581917 B CN 109581917B
Authority
CN
China
Prior art keywords
pulse
time
software
tai
time stamp
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811426449.9A
Other languages
Chinese (zh)
Other versions
CN109581917A (en
Inventor
吴志强
车浩军
杨才明
陈建平
金乃正
金军
朱玛
陶涛
李勇
张琦
顾建
李康毅
崔泓
周剑峰
董长征
谢永海
许晓飚
吴双
李元超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Chenxiao Technology Co ltd
Shaoxing Jianyuan Electric Power Group Co ltd
Zhejiang Shuangcheng Electrical Co ltd
Shaoxing Power Supply Co of State Grid Zhejiang Electric Power Co Ltd
Original Assignee
Hangzhou Chenxiao Technology Co ltd
Shaoxing Jianyuan Electric Power Group Co ltd
Zhejiang Shuangcheng Electrical Co ltd
Shaoxing Power Supply Co of State Grid Zhejiang Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Chenxiao Technology Co ltd, Shaoxing Jianyuan Electric Power Group Co ltd, Zhejiang Shuangcheng Electrical Co ltd, Shaoxing Power Supply Co of State Grid Zhejiang Electric Power Co Ltd filed Critical Hangzhou Chenxiao Technology Co ltd
Priority to CN201811426449.9A priority Critical patent/CN109581917B/en
Publication of CN109581917A publication Critical patent/CN109581917A/en
Application granted granted Critical
Publication of CN109581917B publication Critical patent/CN109581917B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/21Pc I-O input output
    • G05B2219/21109Field programmable gate array, fpga as I-O module
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Electric Clocks (AREA)

Abstract

The invention discloses a GNSS second pulse smooth output control device, which comprises a first port for receiving GNSS input second pulses, a time stamping module for recording the time stamps of the input second pulses, a second port for receiving unified standard interface protocol of navigation equipment, and a TAI/UTC time module, wherein the TAI/UTC time module obtains the TAI/UTC time aligned with the input second pulses through the second port, the control device also comprises a software time stamping processing module, the software time stamping processing module comprises a software complete time stamping buffer area and a software time stamping processing algorithm processing area, and the software time stamping processing module obtains the time stamping information of the input second pulses and the TAI/UTC time information and combines the software complete time stamping buffer, fits an output second pulse curve through a software time stamping processing algorithm and buffers the output second pulse curve in an FPGA time stamping buffer, and the output second pulse processing judgment module outputs second pulses according to the state of a current address value corresponding to the real-time judgment output second pulse curve and a local nanosecond counter.

Description

一种GNSS秒脉冲平滑输出的控制装置A control device for GNSS second pulse smooth output

技术领域technical field

本发明涉及卫星导航系统,特别是一种GNSS秒脉冲平滑输出的控制装置。The invention relates to a satellite navigation system, in particular to a control device for GNSS second pulse smooth output.

背景技术Background technique

GNSS全球卫星导航系统利用一组卫星的伪距、星历、卫星发射时间等观测量来是的,同时还必须知道用户钟差。全球导航卫星系统是能在地球表面或近地空间的任何地点为用户提供全天候的3维坐标和速度以及时间信息的空基无线电导航定位系统。The GNSS global satellite navigation system uses observations such as pseudo-range, ephemeris, and satellite launch time of a group of satellites to determine the accuracy, and the user's clock error must also be known. GNSS is a space-based radio navigation and positioning system that can provide users with all-weather 3-dimensional coordinates, speed and time information at any point on the earth's surface or near-Earth space.

而现有技术中,秒脉冲的特点是短期抖动较大,长期秒偏差趋近于0,且GNSS芯片模组失去卫星连接时,输出秒脉冲中断,这些均导致导航的秒脉冲出现问题,从而影响系统正常运行。In the existing technology, the pulse-per-second is characterized by large short-term jitter, and the long-term second deviation is close to 0, and when the GNSS chip module loses the satellite connection, the output second pulse is interrupted. These all lead to problems with the second pulse of navigation, thus affecting the normal operation of the system.

发明内容Contents of the invention

本发明所要达到的目的就是提供一种GNSS秒脉冲平滑输出的控制装置,确保系统可靠运行,且充分利用软硬件分工,使得系统更加便利和可靠。The purpose of the present invention is to provide a control device for GNSS second pulse smooth output, to ensure the reliable operation of the system, and to make full use of the software and hardware division of labor, so that the system is more convenient and reliable.

为了达到上述目的,本发明采用如下技术方案:一种GNSS秒脉冲平滑输出的控制装置,包括一个接收GNSS输入秒脉冲的第一端口、一个记录输入秒脉冲的时戳的打时戳模块、一个接收导航设备统一标准接口协议的第二端口、以及TAI/UTC时间模块,所述TAI/UTC时间模块通过所述第二端口获得与所述输入秒脉冲对齐的TAI/UTC时间,还包括一个软件时戳处理模块,所述软件时戳处理模块内包括有软件完整时戳缓存区、以及软件时戳处理算法处理区,所述软件时戳处理模块通过获知输入秒脉冲的时戳信息以及TAI/UTC时间信息并结合软件完整的时戳缓存,并通过软件时戳处理算法拟合出输出秒脉冲曲线并缓存于FPGA纳秒时戳缓存,输出秒脉冲处理判决模块根据实时判断输出秒脉冲曲线对应的当前地址值与本地纳秒计数器状态输出秒脉冲。In order to achieve the above object, the present invention adopts the following technical solutions: a control device for GNSS second pulse smooth output, including a first port for receiving GNSS input second pulse, a time stamp module for recording the time stamp of the input second pulse, a second port for receiving the unified standard interface protocol of navigation equipment, and a TAI/UTC time module. The TAI/UTC time module obtains the TAI/UTC time aligned with the input second pulse through the second port, and also includes a software time stamp processing module. area, and the software time stamp processing algorithm processing area, the software time stamp processing module obtains the time stamp information of the input second pulse and the TAI/UTC time information and combines the complete time stamp cache of the software, and uses the software time stamp processing algorithm to fit the output second pulse curve and caches it in the FPGA nanosecond time stamp cache.

进一步的,还包括高精度的本地振荡时钟电路,给所述本地纳秒计数器提供一个时钟基准,维护所述本地纳秒计数器的运行。Further, it also includes a high-precision local oscillator clock circuit, which provides a clock reference for the local nanosecond counter and maintains the operation of the local nanosecond counter.

进一步的,所述本地振荡时钟为高精度晶振,所述晶振的振荡频率为25MHZ。Further, the local oscillator clock is a high-precision crystal oscillator, and the oscillation frequency of the crystal oscillator is 25MHZ.

进一步的,所述TAI/UTC时间模块包括TAI/UTC时间提取模块以及TAI/UTC时间维护模块,所述TAI/UTC时间提取模块通过第二端口获取相应时间信息给TAI/UTC时间维护模块,所述TAI/UTC时间维护模块再通过反馈的输出秒脉冲维护获得TAI/UTC时间。Further, the TAI/UTC time module includes a TAI/UTC time extraction module and a TAI/UTC time maintenance module, the TAI/UTC time extraction module obtains corresponding time information to the TAI/UTC time maintenance module through the second port, and the TAI/UTC time maintenance module obtains the TAI/UTC time through the feedback output second pulse maintenance.

进一步的,包括一个软件时戳接口,所述软件时戳接口将输入秒脉冲的时戳信息以及TAI/UTC时间信息通过Local Bus总线给到软件时戳处理模块。Further, a software time stamp interface is included, and the software time stamp interface sends the time stamp information of the input second pulse and TAI/UTC time information to the software time stamp processing module through the Local Bus.

进一步的,当输入秒脉冲上升沿到达时,记录下NS_CNT纳秒计数器的数值ns_cnt_pps,并把该输入秒脉冲时戳值传递给软件时戳接口。Further, when the rising edge of the input second pulse arrives, the value ns_cnt_pps of the NS_CNT nanosecond counter is recorded, and the input second pulse time stamp value is passed to the software time stamp interface.

进一步的,软件时戳处理模块需要记录下已过去的时间段S内的输入秒脉冲时戳值,并根据该系列输入秒脉冲时戳值拟合出一条N阶的多项式曲线,并根据该多项式来推导接下来一段时间内的秒脉冲到来时刻的拟合值。Further, the software timestamp processing module needs to record the input second pulse timestamp values in the past time period S, and fit an N-order polynomial curve according to the series of input second pulse timestamp values, and derive the fitting value of the second pulse arrival time in the next period of time according to the polynomial.

进一步的,经软件算法处理后的拟合值需要填入到FPGA纳秒时戳缓存中,FPGA纳秒时戳缓存的刻度为1秒,深度为T秒。Further, the fitting value processed by the software algorithm needs to be filled into the FPGA nanosecond time stamp cache, the scale of the FPGA nanosecond time stamp cache is 1 second, and the depth is T seconds.

进一步的,FPGA纳秒时戳缓存的读写地址为TAI/UTC时间转换后的秒部分。Further, the read and write address of the FPGA nanosecond timestamp cache is the second part after TAI/UTC time conversion.

进一步的,输出秒脉冲处理判决电路实时判断当前地址时戳缓存值与本地纳秒计数器是否相等,当两者相等或者互补时,则进行输出秒脉冲。Further, the output second pulse processing judgment circuit judges in real time whether the current address timestamp buffer value is equal to the local nanosecond counter, and when the two are equal or complementary, the second pulse is output.

采用上述技术方案后,本发明具有如下优点:通过软硬件功能划分,将精度要求很高的时戳采样和可靠性要求很高的秒脉冲周期性输出交由硬件/FPGA处理,而将复杂的N阶多项式拟合算法交由软件处理,增加了算法升级的灵活性。能抵御输入秒脉冲中断、软件崩溃等故障,极大提高输出秒脉冲的可靠性。After adopting the above technical solution, the present invention has the following advantages: through the division of software and hardware functions, the time stamp sampling with high precision requirements and the periodic output of second pulses with high reliability requirements are processed by hardware/FPGA, and the complex N-order polynomial fitting algorithm is processed by software, which increases the flexibility of algorithm upgrades. It can resist failures such as input second pulse interruption, software crash, etc., and greatly improves the reliability of output second pulse.

附图说明Description of drawings

下面结合附图对本发明作进一步说明:The present invention will be further described below in conjunction with accompanying drawing:

图1为本发明GNSS秒脉冲平滑输出的控制装置实施例的系统框图;Fig. 1 is the system block diagram of the control device embodiment of GNSS second pulse smooth output of the present invention;

图2为本发明GNSS秒脉冲平滑输出的控制装置实施例中理想时戳示意图;Fig. 2 is ideal time stamp schematic diagram in the control device embodiment of GNSS second pulse smooth output of the present invention;

图3为本发明GNSS秒脉冲平滑输出的控制装置实施例中实际时戳示意图;Fig. 3 is the schematic diagram of the actual time stamp in the control device embodiment of the GNSS second pulse smooth output of the present invention;

图4为本发明GNSS秒脉冲平滑输出的控制装置实施例中软件拟合示意图。Fig. 4 is a schematic diagram of software fitting in the embodiment of the control device for GNSS second pulse smooth output of the present invention.

具体实施方式Detailed ways

在本发明中,FPGA为Field-Programmable Gate Array的简写,即现场可编程门阵列;GNSS为Global Navigation Satellite System的简写,即全球卫星导航系统;PPS为Pulse Per Second的简写,即秒脉冲,TAI为International Atomic Time的简写,即国际原子时;UTC为Coordinated Universal Time的简写,即协调世界时;NMEA为导航设备统一的RTCM标准接口协议。In the present invention, FPGA is the abbreviation of Field-Programmable Gate Array, i.e. Field Programmable Gate Array; GNSS is the abbreviation of Global Navigation Satellite System, i.e. global satellite navigation system; PPS is the abbreviation of Pulse Per Second, i.e. second pulse, TAI is the abbreviation of International Atomic Time, i.e. International Atomic Time; UTC is the abbreviation of Coordinated Universal Time, i.e. Coordinated Universal Time; NME A is the unified RTCM standard interface protocol for navigation equipment.

实施例:Example:

一种GNSS秒脉冲平滑输出的控制装置,包括一个接收GNSS输入秒脉冲的第一端口、一个记录输入秒脉冲的时戳的打时戳模块、一个接收导航设备统一标准接口协议的第二端口、以及TAI/UTC时间模块,所述TAI/UTC时间模块通过所述第二端口获得与所述输入秒脉冲对齐的TAI/UTC时间,还包括一个软件时戳处理模块,所述软件时戳处理模块内包括有软件完整时戳缓存区、以及软件时戳处理算法处理区,所述软件时戳处理模块通过获知输入秒脉冲的时戳信息以及TAI/UTC时间信息并结合软件完整的时戳缓存,并通过软件时戳处理算法拟合出输出秒脉冲曲线并缓存于FPGA纳秒时戳缓存,输出秒脉冲处理判决模块根据实时判断输出秒脉冲曲线对应的当前地址值与本地纳秒计数器状态进行输出秒脉冲。A control device for GNSS second pulse smooth output, comprising a first port for receiving GNSS input second pulse, a time stamping module for recording the time stamp of input second pulse, a second port for receiving the unified standard interface protocol of navigation equipment, and a TAI/UTC time module, the TAI/UTC time module obtains the TAI/UTC time aligned with the input second pulse through the second port, and also includes a software time stamp processing module, which includes a software complete time stamp buffer area and a software time stamp processing algorithm processing area, The software time stamp processing module obtains the time stamp information of the input second pulse and the TAI/UTC time information and combines the complete time stamp cache of the software, and uses the software time stamp processing algorithm to fit the output second pulse curve and caches it in the FPGA nanosecond time stamp cache. The output second pulse processing judgment module outputs the second pulse according to the current address value corresponding to the output second pulse curve and the state of the local nanosecond counter in real time.

如图1所示,还包括高精度的本地振荡时钟电路,所述本地振荡时钟为高精度晶振,所述晶振的振荡频率为25MHZ,所述高精度晶振电连接本地纳秒计数器,给所述本地纳秒计数器提供一个时钟基准,维护所述本地纳秒计数器的运行。所述本地纳秒计数器电连接打时戳模块,当输入秒脉冲上升沿到达时,记录下NS_CNT纳秒计数器的数值ns_cnt_pps,并把该输入秒脉冲时戳值传递给软件时戳接口,供软件时戳处理模块读取。该晶振与理想秒脉冲存在短期固定频偏和长期频率漂移。该晶振输出250Mhz时钟,维护一个纳秒计数器NS_CNT(从0纳秒,以4纳秒的步幅,计数到0.999_999_996纳秒,归0后周期性重复)。As shown in Figure 1, it also includes a high-precision local oscillator clock circuit, the local oscillator clock is a high-precision crystal oscillator, the oscillation frequency of the crystal oscillator is 25MHZ, the high-precision crystal oscillator is electrically connected to the local nanosecond counter, and a clock reference is provided for the local nanosecond counter to maintain the operation of the local nanosecond counter. The local nanosecond counter is electrically connected to the time stamping module. When the rising edge of the input second pulse arrives, record the value ns_cnt_pps of the NS_CNT nanosecond counter, and pass the input second pulse time stamp value to the software time stamp interface for the software time stamp processing module to read. There is short-term fixed frequency deviation and long-term frequency drift between the crystal oscillator and the ideal second pulse. The crystal oscillator outputs a 250Mhz clock and maintains a nanosecond counter NS_CNT (from 0 nanoseconds, with a step of 4 nanoseconds, counting to 0.999_999_996 nanoseconds, and periodically repeating after returning to 0).

GNSS芯片模组同时会提供标准的NMEA-0183接口(UART/IIC等),供用户提取TAI/UTC时间等信息。GNSS芯片模组在提供秒脉冲的同时,还提供了与秒脉冲对齐的TAI/UTC时间,该时间也一并传递给软件时戳接口,供软件时戳处理模块读取。The GNSS chip module also provides a standard NMEA-0183 interface (UART/IIC, etc.) for users to extract TAI/UTC time and other information. While the GNSS chip module provides the second pulse, it also provides the TAI/UTC time aligned with the second pulse, which is also passed to the software time stamp interface for the software time stamp processing module to read.

在本实施例中,所述TAI/UTC时间模块包括TAI/UTC时间提取模块以及TAI/UTC时间维护模块,所述TAI/UTC时间提取模块通过第二端口获取相应时间信息给TAI/UTC时间维护模块,所述TAI/UTC时间维护模块再通过反馈的输出秒脉冲维护获得TAI/UTC时间。所述软件时戳接口将输入秒脉冲的时戳信息以及TAI/UTC时间信息通过Local Bus总线给到软件时戳处理模块。In this embodiment, the TAI/UTC time module includes a TAI/UTC time extraction module and a TAI/UTC time maintenance module, the TAI/UTC time extraction module obtains corresponding time information to the TAI/UTC time maintenance module through the second port, and the TAI/UTC time maintenance module obtains the TAI/UTC time through the feedback output second pulse maintenance. The software time stamp interface sends the time stamp information of the input second pulse and the TAI/UTC time information to the software time stamp processing module through the Local Bus.

理想情况下,即本地晶振与秒脉冲频偏为0且秒脉冲不抖动,那么软件获得的纳秒时戳值应不变。实际情况下,本地晶振与秒脉冲存在短期固定频偏和长期可变漂移,GNSS芯片模组输出秒脉冲存在短期抖动及缺失。相邻秒脉冲之间的纳秒时戳会有0到几十纳秒(0ppb~几十ppb)的偏差。图2为理想情况下采样时戳的示意图。图3为实际输入采样时戳示意图。Ideally, that is, the frequency offset between the local crystal oscillator and the second pulse is 0 and the second pulse does not jitter, then the nanosecond time stamp value obtained by the software should remain unchanged. In reality, there is a short-term fixed frequency offset and long-term variable drift between the local crystal oscillator and the second pulse, and the short-term jitter and absence of the second pulse output by the GNSS chip module. The nanosecond time stamps between adjacent second pulses have a deviation of 0 to tens of nanoseconds (0 ppb to tens of ppb). Fig. 2 is a schematic diagram of sampling time stamps under ideal conditions. FIG. 3 is a schematic diagram of actual input sampling time stamps.

因此,软件时戳处理模块需要记录下已过去的时间段S内的输入秒脉冲时戳值,并根据该系列输入秒脉冲时戳值拟合出一条N阶的多项式曲线,并根据该多项式来推导接下来一段时间内的秒脉冲到来时刻的拟合值。原理上,越接近最新采样值的推导值越准确,当长时间没有更新的采样值,那么推导值的累积误差会不断增大,也就是进入保持状态的输出秒脉冲精度不断劣化。拟合的曲线如图4所示。Therefore, the software timestamp processing module needs to record the input second pulse timestamp values in the past time period S, and fit an N-order polynomial curve according to the series of input second pulse timestamp values, and derive the fitting value of the second pulse arrival time in the next period of time according to the polynomial. In principle, the closer the derived value is to the latest sampled value, the more accurate it is. When there is no updated sampled value for a long time, the cumulative error of the derived value will continue to increase, that is, the output second pulse accuracy in the hold state will continue to deteriorate. The fitted curve is shown in Figure 4.

经软件算法处理后的拟合值需要填入到FPGA纳秒时戳缓存中,FPGA纳秒时戳缓存的刻度为1秒,深度为T秒。也就是说,软件需要将未来T秒内的拟合值填入到FPGA缓存中。T应大于软件崩溃到硬狗复位重启到最后正常工作的时间。在软件及输入秒脉冲正常的情况下,软件应每隔若干秒刷新FPGA时戳缓存,以保证FPGA使用的是最新拟合的值。FPGA纳秒时戳缓存的读写地址为TAI/UTC时间转换后的秒部分。输出秒脉冲处理判决电路实时判断当前地址时戳缓存值与本地纳秒计数器是否相等,当两者相等或者互补时,则进行输出秒脉冲。由于输出秒脉冲的连续不间断性,可以用于驱动TAI/UTC时间维护。The fitting value processed by the software algorithm needs to be filled into the FPGA nanosecond timestamp cache. The scale of the FPGA nanosecond timestamp cache is 1 second, and the depth is T seconds. That is to say, the software needs to fill the fitting value in the future T seconds into the FPGA cache. T should be greater than the time from software crash to hard dog reset restart to last normal work. When the software and the input second pulse are normal, the software should refresh the FPGA timestamp cache every few seconds to ensure that the FPGA uses the latest fitting value. The read and write address of the FPGA nanosecond timestamp cache is the second after TAI/UTC time conversion. The output second pulse processing judgment circuit judges in real time whether the current address timestamp buffer value is equal to the local nanosecond counter, and when the two are equal or complementary, the second pulse is output. Due to the continuous and uninterrupted output second pulse, it can be used to drive TAI/UTC time maintenance.

通过软硬件功能划分,将精度要求很高的时戳采样和可靠性要求很高的秒脉冲周期性输出交由硬件/FPGA处理,而将复杂的N阶多项式拟合算法交由软件处理,增加了算法升级的灵活性。能抵御输入秒脉冲中断、软件崩溃等故障,极大提高输出秒脉冲的可靠性。Through the division of software and hardware functions, the time stamp sampling with high precision and the periodic output of second pulse with high reliability are processed by hardware/FPGA, and the complex N-order polynomial fitting algorithm is processed by software, which increases the flexibility of algorithm upgrade. It can resist failures such as input second pulse interruption, software crash, etc., and greatly improves the reliability of output second pulse.

除上述优选实施例外,本发明还有其他的实施方式,本领域技术人员可以根据本发明作出各种改变和变形,只要不脱离本发明的精神,均应属于本发明所附权利要求所定义的范围。Except above-mentioned preferred embodiment, the present invention also has other embodiments, those skilled in the art can make various changes and distortions according to the present invention, as long as not departing from the spirit of the present invention, all should belong to the scope defined in the appended claims of the present invention.

Claims (10)

1.一种GNSS秒脉冲平滑输出的控制装置,其特征在,包括一个接收GNSS输入秒脉冲的第一端口、一个记录输入秒脉冲的时戳的打时戳模块、一个接收导航设备统一标准接口协议的第二端口、以及TAI/UTC时间模块,所述TAI/UTC时间模块通过所述第二端口获得与所述输入秒脉冲对齐的TAI/UTC时间,还包括一个软件时戳处理模块,所述软件时戳处理模块内包括有软件完整时戳缓存区、以及软件时戳处理算法处理区,所述软件时戳处理模块通过获知输入秒脉冲的时戳信息以及TAI/UTC时间信息并结合软件完整的时戳缓存,并通过软件时戳处理算法拟合出输出秒脉冲曲线并缓存于FPGA纳秒时戳缓存,输出秒脉冲处理判决模块根据实时判断输出秒脉冲曲线对应的当前地址值与本地纳秒计数器状态输出秒脉冲。1. A control device for GNSS second pulse smooth output, it is characterized in, comprising a first port receiving GNSS input second pulse, a time stamp module for recording the time stamp of input second pulse, a second port receiving navigation equipment unified standard interface protocol, and a TAI/UTC time module, the TAI/UTC time module obtains the TAI/UTC time aligned with the input second pulse through the second port, and also includes a software time stamp processing module, which includes software complete time stamp buffer area and software time stamp In the stamp processing algorithm processing area, the software time stamp processing module obtains the time stamp information of the input second pulse and TAI/UTC time information and combines the complete time stamp cache of the software, and uses the software time stamp processing algorithm to fit the output second pulse curve and caches it in the FPGA nanosecond time stamp cache. The output second pulse processing judgment module outputs the second pulse according to the current address value corresponding to the output second pulse curve and the state of the local nanosecond counter in real time. 2.根据权利要求1所述的GNSS秒脉冲平滑输出的控制装置,其特征在于,还包括高精度的本地振荡时钟电路,给所述本地纳秒计数器提供一个时钟基准,维护所述本地纳秒计数器的运行。2. the control device of GNSS second pulse smooth output according to claim 1, is characterized in that, also comprises high-precision local oscillator clock circuit, provides a clock reference to described local nanosecond counter, maintains the operation of described local nanosecond counter. 3.根据权利要求2所述的GNSS秒脉冲平滑输出的控制装置,其特征在于,所述本地振荡时钟为高精度晶振,所述晶振的振荡频率为25MHZ。3. the control device of GNSS second pulse smooth output according to claim 2, is characterized in that, described local oscillation clock is a high-precision crystal oscillator, and the oscillation frequency of described crystal oscillator is 25MHZ. 4.根据权利要求1所述的GNSS秒脉冲平滑输出的控制装置,其特征在于,所述TAI/UTC时间模块包括TAI/UTC时间提取模块以及TAI/UTC时间维护模块,所述TAI/UTC时间提取模块通过第二端口获取相应时间信息给TAI/UTC时间维护模块,所述TAI/UTC时间维护模块再通过反馈的输出秒脉冲维护获得TAI/UTC时间。4. the control device of GNSS second pulse smooth output according to claim 1, it is characterized in that, described TAI/UTC time module comprises TAI/UTC time extraction module and TAI/UTC time maintenance module, described TAI/UTC time extraction module obtains corresponding time information to TAI/UTC time maintenance module by second port, and described TAI/UTC time maintenance module obtains TAI/UTC time by the output second pulse maintenance of feedback again. 5.根据权利要求2所述的GNSS秒脉冲平滑输出的控制装置,其特征在于,包括一个软件时戳接口,所述软件时戳接口将输入秒脉冲的时戳信息以及TAI/UTC时间信息通过LocalBus总线给到软件时戳处理模块。5. the control device of GNSS second pulse smooth output according to claim 2, is characterized in that, comprises a software time stamp interface, and described software time stamp interface gives the time stamp information of input second pulse and TAI/UTC time information to software time stamp processing module by LocalBus bus. 6.根据权利要求5所述的GNSS秒脉冲平滑输出的控制装置,其特征在于,当输入秒脉冲上升沿到达时,记录下NS_CNT纳秒计数器的数值ns_cnt_pps,并把该输入秒脉冲时戳值传递给软件时戳接口。6. the control device of GNSS second pulse smooth output according to claim 5, is characterized in that, when input second pulse rising edge arrives, record the numerical value ns_cnt_pps of NS_CNT nanosecond counter, and this input second pulse time stamp value is delivered to software time stamp interface. 7.根据权利要求6所述的GNSS秒脉冲平滑输出的控制装置,其特征在于,软件时戳处理模块需要记录下已过去的时间段S内的输入秒脉冲时戳值,并根据该系列输入秒脉冲时戳值拟合出一条N阶的多项式曲线,并根据该多项式来推导接下来一段时间内的秒脉冲到来时刻的拟合值。7. the control device of GNSS second pulse smooth output according to claim 6, it is characterized in that, the software time stamp processing module needs to record the input second pulse time stamp value in the past time period S, and according to this series input second pulse time stamp value fit out a polynomial curve of N order, and deduce the fitting value of the second pulse arrival moment in next period of time according to this polynomial. 8.根据权利要求7所述的GNSS秒脉冲平滑输出的控制装置,其特征在于,经软件算法处理后的拟合值需要填入到FPGA纳秒时戳缓存中,FPGA纳秒时戳缓存的刻度为1秒,深度为T秒。8. the control device of GNSS second pulse smooth output according to claim 7, it is characterized in that, the fitting value after software algorithm processing needs to be filled in FPGA nanosecond time stamp cache, the scale of FPGA nanosecond timestamp cache is 1 second, and depth is T seconds. 9.根据权利要求8所述的GNSS秒脉冲平滑输出的控制装置,其特征在于,FPGA纳秒时戳缓存的读写地址为TAI/UTC时间转换后的秒部分。9. The control device for GNSS second pulse smooth output according to claim 8, characterized in that the read-write address of the FPGA nanosecond timestamp buffer is the second part after the TAI/UTC time conversion. 10.根据权利要求8所述的GNSS秒脉冲平滑输出的控制装置,其特征在于,输出秒脉冲处理判决电路实时判断当前地址时戳缓存值与本地纳秒计数器是否相等,当两者相等或者互补时,则进行输出秒脉冲。10. the control device of GNSS second pulse smooth output according to claim 8, it is characterized in that, output second pulse processing judgment circuit judges whether current address timestamp cache value is equal to local nanosecond counter in real time, when both are equal or complementary, then output second pulse.
CN201811426449.9A 2018-11-27 2018-11-27 A control device for GNSS second pulse smooth output Active CN109581917B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811426449.9A CN109581917B (en) 2018-11-27 2018-11-27 A control device for GNSS second pulse smooth output

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811426449.9A CN109581917B (en) 2018-11-27 2018-11-27 A control device for GNSS second pulse smooth output

Publications (2)

Publication Number Publication Date
CN109581917A CN109581917A (en) 2019-04-05
CN109581917B true CN109581917B (en) 2023-07-25

Family

ID=65924419

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811426449.9A Active CN109581917B (en) 2018-11-27 2018-11-27 A control device for GNSS second pulse smooth output

Country Status (1)

Country Link
CN (1) CN109581917B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022160283A1 (en) * 2021-01-29 2022-08-04 华为技术有限公司 Sampling method, sampling circuit, and clock synchronization method of distributed network

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008019605A1 (en) * 2006-08-11 2008-02-21 Huawei Technologies Co., Ltd. A method and device for improving satellite time synchronization pulse hold performance
CN102868515A (en) * 2012-09-27 2013-01-09 烽火通信科技股份有限公司 System time synchronization device and method in packet transport network
CN102882586A (en) * 2012-10-15 2013-01-16 北京空间飞行器总体设计部 Satellite time synchronization system
CN103188066A (en) * 2013-02-28 2013-07-03 中兴通讯股份有限公司 Reference clock signal processing method and device
CN107577140A (en) * 2017-09-14 2018-01-12 国电南瑞科技股份有限公司 A kind of synchronised clock management module based on FPGA
CN107655475A (en) * 2017-11-03 2018-02-02 河南思维轨道交通技术研究院有限公司 Synchronization pulse acquisition methods, navigation data synchronization processing method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008019605A1 (en) * 2006-08-11 2008-02-21 Huawei Technologies Co., Ltd. A method and device for improving satellite time synchronization pulse hold performance
CN102868515A (en) * 2012-09-27 2013-01-09 烽火通信科技股份有限公司 System time synchronization device and method in packet transport network
WO2014048167A1 (en) * 2012-09-27 2014-04-03 烽火通信科技股份有限公司 System time synchronization device and method in packet transport network
CN102882586A (en) * 2012-10-15 2013-01-16 北京空间飞行器总体设计部 Satellite time synchronization system
CN103188066A (en) * 2013-02-28 2013-07-03 中兴通讯股份有限公司 Reference clock signal processing method and device
CN107577140A (en) * 2017-09-14 2018-01-12 国电南瑞科技股份有限公司 A kind of synchronised clock management module based on FPGA
CN107655475A (en) * 2017-11-03 2018-02-02 河南思维轨道交通技术研究院有限公司 Synchronization pulse acquisition methods, navigation data synchronization processing method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于GNSS的通信星座系统的时间同步研究;黄琳 等;航天器工程(第06期);第67-74页 *

Also Published As

Publication number Publication date
CN109581917A (en) 2019-04-05

Similar Documents

Publication Publication Date Title
KR101036846B1 (en) Method and apparatus for calculating LTE and clock models with variable time-limits
CN109525351B (en) Equipment for realizing time synchronization with time reference station
CN101430372B (en) Low-cost time service and synchronization method and device for global positioning system receiver
EP2331984B1 (en) Method and apparatus for a global navigation satellite system receiver coupled to a host computer system
CN113259042B (en) Clock reference synchronization method, device, equipment and storage medium between multiple equipment
CN103152117B (en) A kind of embedded high-precision network time server system
CN111007554A (en) Data acquisition time synchronization system and method
CN107505832B (en) A High Precision Timing System
CN106154299A (en) A kind of GPS/SINS integrated navigation system method for synchronizing time
CN112543078B (en) Network time server calibration method and device based on satellite common view
CN103269262B (en) A kind of punctual method of time synchronism apparatus
CN108957494A (en) A kind of satellite-based high-precision continuous time acquisition methods
CN109633710B (en) Millisecond ambiguity estimation method for warm start of Beidou receiver
CN109581917B (en) A control device for GNSS second pulse smooth output
CN115021854A (en) A time synchronization method, device, computer storage medium and electronic device
CN117043640A (en) Scalable universal view time delivery and related apparatus and methods
CN113890665A (en) Time synchronization method, system, storage medium and processor
US20200363536A1 (en) Methods for enhancing non-global navigation satellite system location and timing pseudorange positioning calculations and systems thereof
Liu et al. An embedded high-precision gnss-visual-inertial multi-sensor fusion suite
CN115865252B (en) A high-precision GNSS time synchronization method with settable period
CN109001769B (en) DCLS time deviation monitoring method and system based on Beidou satellite
CN108628156A (en) A kind of high precision computation machine serial ports time service method
CN115150019A (en) Multi-sensor time synchronization method, device, equipment and medium
CN117254435A (en) Differential protection method, device, system and storage medium
Doberstein et al. Introduction to the global positioning system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant