[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN103901771A - System and method for extracting time information of Beidou satellite based on FPGA - Google Patents

System and method for extracting time information of Beidou satellite based on FPGA Download PDF

Info

Publication number
CN103901771A
CN103901771A CN201410155441.9A CN201410155441A CN103901771A CN 103901771 A CN103901771 A CN 103901771A CN 201410155441 A CN201410155441 A CN 201410155441A CN 103901771 A CN103901771 A CN 103901771A
Authority
CN
China
Prior art keywords
time
satellite
fpga
beidou
information
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.)
Pending
Application number
CN201410155441.9A
Other languages
Chinese (zh)
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.)
Shanghai Dianji University
Original Assignee
Shanghai Dianji University
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 Shanghai Dianji University filed Critical Shanghai Dianji University
Priority to CN201410155441.9A priority Critical patent/CN103901771A/en
Publication of CN103901771A publication Critical patent/CN103901771A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Position Fixing By Use Of Radio Waves (AREA)
  • Electric Clocks (AREA)

Abstract

本发明公开了一种基于FPGA提取北斗卫星时间信息的系统及方法,包括如下步骤:步骤一,FPGA处理单元接收北斗接收机输出的卫星信息;步骤二,对接收的卫星信息进行时间提取,提取出世界标准时间;步骤三,将提取的世界标准时间信息转换为国家标准时间,本发明实现了对北斗卫星时间信息的提取进而利用北斗卫星进行授时的目的。

The invention discloses a system and method for extracting Beidou satellite time information based on FPGA, comprising the following steps: Step 1, the FPGA processing unit receives the satellite information output by the Beidou receiver; Step 2, extracts the time of the received satellite information, extracts Step 3, converting the extracted world standard time information into national standard time, the present invention realizes the purpose of extracting the Beidou satellite time information and then using the Beidou satellite for time service.

Description

一种基于FPGA提取北斗卫星时间信息的系统及方法A system and method for extracting Beidou satellite time information based on FPGA

技术领域technical field

本发明涉及一种卫星信息的提取方法及装置,特别是涉及一种基于FPGA提取北斗卫星时间信息的系统及方法。The invention relates to a method and device for extracting satellite information, in particular to a system and method for extracting Beidou satellite time information based on FPGA.

背景技术Background technique

中国北斗卫星导航系统(BeiDou Navigation Satellite System,BDS)是我国自行研制的全球卫星定位与通信系统,是继美国全球卫星定位系统(GlobalPositioning System,GPS)和俄罗斯GLONASS全球卫星导航系统之后第三个成熟的卫星导航系统。系统由空间端、地面端和用户端组成,可在全球范围内全天候、全天时为各类用户提供高精度、高可靠定位、导航、授时服务,并具短报文通信能力,已经初步具备区域导航、定位和授时能力,定位精度优于20m,授时精度优于100ns。China's BeiDou Navigation Satellite System (BDS) is a global satellite positioning and communication system independently developed by my country. satellite navigation system. The system consists of a space terminal, a ground terminal and a user terminal. It can provide all kinds of users with high-precision, high-reliability positioning, navigation, and timing services all-weather and all-weather around the world, and has the ability to communicate with short messages. Regional navigation, positioning and timing capabilities, the positioning accuracy is better than 20m, and the timing accuracy is better than 100ns.

目前,从经济性和稳定性上选择,一般采用GPS卫星授时的方式获取世界标准时间,通过世界标准时间对当前显示的时间进行调整以达到时间与世界标准时间的同步。但GPS卫星计时装置利用GPS卫星系统进行的授时为实时授时,功耗比较大,且GPS卫星系统为国外拥有的卫星系统,其安全可靠性比较差,因此,实有必要提出一种技术手段,以通过提取北斗卫星时间信息实现利用北斗卫星进行授时。At present, in terms of economy and stability, GPS satellite timing is generally used to obtain the world standard time, and the current displayed time is adjusted through the world standard time to achieve synchronization with the world standard time. But the time service that the GPS satellite timing device utilizes the GPS satellite system to carry out is real-time time service, and the power consumption is relatively large, and the GPS satellite system is a satellite system owned by foreign countries, and its safety and reliability are relatively poor. Therefore, it is necessary to propose a technical means, By extracting the time information of Beidou satellites, it is possible to use Beidou satellites for timing.

发明内容Contents of the invention

