CN217279355U - Redundant time synchronization system for hydroelectric PLC - Google Patents

Redundant time synchronization system for hydroelectric PLC Download PDF

Info

Publication number
CN217279355U
CN217279355U CN202221246504.8U CN202221246504U CN217279355U CN 217279355 U CN217279355 U CN 217279355U CN 202221246504 U CN202221246504 U CN 202221246504U CN 217279355 U CN217279355 U CN 217279355U
Authority
CN
China
Prior art keywords
time
plc
tick
sntp
time synchronization
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202221246504.8U
Other languages
Chinese (zh)
Inventor
郗发刚
郑智燊
张齐
张永进
陈映喜
曾卫东
王宾
管磊
张军
王鑫
王言国
杨伟
罗明
潘天航
董顺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NR Engineering Co Ltd
Xian Thermal Power Research Institute Co Ltd
Huaneng Lancang River Hydropower Co Ltd
Original Assignee
NR Engineering Co Ltd
Xian Thermal Power Research Institute Co Ltd
Huaneng Lancang River Hydropower Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NR Engineering Co Ltd, Xian Thermal Power Research Institute Co Ltd, Huaneng Lancang River Hydropower Co Ltd filed Critical NR Engineering Co Ltd
Priority to CN202221246504.8U priority Critical patent/CN217279355U/en
Application granted granted Critical
Publication of CN217279355U publication Critical patent/CN217279355U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Electric Clocks (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

The utility model discloses a redundant time to time system for water and electricity PLC, including GPS time to device: the plurality of synchronized PLCs are connected with the GPS time synchronization device, and are also connected with the first port of the switch; the SNTP time synchronization server is connected with a second port of the switch; the GPS time synchronization device is used for periodically sending a B code time synchronization signal to each time synchronized PLC; the SNTP time synchronization server is used for periodically sending SNTP time synchronization messages to each time-synchronized PLC through the switch; the timed PLC is used for receiving and analyzing the B code time tick signal or the SNTP time tick message to obtain a time tick result; the utility model combines the soft and hard time setting modes, and has high precision and reliability of time setting results; the B code time tick signal and the SNTP time tick message do not interfere with each other in the transmission process, the system robustness is improved, and the reliability and the stability of the PLC pair are ensured.

Description

Redundant time synchronization system for hydroelectric PLC
Technical Field
The utility model belongs to the technical field of the time service of time-consuming equipment, in particular to redundancy to time system for water and electricity PLC.
Background
The system alarm of PLC, SOE sequence accident record and log time mark in PLC in the water and electricity monitoring system all need to have correct time stamp in the PLC and between the PLC, if have time error in the PLC or between the PLC, then can cause above-mentioned abnormal function, and then influence the reliability and the stability of PLC function.
At present, a GPS time service and synchronization mode is mostly adopted in hydroelectric PLC; the GPS time service and time setting mode comprises pulse time setting and soft time setting; the soft time pair adopts a communication message mode, transmits complete time including year, month, day, time, minute, second and millisecond, has inherent propagation delay error, and cannot meet the requirement on occasions with higher precision requirement.
SUMMERY OF THE UTILITY MODEL
To the technical problem who exists among the prior art, the utility model provides a redundancy to time system for water and electricity PLC to current to time mode among the solution water and electricity PLC can't satisfy the technical problem of the requirement of water and electricity PLC's high time precision.
In order to achieve the above purpose, the utility model adopts the technical scheme that:
the utility model provides a time synchronization system for hydroelectric PLC, which comprises a GPS time synchronization device, an SNTP time synchronization server and an exchanger; the plurality of synchronized PLCs are connected with the GPS time synchronization device, and are also connected with the first port of the switch; the SNTP time synchronization server is connected with a second port of the switch;
the GPS time synchronization device is used for periodically sending a B code time synchronization signal to each time synchronized PLC;
the SNTP time synchronization server is used for periodically sending SNTP time synchronization messages to each time-synchronized PLC through the switch;
the timed PLC is used for receiving and analyzing the B code time tick signal or the SNTP time tick message to obtain a time tick result; and the time setting result is used for adjusting the system time and the time stamp of the time-set PLC.
Furthermore, the GPS time synchronization device accesses the SYNC time synchronization interface of the synchronized PLC through hard wiring.
Furthermore, the GPS time synchronization device is connected with the plurality of time synchronized PLCs in a serial manner.
Further, the switch is connected with an HMI network interface of the paired PLC.
Furthermore, the connection mode of the SNTP time synchronization server and the plurality of time synchronized PLCs through the switch is star connection.
Further, the timed PLC comprises a timestamp receiving module and a timestamp processing module;
the timestamp receiving module is used for receiving and forwarding the B code time tick signal or the SNTP time tick message to the timestamp processing module;
and the timestamp processing module is used for analyzing the B code time tick signal or the SNTP time tick message to obtain a time tick result.
Further, the system also comprises a background monitoring system; the background monitoring system is connected with a third port of the switch; and the background monitoring system is used for generating a time setting abnormal signal according to the time setting result and displaying the time setting abnormal signal.
Furthermore, the background monitoring system is connected with the plurality of synchronized PLCs in a star connection mode through the exchanger.
Compared with the prior art, the beneficial effects of the utility model are that:
the utility model provides a redundant time tick system for water and electricity PLC, link to each other GPS time tick device and time tick PLC, link to each other SNTP time tick server and time tick PLC through the switch, utilize the B sign indicating number time tick mode that GPS time tick device provided as the hard time tick mode, utilize the time tick mode based on SNTP agreement that SNTP time tick server provided as the soft time tick mode; the accuracy and the reliability of the time setting result are improved by combining the soft and hard time setting modes; the soft and hard time synchronization mode is used for connecting the synchronized PLC through different interface modes, and the B code time synchronization signal and the SNTP time synchronization message are not interfered with each other in the transmission process, so that the system robustness is improved, and the reliability and the stability of the PLC pair are ensured.
Furthermore, by arranging the background monitoring system, the background monitoring system is utilized to generate and display the time setting abnormal signal according to the time setting result, and an abnormal information interaction mode is provided, so that the time setting abnormality is timely reminded for operators, and the interactivity of the time setting system is improved.
Drawings
Fig. 1 is a block diagram of a time synchronization system according to an embodiment;
fig. 2 is a block diagram of a synchronized PLC in the embodiment.
Wherein, 1GPS device, 2SNTP server, 3 switches, 4 backstage monitored control systems, 5 PLC by the time.
Detailed Description
In order to make the technical problem solved by the present invention, the technical solution and the beneficial effects thereof are more clearly understood, and the following detailed description is made for the present invention. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The utility model provides a redundant time synchronization system for hydroelectric PLC, which comprises a GPS time synchronization device 1, an SNTP time synchronization server 2, a switch 3 and a background monitoring system 4; the plurality of paired time PLC5 are connected with the GPS paired time device 1, and the plurality of paired time PLC5 are also connected with the first port of the switch 3; the SNTP time setting server 2 is connected with a second port of the switch 3; the background monitoring system 4 is connected with the third port of the switch 3.
In the utility model, the synchronized PLC5 comprises a SYNC time synchronization interface, an HMI network interface, a timestamp receiving module and a timestamp processing module; the GPS time synchronization device 1 is accessed to a SYNC time synchronization interface of the time synchronized PLC5 through hard wiring; the first port of the switch 3 is connected with an HMI network interface of the paired PLC 5; the GPS time synchronization device 1 is connected with a plurality of time synchronized PLCs 5 in a serial manner; the SNTP time synchronization server 2 is connected with the plurality of time synchronized PLCs in a star-shaped manner through the switch 3; the background monitoring system 4 is connected with the paired PLCs 5 in a star-type manner through the switch 3.
The GPS time tick device 1 is used for periodically sending a B code time tick signal to each time tick PLC 5; the SNTP time synchronization server 2 is used for periodically sending SNTP time synchronization messages to each time-synchronized PLC5 through the switch 3; specifically, the timestamp receiving module in the synchronized PLC5 is configured to receive and forward the B-code time tick signal or the SNTP time tick message to the timestamp processing module in the synchronized PLC 5; the timestamp processing module is configured to analyze the B-code time tick signal or the SNTP time tick message to obtain a time tick result; wherein the time setting result is used for adjusting the system time and the time stamp of the time-set PLC 5; and the background monitoring system is used for acquiring the time setting result through the switch 3, generating a time setting abnormal signal according to the time setting result and displaying the time setting abnormal signal.
The working principle is as follows:
the redundant time synchronization system for the hydroelectric PLC realizes a B code time synchronization mode through a B code time synchronization signal provided by the GPS time synchronization device, and is used as a hard time synchronization mode; providing SNTP time setting messages by using an SNTP time setting server to realize a time setting mode based on an SNTP protocol as a soft time setting mode;
when the GPS time tick device is normally connected with the time tick PLC and a timestamp receiving module in the time tick PLC can normally receive the B code time tick signal periodically sent by the GPS time tick device, the GPS time tick device is used for time tick of the time tick PLC; otherwise, the time synchronization PLC is time synchronized by the SNTP time synchronization server.
Wherein, utilize GPS to carry out the process of time of device pair PLC when being timed, specifically as follows:
the GPS time synchronization device is used for periodically sending B-code time synchronization signals to each time synchronized PLC, and a timestamp receiving module in the time synchronized PLC forwards the B-code time synchronization signals to a timestamp processing module in the time synchronized PLC; and the timestamp processing module analyzes the B code time tick signal to obtain a time tick result.
The process of using the SNTP time synchronization server to time the synchronized PLC is as follows:
when time setting operation is carried out for the first time, the time-setting PLC sends a time setting request packet to the SNTP time setting server; the SNTP time synchronization server receives and responds to the time synchronization request packet and sends an SNTP time synchronization message to the switch; after the switch receives the SNTP time setting message, the switch forwards the SNTP time setting message to a timestamp receiving module in the time-set PLC; a timestamp receiving module in the timed PLC and forwarding the SNTP time synchronization message to a timestamp processing module in the timed PLC; the time stamp processing module analyzes the SNTP time synchronization message to obtain a time synchronization result; after the first time setting operation, the SNTP time setting server sends SNTP time setting messages to the switch at preset time intervals, and then the operation is repeated to finish time setting.
If the hard time synchronization mode and the soft time synchronization mode are both in time synchronization failure states, the time synchronization result output by the timestamp processing module is abnormal; and the background result acquires a time setting result through the exchanger, generates a time setting abnormal signal according to the time setting result and displays the time setting abnormal signal.
Wherein, the hard time synchronization mode is a time synchronization failure state specifically as follows: the GPS time synchronization device is disconnected from the time-synchronized PLC, or a timestamp receiving module in the time-synchronized PLC cannot normally receive the B-code time synchronization signal periodically sent by the GPS time synchronization device; the soft time synchronization mode is a time synchronization failure state specifically as follows: when the time-tick PLC sends a time-tick request packet to the SNTP time-tick server, the SNTP time-tick server does not return an SNTP time-tick message; or the interval time of two adjacent SNTP time setting messages is greater than a preset interval threshold, and the soft time setting mode is a time setting failure state.
The utility model discloses a redundant time synchronization system for water and electricity PLC, the time synchronized PLC is respectively connected with the GPS time synchronization device and the switch; the SNTP time synchronization server and the background monitoring system are connected with the switch; the GPS time synchronization device and the plurality of time synchronized PLCs are in a serial connection mode, the serial connection mode is simple in configuration process, and meanwhile, the communication transmission speed is high; the GPS time synchronization device is accessed to a SYNC time synchronization interface of the PLC to be time synchronized through a hard wire, and the GPS time synchronization device carries out time synchronization operation by utilizing a B code time synchronization mode; the HMI network interface of the timed PLC in the same domain is connected with the switch, and the SNTP timing server is connected with the switch; after an HMI network interface of the timed PLC receives an SNTP time setting message, the SNTP time setting message is forwarded to a timestamp receiving module of the timed PLC; and when the hard time synchronization mode and the soft time synchronization mode both fail, the background monitoring system generates a time synchronization abnormal signal according to the time synchronization result and displays the time synchronization abnormal signal.
In the utility model, the GPS time synchronization device is connected with the time-synchronized PLC, the SNTP time synchronization server is connected with the time-synchronized PLC through the switch, the GPS time synchronization device is used for realizing a hard time synchronization mode, and the SNTP time synchronization server is used for realizing a soft time synchronization mode; the time synchronization reliability is improved by combining hard time synchronization and soft time synchronization, and the reliability and stability of the synchronized PLC are further promoted; the method mainly adopts a B code time setting mode, and has high time setting precision; the SNTP time setting mode is taken as an auxiliary mode, and when the B code time setting is abnormal, the SNTP time setting can be quickly selected; meanwhile, the two time synchronization modes are accessed into the time-synchronized PLC through different ports, so that the two time synchronization modes do not interfere with each other in the transmission process, and the system robustness is improved; when the soft time synchronization mode and the hard time synchronization mode are both abnormal, the abnormal time synchronization signal can be sent to the background monitoring system, engineering personnel can be timely reminded to pay attention to the time synchronization problem by the interaction method, and the interactivity of the soft and hard time synchronization system is improved.
Examples
Take the PLC time setting process in a certain hydropower monitoring system as an example.
As shown in fig. 1-2, the present embodiment provides a redundant time synchronization system for a hydroelectric PLC, which includes a GPS time synchronization device 1, an SNTP time synchronization server 2, an exchanger 3, and a background monitoring system 4; the timed PLC5 is respectively connected with the GPS time synchronization device 1 and the switch 3; the SNTP server 2 is connected with the switch 3, and the background monitoring system 4 is connected with the switch 3; the synchronized PLC5 includes a timestamp receiving module, a timestamp processing module, a SYNC time synchronization interface for receiving a time synchronization signal, and an HMI network interface for time synchronization packets.
In this embodiment, the GPS time synchronization device 1 is connected to the plurality of synchronized PLCs 5 through hard wires, and the connection mode is a serial connection mode; the SNTP time synchronization server 2 and the background monitoring system 4 are connected with a time synchronized PLC5 through a switch 3, and the network connection mode is a star type; the GPS time tick device 1 accesses the SYNC time tick interface of the time tick PLC5 through hard wiring, and periodically sends a B code time tick signal to the SYNC time tick interface after successful access; the B code time tick signal comprises a plurality of B code elements; the switch 3 is connected with an HMI network interface of the paired PLC5 in the same domain through a network cable; the SNTP time synchronization server 2 is connected with the switch 3, and the switch 3 forwards the SNTP time synchronization message to a time-synchronized PLC through a network in the domain; after the SNTP time setting message sent by the network in the domain is forwarded to an HMI (human machine interface) network interface of the timed PLC5, the HMI network interface forwards the SNTP time setting message to a time stamp processing module in the timed PLC 5; the background monitoring system 4 is connected with the switch 3 to receive a time setting abnormal signal sent by the synchronized PLC through the switch; the timestamp processing module sends the abnormal time setting signal to the switch through the HMI, and the switch sends the abnormal time setting signal to the background monitoring system; and the background monitoring system displays the information in real time on a monitoring interface after receiving the time setting abnormal signal.
In this embodiment, the hard time synchronization of the B code and the soft time synchronization of the SNTP are combined, when the GPS time synchronization device is normally connected to the synchronized PLC and the timestamp receiving module can normally receive the B code time synchronization signal, the timestamp processing module in the synchronized PLC mainly analyzes the B code time synchronization signal, otherwise, the timestamp processing module mainly analyzes the SNTP time synchronization packet.
When the SNTP time synchronization message is mainly used, the time-synchronized PLC firstly requests an SNTP time synchronization packet from an SNTP time synchronization server, the SNTP time synchronization server sends the SNTP time synchronization packet to the switch after receiving the time synchronization request packet, and the switch forwards the SNTP time synchronization packet to the time-synchronized PLC; then, the SNTP time synchronization server actively sends SNTP time synchronization packets to the switch at intervals; when the GPS time setting device is disconnected from the time-set PLC or the time stamp receiving module cannot normally receive the B-code time setting signal, the time-set PLC considers that the hard time setting fails.
When the time-tick PLC sends a request SNTP time-tick packet to the SNTP server, and the SNTP server does not return the SNTP time-tick packet or the time interval between two SNTP time-tick packets is too long, the time-tick PLC considers that soft time tick fails; and if the hard time synchronization and the soft time synchronization fail to be performed, a timestamp processing module in the timed PLC reports a time synchronization abnormal signal.
In this embodiment, the timed PLC is a PLC in the hydropower monitoring system, and the background monitoring system is disposed in the hydropower monitoring system.
The above embodiment is only one of the embodiments that can realize the technical solution of the present invention, and the scope of the present invention is not limited by the embodiment, and includes any changes, substitutions and other embodiments that can be easily conceived by those skilled in the art within the technical scope of the present invention.

Claims (8)

1. A redundant time synchronization system for a hydroelectric PLC is characterized by comprising a GPS time synchronization device (1), an SNTP time synchronization server (2) and an exchanger (3); the plurality of synchronized PLCs (5) are connected with the GPS time synchronization device (1), and the plurality of synchronized PLCs (5) are also connected with the first ports of the switch (3); the SNTP time synchronization server (2) is connected with a second port of the switch (3);
the GPS time tick device (1) is used for periodically sending a B code time tick signal to each time tick PLC (5);
the SNTP time synchronization server (2) is used for periodically sending SNTP time synchronization messages to each time-synchronized PLC (5) through the switch (3);
the timed PLC (5) is used for receiving and analyzing the B code time tick signal or the SNTP time tick message to obtain a time tick result; and the time setting result is used for adjusting the system time and the time stamp of the time-set PLC (5).
2. A redundant time tick system for a hydroelectric PLC according to claim 1 characterised in that the GPS time tick device (1) is hard wired into the SYNC time tick interface of the timed PLC (5).
3. The redundant time synchronization system for hydroelectric PLC according to claim 1, characterized in that the GPS time synchronization device (1) is connected with a plurality of time synchronized PLC (5) in series.
4. A redundant timing system for hydroelectric PLC according to claim 1, wherein the exchange (3) is connected to the HMI network interface of the timed PLC (5).
5. The redundant time synchronization system for hydroelectric PLC according to claim 1, characterized in that said SNTP time synchronization server (2) is connected with several time synchronized PLC in star type through switch (3).
6. A redundant time tick system for a hydroelectric PLC according to claim 1 wherein the time tick PLC (5) comprises a time stamp receiving module, a time stamp processing module;
the timestamp receiving module is used for receiving and forwarding the B code time tick signal or the SNTP time tick message to the timestamp processing module;
and the timestamp processing module is used for analyzing the B code time tick signal or the SNTP time tick message to obtain a time tick result.
7. A redundant timing system for hydroelectric PLC according to claim 6 further comprising a background monitoring system (4); the background monitoring system (4) is connected with a third port of the switch (3);
and the background monitoring system (4) is used for generating a time setting abnormal signal according to the time setting result and displaying the time setting abnormal signal.
8. The redundant time synchronization system for the hydroelectric PLC, according to claim 7, characterized in that the background monitoring system (4) is connected with the plurality of time synchronized PLCs (5) in a star-type manner through the switch (3).
CN202221246504.8U 2022-05-23 2022-05-23 Redundant time synchronization system for hydroelectric PLC Active CN217279355U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202221246504.8U CN217279355U (en) 2022-05-23 2022-05-23 Redundant time synchronization system for hydroelectric PLC

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202221246504.8U CN217279355U (en) 2022-05-23 2022-05-23 Redundant time synchronization system for hydroelectric PLC

Publications (1)

Publication Number Publication Date
CN217279355U true CN217279355U (en) 2022-08-23

Family

ID=82887230

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202221246504.8U Active CN217279355U (en) 2022-05-23 2022-05-23 Redundant time synchronization system for hydroelectric PLC

Country Status (1)

Country Link
CN (1) CN217279355U (en)

Similar Documents

Publication Publication Date Title
CN100414466C (en) Multi-event sequential recording and testing system
CN106451763B (en) A kind of intelligent substation station level bus network system without global synchronization system
CN101645869B (en) Switch with submicrosecond clock and switching processing method thereof
CN103715766B (en) A kind of looped network decentralized bus protection synchronous method
CN103197652B (en) Profibus communication control device for heat-engine plant integrated system
CN101882369B (en) Remote real-time monitoring system for electric power system client side meter
CN102514576B (en) On-board intelligent equipment of high-speed train
CN101316051A (en) Internetwork communication log analysis system and method based on IEC61850 transforming plant automatization system
CN102035257A (en) Panoramic data analysis scheme of intelligent transformer substation
CN109888922B (en) Fault recording device, decentralized fault recording system and method
CN108616111A (en) A kind of multiterminal T connection electric transmission line optical fibre differential protection methods synchronized based on interpolation
CN111698052B (en) Homologous time synchronization system crossing power safety zone
CN110943881A (en) Test system and method based on in-situ protection industrial debugging
CN108957231A (en) A kind of method of distributed system and its host and handset data interaction
CN217279355U (en) Redundant time synchronization system for hydroelectric PLC
CN111030910A (en) Method and system for monitoring communication state of ring network node, measurement and control device and local module
CN106656395B (en) Based on the improved power grid time synchronized measurement system of self study and method
CN109005477A (en) Railway signal digitizes trackside secure communication device and method
CN103986601B (en) A kind of message transmissions time delay acquisition methods and device
CN111601189B (en) Accurate time synchronization method and system applied to cable distance measuring device
CN103873178A (en) Concentrated inspection method for timing error of wide-area time synchronization system
CN206432787U (en) Intelligent relay protection device information transfer time automatic checkout system
CN112202520A (en) Longitudinal differential protection testing device based on 5G network time synchronization and application method thereof
CN207198564U (en) The redundancy timing device of Turbine Governor System
CN102928688A (en) Method for synchronously testing automatic isolation of feeder fault from multiple points

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant