CN111984059A - A PPS jump detection method and system for timing synchronization by a timing module - Google Patents
A PPS jump detection method and system for timing synchronization by a timing module Download PDFInfo
- Publication number
- CN111984059A CN111984059A CN202010756160.4A CN202010756160A CN111984059A CN 111984059 A CN111984059 A CN 111984059A CN 202010756160 A CN202010756160 A CN 202010756160A CN 111984059 A CN111984059 A CN 111984059A
- Authority
- CN
- China
- Prior art keywords
- time
- service module
- synchronization
- time service
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/04—Generating or distributing clock signals or signals derived directly therefrom
- G06F1/12—Synchronisation of different clock signals provided by a plurality of clock generators
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Electric Clocks (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
本发明公开了一种授时模块进行对时的PPS跳变侦测方法和系统,该方法包括:将需要对时的装置与授时模块进行对接,首次对时,读取授时模块同步标志,确认授时模块同步标志正常;设置系统时间,并设置时戳比较标志,在当前秒更新时,记录授时模块时间信息;设置装置同步标志,判断装置同步或失步,并记录装置同步或失步条件下当前系统时间信息;装置同步条件下,根据当前系统时间信息和授时模块时间信息设置钟差;根据钟差判断授时模块工作正常或异常,维护对时。本发明能够解决正常对时时授时模块或装置对时模块故障导致的对时异常和PPS跳变不能正确侦测、授时模块无法及时复位和相关告警不能按时后台上送等问题。
The invention discloses a PPS jump detection method and system for time synchronization by a timing module. The method includes: connecting a device that needs to be timed with the timing module; The module synchronization flag is normal; set the system time, and set the time stamp comparison flag, when the current second is updated, record the time information of the timing module; System time information; under the condition of device synchronization, set the clock difference according to the current system time information and the time information of the timing module; according to the clock difference, determine whether the timing module is working normally or abnormally, and maintain the timing. The invention can solve the problems of abnormal time synchronization caused by failure of normal time synchronization module or device time synchronization module, failure of correct detection of PPS jump, failure of timely reset of time service module and failure of relevant alarms to be sent to the background on time.
Description
技术领域technical field
本发明涉及时钟同步技术领域,特别涉及一种授时模块进行对时的PPS跳变侦测方法及系统。The invention relates to the technical field of clock synchronization, in particular to a PPS jump detection method and system for time synchronization by a timing module.
背景技术Background technique
随着变电站自动化程度的快速提高及电网规模的不断增长,电网中的统一对时系统急需更加规范、高效的运行管理。电力二次设备的实时数据采集、控制和事故分析等都离不开精准的时钟系统。站内设备时间精度决定了全站自动化、信息化、智能化实现的效率和准确性。With the rapid improvement of the automation degree of substations and the continuous growth of power grid scale, the unified time synchronization system in the power grid urgently needs more standardized and efficient operation management. Real-time data acquisition, control and accident analysis of power secondary equipment are inseparable from accurate clock systems. The time accuracy of the equipment in the station determines the efficiency and accuracy of the automation, informatization and intelligence of the entire station.
现场工程中,大量的量测装置均采用具备授时模块输入的全站统一时钟装置进行对时,具备锁星情况下的高精度同步及失星情况下的高精度守时性能。量测装置时钟同步的主要原理是利用时钟信号接收机从授时模块获取时钟秒脉冲(PPS)和该脉冲跳变时刻对应的UTC,并由时钟信号预处理模块将接收到的时钟基准信号转化为内部的时钟信号,再由信号发生模块将内部时钟信号调制成量测装置所需的时钟信号,如IRIG-B码、秒脉冲、分脉冲等。当授时模块发射的时钟信号正常时,对时服务器输出的时钟信号与授时模块秒脉冲同步;但授时模块或装置对时模块有偶尔失锁的不正常现象,此时,装置对时异常,PPS发生跳变,授时模块输出的秒脉冲不可靠,装置提供的时钟精度不满足规范要求。In the field project, a large number of measuring devices use the unified clock device of the whole station with the input of the timing module for time synchronization, which has high-precision synchronization under the condition of star lock and high-precision punctuality under the condition of star loss. The main principle of the clock synchronization of the measuring device is to use the clock signal receiver to obtain the clock pulse per second (PPS) and the UTC corresponding to the pulse jump time from the timing module, and the clock signal preprocessing module converts the received clock reference signal into The internal clock signal is then modulated by the signal generation module into the clock signal required by the measuring device, such as IRIG-B code, second pulse, minute pulse, etc. When the clock signal transmitted by the timing module is normal, the clock signal output by the timing server is synchronized with the second pulse of the timing module; but the timing module or the device timing module occasionally loses the lock. At this time, the device is abnormal and the PPS Jump occurs, the second pulse output by the timing module is unreliable, and the clock accuracy provided by the device does not meet the specification requirements.
PPS跳变引起的对时异常不仅影响值班运行人员掌握电网实时运行情况,同时也不能在电网异常或故障情况下,为监测工作人员准确、快速分析电力系统故障提供时间基准,这对时误差给量测装置的工程应用带来了很大困扰。The abnormal time synchronization caused by the jump of PPS not only affects the operators on duty to grasp the real-time operation of the power grid, but also cannot provide a time reference for the monitoring staff to accurately and quickly analyze the fault of the power system when the power grid is abnormal or faulty. The engineering application of the measuring device has brought great troubles.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本发明实施例的目的在于提供一种授时模块进行对时的PPS跳变侦测方法及系统,能够解决正常对时时授时模块或装置对时模块故障导致的对时异常和PPS跳变不能正确侦测、授时模块无法及时复位和相关告警不能按时后台上送等问题,可真实有效的侦测出授时模块和对时模块是否正常工作,装置时钟同步跟随精度是否满足标准要求,不仅有利于加快事故原因的分析处理,而且提高了电网系统运行可靠性。In view of this, the purpose of the embodiments of the present invention is to provide a PPS jump detection method and system for time synchronization by a time service module, which can solve the abnormal time synchronization and PPS jump caused by the failure of the normal time synchronization time service module or the device time synchronization module. If the change cannot be detected correctly, the timing module cannot be reset in time, and the related alarms cannot be sent to the background on time, it can truly and effectively detect whether the timing module and the time synchronization module are working properly, and whether the device clock synchronization tracking accuracy meets the standard requirements, not only It is beneficial to speed up the analysis and processing of the cause of the accident, and improve the operation reliability of the power grid system.
第一方面,本发明实施例提供了一种授时模块进行对时的PPS跳变侦测方法方法,包括:In a first aspect, an embodiment of the present invention provides a method for detecting PPS hopping by a timing module for time synchronization, including:
将需要对时的装置与授时模块进行对接,首次对时,读取授时模块同步标志,确认授时模块同步标志正常。Connect the device that needs to be timed to the timing module. For the first time synchronization, read the synchronization mark of the timing module to confirm that the synchronization mark of the timing module is normal.
设置系统时间,并设置时戳比较标志,在当前秒更新时,记录授时模块时间信息,所述授时模块时间信息包括PPS时戳。The system time is set, and the timestamp comparison flag is set, and when the current second is updated, the time information of the timing module is recorded, and the time information of the timing module includes the PPS timestamp.
设置装置同步标志,判断装置同步或失步,并记录装置同步或失步条件下当前系统时间信息。Set the device synchronization flag, determine whether the device is synchronized or out of synchronization, and record the current system time information under the condition of device synchronization or out of synchronization.
装置同步条件下,根据当前系统时间信息和授时模块时间信息设置钟差。Under the condition of device synchronization, the clock difference is set according to the current system time information and timing module time information.
根据钟差判断授时模块工作正常或异常,维护对时。Determine whether the timing module is working normally or abnormally according to the clock difference, and maintain the timing.
结合第一方面,本发明实施例提供了第一方面的第一种可能的实施方式,其中,所述读取授时模块同步标志,确认授时模块同步标志正常,包括:In conjunction with the first aspect, the embodiment of the present invention provides the first possible implementation manner of the first aspect, wherein the reading the synchronization flag of the timing module to confirm that the synchronization flag of the timing module is normal, including:
读取授时模块串行报文同步标志,若同步标志置位的状态保持第一时长,则认为同步标志生效。Read the synchronization flag of the serial message of the timing module. If the set state of the synchronization flag remains for the first time period, the synchronization flag is considered to be effective.
结合第一方面,本发明实施例提供了第一方面的第二种可能的实施方式,其中,确认授时模块同步标志正常后,读取授时模块发送的时间戳,依次填满装置的守时缓冲区,待守时缓冲区填满,再设置系统时间。In combination with the first aspect, the embodiment of the present invention provides the second possible implementation of the first aspect, wherein after confirming that the synchronization flag of the timing module is normal, the time stamp sent by the timing module is read, and the timing buffer of the device is filled in sequence. After the punctual buffer is filled, set the system time.
结合第一方面,本发明实施例提供了第一方面的第三种可能的实施方式,其中,设置系统时间后,装置系统秒更新后经过第二时长时,读取授时模块时间信息和品质,若授时模块时间信息和品质正常,则继续授时。In conjunction with the first aspect, the embodiment of the present invention provides a third possible implementation manner of the first aspect, wherein after setting the system time, the device reads the time information and quality of the timing module when the second time period elapses after the system is updated in seconds, If the time information and quality of the timing module are normal, continue timing.
若授时模块时间信息或品质异常,则装置自守时,弹出相应告警,上送后台,装置闭锁跳变侦测判别逻辑。If the time information or quality of the timing module is abnormal, the device will be punctual, and a corresponding alarm will pop up, which will be sent to the background, and the device will block the jump detection and judgment logic.
结合第一方面,本发明实施例提供了第一方面的第四种可能的实施方式,其中,所述设置装置同步标志,判断装置同步或失步,并记录装置同步或失步条件下当前系统时间信息,包括:In conjunction with the first aspect, the embodiment of the present invention provides a fourth possible implementation manner of the first aspect, wherein the device synchronization flag is set, the device is determined to be in synchronization or out of synchronization, and the current system under the condition of device synchronization or out of synchronization is recorded. Time information, including:
装置同步条件下,继续授时,记录当前秒系统时戳=前一秒系统时戳+当前秒间隔。Under the condition of device synchronization, continue timing, and record the system timestamp of the current second = the system timestamp of the previous second + the current second interval.
装置失步条件下,装置自守时,弹出告警且上送后台,闭锁跳变侦测判别逻辑,记录当前秒系统时戳=前一秒系统时戳+守时算法秒间隔。When the device is out of sync, the device is self-punctual, pops up an alarm and sends it to the background, locks the jump detection judgment logic, and records the current second system time stamp = the previous second system time stamp + the second interval of the punctuation algorithm.
结合第一方面,本发明实施例提供了第一方面的第五种可能的实施方式,其中,所述装置同步条件下,根据当前系统时间信息和授时模块时间信息设置钟差,包括:In conjunction with the first aspect, the embodiment of the present invention provides a fifth possible implementation manner of the first aspect, wherein, under the condition of device synchronization, the clock difference is set according to current system time information and timing module time information, including:
设置时戳差,时戳差=|当前秒系统时戳-授时模块PPS时戳|。Set the time stamp difference, time stamp difference = |current second system time stamp - timing module PPS time stamp|.
设置时间差,时间差=|装置系统秒以上时间-授时模块秒以上的时间|。Set the time difference, time difference=|time in seconds of the device system - time in seconds of the timing module|.
结合第一方面,本发明实施例提供了第一方面的第六种可能的实施方式,其中,所述根据钟差判断授时模块工作正常或异常,维护对时,包括:In conjunction with the first aspect, the embodiment of the present invention provides a sixth possible implementation manner of the first aspect, wherein the judging whether the timing module works normally or abnormally according to the clock difference, and maintaining the time synchronization, includes:
若时戳差连续第三时长大于阈值,或时间差不为0,则钟差异常,判断授时模块工作异常,装置自守时,弹出告警且上送后台,复位授时模块,重新判断授时模块同步标志。If the time stamp difference is greater than the threshold for the third consecutive time, or the time difference is not 0, the clock difference is normal, the timing module is judged to be abnormal, the device is self-timer, an alarm pops up and sent to the background, reset the timing module, and re-determine the synchronization flag of the timing module .
若一次复位后,授时模块同步标志异常,则装置自守时,弹出告警且上送后台,装置闭锁跳变侦测判别逻辑;若一次复位后,授时模块同步标志正常,授时模块复位第四时长后,重新根据钟差判断授时模块工作正常或异常,且复位授时模块同步标志发出第五时长内,设置守时标志。If the synchronization flag of the timing module is abnormal after a reset, the device will be self-clocking, an alarm will pop up and be sent to the background, and the device will block the jump detection and judgment logic; if the synchronization flag of the timing module is normal after a reset, the timing module will reset for the fourth time period After that, judge whether the timing module is working normally or abnormally again according to the clock difference, and reset the timing module synchronization flag within the fifth period of time, and set the timing flag.
若一次复位第四时长后钟差仍异常,则对授时模块二次复位,二次复位后延时第六时长,重新根据钟差判断授时模块工作正常或异常。If the clock error is still abnormal after a fourth reset, reset the timing module for a second time, delay the second reset for a sixth time, and then judge whether the timing module is working normally or abnormally according to the clock error.
若二次复位后延时第六时长,钟差仍异常,则装置自守时,弹出告警且上送后台,装置进入对时模块故障判别逻辑;若钟差满足精度需求,则装置自行维护时戳跟随授时模块变化一次,一分钟后跳转到首次对时完成阶段。If the clock error is still abnormal after the second reset after the sixth time delay, the device will keep time, an alarm will pop up and be sent to the background, and the device will enter the time synchronization module fault judgment logic; if the clock error meets the accuracy requirements, the device will maintain its own time. The stamp changes once with the timing module, and jumps to the completion stage of the first time synchronization after one minute.
复位授时模块同步标志发出第七时长后,若钟差满足精度需求,同时授时模块同步标志正常,则装置自行维护时戳跟随授时模块变化一次,随后跳转到首次对时完成阶段;若钟差满足精度需求,但授时模块同步标志异常,则装置闭锁跳变侦测判别逻辑,自守时直到授时模块同步标志正常,同时弹出告警且上送后台。After resetting the synchronization flag of the timing module and sending out the seventh duration, if the clock error meets the accuracy requirements and the synchronization flag of the timing module is normal, the device will maintain its own time stamp and change once with the timing module, and then jump to the completion stage of the first time synchronization; If the accuracy requirements are met, but the synchronization flag of the timing module is abnormal, the device locks the jump detection and judgment logic, from punctuality until the synchronization flag of the timing module is normal, and an alarm will be popped up and sent to the background.
第二方面,本发明实施例还提供了一种用于授时模块进行对时的PPS跳变侦测系统系统,用于实现如前所述的授时模块进行对时的PPS跳变侦测系统,包括:In the second aspect, the embodiment of the present invention also provides a PPS jump detection system for timing the timing module, which is used to implement the PPS jump detection system for the timing module as described above, include:
初始化模块,用于将需要对时的装置与授时模块进行对接,首次对时,读取授时模块同步标志,确认授时模块同步标志正常。The initialization module is used to connect the device that needs to be synchronized with the timing module. For the first time synchronization, read the synchronization flag of the timing module to confirm that the synchronization flag of the timing module is normal.
时间设置模块,用于设置系统时间,并设置时戳比较标志,在当前秒更新时,记录授时模块时间信息。The time setting module is used to set the system time and set the time stamp comparison flag, and record the time information of the timing module when the current second is updated.
品质判断模块,用于当设置系统时间后,装置系统秒更新后经过第二时长时,读取授时模块时间信息和品质,若授时模块时间信息和品质正常,则继续授时;若授时模块时间信息或品质异常,则装置自守时,弹出相应告警,上送后台,装置闭锁跳变侦测判别逻辑。The quality judgment module is used to read the time information and quality of the timing module after the system time is set and the second time period has elapsed after the device system is updated. If the time information and quality of the timing module are normal, continue timing; if the time information of the timing module is Or the quality is abnormal, when the device is self-punctual, the corresponding alarm will pop up, send it to the background, and the device will block the jump detection and judgment logic.
装置同步模块,用于设置装置同步标志,判断装置同步或失步,并记录装置同步或失步条件下当前系统时间信息。The device synchronization module is used to set the device synchronization flag, determine whether the device is synchronized or out of synchronization, and record the current system time information under the condition of the device synchronization or out of synchronization.
钟差计算模块,用于在装置同步条件下,根据当前系统时间信息和授时模块时间信息设置钟差,其中所述钟差包括时戳差和时间差,时戳差=|当前秒系统时戳-授时模块PPS时戳|,时间差=|装置系统秒以上时间-授时模块秒以上的时间|。The clock difference calculation module is used to set the clock difference according to the current system time information and the timing module time information under the condition of device synchronization, wherein the clock difference includes the time stamp difference and the time difference, and the time stamp difference=|current second system time stamp- Timing module PPS timestamp|, time difference=|time in seconds of the device system - time in seconds of the timing module|.
跳变复位模块,用于根据钟差判断授时模块工作正常或异常,维护对时。The jump reset module is used to judge whether the timing module is working normally or abnormally according to the clock difference, and maintain the timing.
结合第二方面,本发明实施例提供了第二方面的第一种可能的实施方式,其中,所述装置同步模块包括:In conjunction with the second aspect, an embodiment of the present invention provides a first possible implementation manner of the second aspect, wherein the device synchronization module includes:
同步记录单元,用于装置同步条件下,继续授时,记录当前秒系统时戳=前一秒系统时戳+当前秒间隔。The synchronization recording unit is used to continue timing under the condition of device synchronization, and record the system timestamp of the current second = the system timestamp of the previous second + the current second interval.
失步记录单元,用于装置失步条件下,装置自守时,弹出告警且上送后台,闭锁跳变侦测判别逻辑,记录当前秒系统时戳=前一秒系统时戳+守时算法秒间隔。The out-of-step recording unit is used for the device out-of-sync condition, when the device is self-punctual, an alarm will pop up and be sent to the background, and the jump detection and discrimination logic will be blocked to record the current second system timestamp = the previous second system timestamp + timekeeping algorithm seconds interval.
结合第二方面,本发明实施例提供了第二方面的第二种可能的实施方式,其中,所述跳变复位模块包括:In conjunction with the second aspect, the embodiment of the present invention provides a second possible implementation manner of the second aspect, wherein the jump reset module includes:
一次复位单元,用于若时戳差连续第三时长大于阈值,或时间差不为0,则钟差异常,判断授时模块工作异常,装置自守时,弹出告警且上送后台,复位授时模块,重新判断授时模块同步标志。The one-time reset unit is used for if the time stamp difference is greater than the threshold for the third consecutive time, or the time difference is not 0, the clock difference is constant, and the timing module is judged to be abnormal. Re-judg the timing module synchronization flag.
一次同步标志判断单元,用于若一次复位后,授时模块同步标志异常,则装置自守时,弹出告警且上送后台,装置闭锁跳变侦测判别逻辑;若一次复位后,授时模块同步标志正常,授时模块复位第四时长后,重新根据钟差判断授时模块工作正常或异常,且复位授时模块同步标志发出第五时长内,设置守时标志。The primary synchronization flag judgment unit is used for if the synchronization flag of the timing module is abnormal after a reset, the device will be self-clocked, an alarm will pop up and sent to the background, and the device will block the jump detection and judgment logic; if it is reset once, the timing module synchronization flag If it is normal, after the timing module resets for the fourth time period, it will judge whether the time service module is working normally or abnormally according to the clock difference, and reset the timing module synchronization flag within the fifth time period and set the timing flag.
二次复位单元,用于若一次复位第四时长后钟差仍异常,则对授时模块二次复位,二次复位后延时第六时长,重新根据钟差判断授时模块工作正常或异常。The second reset unit is used to reset the timing module for a second time if the clock error is still abnormal after a fourth reset, and delay the second reset for a sixth time, and then judge whether the timing module works normally or abnormally according to the clock error.
钟差判断单元,用于若二次复位后延时第六时长,钟差仍异常,则装置自守时,弹出告警且上送后台,装置进入对时模块故障判别逻辑;若钟差满足精度需求,则装置自行维护时戳跟随授时模块变化一次,一分钟后跳转到首次对时完成阶段。The clock difference judgment unit is used for if the clock difference is still abnormal after the second reset after a delay of the sixth time, the device will keep the time automatically, an alarm will be popped up and sent to the background, and the device will enter the time synchronization module fault judgment logic; if the clock difference meets the accuracy If it is required, the device maintains its own time stamp and changes once with the timing module, and jumps to the first time synchronization completion stage after one minute.
二次同步标志判断单元,用于复位授时模块同步标志发出第七时长后,若钟差满足精度需求,同时授时模块同步标志正常,则装置自行维护时戳跟随授时模块变化一次,随后跳转到首次对时完成阶段;若钟差满足精度需求,但授时模块同步标志异常,则装置闭锁跳变侦测判别逻辑,自守时直到授时模块同步标志正常,同时弹出告警且上送后台。The secondary synchronization flag judgment unit is used to reset the timing module synchronization flag after the seventh time period is issued, if the clock difference meets the accuracy requirements and the timing module synchronization flag is normal, the device maintains the time stamp and changes once with the timing module, and then jumps to The first time synchronization is completed; if the clock error meets the accuracy requirements, but the synchronization flag of the timing module is abnormal, the device locks the jump detection and judgment logic, from punctuality until the synchronization flag of the timing module is normal, and an alarm is popped up and sent to the background.
本发明实施例的有益效果是:The beneficial effects of the embodiments of the present invention are:
本发明通过对授时模块PPS跳变进行侦测并及时维护,能够解决正常对时时授时模块或装置对时模块故障导致的对时异常和PPS跳变不能正确侦测、授时模块无法及时复位和相关告警不能按时后台上送等问题,可真实有效的侦测出授时模块和对时模块是否正常工作,装置时钟同步跟随精度是否满足标准要求,不仅有利于加快事故原因的分析处理,而且提高了电网系统运行可靠性。By detecting and maintaining the PPS jump of the timing module in time, the present invention can solve the abnormal time synchronization caused by the failure of the normal time synchronization module or the device time synchronization module, the failure of correct detection of the PPS jump, the failure of the timing module to reset in time and the related If the alarm cannot be sent to the background on time and other problems, it can truly and effectively detect whether the timing module and the time synchronization module are working properly, and whether the device clock synchronization tracking accuracy meets the standard requirements, which not only helps to speed up the analysis and processing of the accident cause, but also improves the power grid System operation reliability.
附图说明Description of drawings
为了更清楚地说明本发明实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本发明的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to illustrate the technical solutions of the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings used in the embodiments. It should be understood that the following drawings only show some embodiments of the present invention, and therefore do not It should be regarded as a limitation of the scope, and for those of ordinary skill in the art, other related drawings can also be obtained according to these drawings without any creative effort.
下面结合附图和具体实施方式对本发明的授时模块进行对时的PPS跳变侦测方法及系统作进一步的详细描述。The PPS jump detection method and system for time synchronization by the timing module of the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
图1为本发明授时模块进行对时的PPS跳变侦测方法的流程图;Fig. 1 is the flow chart of the PPS jump detection method that the timing module of the present invention performs time synchronization;
图2为本发明授时模块进行对时的PPS跳变侦测方法的逻辑框图;Fig. 2 is the logical block diagram of the PPS jump detection method that the timing module of the present invention performs time synchronization;
图3为本发明授时模块进行对时的PPS跳变侦测方法模块正常工作示意图;3 is a schematic diagram of the normal operation of the PPS jump detection method module in which the timing module of the present invention performs time synchronization;
图4为本发明授时模块进行对时的PPS跳变侦测方法侦测异常示意图。FIG. 4 is a schematic diagram of abnormality detection by the PPS jump detection method for time synchronization performed by the timing module of the present invention.
具体实施方式Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本发明实施例的组件能够以各种不同的配置来布置和设计。In order to make the purposes, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments These are some embodiments of the present invention, but not all embodiments. The components of the embodiments of the invention generally described and illustrated in the drawings herein can be arranged and designed in a variety of different configurations.
下面结合附图,对本发明的一些实施方式作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。Some embodiments of the present invention will be described in detail below with reference to the accompanying drawings. The embodiments described below and features in the embodiments may be combined with each other without conflict.
请参照图1至图4,本发明的第一个实施例提供一种授时模块进行对时的PPS跳变侦测方法方法,包括:Please refer to FIG. 1 to FIG. 4 , a first embodiment of the present invention provides a method for detecting PPS jumps in a timing module for time synchronization, including:
将需要对时的装置与授时模块进行对接,首次对时,读取授时模块同步标志,确认授时模块同步标志正常。Connect the device that needs to be timed to the timing module. For the first time synchronization, read the synchronization mark of the timing module to confirm that the synchronization mark of the timing module is normal.
设置系统时间,并设置时戳比较标志,在当前秒更新时,记录授时模块时间信息,所述授时模块时间信息包括PPS时戳。The system time is set, and the timestamp comparison flag is set, and when the current second is updated, the time information of the timing module is recorded, and the time information of the timing module includes the PPS timestamp.
设置装置同步标志,判断装置同步或失步,并记录装置同步或失步条件下当前系统时间信息。Set the device synchronization flag, determine whether the device is synchronized or out of synchronization, and record the current system time information under the condition of device synchronization or out of synchronization.
装置同步条件下,根据当前系统时间信息和授时模块时间信息设置钟差。Under the condition of device synchronization, the clock difference is set according to the current system time information and timing module time information.
根据钟差判断授时模块工作正常或异常,维护对时。Determine whether the timing module is working normally or abnormally according to the clock difference, and maintain the timing.
结合第一方面,本发明实施例提供了第一方面的第一种可能的实施方式,其中,所述读取授时模块同步标志,确认授时模块同步标志正常,包括:In conjunction with the first aspect, the embodiment of the present invention provides the first possible implementation manner of the first aspect, wherein the reading the synchronization flag of the timing module to confirm that the synchronization flag of the timing module is normal, including:
读取授时模块串行报文同步标志,若同步标志置位的状态保持第一时长,则认为同步标志生效。Read the synchronization flag of the serial message of the timing module. If the set state of the synchronization flag remains for the first time period, the synchronization flag is considered to be effective.
所述第一时长为15S。The first duration is 15S.
结合第一方面,本发明实施例提供了第一方面的第二种可能的实施方式,其中,确认授时模块同步标志正常后,读取授时模块发送的时间戳,依次填满装置的守时缓冲区,待守时缓冲区填满,再设置系统时间。In combination with the first aspect, the embodiment of the present invention provides the second possible implementation of the first aspect, wherein after confirming that the synchronization flag of the timing module is normal, the time stamp sent by the timing module is read, and the timing buffer of the device is filled in sequence. After the punctual buffer is filled, set the system time.
结合第一方面,本发明实施例提供了第一方面的第三种可能的实施方式,其中,设置系统时间后,装置系统秒更新后经过第二时长时,读取授时模块时间信息和品质,若授时模块时间信息和品质正常,则继续授时。In conjunction with the first aspect, the embodiment of the present invention provides a third possible implementation manner of the first aspect, wherein after setting the system time, the device reads the time information and quality of the timing module when the second time period elapses after the system is updated in seconds, If the time information and quality of the timing module are normal, continue timing.
所述第二时长为500ms。The second duration is 500ms.
若授时模块时间信息或品质异常,则装置自守时,弹出相应告警,上送后台,装置闭锁跳变侦测判别逻辑。If the time information or quality of the timing module is abnormal, the device will be punctual, and a corresponding alarm will pop up, which will be sent to the background, and the device will block the jump detection and judgment logic.
结合第一方面,本发明实施例提供了第一方面的第四种可能的实施方式,其中,所述设置装置同步标志,判断装置同步或失步,并记录装置同步或失步条件下当前系统时间信息,包括:In conjunction with the first aspect, the embodiment of the present invention provides a fourth possible implementation manner of the first aspect, wherein the device synchronization flag is set, the device is determined to be in synchronization or out of synchronization, and the current system under the condition of device synchronization or out of synchronization is recorded. Time information, including:
装置同步条件下,继续授时,记录当前秒系统时戳=前一秒系统时戳+当前秒间隔。Under the condition of device synchronization, continue timing, and record the system timestamp of the current second = the system timestamp of the previous second + the current second interval.
装置失步条件下,装置自守时,弹出告警且上送后台,闭锁跳变侦测判别逻辑,记录当前秒系统时戳=前一秒系统时戳+守时算法秒间隔。When the device is out of sync, the device is self-punctual, pops up an alarm and sends it to the background, locks the jump detection judgment logic, and records the current second system time stamp = the previous second system time stamp + the second interval of the punctuation algorithm.
结合第一方面,本发明实施例提供了第一方面的第五种可能的实施方式,其中,所述装置同步条件下,根据当前系统时间信息和授时模块时间信息设置钟差,包括:In conjunction with the first aspect, the embodiment of the present invention provides a fifth possible implementation manner of the first aspect, wherein, under the condition of device synchronization, the clock difference is set according to current system time information and timing module time information, including:
设置时戳差,时戳差=|当前秒系统时戳-授时模块PPS时戳|。Set the time stamp difference, time stamp difference = |current second system time stamp - timing module PPS time stamp|.
设置时间差,时间差=|装置系统秒以上时间-授时模块秒以上的时间|。Set the time difference, time difference=|time in seconds of the device system - time in seconds of the timing module|.
结合第一方面,本发明实施例提供了第一方面的第六种可能的实施方式,其中,所述根据钟差判断授时模块工作正常或异常,维护对时,包括:In conjunction with the first aspect, the embodiment of the present invention provides a sixth possible implementation manner of the first aspect, wherein the judging whether the timing module works normally or abnormally according to the clock difference, and maintaining the time synchronization, includes:
若时戳差连续第三时长大于阈值,或时间差不为0,则钟差异常,判断授时模块工作异常,装置自守时,弹出告警且上送后台,复位授时模块,重新判断授时模块同步标志。If the time stamp difference is greater than the threshold for the third consecutive time, or the time difference is not 0, the clock difference is normal, the timing module is judged to be abnormal, the device is self-timer, an alarm pops up and sent to the background, reset the timing module, and re-determine the synchronization flag of the timing module .
所述第三时长为5S。The third duration is 5S.
若一次复位后,授时模块同步标志异常,则装置自守时,弹出告警且上送后台,装置闭锁跳变侦测判别逻辑;若一次复位后,授时模块同步标志正常,授时模块复位第四时长后,重新根据钟差判断授时模块工作正常或异常,且复位授时模块同步标志发出第五时长内,设置守时标志。If the synchronization flag of the timing module is abnormal after a reset, the device will be self-clocking, an alarm will pop up and be sent to the background, and the device will block the jump detection and judgment logic; if the synchronization flag of the timing module is normal after a reset, the timing module will reset for the fourth time period After that, judge whether the timing module is working normally or abnormally again according to the clock difference, and reset the timing module synchronization flag within the fifth period of time, and set the timing flag.
所述第四时长为10S。The fourth duration is 10S.
所述第五时长为60S。The fifth duration is 60S.
若一次复位第四时长后钟差仍异常,则对授时模块二次复位,二次复位后延时第六时长,重新根据钟差判断授时模块工作正常或异常。If the clock error is still abnormal after a fourth reset, reset the timing module for a second time, delay the second reset for a sixth time, and then judge whether the timing module is working normally or abnormally according to the clock error.
若二次复位后延时第六时长,钟差仍异常,则装置自守时,弹出告警且上送后台,装置进入对时模块故障判别逻辑;若钟差满足精度需求,则装置自行维护时戳跟随授时模块变化一次,一分钟后跳转到首次对时完成阶段。If the clock error is still abnormal after the second reset after the sixth time delay, the device will keep time, an alarm will pop up and be sent to the background, and the device will enter the time synchronization module fault judgment logic; if the clock error meets the accuracy requirements, the device will maintain its own time. The stamp changes once with the timing module, and jumps to the completion stage of the first time synchronization after one minute.
复位授时模块同步标志发出第七时长后,若钟差满足精度需求,同时授时模块同步标志正常,则装置自行维护时戳跟随授时模块变化一次,随后跳转到首次对时完成阶段;若钟差满足精度需求,但授时模块同步标志异常,则装置闭锁跳变侦测判别逻辑,自守时直到授时模块同步标志正常,同时弹出告警且上送后台。After resetting the synchronization flag of the timing module and sending out the seventh duration, if the clock error meets the accuracy requirements and the synchronization flag of the timing module is normal, the device will maintain its own time stamp and change once with the timing module, and then jump to the completion stage of the first time synchronization; If the accuracy requirements are met, but the synchronization flag of the timing module is abnormal, the device locks the jump detection and judgment logic, from punctuality until the synchronization flag of the timing module is normal, and an alarm will be popped up and sent to the background.
所述第七时长为60S。The seventh duration is 60S.
请参照图3至图4,A行黑色实线表示授时模块PPS的同步标志,黑色虚线为授时模块PPS的失步标志;B行黑色虚线为装置自行维护的实时时戳。同步标志、失步标志为授时模块是否正常工作的指示标志。Please refer to FIG. 3 to FIG. 4 , the black solid line in row A represents the synchronization mark of the timing module PPS, the black dotted line is the out-of-sync mark of the timing module PPS; the black dotted line in row B is the real-time time stamp of self-maintenance of the device. The synchronizing flag and the out-of-sync flag are the indicators indicating whether the timing module is working normally.
装置首次对时后,实时维护装置对授时模块PPS打时戳tick0,以tick0为基准,实时侦测授时模块PPS的时戳tick1(当前秒系统时戳)。同步情况下,tick0的更新取决于同步标志PPS的间隔;失步情况下,tick0更新取决于守时算法产生的间隔。After the device is timed for the first time, the real-time maintenance device stamps the time stamp tick0 on the timing module PPS, and uses tick0 as the benchmark to detect the time stamp tick1 (the current second system time stamp) of the timing module PPS in real time. In the case of synchronization, the update of tick0 depends on the interval of the synchronization flag PPS; in the case of out-of-synchronization, the update of tick0 depends on the interval generated by the punctual algorithm.
在授时模块标志由失步到同步时,|tick0-tick1|的差小于60微秒,认为秒脉冲没有跳变。若|tick0-tick1|的差大于60微秒则认为授时模块PPS发生跳变异常,此时复位授时模块,复位后待到同步标志出现并延时有效,且时戳差小于60微秒,装置系统时间跟随一次。PPS跳变故障中,授时模块复位即可恢复正常对时的情况占比较高。When the flag of the timing module changes from out-of-sync to synchronization, the difference of |tick0-tick1| is less than 60 microseconds, and it is considered that the second pulse does not jump. If the difference between |tick0-tick1| is greater than 60 microseconds, it is considered that the timing module PPS jumps abnormally. At this time, the timing module is reset. After the reset, the synchronization flag appears and the delay is valid, and the time stamp difference is less than 60 microseconds. The system time follows once. Among the PPS jump faults, the case where the timing module can be reset and can be restored to normal timing is relatively high.
如果授时模块同步条件下该差值|tick0-tick1|连续10秒均小于60微秒,则认为授时模块和装置对时模块工作正常,授时模块对装置置同步标志。装置系统时间进行时钟同步跟随。If the difference |tick0-tick1| is less than 60 microseconds for 10 consecutive seconds under the timing module synchronization condition, it is considered that the timing module and the device timing module work normally, and the timing module sets the synchronization flag to the device. The system time of the device is synchronized with the clock.
请参照图1至图4,本发明的第二个实施例提供一种用于授时模块进行对时的PPS跳变侦测系统,用于实现如前所述的授时模块进行对时的PPS跳变侦测系统,包括:Please refer to FIG. 1 to FIG. 4 , the second embodiment of the present invention provides a PPS hopping detection system for time synchronization by a timing module, which is used to realize the PPS hopping in the timing synchronization module as described above. Change detection system, including:
初始化模块,用于将需要对时的装置与授时模块进行对接,首次对时,读取授时模块同步标志,确认授时模块同步标志正常。The initialization module is used to connect the device that needs to be synchronized with the timing module. For the first time synchronization, read the synchronization flag of the timing module to confirm that the synchronization flag of the timing module is normal.
时间设置模块,用于设置系统时间,并设置时戳比较标志,在当前秒更新时,记录授时模块时间信息。The time setting module is used to set the system time and set the time stamp comparison flag, and record the time information of the timing module when the current second is updated.
品质判断模块,用于当设置系统时间后,装置系统秒更新后经过第二时长时,读取授时模块时间信息和品质,若授时模块时间信息和品质正常,则继续授时;若授时模块时间信息或品质异常,则装置自守时,弹出相应告警,上送后台,装置闭锁跳变侦测判别逻辑。The quality judgment module is used to read the time information and quality of the timing module after the system time is set and the second time period has elapsed after the device system is updated. If the time information and quality of the timing module are normal, continue timing; if the time information of the timing module is Or the quality is abnormal, when the device is self-punctual, the corresponding alarm will pop up, send it to the background, and the device will block the jump detection and judgment logic.
所述第二时长为500ms。The second duration is 500ms.
装置同步模块,用于设置装置同步标志,判断装置同步或失步,并记录装置同步或失步条件下当前系统时间信息。The device synchronization module is used to set the device synchronization flag, determine whether the device is synchronized or out of synchronization, and record the current system time information under the condition of the device synchronization or out of synchronization.
钟差计算模块,用于在装置同步条件下,根据当前系统时间信息和授时模块时间信息设置钟差,其中所述钟差包括时戳差和时间差,时戳差=|当前秒系统时戳-授时模块PPS时戳|,时间差=|装置系统秒以上时间-授时模块秒以上的时间|。The clock difference calculation module is used to set the clock difference according to the current system time information and the timing module time information under the condition of device synchronization, wherein the clock difference includes the time stamp difference and the time difference, and the time stamp difference=|current second system time stamp- Timing module PPS timestamp|, time difference=|time in seconds of the device system - time in seconds of the timing module|.
跳变复位模块,用于根据钟差判断授时模块工作正常或异常,维护对时。The jump reset module is used to judge whether the timing module is working normally or abnormally according to the clock difference, and maintain the timing.
结合第二方面,本发明实施例提供了第二方面的第一种可能的实施方式,其中,所述装置同步模块包括:In conjunction with the second aspect, an embodiment of the present invention provides a first possible implementation manner of the second aspect, wherein the device synchronization module includes:
同步记录单元,用于装置同步条件下,继续授时,记录当前秒系统时戳=前一秒系统时戳+当前秒间隔。The synchronization recording unit is used to continue timing under the condition of device synchronization, and record the system timestamp of the current second = the system timestamp of the previous second + the current second interval.
失步记录单元,用于装置失步条件下,装置自守时,弹出告警且上送后台,闭锁跳变侦测判别逻辑,记录当前秒系统时戳=前一秒系统时戳+守时算法秒间隔。The out-of-step recording unit is used for the device out-of-sync condition, when the device is self-punctual, an alarm will pop up and be sent to the background, and the jump detection and discrimination logic will be blocked to record the current second system timestamp = the previous second system timestamp + timekeeping algorithm seconds interval.
结合第二方面,本发明实施例提供了第二方面的第二种可能的实施方式,其中,所述跳变复位模块包括:In conjunction with the second aspect, the embodiment of the present invention provides a second possible implementation manner of the second aspect, wherein the jump reset module includes:
一次复位单元,用于若时戳差连续第三时长大于阈值,或时间差不为0,则钟差异常,判断授时模块工作异常,装置自守时,弹出告警且上送后台,复位授时模块,重新判断授时模块同步标志。The one-time reset unit is used for if the time stamp difference is greater than the threshold for the third consecutive time, or the time difference is not 0, the clock difference is constant, and the timing module is judged to be abnormal. Re-judg the timing module synchronization flag.
所述第三时长为5S。The third duration is 5S.
一次同步标志判断单元,用于若一次复位后,授时模块同步标志异常,则装置自守时,弹出告警且上送后台,装置闭锁跳变侦测判别逻辑;若一次复位后,授时模块同步标志正常,授时模块复位第四时长后,重新根据钟差判断授时模块工作正常或异常,且复位授时模块同步标志发出第五时长内,设置守时标志。The primary synchronization flag judgment unit is used for if the synchronization flag of the timing module is abnormal after a reset, the device will be self-clocked, an alarm will pop up and sent to the background, and the device will block the jump detection and judgment logic; if it is reset once, the timing module synchronization flag If it is normal, after the timing module resets for the fourth time period, it will judge whether the time service module is working normally or abnormally according to the clock difference, and reset the timing module synchronization flag within the fifth time period and set the timing flag.
所述第四时长为10S。The fourth duration is 10S.
二次复位单元,用于若一次复位第四时长后钟差仍异常,则对授时模块二次复位,二次复位后延时第六时长,重新根据钟差判断授时模块工作正常或异常。The second reset unit is used to reset the timing module for a second time if the clock error is still abnormal after a fourth reset, and delay the second reset for a sixth time, and then judge whether the timing module works normally or abnormally according to the clock error.
所述第六时长为30S。The sixth duration is 30S.
钟差判断单元,用于若二次复位后延时第六时长,钟差仍异常,则装置自守时,弹出告警且上送后台,装置进入对时模块故障判别逻辑;若钟差满足精度需求,则装置自行维护时戳跟随授时模块变化一次,一分钟后跳转到首次对时完成阶段。The clock difference judgment unit is used for if the clock difference is still abnormal after the second reset after a delay of the sixth time, the device will keep the time automatically, an alarm will be popped up and sent to the background, and the device will enter the time synchronization module fault judgment logic; if the clock difference meets the accuracy If it is required, the device maintains its own time stamp and changes once with the timing module, and jumps to the first time synchronization completion stage after one minute.
二次同步标志判断单元,用于复位授时模块同步标志发出第七时长后,若钟差满足精度需求,同时授时模块同步标志正常,则装置自行维护时戳跟随授时模块变化一次,随后跳转到首次对时完成阶段;若钟差满足精度需求,但授时模块同步标志异常,则装置闭锁跳变侦测判别逻辑,自守时直到授时模块同步标志正常,同时弹出告警且上送后台。The secondary synchronization flag judgment unit is used to reset the timing module synchronization flag after the seventh time period is issued, if the clock difference meets the accuracy requirements and the timing module synchronization flag is normal, the device maintains the time stamp and changes once with the timing module, and then jumps to The first time synchronization is completed; if the clock error meets the accuracy requirements, but the synchronization flag of the timing module is abnormal, the device locks the jump detection and judgment logic, from punctuality until the synchronization flag of the timing module is normal, and an alarm is popped up and sent to the background.
所述第七时长为60S。The seventh duration is 60S.
本发明实施例的有益效果是:The beneficial effects of the embodiments of the present invention are:
本发明通过对授时模块PPS跳变进行侦测并及时维护,能够解决正常对时时授时模块或装置对时模块故障导致的对时异常和PPS跳变不能正确侦测、授时模块无法及时复位和相关告警不能按时后台上送等问题,可真实有效的侦测出授时模块和对时模块是否正常工作,装置时钟同步跟随精度是否满足标准要求,不仅有利于加快事故原因的分析处理,而且提高了电网系统运行可靠性。By detecting and maintaining the PPS jump of the timing module in time, the present invention can solve the abnormal time synchronization caused by the failure of the normal time synchronization module or the device time synchronization module, the failure of correct detection of the PPS jump, the failure of the timing module to reset in time and the related If the alarm cannot be sent to the background on time and other problems, it can truly and effectively detect whether the timing module and the time synchronization module are working properly, and whether the device clock synchronization tracking accuracy meets the standard requirements, which not only helps to speed up the analysis and processing of the accident cause, but also improves the power grid System operation reliability.
本发明实施例所提供的授时模块进行对时的PPS跳变侦测方法及系统的计算机程序产品,包括存储了程序代码的计算机可读存储介质,程序代码包括的指令可用于执行前面方法实施例中的方法,具体实现可参见方法实施例,在此不再赘述。The computer program product of the PPS jump detection method and system for time synchronization by the timing module provided by the embodiment of the present invention includes a computer-readable storage medium storing program codes, and the instructions included in the program codes can be used to execute the foregoing method embodiments. The method in , the specific implementation can refer to the method embodiment, which will not be repeated here.
具体地,该存储介质能够为通用的存储介质,如移动磁盘、硬盘等,该存储介质上的计算机程序被运行时,能够执行上述授时模块进行对时的PPS跳变侦测方法,从而能够解决正常对时时授时模块或装置对时模块故障导致的对时异常和PPS跳变不能正确侦测、授时模块无法及时复位和相关告警不能按时后台上送等问题。Specifically, the storage medium can be a general storage medium, such as a removable disk, a hard disk, etc. When the computer program on the storage medium is run, it can execute the above-mentioned PPS jump detection method for time synchronization by the timing module, thereby solving the problem of Problems such as abnormal time synchronization and PPS jump caused by the failure of the normal time synchronization module or the device time synchronization module, the failure of the timing module to reset in time, and the inability to send related alarms to the background on time.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个处理器可执行的非易失的计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-OnlyMemory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a processor-executable non-volatile computer-readable storage medium. Based on this understanding, the technical solution of the present invention can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes.
最后应说明的是:以上所述实施例,仅为本发明的具体实施方式,用以说明本发明的技术方案,而非对其限制,本发明的保护范围并不局限于此,尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,其依然可以对前述实施例所记载的技术方案进行修改或可轻易想到变化,或者对其中部分技术特征进行等同替换;而这些修改、变化或者替换,并不使相应技术方案的本质脱离本发明实施例技术方案的精神和范围,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。Finally, it should be noted that the above-mentioned embodiments are only specific implementations of the present invention, and are used to illustrate the technical solutions of the present invention, but not to limit them. The protection scope of the present invention is not limited thereto, although referring to the foregoing The embodiment has been described in detail the present invention, those of ordinary skill in the art should understand: any person skilled in the art who is familiar with the technical field within the technical scope disclosed by the present invention can still modify the technical solutions described in the foregoing embodiments. Or can easily think of changes, or equivalently replace some of the technical features; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be covered in the present invention. within the scope of protection. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010756160.4A CN111984059B (en) | 2020-07-31 | 2020-07-31 | PPS (polyphenylene sulfide) jump detection method and system for timing by time service module |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010756160.4A CN111984059B (en) | 2020-07-31 | 2020-07-31 | PPS (polyphenylene sulfide) jump detection method and system for timing by time service module |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111984059A true CN111984059A (en) | 2020-11-24 |
| CN111984059B CN111984059B (en) | 2022-08-26 |
Family
ID=73444823
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010756160.4A Active CN111984059B (en) | 2020-07-31 | 2020-07-31 | PPS (polyphenylene sulfide) jump detection method and system for timing by time service module |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111984059B (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113176973A (en) * | 2021-05-14 | 2021-07-27 | 山东英信计算机技术有限公司 | PSU power supply black box log time stamp recording method, device, equipment and medium |
| CN113489140A (en) * | 2021-05-27 | 2021-10-08 | 国网浙江省电力有限公司湖州供电公司 | Time synchronization fault positioning method for transformer substation |
| CN113839767A (en) * | 2021-09-13 | 2021-12-24 | 许昌许继软件技术有限公司 | A multi-chip FPGA system and its time stamp synchronization method |
| CN114089038A (en) * | 2021-11-16 | 2022-02-25 | 许昌许继软件技术有限公司 | Time scale second-bit jump processing method and system for dynamic data of synchrophasor measuring device |
| CN115981932A (en) * | 2022-12-09 | 2023-04-18 | 中电科申泰信息科技有限公司 | A verification method for reset jump state in multi-core cpu processor |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20110221485A1 (en) * | 2008-11-29 | 2011-09-15 | Zte Corporation | Time synchronization method and apparatus |
| CN103036635A (en) * | 2012-12-15 | 2013-04-10 | 辽宁省电力有限公司电力科学研究院 | Merging unit synchronization time hack method adaptive for relay protection application and based on Institute of Electrical and Electronic Engineers (IEEE) 1588 |
| CN103078401A (en) * | 2012-12-17 | 2013-05-01 | 广东电网公司电力科学研究院 | Time synchronization and sampling synchronization system and method for transformer substation |
| CN104457793A (en) * | 2014-12-08 | 2015-03-25 | 中国科学院上海微系统与信息技术研究所 | Parallel calibration method for synchronization precision of superconducting full tensor magnetic gradient measurement and control device |
| CN104683090A (en) * | 2015-03-19 | 2015-06-03 | 浙江赛思电子科技有限公司 | Expandable clock monitoring device and method |
| US20180302461A1 (en) * | 2016-01-04 | 2018-10-18 | Hangzhou Yameilijia Technology Co., Ltd. | Method and system for synchronizing robot with server |
| CN110971332A (en) * | 2019-11-26 | 2020-04-07 | 北京无线电计量测试研究所 | Pulse-per-second time signal synchronization device and method |
| CN111277462A (en) * | 2020-01-19 | 2020-06-12 | 成都天奥电子股份有限公司 | Method for automatically measuring IRIG-B time service signal propagation delay, time service slave station and time service system |
-
2020
- 2020-07-31 CN CN202010756160.4A patent/CN111984059B/en active Active
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20110221485A1 (en) * | 2008-11-29 | 2011-09-15 | Zte Corporation | Time synchronization method and apparatus |
| CN103036635A (en) * | 2012-12-15 | 2013-04-10 | 辽宁省电力有限公司电力科学研究院 | Merging unit synchronization time hack method adaptive for relay protection application and based on Institute of Electrical and Electronic Engineers (IEEE) 1588 |
| CN103078401A (en) * | 2012-12-17 | 2013-05-01 | 广东电网公司电力科学研究院 | Time synchronization and sampling synchronization system and method for transformer substation |
| CN104457793A (en) * | 2014-12-08 | 2015-03-25 | 中国科学院上海微系统与信息技术研究所 | Parallel calibration method for synchronization precision of superconducting full tensor magnetic gradient measurement and control device |
| CN104683090A (en) * | 2015-03-19 | 2015-06-03 | 浙江赛思电子科技有限公司 | Expandable clock monitoring device and method |
| US20180302461A1 (en) * | 2016-01-04 | 2018-10-18 | Hangzhou Yameilijia Technology Co., Ltd. | Method and system for synchronizing robot with server |
| CN110971332A (en) * | 2019-11-26 | 2020-04-07 | 北京无线电计量测试研究所 | Pulse-per-second time signal synchronization device and method |
| CN111277462A (en) * | 2020-01-19 | 2020-06-12 | 成都天奥电子股份有限公司 | Method for automatically measuring IRIG-B time service signal propagation delay, time service slave station and time service system |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113176973A (en) * | 2021-05-14 | 2021-07-27 | 山东英信计算机技术有限公司 | PSU power supply black box log time stamp recording method, device, equipment and medium |
| CN113176973B (en) * | 2021-05-14 | 2023-04-25 | 山东英信计算机技术有限公司 | PSU power supply black box log time stamp recording method, device, equipment and medium |
| CN113489140A (en) * | 2021-05-27 | 2021-10-08 | 国网浙江省电力有限公司湖州供电公司 | Time synchronization fault positioning method for transformer substation |
| CN113489140B (en) * | 2021-05-27 | 2023-07-28 | 国网浙江省电力有限公司湖州供电公司 | Time setting fault positioning method for transformer substation |
| CN113839767A (en) * | 2021-09-13 | 2021-12-24 | 许昌许继软件技术有限公司 | A multi-chip FPGA system and its time stamp synchronization method |
| CN114089038A (en) * | 2021-11-16 | 2022-02-25 | 许昌许继软件技术有限公司 | Time scale second-bit jump processing method and system for dynamic data of synchrophasor measuring device |
| CN114089038B (en) * | 2021-11-16 | 2024-04-16 | 许昌许继软件技术有限公司 | Method and system for processing time-scale second-bit jump of dynamic data of synchronized phasor measurement device |
| CN115981932A (en) * | 2022-12-09 | 2023-04-18 | 中电科申泰信息科技有限公司 | A verification method for reset jump state in multi-core cpu processor |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111984059B (en) | 2022-08-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111984059A (en) | A PPS jump detection method and system for timing synchronization by a timing module | |
| CN113014345B (en) | Clock synchronization early warning method, equipment and system | |
| CN107743054A (en) | System during a kind of synchronous pair of multisensor | |
| US20100070213A1 (en) | Method for Monitoring the Electrical Energy Quality in an Electrical Energy Supply System, Power Quality Field Device and Power Quality System | |
| CN103823361A (en) | Multi-source dynamic self-adaptation clock synchronization method and device | |
| CN111130951B (en) | Equipment state detection method, device and storage medium | |
| CN110988599B (en) | High-precision synchronization method of distributed wave recording of distribution fault indicator | |
| CN106647228B (en) | A fault judgment system for the master clock of a converter station | |
| CN108931696B (en) | A method and relay protection device for abnormal detection of B-code clock in intelligent substation | |
| CN113946448B (en) | A server cluster timing management method, device and electronic equipment | |
| DE3733232C2 (en) | ||
| CN113489140B (en) | Time setting fault positioning method for transformer substation | |
| US11860689B2 (en) | Time synchronization method, service board, and network device | |
| US9007889B2 (en) | Communication device and communication system with failure detection capabilities | |
| CN106921458A (en) | Intelligent substation SV sampling step-out monitoring methods based on SV messages | |
| CN113141227B (en) | Time determination method, system and medium based on hierarchical control | |
| CN210780844U (en) | Automatic baud rate detection circuit | |
| JPH04274061A (en) | Digital signal reproducing device | |
| CN110752888A (en) | Time correction method and device for network system in local area network | |
| CN109451521B (en) | GPS synchronization method for base station intensive distributed networking | |
| CN110618604B (en) | Method and device for improving time keeping precision by using NTP auxiliary source | |
| EP0557142B1 (en) | Method and device for temporally monitoring the operation of a processor | |
| CN113489599A (en) | Substation time synchronization verification system and time synchronization defect elimination method | |
| US20240210899A1 (en) | Synchronization with multiple time sources | |
| US20250105938A1 (en) | Accuracy monitoring of clock synchronized systems |
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 |