为克服上述现有技术存在的不足,本发明之一目的在于提供一种基于FPGA提取北斗卫星时间信息的系统及方法,其通过FPGA串口接收北斗接收机输出的卫星信息,并将接收的卫星信息通过时间信息提取模块进行时间信息的提取,最后将提取的时间信息转换成标准时间再进行其他时钟系统的同步,实现了对北斗卫星时间信息的提取进而利用北斗卫星进行授时的目的。In order to overcome the deficiencies in the above-mentioned prior art, one object of the present invention is to provide a system and method for extracting Beidou satellite time information based on FPGA, which receives the satellite information output by the Beidou receiver through the FPGA serial port, and uses the received satellite information The time information is extracted through the time information extraction module, and finally the extracted time information is converted into standard time and then synchronized with other clock systems, realizing the extraction of Beidou satellite time information and then using the Beidou satellite for time service.

为达上述及其它目的,本发明提出一种基于FPGA提取北斗卫星时间信息的系统,至少包括:In order to achieve the above and other purposes, the present invention proposes a system for extracting Beidou satellite time information based on FPGA, at least including:

北斗接收机,接收北斗卫星传输的导航电文,并将接收到的导航电文经解码获得卫星信息;The Beidou receiver receives the navigation message transmitted by the Beidou satellite, and decodes the received navigation message to obtain satellite information;

FPGA处理单元,接收该北斗接收机输出的卫星信息,将获得的卫星信息进行时间提取后并将其转换为国家标准时间。The FPGA processing unit receives the satellite information output by the Beidou receiver, extracts the time of the obtained satellite information and converts it into the national standard time.

进一步地,该FPGA处理单元包括:Further, the FPGA processing unit includes:

双口RAM,将接收的卫星信息进行实时数据缓存;Dual-port RAM for real-time data buffering of received satellite information;

时间提取模块,根据预设的数据格式对卫星信息进行时间提取,提取出世界标准时间;The time extraction module extracts the time of the satellite information according to the preset data format, and extracts the universal time;

时间转换模块,将提取出的世界标准时间转换为国家标准时间。The time conversion module converts the extracted world standard time to national standard time.

进一步地,该FPGA处理单元利用UART口接收该北斗接收机输出的卫星信息。Further, the FPGA processing unit uses the UART port to receive the satellite information output by the Beidou receiver.

进一步地,该FPGA处理单元接收卫星信息的串口的波特率与该北斗接收机输出卫星信息的串口的波特率一致。Further, the baud rate of the serial port of the FPGA processing unit for receiving satellite information is consistent with the baud rate of the serial port of the Beidou receiver for outputting satellite information.

进一步地,该卫星信息包括时间信息、位置坐标、速度、仰角、方位角、信噪比。Further, the satellite information includes time information, position coordinates, speed, elevation angle, azimuth angle, and signal-to-noise ratio.

进一步地,该FPGA处理单元是由逻辑门和触发器组成的,命令执行方式为并行执行。Further, the FPGA processing unit is composed of logic gates and flip-flops, and the command execution mode is parallel execution.

为达到上述目的,本发明还提供一种基于FPGA提取北斗卫星时间信息的方法,包括如下步骤:In order to achieve the above object, the present invention also provides a method for extracting Beidou satellite time information based on FPGA, comprising the steps of:

步骤一,FPGA处理单元接收北斗接收机输出的卫星信息;Step 1, the FPGA processing unit receives the satellite information output by the Beidou receiver;

步骤二,对接收的卫星信息进行时间提取,提取出世界标准时间;Step 2, time extraction is performed on the received satellite information to extract the universal time;

步骤三,将提取的世界标准时间信息转换为国家标准时间。Step 3, converting the extracted world standard time information into national standard time.

进一步地,该FPGA处理单元通过UART口接收该北斗接收机的卫星信息,该FPGA接收卫星信息的串口的波特率与该北斗接收机输出卫星信息的串口的波特率一致。Further, the FPGA processing unit receives satellite information of the Beidou receiver through the UART port, and the baud rate of the serial port of the FPGA receiving satellite information is consistent with the baud rate of the serial port of the Beidou receiver outputting satellite information.

进一步地,该卫星信息包括时间信息、位置坐标、速度、仰角、方位角、信噪比。Further, the satellite information includes time information, position coordinates, speed, elevation angle, azimuth angle, and signal-to-noise ratio.

进一步地,在步骤二中,提取的时间信息包括年、月、日、时、分、秒,并精确到秒位的小数点后三位。Further, in step 2, the extracted time information includes year, month, day, hour, minute, and second, and is accurate to three decimal places of the second.

与现有技术相比,本发明一种基于FPGA提取北斗卫星时间信息的系统及方法通过FPGA串口接收北斗接收机输出的卫星信息,并将接收的卫星信息通过时间信息提取模块进行时间信息的提取,最后将提取的时间信息转换成标准时间再进行其他时钟系统的同步,实现了对北斗卫星时间信息的提取进而利用北斗卫星进行授时的目的Compared with the prior art, a system and method for extracting Beidou satellite time information based on FPGA of the present invention receives satellite information output by Beidou receiver through the FPGA serial port, and extracts the time information through the time information extraction module of the received satellite information Finally, the extracted time information is converted into standard time and then synchronized with other clock systems, realizing the purpose of extracting time information from Beidou satellites and then using Beidou satellites for time service

附图说明Description of drawings

图1为本发明一种基于FPGA提取北斗卫星时间信息的系统的系统架构图;Fig. 1 is a system architecture diagram of a system for extracting Beidou satellite time information based on FPGA of the present invention;

图2为本发明一种基于FPGA提取北斗卫星时间信息的方法的步骤流程图;Fig. 2 is a kind of step flowchart of the method for extracting Beidou satellite time information based on FPGA of the present invention;

图3为本发明较佳实施例之时间信息提取的流程图。FIG. 3 is a flow chart of time information extraction in a preferred embodiment of the present invention.

具体实施方式Detailed ways

以下通过特定的具体实例并结合附图说明本发明的实施方式,本领域技术人员可由本说明书所揭示的内容轻易地了解本发明的其它优点与功效。本发明亦可通过其它不同的具体实例加以施行或应用,本说明书中的各项细节亦可基于不同观点与应用,在不背离本发明的精神下进行各种修饰与变更。The implementation of the present invention is described below through specific examples and in conjunction with the accompanying drawings, and those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific examples, and various modifications and changes can be made to the details in this specification based on different viewpoints and applications without departing from the spirit of the present invention.

图1为本发明一种基于FPGA提取北斗卫星时间信息的系统的系统架构图。如图1所示,本发明一种基于FPGA提取北斗卫星时间信息的系统,至少包括:北斗接收机101以及FPGA处理单元102。FIG. 1 is a system architecture diagram of a system for extracting Beidou satellite time information based on FPGA in the present invention. As shown in FIG. 1 , a system for extracting Beidou satellite time information based on FPGA in the present invention includes at least: Beidou receiver 101 and FPGA processing unit 102 .

