Time correction method and system and readable storage medium

By introducing time calibration equipment into the distributed control system of nuclear power plants for automatic time correction, the safety hazards caused by time synchronization deviation are solved, and the accuracy and reliability of time synchronization are significantly improved.

CN119865273APending Publication Date: 2025-04-22CHINA TECHENERGY
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202510029531.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-08
Publication Date
2025-04-22

AI Technical Summary

Technical Problem

In the distributed control system of nuclear power plants, the deviation of time synchronization may lead to unprepared data records, confusing control logic, and even leading to safety hazards in the entire nuclear power plant.

Method used

By introducing the calibration equipment, the calibration data is sent to each target device in the distributed control system of the nuclear power plant synchronously, and the system time of the embedded operating system is automatically corrected based on the unified reference time.

Benefits of technology

It ensures the consistency of the system time of multiple target equipment in the distributed control system of the nuclear power plant, significantly improves the accuracy, efficiency and reliability of time synchronization, and provides strong guarantees for the safe and stable operation of the nuclear power plant.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119865273A_ABST
    Figure CN119865273A_ABST
Patent Text Reader

Abstract

The invention discloses a time correction method and system and a readable storage medium, and relates to the technical field of digital control systems of nuclear power stations. Comprising the following steps: a target device analyzes received timing data to obtain reference time; after the target device obtains the reference time, the system time of the embedded operating system in the target device is obtained; and the target device corrects the system time of the embedded operating system in the target device based on the reference time. Therefore, according to the time correction method, the time correction device is introduced to synchronously send the time correction data to each target device in the distributed control system of the nuclear power station, and the system time of the embedded operating system is automatically corrected based on the unified reference time; the consistency of the system time of multiple target devices in the distributed control system of the nuclear power station is ensured, the precision, efficiency and reliability of time synchronization are remarkably improved, and a powerful guarantee is provided for safe and stable operation of the nuclear power station.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of digital control systems for nuclear power plants, and in particular to a time correction method, system and readable storage medium. Background Art

[0002] The digital control system of a nuclear power plant, namely the distributed control system (DCS) of a nuclear power plant, is an advanced process control system that integrates computer technology, control technology, communication technology and graphic display technology; it adopts the design principles of decentralized control, centralized operation, hierarchical management, division and autonomy, and comprehensive coordination, assigns control tasks to multiple control stations to complete, and connects these control stations through a communication network to achieve information sharing and coordinated control.

[0003] Since all key operations and data records in the digital control system of a nuclear power plant require accurate timestamp support, time synchronization between control stations is essential. Deviations in time synchronization may lead to unprepared data records in the digital control system, chaotic control logic, and even safety hazards in the entire nuclear power plant.

[0004] Therefore, developing an efficient and reliable time synchronization technology to keep the system time of each target device with an embedded operating system installed in the distributed control system of a nuclear power plant consistent and meet the strict requirements of the nuclear power plant DCS system for time synchronization has extremely important practical significance and application value. Summary of the invention

[0005] Based on the above problems, the present application provides a time correction method for performing time correction on each target device installed with an embedded operating system in a distributed control system of a nuclear power plant, thereby ensuring the consistency of system time of multiple target devices in the distributed control system of a nuclear power plant.

[0006] The embodiments of the present application disclose the following technical solutions:

[0007] The first aspect of the present application discloses a time correction method, comprising:

[0008] The target device parses the received time calibration data to obtain a reference time; the time calibration data is data containing a time point sent by the time calibration device; the target device is a device installed with an embedded operating system in a distributed control system of a nuclear power plant; the time calibration device synchronously sends the time calibration data to each of the target devices in the distributed control system;

[0009] The target device corrects the system time of the target device based on the reference time.

[0010] In an optional implementation manner, the target device corrects the system time of the target device based on the reference time, including:

[0011] Determine whether the time interval between the reference time and the system time is greater than a preset first value; and the time interval between the time when the system time is acquired and the time when the reference time is obtained by parsing is less than a preset second value;

