CN102932132A - Time synchronization system based on multiple groups of redundancy controllers - Google Patents

Time synchronization system based on multiple groups of redundancy controllers Download PDF

Info

Publication number
CN102932132A
CN102932132A CN2012104301475A CN201210430147A CN102932132A CN 102932132 A CN102932132 A CN 102932132A CN 2012104301475 A CN2012104301475 A CN 2012104301475A CN 201210430147 A CN201210430147 A CN 201210430147A CN 102932132 A CN102932132 A CN 102932132A
Authority
CN
China
Prior art keywords
time
controller
master controller
server
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.)
Granted
Application number
CN2012104301475A
Other languages
Chinese (zh)
Other versions
CN102932132B (en
Inventor
杨春瑜
吴胜华
田海波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Guodian Nanzi 710086 Automation Co. Ltd.
Original Assignee
NANJING GUODIAN NANZI MEIZHUO CONTROL SYSTEM 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 NANJING GUODIAN NANZI MEIZHUO CONTROL SYSTEM CO Ltd filed Critical NANJING GUODIAN NANZI MEIZHUO CONTROL SYSTEM CO Ltd
Priority to CN201210430147.5A priority Critical patent/CN102932132B/en
Publication of CN102932132A publication Critical patent/CN102932132A/en
Application granted granted Critical
Publication of CN102932132B publication Critical patent/CN102932132B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)
  • Electric Clocks (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a time synchronization system based on multiple groups of redundancy controllers. The time synchronization system based on the multiple groups of redundancy controllers adopts a manner that a local time synchronization system which has a time correction function and multiple groups of time synchronization main controllers which carry out periodical time synchronization by adopting a global positioning system (GPS) are combined, and the local time synchronization system and the time synchronization main controllers are used for updating time periodically through the GPS, so that the disadvantages of slowness and poor accuracy of network time synchronization are made up, and a dedicated time synchronization line is not required; and due to the multiple groups of time synchronization main controllers, the redundancy function is realized, the stability of the system is guaranteed, the accuracy of a time synchronization function is improved, and the normal operation of the time synchronization system is guaranteed.

Description

A kind of based on many groups redundant manipulator to the time system
Technical field
The present invention relates to a kind of based on many groups redundant manipulator to the time system, belong to power domain.
Background technology
Scattered control system (DCS) requires the clock of each controller in the system to carry out synchronously with the resolution of Millisecond, can obtain so the also change information of tracer signal state, for accident analysis provides effective clue and evidence.
Redundant manipulator refers to concurrent working, pair of control device for subsequent use and that mutually detect each other, and in not normal when controller work exactly, the situation about going offline, spare controller will be taken over control work.
Time deviation between each controller is mainly caused by controller reference clock error and clock synchronous error.Usually the clock synchronous of controller has dual mode: a kind of is to send out synchronizing signal by an operator station (computer) through Ethernet to come the synchronously clock of all controllers, and this mode synchronization accuracy is generally in level second; Another kind is to come the synchronously clock of all controllers by special-purpose time standard device transmitted synchronizing signal, and the synchronization accuracy of this mode can be more than Microsecond grade.The first method of synchronization to the time slow, do not meet the requirement of application; The need of the second method of synchronization to the time special circuit, cost high.
Summary of the invention
Purpose: in order to overcome the deficiencies in the prior art, the invention provides and a kind ofly can realize full-automatic the detection, reduce the drug anaphylaxis testing cost a kind of based on many groups redundant manipulator to the time system.
Technical scheme: for solving the problems of the technologies described above, the technical solution used in the present invention is:
A kind of based on many groups redundant manipulator to the time system, it is characterized in that:
Comprise many group redundant manipulators, every group of redundant manipulator includes configuration identical master controller and preparation controller; Wherein the master controller of one group of redundant manipulator as to the time during server, other master controller and preparation controller as to the time client;
One end of described all master controllers and preparation controller interconnects by Ethernet, be used for being configured to transmitting to the time message LAN;
The other end of described all master controllers and preparation controller interconnects by hardwired, be used for will as to the time server the level signal line that produces of master controller receive the interrupt pin of other master controller and preparation controller, make time tag by hard-wired level signal, as to the time message the correction foundation.
When as to the time server master controller occur Time adjustment functionDuring the fault cisco unity malfunction, according to order, the master controller of next group in redundant manipulator switch to new to the time server, other master controller and preparation controller as to the time client.
When as to the time server master controller occur Beyond the time adjustment functionDuring fault, the preparation controller in the redundant manipulator and this master controller functional mode are changed mutually on the same group, on the same group the preparation controller in the redundant manipulator switch to new to the time server, other all master controllers and preparation controller as to the time client.
Also comprise centralized control system, be provided with the execution function logic block in described many group redundant manipulators, be provided with in the described centralized control system GPS to the time module, the GPS of described execution function logic block by Ethernet and centralized control system to the time module obtain alternately the gps time message, be used for upgrading to the time server time and synchronous time of other master controller and preparation controller.
Beneficial effect: provided by the invention a kind of based on many groups redundant manipulator to the time system, employing with the local of time debugging functions to the time system and many groups to the time master controller adopt global positioning system (GPS) regularly to the time mode that combines, by local to the time system and to the time master controller by the GPS regular update time, remedied network to the time slow, shortcoming that precision is inadequate, and do not need special-purpose to the time circuit; By many groups to the time master controller realized redundancy feature, guarantee Systems balanth, the accuracy of time adjustment function is provided, guaranteed to the time system normal operation.
Description of drawings
Fig. 1 is structural representation of the present invention.
Embodiment
Below in conjunction with accompanying drawing the present invention is further described.
As shown in Figure 1, for a kind of based on many groups redundant manipulator to the time system, comprise many group redundant manipulators, every group of redundant manipulator includes configuration identical master controller and preparation controller; Wherein the master controller of one group of redundant manipulator as to the time during server, other master controller and preparation controller as to the time client; One end of described all master controllers and preparation controller interconnects by Ethernet, be used for being configured to transmitting to the time message LAN; The other end of described all master controllers and preparation controller interconnects by hardwired, be used for will as to the time server the level signal line that produces of master controller receive the interrupt pin of other master controller and preparation controller, make time tag by hard-wired level signal, as to the time message the correction foundation.The other end of described all master controllers and preparation controller interconnects by hardwired, be used for will as to the time server the level signal line that produces of master controller receive the interrupt pin of other master controller and preparation controller, make time tag by hard-wired level signal, as to the time message the correction foundation.
When as to the time server master controller when time adjustment function fault cisco unity malfunction occurring, according to order, the master controller in next group redundant manipulator switch to new to the time server, other master controller and preparation controller as to the time client.When as to the time server master controller when fault beyond the time adjustment function occurring, preparation controller in the redundant manipulator and this master controller functional mode are changed mutually on the same group, on the same group the preparation controller in the redundant manipulator switch to new to the time server, other all master controllers and preparation controller as to the time client.Also comprise centralized control system, be provided with the execution function logic block in described many group redundant manipulators, be provided with in the described centralized control system GPS to the time module, the GPS of described execution function logic block by Ethernet and centralized control system to the time module obtain alternately the gps time message, be used for upgrading to the time server time and synchronous time of other master controller and preparation controller.
Employing with the local of time debugging functions to the time system and many groups to the time master controller adopt global positioning system (GPS) regularly to the time mode that combines:
With the local of time debugging functions to the time system
Local to the time system based on Ethernet, to the time server will to the time message be broadcast in the Ethernet, to the time client receive to the time message after, with local zone time be synchronized to the time server time.But, to the time message the defective that exist to postpone of sending and receiving, when to the time after server sends, need through certain hour, just meeting by to the time client arrive.This moment to the time server end time upgrade, and to the time time in the message be still the old time.If to the time client remove to upgrade local zone time with the time in this Geju City, will cause asynchronous.
For this defective, the local among the present invention to the time system adopt hardwired and Ethernet to realize.All controllers connect by Ethernet, consist of LAN, be used for transmission to the time message.Simultaneously all controllers are connected by hardwired, and this holding wire is received the interrupt pin of controller.By hard-wired level signal, make time tag, as to the time message the correction foundation.
Working method is as follows:
At first controller is configured to the time server or client.
As to the time server, whenever through one to the time cycle, will send a level signal by hardwired, then by Ethernet send to the time broadcast packet.The server time ' T (server time) ' that comprises this moment in the message of broadcast packet.
As to the time client, when receiving hard-wired level signal, will trigger interruption.In interrupt handling routine, record the level signal time of advent ' T (hardwired) '.Send level signal to the value that gets access to ' T (hardwired) ' from server, according to different operating system difference slightly, and this time is Microsecond grade, therefore can ignore when calculating.Afterwards to the time client awaits Ethernet to the time message, when receive to the time during message, record the message time of advent ' T (message) '.At this moment, the new Time Calculation formula of revised client is:
T (client time)=T (server time)+T (message)-T (hardwired);
To the time master controller standard time regularly be GPS to the time
By local to the time system, all controllers can be kept Milliseconds synchronously.And the fiducial time of standard, then need to by centralized control system (data acquisition and supervisor control) by GPS to the time module provide.
The working method of obtaining gps time is as follows:
To the time master controller obtain gps time by carrying out function logic block, this logical block and centralized control system carry out getting access to the gps time message by Ethernet alternately, thus renewal to the time master controller time, and then synchronous time of other controller.
Thus, by local to the time system and to the time master controller by the GPS regular update time, remedied network to the time slow, the shortcoming that precision is inadequate.
Many groups to the time master controller redundancy feature
Local to the time system in, when to the time master controller can not work the time, can cause other controller to the time can not work.At this, the present invention propose with many groups to the time master controller realize redundancy feature.
Working method and troubleshooting:
The many groups of configuration redundant manipulators be main to the time server, every group of redundant manipulator includes configuration identical master controller and preparation controller; Wherein the master controller of one group of redundant manipulator as to the time during server, other master controller and preparation controller as to the time client; When as to the time server master controller occur to the time during fault cisco unity malfunction, according to order, the master controller in the next redundant manipulator switch to new to the time server, other master controller and preparation controller as to the time client.
When redundancy to the time master server when being out of order, after waiting for a time out period, the back to the time master server will open time adjustment function, circulate with this and analogize.For instance, if having 3 pairs of redundant manipulators be configured to main to the time server: main 1, main 2, main 3.During main 1 normal operation, other all is client.When main 1 fault, waits for a time out period after, lead 2 become to the time server.After main 2 faults, main 3 become to the time server.After main 3 faults, main 1 will become server.
Need to prove: the situation that master controller breaks down has multiple, when only having its time adjustment function to break down, just switches to next master controller; And other fault is when occurring (such as function for monitoring fault, logic executable unit functional fault etc.), spare controller in same group of redundant manipulator can switch to master controller, it will take over to the time, the various functions such as supervision, logic execution, this moment to the time server can not switch to next group redundant manipulator.
By above three groups of functions, consisted of based on many groups redundant manipulator to the time system, and guaranteed validity and the stability of system.
The above only is preferred implementation of the present invention; be noted that for those skilled in the art; under the prerequisite that does not break away from the principle of the invention, can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (4)

  1. One kind based on many groups redundant manipulator to the time system, it is characterized in that:
    Comprise many group redundant manipulators, every group of redundant manipulator includes configuration identical master controller and preparation controller; Wherein the master controller of one group of redundant manipulator as to the time during server, other master controller and preparation controller as to the time client;
    One end of described all master controllers and preparation controller interconnects by Ethernet, be used for being configured to transmitting to the time message LAN;
    The other end of described all master controllers and preparation controller interconnects by hardwired, be used for will as to the time server the level signal line that produces of master controller receive the interrupt pin of other master controller and preparation controller, make time tag by hard-wired level signal, as to the time message the correction foundation.
  2. According to claim 1 a kind of based on many groups redundant manipulator to the time system, it is characterized in that: when as to the time server master controller when time adjustment function fault cisco unity malfunction occurring, according to order, the master controller of next group in redundant manipulator switch to new to the time server, other master controller and preparation controller as to the time client.
  3. According to claim 1 a kind of based on many groups redundant manipulator to the time system, it is characterized in that: when as to the time server master controller when fault beyond the time adjustment function occurring, preparation controller in the redundant manipulator and this master controller functional mode are changed mutually on the same group, on the same group the preparation controller in the redundant manipulator switch to new to the time server, other all master controllers and preparation controller as to the time client.
  4. 4. according to claim 1-3 each described a kind of based on many groups redundant manipulator to the time system, it is characterized in that: also comprise centralized control system, be provided with the execution function logic block in described many group redundant manipulators, be provided with in the described centralized control system GPS to the time module, the GPS of described execution function logic block by Ethernet and centralized control system to the time module obtain alternately the gps time message, be used for upgrading to the time server time and synchronous time of other master controller and preparation controller.
CN201210430147.5A 2012-11-01 2012-11-01 A kind of based on many group redundant manipulators pair time system Active CN102932132B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210430147.5A CN102932132B (en) 2012-11-01 2012-11-01 A kind of based on many group redundant manipulators pair time system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210430147.5A CN102932132B (en) 2012-11-01 2012-11-01 A kind of based on many group redundant manipulators pair time system

Publications (2)

Publication Number Publication Date
CN102932132A true CN102932132A (en) 2013-02-13
CN102932132B CN102932132B (en) 2015-09-23

Family

ID=47646840

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210430147.5A Active CN102932132B (en) 2012-11-01 2012-11-01 A kind of based on many group redundant manipulators pair time system

Country Status (1)

Country Link
CN (1) CN102932132B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107390509A (en) * 2017-09-25 2017-11-24 安徽响水涧抽水蓄能有限公司 The redundancy timing device and its setting means of Turbine Governor System
CN110492963A (en) * 2019-08-30 2019-11-22 湘电风能有限公司 A kind of wind power plant time synchronization system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101145896A (en) * 2007-09-17 2008-03-19 浙江中控技术有限公司 Control system and method for clock synchronization between control stations
CN101578806A (en) * 2007-03-28 2009-11-11 株式会社安川电机 Communication device, synchronized communication system, and synchronized communication method in
CN101795020A (en) * 2010-02-08 2010-08-04 四方华能电网控制系统有限公司 Automatic time-tick synchronization system of intelligent electronic equipment of transformer substation

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101578806A (en) * 2007-03-28 2009-11-11 株式会社安川电机 Communication device, synchronized communication system, and synchronized communication method in
CN101145896A (en) * 2007-09-17 2008-03-19 浙江中控技术有限公司 Control system and method for clock synchronization between control stations
CN101795020A (en) * 2010-02-08 2010-08-04 四方华能电网控制系统有限公司 Automatic time-tick synchronization system of intelligent electronic equipment of transformer substation

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107390509A (en) * 2017-09-25 2017-11-24 安徽响水涧抽水蓄能有限公司 The redundancy timing device and its setting means of Turbine Governor System
CN110492963A (en) * 2019-08-30 2019-11-22 湘电风能有限公司 A kind of wind power plant time synchronization system
CN110492963B (en) * 2019-08-30 2021-01-08 湘电风能有限公司 Wind power plant time synchronization system

Also Published As

Publication number Publication date
CN102932132B (en) 2015-09-23

Similar Documents

Publication Publication Date Title
CN110361979B (en) Safety computer platform in railway signal field
CN100414466C (en) Multi-event sequential recording and testing system
US7649912B2 (en) Time synchronization, deterministic data delivery and redundancy for cascaded nodes on full duplex ethernet networks
CN104821870B (en) Clock synchronizing method based on main website intelligent grid supporting system technology
CN110376876B (en) Double-system synchronous safety computer platform
CN104516306B (en) The automated system of redundancy
CN103684734B (en) A kind of hot-standby redundancy computer time synchronization system and method
CN103236893A (en) Network message synchronizing method for process levels of intelligent substation
CN103941633A (en) PLC redundancy control method and system
CN103856360A (en) Method and device for synchronization link fault detection
US20180115457A1 (en) High availability input/output management nodes
CN104571041A (en) Data synchronization method based on 1:1 controller redundancies
CN107453913B (en) Gateway redundancy method with high-speed communication between processors
CN101145896B (en) Control system and method for clock synchronization between control stations
CN105554074A (en) NAS resource monitoring system and monitoring method based on RPC communication
CN112346925A (en) Process-level dual-computer hot standby redundancy system and method
CN102195769A (en) Clock synchronization method for automobile CAN (Control Area Network)
CN112751639B (en) Time synchronization method, communication equipment and system
CN108306989B (en) Main and standby machine data synchronization method for railway dispatching centralized system
CN105227289A (en) A kind of clock synchronizing method of quick precise and safety and system
CN102932132A (en) Time synchronization system based on multiple groups of redundancy controllers
US8631174B2 (en) Systems, methods, and apparatus for facilitating communications between an external controller and fieldbus devices
CN105426171A (en) Synchronization and switching method and system for multiple two-out-of-two systems
CN203455884U (en) Access redundancy control system
CN106647228B (en) Converter station master clock fault judgment system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 210032 Jiangsu province Nanjing city Pukou high tech Zone Huidalu No. 9

Patentee after: Nanjing Guodian Nanzi 710086 Automation Co. Ltd.

Address before: Nanjing City, Jiangsu province 210032 Spark Road, Pukou hi tech Development Zone No. 8

Patentee before: Nanjing Guodian Nanzi Meizhuo Control System Co.,Ltd.