其中,北斗接收机101接收北斗卫星传输的导航电文,并将接收到的导航电文经解码获得卫星信息,根据北斗二代卫星导航系统工作原理,北斗接收机101要接收4颗北斗卫星才可进行三维定位,接收3颗卫星进行二维定位。在北斗接收机101位置确定后且不再改变的条件下,接收机只需要接收其中一颗北斗卫星103或104便可进行精确的时间传递,北斗接收机101在接收到北斗卫星103或104传输的导航电文后经解码即可获得卫星信息,该卫星信息包括时间信息、位置坐标、速度、仰角、方位角、信噪比等,需说明的是,接收的北斗卫星信息,遵循UNICORE+NMEA协议;FPGA处理单元102通过串口通信接收北斗接收机101输出的卫星信息,将获得的卫星信息进行时间提取后并将其转换为国家标准时间,需说明的是,FPGA处理单元102接收卫星信息的串口的波特率要和北斗接收机101输出卫星信息的串口的波特率一致,只有这样才能接收到卫星信息,在本发明较佳实施例中,FPGA处理单元102基于逻辑门和触发器,采用并行执行结构,因此具有快速的数据处理速度,其包括双口RAM105、时间提取模块106以及时间转换模块107,双口RAM105用于进行实时数据的缓存,即将FPGA处理单元102接收的卫星信息存入双口RAM105中,当双口RAM105中存满数据后,通知时间提取模块106依据UNICORE协议进行时间信息的提取,UNICORE协议中规定了用于不同应用的消息格式,如BDRMC、BDGGA、BDGSV、BDVTG等等,并且每种消息格式所包含的内容不同。本发明设计的时间信息提取程序辨识性的只提取一种消息格式的卫星信息,例如提取BDRMC消息格式中的时间信息。具体而言,时间提取模块106,不停的检测接收到的卫星信息,当检测到消息格式为“$BDRMC”时,则将该信息送入时间信息提取程序中进行时间信息的提取,“$BDRMC”中,需要提取的时间信息,紧跟在头帧$BDRMC之后,其次位置有效标识,再次是纬度等信息;基于$BDRMC消息格式,时间信息提取程序只需将头帧$BDRMC后的10个字节的信息即UTC时间(hhmmss,sss)提取出来,即可完成UTC时间的提取。时间提取模块106根据用户需要选择合适的数据格式能达到最佳的效果,而且经过时间提取模块提取的时间并不能立即用于时钟系统(如图所示A时钟系统108或B时钟系统109)的同步,因为提取的时间是协调世界时(Universal Time Coordinated,UTC),又称世界标准时间,它是目前世界各国时号播发的基础,因此,在进行时钟同步之前要通过时间转换模块107进行时间转换,把UTC时间转换成国家标准时间,例如,在中国,则时间转换模块107将其转换为北京时间,北京时间和UTC时间相差八个小时,转换后的时间才可以用于同步其他各个时钟系统,被同步的A时钟系统和B时钟系统将会拥有统一的时钟,这就使得各时钟系统时间的比较有了意义。Among them, the Beidou receiver 101 receives the navigation message transmitted by the Beidou satellite, and decodes the received navigation message to obtain satellite information. According to the working principle of the Beidou second-generation satellite navigation system, the Beidou receiver 101 needs to receive 4 Beidou satellites to perform Three-dimensional positioning, receiving three satellites for two-dimensional positioning. After the Beidou receiver 101 position is determined and does not change, the receiver only needs to receive one of the Beidou satellites 103 or 104 to perform accurate time transfer. Satellite information can be obtained after decoding the navigation message, which includes time information, position coordinates, speed, elevation angle, azimuth angle, signal-to-noise ratio, etc. It should be noted that the received Beidou satellite information follows the UNICORE+NMEA protocol The FPGA processing unit 102 receives the satellite information output by the Beidou receiver 101 through serial port communication, extracts the obtained satellite information and converts it to the national standard time after time, it should be noted that the FPGA processing unit 102 receives the satellite information through the serial port The baud rate of the Beidou receiver 101 should be consistent with the baud rate of the serial port that outputs the satellite information. Only in this way can the satellite information be received. In a preferred embodiment of the present invention, the FPGA processing unit 102 is based on logic gates and flip-flops. Parallel execution structure, therefore has fast data processing speed, and it comprises dual-port RAM105, time extraction module 106 and time conversion module 107, and dual-port RAM105 is used for carrying out the cache memory of real-time data, is about to deposit the satellite information that FPGA processing unit 102 receives In the dual-port RAM 105, when the dual-port RAM 105 is full of data, the notification time extraction module 106 extracts time information according to the UNICORE protocol. The UNICORE protocol specifies message formats for different applications, such as BDRMC, BDGGA, BDGSV, and BDVTG and so on, and what each message format contains is different. The time information extraction program designed by the present invention distinguishes and only extracts satellite information in one message format, such as extracting time information in the BDRMC message format. Specifically, the time extraction module 106 continuously detects the received satellite information, and when it detects that the message format is "$BDRMC", the information is sent to the time information extraction program to extract the time information, "$ In "BDRMC", the time information that needs to be extracted is immediately after the head frame $BDRMC, followed by the effective identification of the position, and the latitude and other information; based on the $BDRMC message format, the time information extraction program only needs to extract the 10 digits after the head frame $BDRMC One byte of information, that is, UTC time (hhmmss, sss), can be extracted to complete the extraction of UTC time. The time extraction module 106 selects the appropriate data format according to the user's needs to achieve the best results, and the time extracted by the time extraction module cannot be used immediately in the clock system (as shown in the figure A clock system 108 or B clock system 109) Synchronization, because the extracted time is Universal Time Coordinated (UTC), also known as Universal Standard Time, it is the basis for broadcasting the time numbers of various countries in the world at present. Convert, UTC time is converted into national standard time, for example, in China, then time conversion module 107 converts it to Beijing time, Beijing time and UTC time differ eight hours, and the time after conversion can be used for synchronizing other each clock system, the synchronized A clock system and B clock system will have a unified clock, which makes the comparison of the time of each clock system meaningful.

图2为本发明一种基于FPGA提取北斗卫星时间信息的方法的步骤流程图。如图2所示,本发明一种基于FPGA提取北斗卫星时间信息的方法,包括如下步骤:Fig. 2 is a flow chart of steps of a method for extracting Beidou satellite time information based on FPGA in the present invention. As shown in Figure 2, a kind of method of extracting Beidou satellite time information based on FPGA of the present invention comprises the following steps:

步骤201,FPGA处理单元接收北斗接收机输出的卫星信息,这里的卫星信息包括时间信息、位置坐标、速度、仰角、方位角、信噪比等信息。在本发明较佳实施例中,FPGA处理单元通过UART口(串行接口)接收北斗接收机的卫星信息,FPGA接收卫星信息的串口的波特率要和北斗接收机输出卫星信息的串口的波特率一致,只有这样才能接收到卫星信息,北斗接收机接收的是北斗二代卫星导航系统发射的卫星信息。Step 201, the FPGA processing unit receives the satellite information output by the Beidou receiver, where the satellite information includes time information, position coordinates, speed, elevation angle, azimuth angle, signal-to-noise ratio and other information. In a preferred embodiment of the present invention, the FPGA processing unit receives the satellite information of the Beidou receiver through the UART port (serial interface), and the baud rate of the serial port of the FPGA receiving satellite information must be the same as the baud rate of the serial port of the Beidou receiver outputting satellite information. Only in this way can the satellite information be received. The Beidou receiver receives the satellite information transmitted by the Beidou second-generation satellite navigation system.

步骤202,对接收的卫星信息进行时间提取,需说明的是,这里提取的时间信息是协调世界时(Universal Time Coordinated,UTC),又称世界标准时间,它是目前世界各国时号播发的基础。这里,提取的时间信息包括年、月、日、时、分、秒,并精确到秒位的小数点后三位。在本发明中,时间信息提取程序辨识性的只提取一种消息格式的卫星信息,例如提取BDRMC消息格式中的时间信息。具体而言,FPGA处理单元不停的检测接收到的卫星信息,当检测到消息格式为“$BDRMC”时,则将该信息送入时间信息提取程序中进行时间信息的提取,“$BDRMC”中,需要提取的时间信息,紧跟在头帧$BDRMC之后,其次位置有效标识,再次是纬度等信息,因此,基于$BDRMC消息格式,时间信息提取程序只需将头帧$BDRMC后的10个字节的信息即UTC时间(hhmmss,sss)提取出来,即可完成UTC时间的提取。Step 202, time extraction is performed on the received satellite information. It should be noted that the time information extracted here is Universal Time Coordinated (UTC), also known as Universal Time, which is the basis for broadcasting time numbers of various countries in the world. . Here, the extracted time information includes year, month, day, hour, minute, and second, and is accurate to three decimal places of the second. In the present invention, the time information extracting program discriminatively only extracts satellite information in one message format, such as extracting time information in the BDRMC message format. Specifically, the FPGA processing unit continuously detects the received satellite information. When it detects that the message format is "$BDRMC", it sends the information to the time information extraction program to extract the time information. "$BDRMC" Among them, the time information that needs to be extracted is immediately after the head frame $BDRMC, followed by the effective location identification, and the latitude and other information. Therefore, based on the $BDRMC message format, the time information extraction program only needs to extract the 10 digits after the head frame $BDRMC One byte of information, that is, UTC time (hhmmss, sss), can be extracted to complete the extraction of UTC time.

步骤203,将提取的时间信息转换为国家标准时间,在本发明较佳实施例中,国家标准时间为北京时间,北京时间和UTC时间相差八个小时。Step 203, convert the extracted time information into the national standard time. In a preferred embodiment of the present invention, the national standard time is Beijing time, and the difference between Beijing time and UTC time is eight hours.

图3为本发明较佳实施例之时间信息提取的流程图。首先FPGA处理单元要接收北斗接收机输出的卫星信息,根据串口通信原理,两串口只有在波特率一致时才能进行相互通信,为此在通信前FPGA的接收串口的波特率要和北斗接收机串口的波特率一致,在卫星信息接收的时要不断的检测串口是否有数据传输(步骤301),当检测数据信号的下降沿时说明有数据发送过来,这时启动接收波特率发生器产生时钟进行数据的接收(步骤302),如果没有检测到数据信号的下降沿则不启动,并且继续检测。进一步的,当接收波特率发生器启动后,则将继续接收北斗卫星信息(步骤303),并将接收的卫星信息存储至双口RAM105中,同时时间提取模块则从双口RAM的另一端口进行时间提取,提取前根据预设置的提取时间格式(如BDRMC)对提取的信息进行判断,判断接收的时间信息格式是否符合(步骤304),即接收的卫星信息的头帧是否为BDRMC,如果符合则进行提取时间信息(步骤305),如果不符合则将信息过滤,因为提取的时间信息是UTC时间,在时钟同步前要转换成北京时间(步骤306),按照世界时区分布,我国在东八区,因此北京时间和UTC的时间差是八个小时,因此只需UTC加八就可得到北京时间。根据上述时间信息提取方法就可以快速、准确的提取出可用于各时钟系统同步的时间信息。FIG. 3 is a flow chart of time information extraction in a preferred embodiment of the present invention. First, the FPGA processing unit needs to receive the satellite information output by the Beidou receiver. According to the principle of serial port communication, the two serial ports can only communicate with each other when the baud rate is the same. The baud rate of the serial port of the machine is the same. When the satellite information is received, it is necessary to continuously detect whether there is data transmission in the serial port (step 301). When the falling edge of the data signal is detected, it means that there is data sent. The device generates a clock to receive data (step 302), if the falling edge of the data signal is not detected, it does not start, and continues to detect. Further, when the receiving baud rate generator is started, it will continue to receive the Beidou satellite information (step 303), and store the received satellite information into the dual-port RAM105, and the time extraction module will start from another dual-port RAM. The port performs time extraction, and judges the extracted information according to the preset extraction time format (such as BDRMC) before extraction, and judges whether the received time information format conforms to (step 304), that is, whether the header frame of the received satellite information is BDRMC, If it matches, extract the time information (step 305), if not, filter the information, because the extracted time information is UTC time, which needs to be converted to Beijing time before clock synchronization (step 306), according to the distribution of time zones in the world, China is in East Eighth District, so the time difference between Beijing time and UTC is eight hours, so you only need to add eight hours to UTC to get Beijing time. According to the above method for extracting time information, time information that can be used for synchronization of various clock systems can be extracted quickly and accurately.