[0012] If the time interval between the reference time and the system time is greater than or equal to the preset first value, correcting the system time to the reference time;

[0013] If the time interval between the reference time and the system time is smaller than the preset first value, the system time is maintained unchanged.

[0014] In an optional implementation manner, determining whether a time interval between the reference time and the system time is greater than a preset first value includes:

[0015] At every preset first time period, it is determined whether the time interval between the reference time and the system time is greater than a preset first value.

[0016] In an optional implementation, the timing device periodically and synchronously sends the timing data to each of the target devices in the distributed control system.

[0017] In an optional implementation, the target device is a SCID300 control station.

[0018] In an optional implementation, the time calibration device is an NM197 time calibration device.

[0019] In an optional implementation, the timing device is communicatively connected to each of the target devices via an RS485 interface.

[0020] In an optional implementation, the method further includes:

[0021] The information that the correction data is not received within the preset second time period is recorded in the abnormality log, and / or the information that an error is generated by parsing the correction data is recorded in the abnormality log.

[0022] The second aspect of the present application discloses a time correction system, the system comprising a time correction device and a plurality of target devices; the target device is a device in a distributed control system of a nuclear power plant with an embedded operating system installed;

[0023] The timing device is used to synchronously send timing data to each target device in the distributed control system; the timing data is data containing a time point;

[0024] The target device is used to parse the received time calibration data to obtain a reference time; and to correct the system time of the target device based on the reference time.

[0025] A third aspect of the present application provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of the method introduced in any implementation manner of the first aspect are implemented.

[0026] Compared with the prior art, this application has the following beneficial effects:

[0027] The present application discloses a time correction method, comprising: the target device parses the received time calibration data to obtain the reference time; after obtaining the reference time, the target device obtains the system time of the embedded operating system in the target device (i.e., the system time of the target device); the target device corrects the system time of the target device based on the reference time. The target device in the present application is any one of the multiple devices in the distributed control system of the nuclear power plant that are equipped with an embedded operating system. In this way, the time correction method in the present application introduces a time calibration device to synchronously send time calibration data to each target device in the distributed control system of the nuclear power plant, and automatically corrects the system time of the embedded operating system based on a unified reference time, thereby ensuring the consistency of the system time of multiple target devices in the distributed control system of the nuclear power plant, significantly improving the accuracy, efficiency, and reliability of time synchronization, and providing a strong guarantee for the safe and stable operation of the nuclear power plant. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0029] Figure 1 A schematic diagram of the structure of a time correction system provided in an embodiment of the present application;

[0030] Figure 2 A flow chart of a time correction method provided in an embodiment of the present application;

[0031] Figure 3 A schematic diagram of the structure of a SCID300 system provided in an embodiment of the present application;

[0032] Figure 4 A flow chart of a NM197 time calibration device for SCID300 control station time calibration provided in an embodiment of the present application;

[0033] Figure 5 A schematic diagram of the structure of a time correction device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0034] The digital control system of a nuclear power plant is an advanced process control system that integrates computer technology, control technology, communication technology and graphic display technology. It adopts the design principles of decentralized control, centralized operation, hierarchical management, division and autonomy, and comprehensive coordination, and assigns control tasks to multiple control stations to complete. These control stations are connected through a communication network to achieve information sharing and coordinated control.

[0035] Since all key operations and data records in the digital control system of a nuclear power plant require accurate timestamp support, time synchronization between control stations is essential. Deviations in time synchronization may lead to unprepared data records in the digital control system, chaotic control logic, and even safety hazards in the entire nuclear power plant.

[0036] In traditional distributed control systems, general network protocols such as NTP (Network Time Protocol) can be used to achieve time synchronization; however, the NTP network protocol is based on UDP (User Datagram Protocol) for network communication, which is not suitable for distributed control systems of nuclear power plants that have high requirements for information security, especially for solving time synchronization problems of safety-level embedded software in nuclear power plants.

