Computer accurate timing method based on GPS module and embedded system and realization system of computer accurate timing method

An embedded system, GPS module technology, applied in radio-controlled timers, instruments, etc., can solve the problem of reducing the timing accuracy of timing equipment, and achieve the effect of simple and convenient timing operation, strong environmental adaptability, and accurate timing.

Inactive Publication Date: 2017-10-03
SHANDONG CHAOYUE DATA CONTROL ELECTRONICS CO LTD
View PDF11 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the patent does not discuss how to use the time service device for accurate time service after obtaining the precise time. In the communication process with the time service device, there will be an inevitable time delay, resulting in a reduction in the accuracy of the time service device.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Computer accurate timing method based on GPS module and embedded system and realization system of computer accurate timing method
  • Computer accurate timing method based on GPS module and embedded system and realization system of computer accurate timing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0034] A kind of computer accurate timing method based on GPS module, embedded system, comprises steps as follows:

[0035] (1) The GPS module sends a PPS signal every second at a frequency of 1HZ, and its accuracy is at the ns level. By configuring the GPS module to send a UTC time code every 1 second, the serial port attributes of the communication between the GPS module and the embedded system Set the baud rate to 9600bps, the parity mode to none, the data bit to 8, and the stop bit to 1, and establish a physical connection with the serial port 1 of the embedded system, and the PPS signal is interrupted to connect to the external interrupt pin of the embedded system;

[0036] Complete the setting of the high-precision timer and the initialization of the external interrupt in the embedded system. The timing frequency of the high-precision timer is 1MHZ, the external interrupt is set to be triggered by the rising edge, and the external interrupt is enabled;

[0037] Complete th...

Embodiment 2

[0044] The realization system of above-mentioned computer accurate timing method, such as figure 1 As shown, it includes a GPS module, an embedded system, and a computer, and the GPS module, the embedded system, and the computer are connected in sequence, and the embedded system includes a timer; the GPS module, the embedded system, and the computer are connected in sequence through a serial communication interface. The model of GPS module is ATK-NEO-6M GPS, the model of embedded system is STM32 system board, and the computer system is WindowsXP system.

[0045] The GPS module generates UTC time code and PPS signal; uses the external interrupt of the embedded system to capture the PPS signal, starts the timer after capturing the PPS signal, and then communicates with the computer. The communication process consists of two times, the first communication data frame The middle delay time is zero. When the computer receives the serial port interrupt signal sent by the embedded sys...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a computer accurate timing method based on a GPS module and an embedded system and a realization system of the computer accurate timing method. According to the method, the GPS module generates UTC time codes and PPS signals in real time; the external interrupt of the embedded system obtains the PPS signals emitted by the GPS module; the embedded system communicates with a computer; and the embedded system is utilized to calculate communication process time delay and computer system time delay, the communication process time delay and the computer system time delay are added, so that accurate time can be obtained. According to the method and the system of the invention, the embedded system is used because the embedded system has the advantages of high real-time performance, portability and low cost. Since the real-time performance of the embedded system is high, the embedded system can be utilized to accurately record time delay caused by the non-real-time performance of a computer operating system; and since the embedded system is low in cost and is convenient to carry, the method can be conveniently applied to special work environments such as field work environments.

Description

technical field [0001] The invention relates to a computer accurate time service method based on a GPS module and an embedded system and a realization system thereof, and belongs to the technical field of computer time service. Background technique [0002] Many of today's application scenarios need to rely on the precise synchronization time of computers to complete, especially in tasks that require multi-machine interconnection. For example, when international inter-bank transfers are required in the financial system, the arrival time of money must be recorded accurately and consistently. A computer is clocked by a crystal oscillator. A crystal oscillator is a thin slice cut from a quartz crystal at a certain azimuth angle. When a certain voltage is applied, it will send out an electrical pulse signal at a relatively fixed frequency. The computer realizes the calculation of time by counting the pulse signal. [0003] Due to the limitation of the processing technology an...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G04R20/02
CPCG04R20/02
Inventor 赵瑞东李冬冬孙超李树峰刘维霞
Owner SHANDONG CHAOYUE DATA CONTROL ELECTRONICS CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products