可见,本发明一种基于FPGA提取北斗卫星时间信息的系统及方法利用FPGA快速数据处理的特点,将其作为接收和处理北斗卫星信息的数据采集和处理单元,FPGA通过UART口接收北斗接收机的卫星信息,为了实现数据实时快速的接收和提取,在FPGA内设计了一个双口RAM进行卫星信息缓存,在FPGA实时接收卫星信息的同时,由时间提取模块进行时间信息的提取,提取出的时间信息进一步转换为北京时间,以用于同步其他时钟系统,实现了各系统之间统一的“对钟”。It can be seen that a system and method for extracting Beidou satellite time information based on FPGA of the present invention utilizes the characteristics of FPGA fast data processing, and uses it as a data acquisition and processing unit for receiving and processing Beidou satellite information, and FPGA receives the Beidou receiver through the UART port. Satellite information, in order to achieve real-time and fast data reception and extraction, a dual-port RAM is designed in the FPGA to cache satellite information. When the FPGA receives satellite information in real time, the time information is extracted by the time extraction module. The extracted time The information is further converted into Beijing time to be used to synchronize other clock systems, realizing a unified "clock alignment" between the systems.

上述实施例仅例示性说明本发明的原理及其功效,而非用于限制本发明。任何本领域技术人员均可在不违背本发明的精神及范畴下,对上述实施例进行修饰与改变。因此,本发明的权利保护范围,应如权利要求书所列。The above-mentioned embodiments only illustrate the principles and effects of the present invention, but are not intended to limit the present invention. Any person skilled in the art can modify and change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention should be listed in the claims.

Claims (10)