[0037] At present, in the safety-level distributed control system of nuclear power plants, manual time calibration is used to ensure the time synchronization of each control station in the distributed control system of the nuclear power plant. There are three main problems with manual time calibration in nuclear power plant applications: (1) Insufficient accuracy. Manual time calibration cannot meet the high-precision time synchronization standards required by nuclear power plants, which will cause deviations in data records; (2) Low efficiency, because multiple control stations need to be manually synchronized one by one. This process is time-consuming and cumbersome, and is easily restricted by the complexity of manual operations, resulting in low synchronization efficiency; (3) The reliability of traditional time calibration methods is also worrying. It is highly dependent on the experience and skills of operators, and is therefore easily interfered by human factors, making it difficult to ensure time consistency over a long period of time and the reliability of the entire system.

[0038] Therefore, developing an efficient and reliable time synchronization technology to keep the system time of each target device with an embedded operating system installed in the distributed control system of a nuclear power plant consistent and meet the strict requirements of the nuclear power plant DCS system for time synchronization has extremely important practical significance and application value.

[0039] In order to solve the above problems, the present application discloses a time correction method, including: the target device parses the received time calibration data to obtain the reference time; after obtaining the reference time, the target device obtains the system time of the embedded operating system in the target device; the target device corrects the system time of the embedded operating system in the target device based on the reference time. The target device in the present application is any one of the multiple devices in the distributed control system of the nuclear power plant that are equipped with an embedded operating system. In this way, the time correction method in the present application introduces a time calibration device to synchronously send time calibration data to each target device in the distributed control system of the nuclear power plant, and automatically corrects the system time of the embedded operating system based on a unified reference time, thereby ensuring the consistency of the system time of multiple target devices in the distributed control system of the nuclear power plant, significantly improving the accuracy, efficiency and reliability of time synchronization, and providing a strong guarantee for the safe and stable operation of the nuclear power plant.

[0040] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0041] Figure 1 A schematic diagram of the structure of a time correction system provided in an embodiment of the present application. Figure 1 As shown, the time correction system in the present application includes a time correction device and multiple target devices (target device 1, target device 2, target device 3, until target device N, where N is an integer greater than or equal to 3).

[0042] The target device in this application is a device installed with an embedded operating system in a distributed control system of a nuclear power plant. The timing device is a device used to synchronously send timing data to each target device. The timing data is data containing a time point. The timing device is connected to the target device through any interface of RS485, RS232 or RS422.

[0043] Figure 2 A flow chart of a time correction method provided in an embodiment of the present application. Figure 2 As shown, the time correction method in the present application includes:

[0044] S201, the target device parses the received time calibration data to obtain a reference time.

[0045] The target device is Figure 1 The distributed control system of the nuclear power plant shown in FIG. 1 is equipped with a device having an embedded operating system. Figure 1 The timing device in the system synchronously sends timing data to each target device.

[0046] In an optional implementation, the time calibration device may synchronously send the time calibration data to each target device at a preset time point.

[0047] In another optional implementation, the time calibration device may also periodically and synchronously send the time calibration data to each target device. For example, the time calibration device may synchronously send the time calibration data to each target device every 1 second.

[0048] After receiving the time calibration data sent by the time calibration device, the target device parses the time calibration data to obtain the reference time in the time calibration data.

[0049] It should be noted that the timing device used in the present application has a high-precision time source and utilizes a synchronous transmission mechanism and possible network delay compensation technology (for example, forward error correction, data compression or buffer management, etc.), so that the reference time of the timing data sent by the timing device at the same time point received by multiple target devices in the distributed control system of the nuclear power plant is basically the same.

[0050] S202: The target device corrects the system time of the target device based on the reference time.

[0051] Each of the multiple target devices parses the correction data sent by the time calibration device at the same time, obtains the reference time, and can calibrate the system time of the target device based on the reference time.

