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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com