1.一种基于FPGA提取北斗卫星时间信息的系统,至少包括:1. A system for extracting Beidou satellite time information based on FPGA, at least comprising: 北斗接收机,接收北斗卫星传输的导航电文,并将接收到的导航电文经解码获得卫星信息;The Beidou receiver receives the navigation message transmitted by the Beidou satellite, and decodes the received navigation message to obtain satellite information; FPGA处理单元,接收该北斗接收机输出的卫星信息,将获得的卫星信息进行时间提取后并将其转换为国家标准时间。The FPGA processing unit receives the satellite information output by the Beidou receiver, extracts the time of the obtained satellite information and converts it into the national standard time. 2.如权利要求1所述的一种基于FPGA提取北斗卫星时间信息的系统,其特征在于,该FPGA处理单元包括:2. a kind of system that extracts Beidou satellite time information based on FPGA as claimed in claim 1, is characterized in that, this FPGA processing unit comprises: 双口RAM,将接收的卫星信息进行实时数据缓存;Dual-port RAM for real-time data buffering of received satellite information; 时间提取模块,根据用户预设的数据格式对卫星信息进行时间提取,提取出世界标准时间;The time extraction module extracts the time of the satellite information according to the data format preset by the user, and extracts the world standard time; 时间转换模块,将提取出的世界标准时间转换为国家标准时间。The time conversion module converts the extracted world standard time to national standard time. 3.如权利要求2所述的一种基于FPGA提取北斗卫星时间信息的系统,其特征在于:该FPGA处理单元利用UART口接收该北斗接收机输出的卫星信息。3. a kind of system that extracts Beidou satellite time information based on FPGA as claimed in claim 2 is characterized in that: this FPGA processing unit utilizes UART mouth to receive the satellite information that this Beidou receiver outputs. 4.如权利要求3所述的一种基于FPGA提取北斗卫星时间信息的系统,其特征在于:该FPGA处理单元接收卫星信息的串口的波特率与该北斗接收机输出卫星信息的串口的波特率一致。4. a kind of system that extracts Beidou satellite time information based on FPGA as claimed in claim 3 is characterized in that: the baud rate of the serial port of the serial port that the FPGA processing unit receives the satellite information and the baud rate of the serial port of the output satellite information of the Beidou receiver rate is the same. 5.如权利要求2所述的一种基于FPGA提取北斗卫星时间信息的系统,其特征在于:该卫星信息包括时间信息、位置坐标、速度、仰角、方位角、信噪比。5. A kind of system that extracts Beidou satellite time information based on FPGA as claimed in claim 2 is characterized in that: the satellite information includes time information, position coordinates, speed, elevation angle, azimuth angle, signal-to-noise ratio. 6.如权利要求2所述的一种基于FPGA提取北斗卫星时间信息的系统,其特征在于:该FPGA处理单元由逻辑门和触发器组成的,命令执行方式为并行执行。6. A kind of system that extracts Beidou satellite time information based on FPGA as claimed in claim 2, is characterized in that: this FPGA processing unit is made up of logic gate and flip-flop, and order execution mode is parallel execution. 7.一种基于FPGA提取北斗卫星时间信息的方法,包括如下步骤:7. A method for extracting Beidou satellite time information based on FPGA, comprising the steps of: 步骤一,FPGA处理单元接收北斗接收机输出的卫星信息;Step 1, the FPGA processing unit receives the satellite information output by the Beidou receiver; 步骤二,对接收的卫星信息进行时间提取,提取出世界标准时间;Step 2, time extraction is performed on the received satellite information to extract the universal time; 步骤三,将提取的世界标准时间信息转换为国家标准时间。Step 3, converting the extracted world standard time information into national standard time. 8.如权利要求7所述的一种基于FPGA提取北斗卫星时间信息的方法,其特征在于:该FPGA处理单元通过UART口接收该北斗接收机的卫星信息,该FPGA接收卫星信息的串口的波特率与该北斗接收机输出卫星信息的串口的波特率一致。8. a kind of method extracting Beidou satellite time information based on FPGA as claimed in claim 7, is characterized in that: this FPGA processing unit receives the satellite information of this Beidou receiver by UART mouth, and this FPGA receives the wave of the serial port of satellite information The baud rate is consistent with the baud rate of the serial port that the Beidou receiver outputs satellite information. 9.如权利要求7所述的一种基于FPGA提取北斗卫星时间信息的方法,其特征在于:该卫星信息包括时间信息、位置坐标、速度、仰角、方位角、信噪比。9. A kind of method extracting Beidou satellite time information based on FPGA as claimed in claim 7, is characterized in that: this satellite information comprises time information, position coordinates, velocity, elevation angle, azimuth angle, signal-to-noise ratio. 10.如权利要求7所述的一种基于FPGA提取北斗卫星时间信息的方法,其特征在于:在步骤二中,提取的时间信息包括年、月、日、时、分、秒,并精确到秒位的小数点后三位。10. A kind of method extracting Beidou satellite time information based on FPGA as claimed in claim 7, is characterized in that: in step 2, the time information extracted comprises year, month, day, hour, minute, second, and is accurate to Three decimal places of seconds.
CN201410155441.9A 2014-04-17 2014-04-17 System and method for extracting time information of Beidou satellite based on FPGA Pending CN103901771A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410155441.9A CN103901771A (en) 2014-04-17 2014-04-17 System and method for extracting time information of Beidou satellite based on FPGA

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410155441.9A CN103901771A (en) 2014-04-17 2014-04-17 System and method for extracting time information of Beidou satellite based on FPGA

Publications (1)

Publication Number Publication Date
CN103901771A true CN103901771A (en) 2014-07-02

Family

ID=50993164

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410155441.9A Pending CN103901771A (en) 2014-04-17 2014-04-17 System and method for extracting time information of Beidou satellite based on FPGA

Country Status (1)