[0052] The system time of the target device in this application refers to the time displayed by the embedded operating system in the target device.

[0053] In an optional implementation manner, the target device corrects the system time of the target device based on the reference time, including the following steps:

[0054] The first step is to determine whether the time interval between the reference time and the system time is greater than a preset first value.

[0055] After parsing and obtaining the reference time, the target device also needs to obtain its own system time. It should be noted that the time interval between the time of obtaining the system time and the time of parsing and obtaining the reference time is less than a preset second value. Exemplarily, the second value may be 20ms.

[0056] It is understandable that the target device's own corresponding system time may also be obtained after the target device receives the time calibration data and before parsing the time calibration data to obtain the reference time.

[0057] It should be emphasized that the present application only limits the time interval between the moment of obtaining the system time and the moment of parsing the reference time to be less than a preset second value, and does not limit the moment of parsing the reference time and the moment of obtaining the system time, and the order of the two.

[0058] For the target device A, after obtaining the reference time and the system time, the target device A determines whether the time interval between the reference time and the system time is greater than a preset first value. For example, the first value may be one second.

[0059] In the second step, if the time interval between the reference time and the system time is greater than or equal to the preset first value, the system time is corrected to the reference time.

[0060] If the target device A determines that the time interval between the reference time and the system time is greater than or equal to a preset first value, the target device A corrects the system time to the reference time.

[0061] The third step is to maintain the system time unchanged if the time interval between the reference time and the system time is less than the preset first value.

[0062] If the target device A determines that the time interval between the reference time and the system time is less than a preset first value, the target device A maintains the system time unchanged.

[0063] It should be noted that after obtaining the reference time and its own system time, each target device can instantly compare the two to correct the system time to ensure that the system time of all target devices is synchronized. However, frequent time correction will increase the computing burden of the distributed control system of the nuclear power plant. In order to strike a balance between time synchronization accuracy and system computing load, target device A can adopt an optimization strategy: check once every preset time interval (for example, one minute) whether the difference between the system time and the reference time exceeds the preset first value. This means that target device A will continue to receive the time calibration data from the time calibration device (without data parsing), but only compare and correct the time difference once at a fixed time every minute, thereby reducing the computing pressure of the system.

[0064] In an optional implementation, the time correction method in the present application also includes: recording information that the correction data is not received within a preset second time period in an exception log, and / or recording information that errors are generated when parsing the correction data in the exception log.

[0065] Specifically, if the target device A does not receive the information of the correction data within the preset second time period, the data corresponding to the above situation is recorded in the abnormal log (log recording errors); similarly, if the target device A generates error information or fails to parse the correction data smoothly when parsing the correction data, the data corresponding to the above situation can also be recorded in the abnormal log. Those skilled in the art analyze the data in the abnormal log to eliminate the faults and problems of the target device A.

[0066] The present application discloses a time correction method, comprising: the target device parses the received time calibration data to obtain the reference time; after obtaining the reference time, the target device obtains the system time of the embedded operating system in the target device; the target device corrects the system time of the embedded operating system in the target device based on the reference time. The target device in the present application is any one of the multiple devices in the distributed control system of the nuclear power plant that are equipped with an embedded operating system. In this way, the time correction method in the present application introduces a time calibration device to synchronously send time calibration data to each target device in the distributed control system of the nuclear power plant, and automatically corrects the system time of the embedded operating system based on a unified reference time, thereby ensuring the consistency of the system time of multiple target devices in the distributed control system of the nuclear power plant, significantly improving the accuracy, efficiency and reliability of time synchronization, and providing a strong guarantee for the safe and stable operation of the nuclear power plant.

[0067] In an optional implementation, the target device in the present application may be a SCID300 control station in a distributed control system of a nuclear power plant; the timing device may be an NM197 timing device. The timing device is connected to the target device through any one of RS485, RS232 or RS422 interfaces. To ensure the quality of data transmission over long distances, the timing device in the present application is connected to the target device through an RS485 interface.

