CN104614980B - A kind of automatic recognition system terminal device clock Synchronous fluorimetry method - Google Patents

A kind of automatic recognition system terminal device clock Synchronous fluorimetry method Download PDF

Info

Publication number
CN104614980B
CN104614980B CN201510015442.8A CN201510015442A CN104614980B CN 104614980 B CN104614980 B CN 104614980B CN 201510015442 A CN201510015442 A CN 201510015442A CN 104614980 B CN104614980 B CN 104614980B
Authority
CN
China
Prior art keywords
ais
crystal oscillator
pps
pulse per
locating module
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
CN201510015442.8A
Other languages
Chinese (zh)
Other versions
CN104614980A (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.)
Aohai Technology Co., Ltd
Original Assignee
Dalian Maritime 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 Dalian Maritime University filed Critical Dalian Maritime University
Priority to CN201510015442.8A priority Critical patent/CN104614980B/en
Publication of CN104614980A publication Critical patent/CN104614980A/en
Application granted granted Critical
Publication of CN104614980B publication Critical patent/CN104614980B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G04HOROLOGY
    • G04RRADIO-CONTROLLED TIME-PIECES
    • G04R20/00Setting the time according to the time information carried or implied by the radio signal
    • G04R20/02Setting the time according to the time information carried or implied by the radio signal the radio signal being sent by a satellite, e.g. GPS
    • G04R20/04Tuning or receiving; Circuits therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Electric Clocks (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

The invention discloses a kind of automatic recognition system terminal device clock Synchronous fluorimetry method, belong to maritime wireless communication technical field.The present invention comprises the following steps:The first step:After AIS terminal devices start, equipment initial work is carried out first;Second step:After initialization, timing first waits the 1PPS of GNSS satellite locating module 3 validity for 2 minutes, if 1PPS pulse per second (PPS)s are effectively in 2 minutes, is transferred to the 3rd step of execution, is otherwise transferred to the 4th step of execution;3rd step:When the 1PPS pulse per second (PPS)s of GNSS satellite locating module 3 are effective, start the error measure work of local crystal oscillator 4, then the process continuously measurement PPS pulse per second (PPS) of 1 minute, i.e., 60 fetches average, and be locally stored to the progress of crystal oscillator count value;4th step:If provided in 2 minutes, when the PPS pulse per second (PPS)s of GNSS satellite locating module 3 are invalid, then the crystal oscillator compensating parameter of last time start measurement is directly extracted.

Description

A kind of automatic recognition system terminal device clock Synchronous fluorimetry method
Technical field
The present invention relates to a kind of automatic recognition system terminal device clock Synchronous fluorimetry method, belong to maritime wireless communication skill Art field.
Background technology
Ship automatic identification system(AIS: Automatic Identification System)In, each user terminal is set Using the access of self-organizing time division multiple acess during standby access system(SOTDMA -- Self-Organized Time Division Multiple Address)Technology.The technical stipulation, a frame is considered as by 1 minute time interval, 2250 time slots is divided altogether, often Individual time slot is about 26.67 milliseconds.Every AIS ship oceangoing ship terminal device needs self-organizing to select wherein one or more time slots to enter line number According to broadcasting, so as to realize access AIS systems, recognized mutually with other watercraft AIS terminal devices.During again, to protect Text non-interference in slot transmission between different ships is demonstrate,proved, synchronization jitter redundancy during system design there is provided 6bit is missed Difference.Because AIS Systems Airs link data rates are that synchronization jitter error should be less than 0.625 between 9600bps, therefore system time gap Millisecond.
In the division of above-mentioned AIS time slots and synchronizing process, to ensure less time slot between different watercraft AIS terminal devices Synchronous error, typically relies on two clock sources.One is GNSS(GPS:Global Navigation Satellite System)The 1PPS of satellite positioning module(Pulse per second (PPS):Pulses Per Second)Second counts;The second is eventually End equipment crystal oscillator.Under normal circumstances, system relies on the 1PPS pulses progress second timing of GNSS module, is then set using AIS terminals Standby crystal oscillator carries out slot timing with dividing.Because 1 time slot is 22.67 milliseconds, therefore, there are 37.5 time slots in one second, in order to protect Hold synchronization and judge to carry out slot count and division, it is necessary to set complex odd even second, this is complex in program realization. Further, since the crystal oscillator that AIS terminal devices are used under normal circumstances is common crystals, error is larger, such as without above-mentioned frequent Counting and timer reset, within a very short time, time slot shake just exceeded setting 0.625 millisecond of redundant error(Such as One 22.1184MHz crystal oscillator, when error is 20PPM, error is 1.2 milliseconds in AIS1 frame times, it is meant that during mono- frames of AIS In, at least synchronous crystal oscillator timer 2), so as to cause the time slot interference between different AIS terminal devices.
Based on the analysis of above-mentioned technical background, according to the division feature and GNSS of the frame slots of AIS mono- and AIS terminal device crystal oscillators The characteristics of with total number, if a kind of simple AIS terminal devices slot synchronization optimization method of design, it can both avoid producing frequently Synchronous GNSS satellite locating module 1PPS pulses and crystal oscillator timer, can be kept away with the high-precision AIS slot synchronizations of simple realization again The data for exempting to produce between different AIS equipments broadcast interference, are beneficial to improve AIS systematic entirety energy.
The content of the invention
It is an object of the invention to provide a kind of simple, optimization AIS terminal device slotted synchronous methods, including AIS terminals Synchronous micro-adjusting in equipment Crystal Oscillator Errors initial compensation and running, so that when realizing AIS terminal devices time slot with AIS systems The high-precise synchronization of gap, improves AIS systematic entirety energy.
The present invention is adopted the following technical scheme that:
A kind of automatic recognition system terminal device clock Synchronous fluorimetry system, including AIS terminal devices, AIS terminal devices It is made up of AIS RF transceivers, GNSS satellite locating module, local crystal oscillator, main control processor, external interface;Wherein, AIS RF transceiver is responsible for the data transmit-receive of AIS communication links, and GNSS satellite locating module is responsible for providing to main control processor 1PPS pps pulse per second signals and location data, local crystal oscillator provide the work clock source of AIS terminal devices, and main control processor performs sheet The related works such as slot synchronization optimization method and AIS protocol stacks and text processing in invention, and result is passed through into outside Interface enters row information with the external world and exchanged.
A kind of automatic recognition system terminal device clock Synchronous fluorimetry method, comprises the following steps:
The first step:After AIS terminal devices start, equipment initial work is carried out first;
Second step:After initialization, timing first waits the 1PPS of GNSS satellite locating module 3 validity for 2 minutes, if 1PPS pulse per second (PPS)s effectively, are then transferred to the 3rd step of execution in 2 minutes, are otherwise transferred to the 4th step of execution;
3rd step:When the 1PPS pulse per second (PPS)s of GNSS satellite locating module 3 are effective, start the error measure work of local crystal oscillator 4 Make, the process continuously measurement PPS pulse per second (PPS) of 1 minute, i.e., 60, then crystal oscillator count value is carried out to fetch averagely, crystal oscillator is obtained Real-Time Compensation parameter, and be locally stored;
4th step:If set in 2 minutes, when the PPS pulse per second (PPS)s of GNSS satellite locating module 3 are invalid, then directly Extract the crystal oscillator compensating parameter of last time start measurement;
5th step:Compensated using crystal oscillator compensating parameter after local crystal oscillator, open slot count and the second counts;
6th step:Synchronous AIS time slots and local crystal oscillator timer, i.e., by the starting edge of the time slot of AIS systems present frame 0 and warp The slot timer of the local crystal oscillator triggering of error compensation is synchronous;
7th step:Into AIS agreements and text processing procedure, carry out the information between the management of AIS time slots, ship exchange and The work such as AIS texts processing;
8th step:After each AIS agreements terminate with text process cycle, judge whether AIS present frames terminate, if it is, It is transferred to the 6th step of execution and carries out AIS slot synchronization fine settings, is otherwise transferred to and performs the text processing work that the 7th step continues next cycle Make.
Before AIS time slots and local crystal oscillator timer synchronization, local crystal oscillator compensating parameter is measured or obtained first;In AIS During one frame end, the synchronous micro-adjusting of an AIS time slot and local crystal oscillator timer is performed.
The present invention has the beneficial effect that:Using the present invention, user can simplify AIS slot synchronization processes, effectively improve simultaneously AIS slot synchronization precision, improves AIS systematic functions on the whole.
Brief description of the drawings
Fig. 1 is AIS terminal device function structure charts;
Fig. 2 execution flow charts of the present invention.
In figure:1st, AIS terminal devices, 2, AIS RF transceivers, 3, GNSS satellite locating module, 4, local crystal oscillator, 5, Main control processor, 6, external interface.
Embodiment
With reference to embodiment, the present invention will be further described.
As shown in Figure 1:A kind of automatic recognition system terminal device clock Synchronous fluorimetry system, including AIS terminal devices 1, AIS terminal devices 1 are connect by AIS RF transceivers 2, GNSS satellite locating module 3, local crystal oscillator 4, main control processor 5, outside Mouth 6 is constituted;Wherein, AIS RF transceivers 2 are responsible for the data transmit-receive of AIS communication links, and GNSS satellite locating module 3 is responsible for 1PPS pps pulse per second signals and location data are provided to main control processor 5, local crystal oscillator 4 provides the work clock of AIS terminal devices 1 Result is entered row information with the external world by external interface 6 and exchanged by source, main control processor 5.
As shown in Figure 2:A kind of automatic recognition system terminal device clock Synchronous fluorimetry method, comprises the following steps:
The first step:After AIS terminal devices start, equipment initial work is carried out first;
Second step:After initialization, timing first waits the 1PPS of GNSS satellite locating module 3 validity for 2 minutes, if 1PPS pulse per second (PPS)s effectively, are then transferred to the 3rd step of execution in 2 minutes, are otherwise transferred to the 4th step of execution;
3rd step:When the 1PPS pulse per second (PPS)s of GNSS satellite locating module 3 are effective, start the error measure work of local crystal oscillator 4 Make, the process continuously measurement PPS pulse per second (PPS) of 1 minute, i.e., 60, then crystal oscillator count value is carried out to fetch averagely, crystal oscillator is obtained Real-Time Compensation parameter, and be locally stored;
4th step:If set in 2 minutes, when the PPS pulse per second (PPS)s of GNSS satellite locating module 3 are invalid, then directly Extract the crystal oscillator compensating parameter of last time start measurement;
5th step:Compensated using crystal oscillator compensating parameter after local crystal oscillator, open slot count and the second counts;
6th step:Synchronous AIS time slots and local crystal oscillator timer, i.e., by the starting edge of the time slot of AIS systems present frame 0 and warp The slot timer of the local crystal oscillator triggering of error compensation is synchronous;
7th step:Into AIS agreements and text processing procedure, carry out the information between the management of AIS time slots, ship exchange and The work such as AIS texts processing;
8th step:After each AIS agreements terminate with text process cycle, judge whether AIS present frames terminate, if it is, It is transferred to the 6th step of execution and carries out AIS slot synchronization fine settings, is otherwise transferred to and performs the text processing work that the 7th step continues next cycle Make.
Before AIS time slots and local crystal oscillator timer synchronization, local crystal oscillator compensating parameter is measured or obtained first;In AIS During one frame end, the synchronous micro-adjusting of an AIS time slot and local crystal oscillator timer is performed.
A certain AIS terminal devices are surveyed, the local crystal oscillator of configuration is 22.1184MHz.
By actual measurement, its error is as shown in table 1.It was found from being calculated from table 1, in the every frame times of AIS, by local crystal oscillator Produced error is 4.633 milliseconds, because the time slot error jitter of AIS system designs should be less than 0.625 millisecond, then in a frame Interior needs are at least synchronous 8 times.Simultaneously because need the even number second to synchronize fine setting when synchronous, and error caused by different crystal oscillator May be different, it is therefore desirable to as much as possible to be finely adjusted synchronization, cause time slot and crystal oscillator timer synchronization process is miscellaneous It is complicated.
The 22.1184MHz crystal oscillator substantial measurement errors time comparison tables of table 1
After the inventive method, it is as shown in table 2 that the 5th step-length time performed output.AIS is 0.05 millisecond per frame error, Far smaller than 0.625 millisecond of redundant error.Add after the 7th step synchronous micro-adjusting, when making AIS terminal slot synchronizations error per frame Interior both less than 0.05 millisecond, greatly improve AIS system time gap net synchronization capabilities.
The 22.1184MHz crystal oscillator substantial measurement errors time comparison tables of table 1

Claims (2)

1. a kind of automatic recognition system terminal device clock Synchronous fluorimetry method, it is characterised in that:Comprise the following steps:
The first step:After AIS terminal devices start, equipment initial work is carried out first;
Second step:After initialization, timing first waits the 1PPS of GNSS satellite locating module 3 validity for 2 minutes, if 2 points 1PPS pulse per second (PPS)s effectively, are then transferred to the 3rd step of execution in clock, are otherwise transferred to the 4th step of execution;
3rd step:When the 1PPS pulse per second (PPS)s of GNSS satellite locating module 3 are effective, start the error measure work of local crystal oscillator 4, by mistake The continuous measurement PPS pulse per second (PPS) of 1 minute, i.e., 60 of difference measurements work, then carries out fetching averagely to crystal oscillator count value, obtains crystal oscillator Real-Time Compensation parameter, and be locally stored;
4th step:If set in 2 minutes, when the PPS pulse per second (PPS)s of GNSS satellite locating module 3 are invalid, then directly extract The crystal oscillator compensating parameter of last time start measurement;
5th step:Compensated using crystal oscillator compensating parameter after local crystal oscillator, open slot count and the second counts;
6th step:Synchronous AIS time slots and local crystal oscillator timer, i.e., by the starting edge of the time slot of AIS systems present frame 0 and through error The slot timer of the local crystal oscillator triggering of compensation is synchronous;
7th step:Into AIS agreements and text processing procedure, the information carried out between the management of AIS time slots, ship is exchanged and AIS Text processing work;
8th step:After each AIS agreements terminate with text process cycle, judge whether AIS present frames terminate, if it is, being transferred to Perform the 6th step and carry out AIS slot synchronization fine settings, be otherwise transferred to and perform the text processing work that the 7th step continues next cycle.
2. a kind of automatic recognition system terminal device clock Synchronous fluorimetry method according to claim 1, it is characterised in that: Before AIS time slots and local crystal oscillator timer synchronization, local crystal oscillator compensating parameter is measured or obtained first;In the frame ends of AIS mono- When, perform the synchronous micro-adjusting of an AIS time slot and local crystal oscillator timer.
CN201510015442.8A 2015-01-13 2015-01-13 A kind of automatic recognition system terminal device clock Synchronous fluorimetry method Active CN104614980B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510015442.8A CN104614980B (en) 2015-01-13 2015-01-13 A kind of automatic recognition system terminal device clock Synchronous fluorimetry method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510015442.8A CN104614980B (en) 2015-01-13 2015-01-13 A kind of automatic recognition system terminal device clock Synchronous fluorimetry method

Publications (2)

Publication Number Publication Date
CN104614980A CN104614980A (en) 2015-05-13
CN104614980B true CN104614980B (en) 2017-07-28

Family

ID=53149482

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510015442.8A Active CN104614980B (en) 2015-01-13 2015-01-13 A kind of automatic recognition system terminal device clock Synchronous fluorimetry method

Country Status (1)

Country Link
CN (1) CN104614980B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110908272B (en) * 2019-12-20 2021-04-13 昆明理工大学 1pps pulse signal timing method
CN111726187B (en) * 2020-06-09 2021-04-02 上海航天电子通讯设备研究所 UTC time synchronization processing system based on satellite-borne VDE

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1296467A1 (en) * 2001-09-24 2003-03-26 Alcatel Method for synchronizing terrestrial nodes equipped with GNSS receivers and belonging to a terrestrial network
CN101807965A (en) * 2009-02-13 2010-08-18 大唐移动通信设备有限公司 Device and method for synchronizing clock in communication system
CN104219016A (en) * 2014-09-10 2014-12-17 广西电网公司电力科学研究院 Method for selecting clock synchronizing moments of power distribution master stations and power distribution terminals

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008047521A1 (en) * 2006-10-18 2008-04-24 Nec Corporation Mobile communication terminal with gps function, positioning system, operation control method, and program
KR101437848B1 (en) * 2008-09-29 2014-09-04 삼성전자주식회사 Apparatus and method for synchronization system clock of mobile communication system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1296467A1 (en) * 2001-09-24 2003-03-26 Alcatel Method for synchronizing terrestrial nodes equipped with GNSS receivers and belonging to a terrestrial network
CN101807965A (en) * 2009-02-13 2010-08-18 大唐移动通信设备有限公司 Device and method for synchronizing clock in communication system
CN104219016A (en) * 2014-09-10 2014-12-17 广西电网公司电力科学研究院 Method for selecting clock synchronizing moments of power distribution master stations and power distribution terminals

Also Published As

Publication number Publication date
CN104614980A (en) 2015-05-13

Similar Documents

Publication Publication Date Title
CN100581164C (en) Accurate time synchronization method and system facing measurement and control
CN105610534B (en) A kind of multistation method for synchronizing time and equipment
CN107295627B (en) Time synchronization method and time synchronization device of baseband pool server
EP3846379A1 (en) Clock synchronization method and apparatus, system, storage medium, and electronic device
CN104243129B (en) Receiver, the method and computer readable storage medium for calculating the time difference
CN106559157A (en) A kind of clock synchronizing method, device and communication equipment
CN110493744A (en) A kind of synchronous data sampling method and system of master-slave radio sensor
CN102932905A (en) Method and system for realizing self-compensation 1588 link asynchronous time delay
CN102938220A (en) Method for correcting clock of automatic ship identifying terminal equipment
CN103346852B (en) A kind of device that reference clock signal is provided
CN104614980B (en) A kind of automatic recognition system terminal device clock Synchronous fluorimetry method
WO2021008532A1 (en) Active antenna unit delay alignment method and apparatus and active antenna unit
CN107465474A (en) The clock synchronization system and method for digital control system bus apparatus
CN108010476A (en) A kind of video signal transmission clock generating device and method
CN101873187A (en) Method and system of clock synchronization
CN111208539A (en) High-precision GNSS simulator time synchronization method
CN101669318A (en) Bias and random delay cancellation
CN102929126B (en) Method of ship automatic-identification terminal equipment for realizing time synchronization through GPS (Global Positioning System)
CN101296070B (en) Clock synchronization method and system of multiport synchronization Ethernet equipment
CN103686982A (en) Method for time synchronization based on clock information and node equipment
CN104579527B (en) Timing offset compensation device and method
JP2012195840A (en) Communication apparatus and communication control method
JP5261714B2 (en) High-precision time synchronization apparatus, high-precision time synchronization method, and program
CN102142954A (en) Time synchronization method and equipment in rack
CN108964825A (en) Calibration method, correction device and time server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20181205

Address after: 116026 Room 301, 319, Linghai Road, Ganjingzi District, Dalian, Liaoning, China, 1

Patentee after: Dalian Maritime University Investment Management Co., Ltd.

Address before: 116026 1 Linghai Road, Dalian, Liaoning

Patentee before: Dalian Maritime University

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200201

Address after: Room 1501, aerospace building, No. 31, Xinda street, high tech Industrial Park, Dalian City, Liaoning Province

Patentee after: Aohai Technology Co., Ltd

Address before: 116026 Room 301, 319, Linghai Road, Ganjingzi District, Dalian, Liaoning Province, 1

Patentee before: Dalian Maritime University Investment Management Co., Ltd.