Country Link
CN (1) CN103901771A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105388751A (en) * 2015-11-26 2016-03-09 株洲南车时代电气股份有限公司 Method and system used for preventing clock jump in motor train unit
CN107229217A (en) * 2017-06-01 2017-10-03 中船航海科技有限责任公司 A kind of time synchronism apparatus and its synchronous method
CN109525346A (en) * 2017-09-20 2019-03-26 中兴通讯股份有限公司 A kind of method and device for realizing time synchronization

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090315763A1 (en) * 2007-07-09 2009-12-24 Seiko Epson Corporation Satellite Signal Reception Device, Timekeeping Device with a Satellite Signal Reception Device, and Satellite Signal Reception Method
CN102243475A (en) * 2010-05-13 2011-11-16 郑州威科姆科技股份有限公司 Compass-based method for generating Germany long-wave near Frankfurt 77.5 KHz (DCF77) time code
US20120051191A1 (en) * 2007-08-02 2012-03-01 Seiko Epson Corporation Time Adjustment Device, Timekeeping Device with a Time Adjustment Device, and a Time Adjustment Method
CN102809749A (en) * 2012-08-21 2012-12-05 苏州金纳信息技术有限公司 Device for realizing clock synchronization by extraction of satellite positioning module
CN202837851U (en) * 2011-10-27 2013-03-27 王维加 Large clock
CN103529690A (en) * 2013-11-01 2014-01-22 西安邮电大学 Wall clock for receiving Beidou satellite time and wall clock time calibrating method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090315763A1 (en) * 2007-07-09 2009-12-24 Seiko Epson Corporation Satellite Signal Reception Device, Timekeeping Device with a Satellite Signal Reception Device, and Satellite Signal Reception Method
US20120051191A1 (en) * 2007-08-02 2012-03-01 Seiko Epson Corporation Time Adjustment Device, Timekeeping Device with a Time Adjustment Device, and a Time Adjustment Method
CN102243475A (en) * 2010-05-13 2011-11-16 郑州威科姆科技股份有限公司 Compass-based method for generating Germany long-wave near Frankfurt 77.5 KHz (DCF77) time code
CN202837851U (en) * 2011-10-27 2013-03-27 王维加 Large clock
CN102809749A (en) * 2012-08-21 2012-12-05 苏州金纳信息技术有限公司 Device for realizing clock synchronization by extraction of satellite positioning module
CN103529690A (en) * 2013-11-01 2014-01-22 西安邮电大学 Wall clock for receiving Beidou satellite time and wall clock time calibrating method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105388751A (en) * 2015-11-26 2016-03-09 株洲南车时代电气股份有限公司 Method and system used for preventing clock jump in motor train unit
CN107229217A (en) * 2017-06-01 2017-10-03 中船航海科技有限责任公司 A kind of time synchronism apparatus and its synchronous method
CN109525346A (en) * 2017-09-20 2019-03-26 中兴通讯股份有限公司 A kind of method and device for realizing time synchronization
CN109525346B (en) * 2017-09-20 2021-09-03 中兴通讯股份有限公司 Method and device for realizing time synchronization

Similar Documents

Publication Publication Date Title
CN112711048B (en) SSR transmission method and high-precision positioning system based on Beidou No. three RDSS short message
CN101826885B (en) Dual-channel disaster early-warning information receiving system and receiving method thereof
CN107024704A (en) A kind of Big Dipper GPS dual-mode localization method with Big Dipper short message function
CN105607079A (en) Method for positioning precision enhancement of GNSS, and GNSS positioning system
CN104202723A (en) Broadcasting service system and method for position enhanced data
CN104796982A (en) Method for increasing positioning precision of PDT terminal
CN101466144A (en) Three-dimensional space-time combined encrypt communication apparatus based on GNSS and communication method thereof
CN103901771A (en) System and method for extracting time information of Beidou satellite based on FPGA
CN104237921A (en) Intelligent location-based service device based on uniform beidou space-time standard
CN106814602A (en) A kind of is the method and system of power system time service
CN105527633B (en) One kind is based on the portable Big Dippeves of USB/GPS navigation time service device and method
CN204595246U (en) A kind of atmosphere vapour measuring instrument
WO2015035812A1 (en) Position tracking method and terminal
CN101299662A (en) Time-varying ciphering communication method based on GNSS
CN205809307U (en) Beidou II and the live signal receiving processing system of the public frequency of GPS
CN104730543A (en) Data processing method for Beidou and GPS common frequency point real-time signal receiving and processing system
CN204832528U (en) Big dipper common type commands machine
CN102662187A (en) Multi-module integrated navigation anti-tricking device and working method thereof
CN105099538B (en) A kind of system and method that global information transmission is carried out using aeronautical satellite
CN103489326B (en) A kind of Vehicle positioning system based on space-time code
CN115865252B (en) A high-precision GNSS time synchronization method with settable period
CN103853901A (en) Traffic track data preprocessing method and system
CN203849414U (en) Dual-mode chip based on Beidou-2 and GPS
CN102129218B (en) Precision time service method using Beidou satellite
CN203930360U (en) A kind of A-GPS technology of utilizing realizes the GPS wrist-watch of location fast

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140702

RJ01 Rejection of invention patent application after publication