[0068] The SCID300 control station mentioned in this application refers to a control station equipped with a SCID300 system. The SCID300 system is a Class B safety control display system designed specifically for the nuclear power field. It serves as an interactive interface between nuclear power plant operators and digital, safety-level control and protection systems, enabling operators to perform control operations on nuclear power plant safety-level system equipment and receive feedback information from these devices in real time. This information is crucial to operators and helps them analyze and make decisions, thereby formulating appropriate control operation strategies.

[0069] The SCID300 system is a safety control and display system based on the QNX Neutrino Real-Time Operating System. It supports multi-task parallel processing and has a built-in powerful fault handling and self-diagnosis mechanism. It can quickly identify and report system anomalies, effectively ensuring the safe and stable operation of nuclear power plants.

[0070] Figure 3 A schematic diagram of the structure of a SCID300 system provided in an embodiment of the present application. Figure 3 As shown, the SCID300 system includes system hardware (SCID300 hardware) and system software.

[0071] Engineering configuration in system software refers to the process in which engineering technicians select the required functional modules according to application requirements, determine their operating modes, and combine relevant information to form a suitable application system.

[0072] Support system software in system software is software that supports the compilation and maintenance of other software, and provides auxiliary functions such as application software design, development, testing, evaluation, and operation detection. Support system software includes engineer software and graphic configuration; engineer software is mainly used for system programming, configuration, debugging, and maintenance, while graphic configuration is used to create and configure the human-machine interface of the system; the two work together to ensure the stability and reliability of the system and improve production efficiency and quality.

[0073] The application software in the system software is used to implement specific control logic, data processing, human-computer interaction and other functions. The application software includes at least configuration files, application algorithms and parameter files. Configuration files are text files that store system or application configuration information; these configuration information may include key parameters such as database connection strings, application paths, debugging switches, and log levels. The application algorithm determines how the SCID300 system processes input data and generates output; parameter files are used in the SCID300 system to store system operating parameters and configuration settings; these parameters may include equipment operating parameters, process parameters, system control parameters, etc.

[0074] The operating system software in the system software includes the corresponding software for various application scenarios, the secure operating system and the board support package. The secure operating system is an operating system that can provide a high level of security; the board support package is a layer between the motherboard hardware and the driver layer program in the operating system, which mainly implements support for the operating system.

[0075] The corresponding software for various application scenarios includes startup software, operator mode software, maintenance mode software, download mode software, and public library software.

[0076] Startup software is a software tool used to start or manage computer systems, devices or applications; operator mode software is a human-computer interaction interface software for operators; maintenance mode software is a software tool used for system or equipment maintenance; download mode software is a software tool used to transfer programming, configuration or update data from a host computer (such as an engineer station or an operator station) to field devices or controllers; common library software is a software component or framework that shares data and functions between multiple applications, systems or platforms.

[0077] The SCID300 hardware in the SCID300 system includes multiple components such as processors, memory, storage devices, network structures, etc.; the SCID300 hardware is responsible for executing various functions and tasks of the core software.

[0078] NM197 timing device, namely NM197 timing hub, is a hardware system clock timing device used to calibrate the relative clock deviation between servers, operation stations, control stations and I / O modules in process control systems. NM197 timing device is a high-precision and high-reliability time synchronization device. By receiving and processing time signals from high-precision time sources (such as GPS, Beidou and other satellite navigation systems), NM197 timing device can achieve precise adjustment of the calibrated clock, thereby meeting the high requirements of time synchronization in various application scenarios.

[0079] The NM197 timing device in the present application periodically and synchronously sends timing data to each target device via the RS485 interface.

[0080] Figure 4 A flowchart of a NM197 time calibration device performing time calibration on a SCID300 control station is provided in an embodiment of the present application. Figure 4 The executive subject is the SCID300 control station. Figure 4 As shown, the flow chart of time correction in this application includes:

