A method for checking IRIG-B signals in nuclear power DCS systems
By reading and decoding the IRIG-B clock signal of the nuclear power DCS system, visual reading and confirmation of the IRIG-B signal is achieved, solving the problem of the lack of reliable detection methods in nuclear power plants, and improving the efficiency and accuracy of clock fault diagnosis .
Patent Information
- Application Number
- CN202110437336.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-22
- Publication Date
- 2025-02-18
- Estimated Expiration
- 2041-04-22
Smart Images

Figure CN115237003B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of nuclear power DCS system maintenance, and in particular relates to an IRIG-B signal inspection method for a nuclear power DCS system. Background Art
[0002] Since the beginning of the 21st century, with the development and progress of science and technology, nuclear power DCS technology has begun to be tried in domestic nuclear power plants. The huge DCS system relies on IRIG-B timing to synchronize the clocks between various IO modules, workstations, and servers to ensure the synchronization of signal transmission between various IO modules, workstations, and servers. This poses a challenge to the stability of the clock module. At present, domestic nuclear power plants have no reliable means to detect the IRIG-B clock signal of the DCS system. There is an urgent need for a method to improve the IRIG-B signal detection method of the nuclear power DCS system to improve the efficiency of DCS maintenance personnel in diagnosing clock failures. Summary of the invention
[0003] The object of the present invention is to provide a nuclear power DCS system IRIG-B signal inspection method, which realizes visual reading and confirmation of IRIG-B signal by reading IRIG-B digital signal of upstream clock of ADACS_N DCS CFR server, decoding and displaying.
[0004] In order to achieve the above object, the technical solution adopted by the present invention is:
[0005] A method for checking IRIG-B signals of a nuclear power DCS system.
[0006] S1: Read the IRIG-B digital pulse signal of the upstream clock of the DCS CFR server;
[0007] S2: Display the read IRIG-B digital pulse signal in real time;
[0008] S3: Record the 2ms pulse as 0; record the 5ms pulse as 1; record the 8ms pulse as a position mark, record it into the variable flag, and set 1 on flag;
[0009] S4: Store the signal read in S1 in the pointer named time_pre in the order of the first address;
[0010] S5: Identify two consecutive 0x80s in time_pre, and convert the 8-digit number of the first byte after the second 0x80 into time "seconds" according to the IRIG-B code specification, and enter it into the variable second;
[0011] S6: Identify two consecutive 0x80s in time_pre, and convert the 8-digit number of the second byte after the second 0x80 into the time "minute" according to the IRIG-B code specification, and enter it into the variable minute;
[0012] S7: Identify two consecutive 0x80s in time_pre, and convert the 8-digit number of the third byte after the second 0x80 into the time "hour" according to the IRIG-B code specification, and enter it into the variable hour;
[0013] S8: Identify two consecutive 0x80s in time_pre, and convert the 16-digit numbers of the fourth and fifth bytes that appear after the second 0x80 into the time "day" according to the IRIG-B code specification, and enter them into the variable day_pre;
[0014] S9: Identify two consecutive 0x80s in time_pre, and convert the 8-digit number of the sixth byte after the second 0x80 into the time "year" according to the IRIG-B code specification, and enter it into the variable year, and add 2000 to the existing value;
[0015] S10: Check whether it is a leap year according to the value of the variable year, and convert the value of the variable day_pre into month and day, and record them in variables month and day respectively;
[0016] S11: send the variable year, the character "-", the variable month, the character "-", the variable day, the character "-", the variable hour, the character ":", the variable minute, the character ":", and the variable second to the variable display;
[0017] S12: Display the variable;
[0018] S13: Send data of the variable display through the microcontroller.
[0019] The S1 described is to use a single chip microcomputer to read the IRIG-B digital pulse signal of the upstream clock of the DCS CFR server.
[0020] The S1 described is to use the Ti F2812 single chip microcomputer to read the IRIG-B digital pulse signal of the upstream clock of the DCS CFR server.
[0021] The S1 described uses the P1.1 pin of the Ti F2812 microcontroller to read the IRIG-B digital pulse signal of the upstream clock of the DCS CFR server.
[0022] The S2 described above sends the read IRIG-B digital pulse signal to the liquid crystal for real-time display.
[0023] The S12 described above: sends the variable display to the LCD for display.
[0024] The S12 described above: sends the variable display to the LCD for display via the single chip microcomputer.
[0025] The S12 described above: sends the variable display to the LCD display through the IO port of the Ti F2812 microcontroller.
[0026] The S12 described above: sends the variable display to the LCD 1602 for display through the IO port of the Ti F2812 single chip microcomputer.
[0027] The S13 described: sends data of the variable display through the Ti F2812 single-chip microcomputer serial port.
[0028] The beneficial effects achieved by the present invention are:
[0029] The invention can be used to quickly locate the integrity of the IRIG-B code timing signal channel of the nuclear power DCS system. It saves at least 2 hours compared to the method of troubleshooting clock failures by replacing IO modules, workstations, and servers, which is conducive to ensuring the stable operation of the nuclear power plant DCS system clock and shortening the clock failure time. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 The present invention is a flow chart of a method for checking IRIG-B signals in a nuclear power DCS system. DETAILED DESCRIPTION
[0031] The present invention is described in detail below with reference to the accompanying drawings and specific embodiments.
[0032] Glossary:
[0033] ADACS_N:Advanced data processing and control system for nuclear applications Atos Worldgrid product
[0034] CFR: ADACS_N Front-end processing server interfacing Level 1(I / Aseries)and NC Level 2(KIC)Computerized system
[0035] A method for checking IRIG-B signals of a nuclear power DCS system includes the following steps:
[0036] S1: Use the P1.1 pin of the Ti F2812 microcontroller to read the IRIG-B digital pulse signal of the upstream clock of the DCS CFR server.
[0037] S2: Send the read IRIG-B digital pulse signal to the LCD for real-time display.
[0038] S3: Read the pulse signal from the P1.1 pin, record the 2ms pulse as 0, record the 5ms pulse as 1, record the 8ms pulse as a position mark, record it into the variable flag, and set the flag to 1.
[0039] S4: Store the signal read in S1 in the pointer with the first address named time_pre in chronological order.
[0040] S5: Identify two consecutive 0x80s in time_pre, and convert the 8-digit number of the first byte after the second 0x80 into time "seconds" according to the IRIG-B code specification, and enter it into the variable second.
[0041] S6: Identify two consecutive 0x80s in time_pre, and convert the 8-digit number of the second byte after the second 0x80 into the time "minute" according to the IRIG-B code specification, and enter it into the variable minute.
[0042] S7: Identify two consecutive 0x80s in time_pre, and convert the 8-digit number of the third byte after the second 0x80 into the time "hour" according to the IRIG-B code specification, and enter it into the variable hour.
[0043] S8: Identify two consecutive occurrences of 0x80 in time_pre, and convert the 16-digit numbers of the 4th and 5th bytes that appear after the second 0x80 into the time "day" according to the IRIG-B code specification, and enter them into the variable day_pre.
[0044] S9: Identify two consecutive occurrences of 0x80 in time_pre, and convert the 8-digit number of the sixth byte that appears after the second 0x80 into the time "year" according to the IRIG-B code specification, and enter it into the variable year, and add 2000 to the existing value.
[0045] S10: Check whether it is a leap year according to the value of the variable year, and convert the value of the variable day_pre into month and day, and record them in variables month and day respectively.
[0046] S11: Send the variable year, the character “-”, the variable month, the character “-”, the variable day, the character “-”, the variable hour, the character “:”, the variable minute, the character “:”, and the variable second to the variable display.
[0047] S12: Send the variable display to LCD 1602 for display through the IO port of Ti F2812 microcontroller.
[0048] S13: Send data of the variable display through the serial port of the Ti F2812 microcontroller.
Claims
1. A method for checking IRIG-B signals of a nuclear power DCS system, characterized in that: S1: Read the IRIG-B digital pulse signal of the upstream clock of the DCS CFR server; S2: Display the read IRIG-B digital pulse signal in real time; S3: Record the 2ms pulse as 0; record the 5ms pulse as 1; record the 8ms pulse as a position mark, record it into the variable flag, and set 1 on flag; S4: Store the signal read in S1 in the pointer named time_pre in the order of the first address; S5: Identify two consecutive 0x80s in time_pre, and convert the 8-digit number of the first byte after the second 0x80 into time "seconds" according to the IRIG-B code specification, and enter it into the variable second; S6: Identify two consecutive 0x80s in time_pre, and convert the 8-digit number of the second byte after the second 0x80 into the time "minute" according to the IRIG-B code specification, and enter it into the variable minute; S7: Identify two consecutive 0x80s in time_pre, and convert the 8-digit number of the third byte after the second 0x80 into the time "hour" according to the IRIG-B code specification, and enter it into the variable hour; S8: Identify two consecutive 0x80s in time_pre, and convert the 16-digit numbers of the 4th and 5th bytes after the second 0x80 into the time "day" according to the IRIG-B code specification, and enter them into the variable day_pre; S9: Identify two consecutive 0x80s in time_pre, and convert the 8-digit number of the sixth byte after the second 0x80 into the time "year" according to the IRIG-B code specification, and enter it into the variable year, and add 2000 to the existing value; S10: Check whether it is a leap year according to the value of the variable year, and convert the value of the variable day_pre into month and day, and record them in variables month and day respectively; S11: send variable year, character "-", variable month, character "-", variable day, character "-", variable hour, character ":", variable minute, character ":", and variable second to variable display; S12: Display the variable; S13: Send data of the variable display through the microcontroller.
2. The method for checking IRIG-B signals of a nuclear power DCS system according to claim 1, characterized in that: The S1 described is to use a single chip microcomputer to read the IRIG-B digital pulse signal of the upstream clock of the DCS CFR server.
3. The method for checking IRIG-B signals of a nuclear power DCS system according to claim 2, characterized in that: The S1 described is to use the Ti F2812 single chip microcomputer to read the IRIG-B digital pulse signal of the upstream clock of the DCS CFR server.
4. The method for checking IRIG-B signals of a nuclear power DCS system according to claim 3 is characterized in that: The S1 described uses the P1.1 pin of the Ti F2812 microcontroller to read the IRIG-B digital pulse signal of the upstream clock of the DCS CFR server.
5. The method for checking IRIG-B signals of a nuclear power DCS system according to claim 1, characterized in that: The S2 described above sends the read IRIG-B digital pulse signal to the liquid crystal for real-time display.
6. The method for checking IRIG-B signals of a nuclear power DCS system according to claim 1, characterized in that: The S12 described above: sends the variable display to the LCD for display.
7. The method for checking IRIG-B signals of a nuclear power DCS system according to claim 6, characterized in that: The S12 described above: sends the variable display to the LCD for display via the single chip microcomputer.
8. The method for checking IRIG-B signals of a nuclear power DCS system according to claim 7, characterized in that: The S12 described above: sends the variable display to the LCD display through the IO port of the Ti F2812 microcontroller.
9. The method for checking IRIG-B signals of a nuclear power DCS system according to claim 8, characterized in that: The S12 described above: sends the variable display to the LCD 1602 for display through the IO port of the Ti F2812 single chip microcomputer.
10. The method for checking IRIG-B signals of a nuclear power DCS system according to claim 1, characterized in that: The S13 described: sends data of the variable display through the Ti F2812 single-chip microcomputer serial port.
Citation Information
Patent Citations
Implementing method of SCM system receiving IRIG-B code compare time signal
CN101251755A
DCS signal ineffectiveness processing method and system for nuclear power station
CN102081387A