[0081] S401, determining whether the time calibration data sent by the NM197 time calibration device is received, parsing the received time calibration data to obtain a reference time.

[0082] The system software of the SCID300 control station is used to receive the time calibration data sent by the NM197 time calibration device, and parse the received time calibration data to obtain the reference time.

[0083] If the SCID300 control station successfully receives the time calibration data sent by the NM197 time calibration device within the preset second time period mentioned in the above embodiment, and successfully parses the received time calibration data to obtain the reference time, then enter S402;

[0084] If the SCID 300 control station fails to receive the time calibration data within the preset time period, and / or fails to successfully parse the time calibration data after receiving it, the process proceeds to S407.

[0085] S402, saving the reference time, and determining whether the time interval between the current time and the previous time correction reaches a preset time interval.

[0086] The preset time interval may be one minute, that is, after saving the reference time, SCID300 may determine whether the time interval between the current time and the previous time correction reaches one minute; if it reaches one minute, enter S403; if it does not reach one minute, return to S401.

[0087] S403, obtaining the system time of the SCID300 control station.

[0088] As described in the above-mentioned embodiment, the time interval between the moment of acquiring the system time and the moment of parsing the reference time is less than the preset second value; this can enhance the real-time performance of the system and improve the accuracy of time synchronization.

[0089] S404: Determine whether the time interval between the reference time and the system time is greater than a preset first value.

[0090] The first value in the present application may be one second. If the time interval between the reference time and the system time is greater than one second, proceed to S405; otherwise, return to S401.

[0091] S405, correcting the system time of the SCID300 control station based on the reference time.

[0092] That is, set the system time of the SCID300 control station as the reference time.

[0093] S406, determining whether the system time of the SCID300 control station is successfully set as the reference time.

[0094] If the setting is successful, return to S401; otherwise, go to S407.

[0095] S407, record in the exception log.

[0096] Exemplarily, the process of time correction of the SCID300 control station by the NM197 time correction device can be summarized as follows: the NM197 time correction device sends time correction data to each SCID300 controller once per second, and the system software in the SCID300 controller receives the time correction data in real time, and parses the time correction data to obtain the reference time; every minute, the operator simulation software will determine whether the difference between the system time of the SCID300 controller and the reference time exceeds one second. Once it is found that the time difference exceeds one second, the system software of the SCID300 controller will automatically correct the system time to the reference time; if the SCID300 controller fails to receive the time correction data for a long time or an error occurs during the parsing process, the SCID300 controller will automatically record an abnormal log to facilitate subsequent troubleshooting.

[0097] In summary, the present application discloses a time correction method, including: the target device parses the received time correction data to obtain the reference time; after obtaining the reference time, the target device obtains the system time of the embedded operating system in the target device; the target device corrects the system time of the embedded operating system in the target device based on the reference time. The target device in the present application is any one of the multiple devices in the distributed control system of the nuclear power plant that are equipped with the embedded operating system.

[0098] Figure 4 The time correction method shown in effectively avoids the problem of insufficient precision caused by manual time correction, significantly improves the efficiency of time synchronization, and thus ensures the accuracy of data recording and the precise execution of control operations. In addition, when the SCID300 control station does not receive time correction data for a long time or the parsing error occurs, the SCID300 control station will automatically record the abnormal log to facilitate subsequent maintenance and troubleshooting, significantly improve the reliability of the system, and ensure the stability of the time synchronization process.

[0099] Further, Figure 4 The time correction method shown in avoids the potential safety hazards of using network-based universal time synchronization protocols such as NTP; the use of RS485 communication reduces the risk of network attacks. In addition, the NM197 time calibration device performs time synchronization through an independent physical connection, ensuring the security of the system and meeting the information security requirements of safety-level embedded software for nuclear power plants.

[0100] Based on the time correction method disclosed in the aforementioned embodiment, the present application also discloses a time correction device. Figure 5 A schematic diagram of the structure of a time correction device provided in an embodiment of the present application. Figure 5 As shown, the time correction device 500 disclosed in the present application includes:

[0101] The reference time acquisition device 501 is used for the target device to parse the received time calibration data to obtain the reference time; the time calibration data is data containing a time point sent by the time calibration device; the target device is a device installed with an embedded operating system in the distributed control system of the nuclear power plant; the time calibration device synchronously sends the time calibration data to each of the target devices in the distributed control system;

[0102] The time correction device 502 is used for the target device to correct the system time of the target device based on the reference time.

[0103] In an optional implementation, the time correction device 502 includes:

[0104] A time interval determination unit, used to determine whether the time interval between the reference time and the system time is greater than a preset first value; and whether the time interval between the acquisition moment of the system time and the moment of parsing the reference time is less than a preset second value;

[0105] A first time correction unit, configured to correct the system time to the reference time if the time interval between the reference time and the system time is greater than or equal to the preset first value;

[0106] The second time correction unit is used to maintain the system time unchanged if the time interval between the reference time and the system time is less than the preset first value.

[0107] In an optional implementation, the time interval determination unit includes:

[0108] The time interval determination subunit is used to determine whether the time interval between the reference time and the system time is greater than a preset first value at every preset first time period.

[0109] Based on the time correction method and system provided in the aforementioned embodiments, the present application also provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements some or all of the steps in the aforementioned time correction method.

[0110] It should be noted that each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The system embodiment described above is merely schematic, in which the units described as separate components may or may not be physically separated, and the components indicated as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0111] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A time correction method, characterized in that: The method comprises: The target device parses the received time calibration data to obtain a reference time; the time calibration data is data containing a time point sent by the time calibration device; the target device is a device installed with an embedded operating system in a distributed control system of a nuclear power plant; the time calibration device synchronously sends the time calibration data to each of the target devices in the distributed control system; The target device corrects the system time of the target device based on the reference time.

2. The method according to claim 1, characterized in that The target device corrects the system time of the target device based on the reference time, including: Determine whether the time interval between the reference time and the system time is greater than a preset first value; and the time interval between the time when the system time is acquired and the time when the reference time is obtained by parsing is less than a preset second value; If the time interval between the reference time and the system time is greater than or equal to the preset first value, correcting the system time to the reference time; If the time interval between the reference time and the system time is smaller than the preset first value, the system time is maintained unchanged.

3. The method according to claim 2, characterized in that The determining whether the time interval between the reference time and the system time is greater than a preset first value includes: At every preset first time period, it is determined whether the time interval between the reference time and the system time is greater than a preset first value.

4. The method according to claim 3, characterized in that The timing device periodically and synchronously sends the timing data to each of the target devices in the distributed control system.

5. The method according to any one of claims 1 to 4, characterized in that The target device is a SCID300 control station.

6. The method according to any one of claims 1 to 4, characterized in that The time calibration device is a NM197 time calibration device.

7. The method according to any one of claims 1 to 4, characterized in that The timing device is connected to each of the target devices through an RS485 interface.

8. The method according to any one of claims 1 to 4, characterized in that Also includes: Recording information that the calibration data has not been received within a preset second time period in an abnormality log; And / or, error information generated by parsing the correction data is recorded in the exception log.

9. A time correction system, characterized in that: The system includes a time calibration device and multiple target devices; the target devices are devices installed with an embedded operating system in a distributed control system of a nuclear power plant; The timing device is used to synchronously send timing data to each target device in the distributed control system; the timing data is data containing a time point; The target device is used to parse the received time calibration data to obtain a reference time; The system time of the target device is corrected based on the reference time.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method described in any one of claims 1 to 8 are implemented.

Citation Information

Cited By

  • Equipment time correction method and device, equipment, storage medium and program product

    CN122044943A

  • Equipment time calibration methods, devices, equipment, storage media and program products

    CN122044943B