CN103401630B - Redundancy timing system in a kind of industrial control network and method - Google Patents
Redundancy timing system in a kind of industrial control network and method Download PDFInfo
- Publication number
- CN103401630B CN103401630B CN201310323406.9A CN201310323406A CN103401630B CN 103401630 B CN103401630 B CN 103401630B CN 201310323406 A CN201310323406 A CN 201310323406A CN 103401630 B CN103401630 B CN 103401630B
- Authority
- CN
- China
- Prior art keywords
- time
- mtd
- forwarding
- judger
- role
- 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.)
- Expired - Fee Related
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
The invention discloses the redundancy timing system in a kind of industrial control network and method, described system was made up of from equipment and Ethernet satellite receiver, main time judger, redundancy time decision device, time, the most main time judger, redundancy time decision device are connected by Ethernet, time lies in the equipment of industrial control network from equipment, temporal information is wirelessly sent to main time judger and redundancy time decision device, main time judger and redundancy time decision device and sends to the time treated temporal information from equipment by satellite receiver.This system and method uses the time judger of redundancy, time from the method for device Diagnostic mistake, improves accuracy and the reliability of whole timing system.Meanwhile, use satellite receiver to receive satellite-signal, with satellite clock signal as reference time, can keep consistent with the clock of the product such as conventional wrist-watch, mobile phone, facilitate operator to operate.
Description
Technical field
The present invention relates to Industry Control and communication technical field, system during redundancy school in a kind of industrial control network
System and method.
Background technology
In industrial control system, there is the equipment such as various control device, field apparatus, computer.These set
There is the local clock of oneself.The various operations that operator and equipment perform are all on the basis of this clock.Therefore, equipment
Timing relationship whether can be correct to operation execution, properly functioning the most crucial for system.
At present industrial control system frequently with calibration method be: with one of them equipment for clock main equipment, periodically
Ground updates local clock to network tranmitting data register signal, the clock information that other equipment utilizations receive.The method is because to specify
Equipment as fiducial time, and may there be bigger error this time the time such as the conventional wrist-watch of peace, mobile phone, can give operator
Member makes troubles, and is not easy to carry out accident tracking.Meanwhile, when the clock main equipment that the method uses breaks down, whole system
The clock of system synchronizes to lose efficacy, and reliability can not be guaranteed.
Summary of the invention
It is an object of the invention to provide the redundancy timing system in a kind of industrial control network and method, for Industry Control system
Various equipment in system provide unified clock signal, make each equipment keep clock to synchronize.
In order to realize above-mentioned first purpose, by the following technical solutions: system during redundancy school in a kind of industrial control network
System, it is characterised in that: described system by satellite receiver, main time judger, redundancy time decision device, the time from equipment and with
Netting very much composition, the most main time judger, redundancy time decision device are connected by Ethernet, and the time lies in industry from equipment
Controlling on the equipment of network, temporal information is wirelessly sent to main time judger and redundancy time by satellite receiver
Treated temporal information is sent to the time from equipment by decision device, main time judger and redundancy time decision device.
In order to realize above-mentioned second purpose, by the following technical solutions: the redundancy school time side in a kind of industrial control network
Method, it is characterised in that: described method includes procedure below:
A: main time judger MTD running;
B: redundancy time decision device RTD running;
C: the time is from equipment TSD running;
Wherein: main time judger MTD running comprises the following steps:
A-1: start;
A-2: T, Terror are set, 0 → A_Terror_c, 0 → A_r_role;Wherein A_Terror_c is to sentence the main time
Certainly device error counter;A_r_role is main time judger role's frame number of times;Terror is limit value, and T is the update cycle;
A-3: receive the clock signal from satellite receiver SR, obtains t1, and uses t1 to update the value of t3;
A-4: judging whether to receive clock signal t2 that redundancy time decision device RTD comes, if receiving t2, then forwarding to
A-5;Without receiving, then forward A-6 to;
A-5: take the meansigma methods of t1, t2 and update the value of t3 by this value;
A-6: judge whether to arrive issuing time, if having arrived at, then forwards A-7 to, if not arriving, returns A-3;
A-7: distribute t3 from equipment TSD to the time;
A-8: judge whether to receive error overrun error frame, if receiving, forwarding A-9 to, if not, forwarding A-10 to;
A-9: carry out main time judger MTD fault processing;
A-10: judge whether to exit, if then forwarding A-11 to, if not then returning A-3;
A-11: exit;
The error processing procedure of main time judger MTD:
AA-1: judging whether to receive from the time from the error reporting frame of equipment TSD, if then forwarding AA-2 to, otherwise turning
To AA-4;
AA-2:A_Terror_c adds 1;
AA-3: error in judgement number of times, whether more than 3, if then forwarding AA-4 to, otherwise forwards AA-5 to;
AA-4: notify that manager has system mistake, 0 → A_Terror_c;
AA-5: judge whether to receive role's frame of the main time judger MTD of request of redundancy time decision device RTD, if
Forward AA-6 to, otherwise forward AA-7 to;
AA-6:A_r_role adds 1;
AA-7: judge that A_r_role, whether more than 3, if then forwarding AA-8 to, otherwise forwards AA-9 to;
AA-8: the role switching self is redundancy time decision device RTD, sends permission role state switch frame, 0 → A_r_
Role,
AA-9: exit MTD fault processing;
Redundancy time decision device RTD running comprises the following steps:
B-1: start;
B-2:0 → B_Terror_c, 0 → B_c_role;Wherein B_Terror_c is the mistake meter of redundancy time decision device
Number device;B_c_role is role's frame number of times of redundancy time decision device;
B-3: receive from the clock signal of satellite receiver SR, obtains t2, and use that t2 renewal itself stores upper one
The value of the secondary t3 obtained;
B-4: the clock information t2 of self is sent to main time judger MTD;
B-5: monitor the t3 that main time judger MTD sends;
B-6: judging whether to receive temporal information t3 of main time judger MTD distribution, if receiving, then forwarding B-7 to, if not having
Have, forward B-8 to;
B-7: error counter B_Terror_c is set to 0, forwards B-11 to;
B-8: error counter B_Terror_c is added 1;
B-9: judge whether B_Terror_c is more than 3, if then forwarding B-10 to, if not then forwarding B-11 to;
B-10: carry out RTD fault processing;
B-11: judge whether to exit, if then forwarding B-12 to, if not then returning B-2;
B-12: exit;
The error processing procedure of redundancy time decision device RTD:
BB-1: the request of sending switches to the claim frame of main time judger MTD;
BB-2: judge whether to receive the acknowledgement frame allowing switching, if not receiving, forwarding BB-3 to, otherwise forwarding BB-6 to;
BB-3:B_c_role adds 1;
BB-4: judge that B_c_role, whether more than 3, if being more than, forwarding BB-5 to, otherwise forwarding BB-8 to;
BB-5: send force time information t_force, forward BB-8 to;
BB-6: switching role is main time judger MTD, takes over the work of main time judger MTD;
BB-7:0 → B_c_role;
BB-8: exit RTD fault processing;
Time comprises the following steps: from equipment TSD running
C-1: start;
C-2: 0 → c_local is set;C_loca is local error counter;
C-3: estimate the main time judger MTD transfer delay t_delay to this equipment;
C-4: receive the clock information t3 of autonomous time judger MTD;
C-5: judge | t3+t_delay-t_local | > Terror, if more than, forward C-6 to, otherwise forward C-9 to;
C-6: local error counter c_local adds 1;
C-7: judge that c_local, whether more than 3, if being more than, forwarding C-8 to, otherwise forwarding C-9 to;
C-8: transmission error overrun error frame to main time judger MTD;
C-9: use t3 to update local clock t_local;
C-10:0 → c_local;
C-11: judge whether to receive the t_force from redundancy time decision device RTD, if then forwarding C-12 to, otherwise
Forward C-13 to;
C-12: use t_force to update local clock t_local;
C-13: judge whether to exit, if then forwarding C-14 to, if not then returning C-3;
C-14: exit.
The method uses the time judger of redundancy, time from the method for device Diagnostic mistake, improves whole timing system
Accuracy and reliability.Meanwhile, satellite receiver is used to receive satellite-signal, with satellite clock signal as reference time, can
Keep consistent with the clock of the product such as conventional wrist-watch, mobile phone, facilitate operator to operate.The present invention is conducive in industry control
The clock keeping various equipment in system processed synchronizes, and ensures the properly functioning of control system, strengthens the reliability of system.
Accompanying drawing explanation
The structure chart of system in Fig. 1 present invention;
Fig. 2 main time judger flow chart;
Fig. 3 main time judger fault processing flow chart;
Fig. 4 redundancy time decision device flow chart;
Fig. 5 redundancy time decision device fault processing flow chart;
Fig. 6 time is from apparatus operation method flow chart;
The communication frame format of Fig. 7 MTD/RTD Yu SR.
Detailed description of the invention
Being described in further detail the present invention below in conjunction with the accompanying drawings, these describe should not be construed as the present invention any
Limit.
Redundancy timing system in a kind of industrial control network, described system is by satellite receiver, main time judger, superfluous
Remaining time judger, time form from equipment and Ethernet, and the most main time judger, redundancy time decision device pass through Ethernet
Being connected, the time lies in the equipment of industrial control network from equipment, and satellite receiver is wirelessly by temporal information
It is sent to main time judger and redundancy time decision device, main time judger and redundancy time decision device by time treated
Between information send to the time from equipment.
The system block diagram of the present invention is as shown in Figure 1.Main by satellite receiver (SR), main time judger (MTD), redundancy
Time judger (RTD), time form from equipment (TSD) a few part.SR receives the signal of satellite, extraction time letter from signal
Breath;Wait the request of MTD or RTD, and temporal information is sent to MTD or RTD.MTD and RTD obtains letter fiducial time from SR
Number.In order to ensure precision, MTD and RTD can be simultaneously from several SR request time signals.After obtaining SR time signal, MTD and
RTD calculates the average of these signals and saves as local clock pulses t1 and t2 respectively.SR can receive asking of MTD and RTD simultaneously
Ask.MTD and RTD can also send request to same SR.SR takes prerequisite variable mode to respond.
T2, after calculating t2, is sent to MTD by RTD immediately.T1 and t2, after receiving t2, is compared by MTD,
If t1 and t2 difference is in the range of acceptable error, then calculate average t3=(t1+t2)/2.If beyond acceptable error scope, then
Forward in MTD fault processing.MTD, after sending t2, is monitored by RTD immediately.RTD monitors the frame that MTD sends.If continuously
Three cycles do not listen to the bag that MTD sends.Then RTD is by replacement transmission time delivery frame.And utilize redundancy protocol to report to MTD
Accuse mistake, and apply for taking over the work of MTD.
After MTD calculates t3, t3 is sent to control the TSD of network.TSD estimates that MTD arrives the transmission of this equipment in advance
Time delay t_delay, after receiving t3, sues for peace to t_delay and t3 and this equipment time signal t_local compares
Relatively.If more than acceptable error scope, then cumulative local error counter.When errors number reaches 3, sending error transfinites mistake
By mistake frame is to MTD.Local clock t_local is updated afterwards with t_delay+t3.
If MTD receives the error reporting frame from RTD or TSD, forward error handler to.
In literary composition, each concrete equipment can use techniques below:
The realization of SR
SR receives the signal of satellite, isolates clock signal from satellite-signal.Clock for system simultaneously provides benchmark
Time reference.
The data processing amount of SR is little, therefore can use low cost, and such as STC89C52, microprocessor chip realizes.
Select single-chip microcomputer 12864 liquid crystal (band character library) module.In order to receive satellite-signal, select SIRF 3 GPS chip, and be converted to
The serial communication of Transistor-Transistor Logic level is connected with STC89C52.The antenna of SR receives gps satellite signal, passes at SIRF 3 GPS chip
Temporal information is obtained after reason.STC89C52 reads the temporal information of GPS chip by serial ports, and stores, wait MTD or
The reading of RTD.When receiving the request of MTD or RTD, temporal information is sent to the realization of MTD or RTD by SR.
The composition of MTD with RTD is the same, and simply the role in running is different.The amount of calculation of MTD and RTD
Bigger than SR, can be selected for S3C2410A chip and process.Communication with SR can be selected for RS485 network, it is possible to uses RS232 serial ports point
Point to-point communication.Communicating of MTD/RTD with SR uses the frame format of Fig. 7.
Clock reference data, the clock reference as MTD of averaging is read from SR.MTD can read the clock letter of RTD
Breath, and take average with oneself information, update the clock reference of oneself.Clock information is distributed to TSD according to it by MTD.MTD is also
Receive the feedback information from RTD and TSD, and operate according to feedback information error process, role's change etc..MTD is must
The role of self can be changed to RTD when wanting.
RTD, as the redundancy of MTD, can read clock reference data, the clock reference as RTD of averaging from SR.
When MTD reads clock information, the clock information that self is up-to-date can be sent to MTD by RTD.RTD simultaneously monitors the operation of MTD
Situation, if the mistake of detecting, by the process of notice MTD.If it is determined that MTD lost efficacy, then can send mandatory order, make oneself
Role change to MTD, and make original MTD change to RTD.
The realization of redundancy timing system
Redundancy timing system by satellite receiver (SR), main time judger (MTD), redundancy time decision device (RTD), time
Between from equipment (TSD) a few part form.SR receives the signal of satellite, extracting time information from signal;Wait MTD's or RTD
Request, and temporal information is sent to MTD or RTD.MTD and RTD obtains reference time signal from SR.In order to ensure precision, MTD
Can be simultaneously from several SR request time signals with RTD.After obtaining SR time signal, MTD and RTD calculates the equal of these signals
Value also saves as local clock pulses t1 and t2 respectively.SR can receive the request of MTD and RTD simultaneously.MTD and RTD can also be to
Same SR sends request.SR takes prerequisite variable mode to respond.
T2, after calculating t2, is sent to MTD by RTD immediately.T1 and t2, after receiving t2, is compared by MTD,
If t1 and t2 difference is in the range of acceptable error, then calculate average t3=(t1+t2)/2.If beyond acceptable error scope, then
Forward in MTD fault processing.MTD, after sending t2, is monitored by RTD immediately.RTD monitors the frame that MTD sends.If continuously
Three cycles do not listen to the bag that MTD sends.Then RTD is by replacement transmission time delivery frame.And utilize redundancy protocol to report to MTD
Accuse mistake, and apply for taking over the work of MTD.
After MTD calculates t3, t3 is sent to control the TSD of network.TSD estimates that MTD arrives the transmission of this equipment in advance
Time delay t_delay, after receiving t3, sues for peace to t_delay and t3 and this equipment time signal t_local compares
Relatively.If more than acceptable error scope, then cumulative local error counter.When errors number reaches 3, sending error transfinites mistake
By mistake frame is to MTD.Local clock t_local is updated afterwards with t_delay+t3.
Concrete method, as shown in Figures 2 to 7,
A kind of redundancy calibration method in industrial control network, described method includes procedure below:
A: main time judger MTD running;
B: redundancy time decision device RTD running;
C: the time is from equipment TSD running;
Wherein: main time judger MTD running comprises the following steps:
A-1: start;
A-2: T, Terror are set, 0 → A_Terror_c, 0 → A_r_role;Wherein A_Terror_c is to sentence the main time
Certainly device error counter;A_r_role is main time judger role's frame number of times;Terror is limit value, and T is the update cycle;
A-3: receive the clock signal from satellite receiver SR, obtains t1, and uses t1 to update the value of t3;
A-4: judging whether to receive clock signal t2 that redundancy time decision device RTD comes, if receiving t2, then forwarding to
A-5;Without receiving, then forward A-6 to;
A-5: take the meansigma methods of t1, t2 and update the value of t3 by this value;
A-6: judge whether to arrive issuing time, if having arrived at, then forwards A-7 to, if not arriving, returns A-3;
A-7: distribute t3 from equipment TSD to the time;
A-8: judge whether to receive error overrun error frame, if receiving, forwarding A-9 to, if not, forwarding A-10 to;
A-9: carry out main time judger MTD fault processing;
A-10: judge whether to exit, if then forwarding A-11 to, if not then returning A-3;
A-11: exit;
The error processing procedure of main time judger MTD:
AA-1: judging whether to receive from the time from the error reporting frame of equipment TSD, if then forwarding AA-2 to, otherwise turning
To AA-4;
AA-2:A_Terror_c adds 1;
AA-3: error in judgement number of times, whether more than 3, if then forwarding AA-4 to, otherwise forwards AA-5 to;
AA-4: notify that manager has system mistake, 0 → A_Terror_c;
AA-5: judge whether to receive role's frame of the main time judger MTD of request of redundancy time decision device RTD, if
Forward AA-6 to, otherwise forward AA-7 to;
AA-6:A_r_role adds 1;
AA-7: judge that A_r_role, whether more than 3, if then forwarding AA-8 to, otherwise forwards AA-9 to;
AA-8: the role switching self is redundancy time decision device RTD, sends permission role state switch frame, 0 → A_r_
Role,
AA-9: exit MTD fault processing;
Redundancy time decision device RTD running comprises the following steps:
B-1: start;
B-2:0 → B_Terror_c, 0 → B_c_role;Wherein B_Terror_c is the mistake meter of redundancy time decision device
Number device;B_c_role is role's frame number of times of redundancy time decision device;
B-3: receive from the clock signal of satellite receiver SR, obtains t2, and use that t2 renewal itself stores upper one
The value of the secondary t3 obtained;
B-4: the clock information t2 of self is sent to main time judger MTD;
B-5: monitor the t3 that main time judger MTD sends;
B-6: judging whether to receive temporal information t3 of main time judger MTD distribution, if receiving, then forwarding B-7 to, if not having
Have, forward B-8 to;
B-7: error counter B_Terror_c is set to 0, forwards B-11 to;
B-8: error counter B_Terror_c is added 1;
B-9: judge whether B_Terror_c is more than 3, if then forwarding B-10 to, if not then forwarding B-11 to;
B-10: carry out RTD fault processing;
B-11: judge whether to exit, if then forwarding B-12 to, if not then returning B-2;
B-12: exit;
The error processing procedure of redundancy time decision device RTD:
BB-1: the request of sending switches to the claim frame of main time judger MTD;
BB-2: judge whether to receive the acknowledgement frame allowing switching, if not receiving, forwarding BB-3 to, otherwise forwarding BB-6 to;
BB-3:B_c_role adds 1;
BB-4: judge that B_c_role, whether more than 3, if being more than, forwarding BB-5 to, otherwise forwarding BB-8 to;
BB-5: send force time information t_force, forward BB-8 to;
BB-6: switching role is main time judger MTD, takes over the work of main time judger MTD;
BB-7:0 → B_c_role;
BB-8: exit RTD fault processing;
Time comprises the following steps: from equipment TSD running
C-1: start;
C-2: 0 → c_local is set;C_local is local error counter;
C-3: estimate the main time judger MTD transfer delay t_delay to this equipment;
C-4: receive the clock information t3 of autonomous time judger MTD;
C-5: judge | t3+t_delay-t_local | > Terror, if more than, forward C-6 to, otherwise forward C-9 to;
C-6: local error counter c_local adds 1;
C-7: judge that c_local, whether more than 3, if being more than, forwarding C-8 to, otherwise forwarding C-9 to;
C-8: transmission error overrun error frame to main time judger MTD;
C-9: use t3 to update local clock t_local;
C-10:0 → c_local;
C-11: judge whether to receive the t_force from redundancy time decision device RTD, if then forwarding C-12 to, otherwise
Forward C-13 to;
C-12: use t_force to update local clock t_local;
C-13: judge whether to exit, if then forwarding C-14 to, if not then returning C-3;
C-14: exit.
The explanation of nouns of relevant technical terms in literary composition
Satellite receiver (SR):
SR receives the signal of satellite, isolates clock signal from satellite-signal.Clock for system simultaneously provides benchmark
Time reference.
Main time judger (MTD):
Clock reference data, the clock reference as MTD of averaging is read from SR.MTD can read the clock letter of RTD
Breath, and take average with oneself information, update the clock reference of oneself.Clock information is distributed to TSD according to it by MTD.MTD is also
Receive the feedback information from RTD and TSD, and operate according to feedback information error process, role's change etc..MTD is must
The role of self can be changed to RTD when wanting.
Redundancy time decision device (RTD):
RTD, as the redundancy of MTD, can read clock reference data, the clock reference as RTD of averaging from SR.
When MTD reads clock information, the clock information that self is up-to-date can be sent to MTD by RTD.RTD simultaneously monitors the operation of MTD
Situation, if the mistake of detecting, by the process of notice MTD.If it is determined that MTD lost efficacy, then can send mandatory order, make oneself
Role change to MTD, and make original MTD change to RTD.
Time is from equipment (TSD):
Receive the equipment of MTD/RTD clock signal.Mainly receive the clock signal of distribution, and use this signal update originally
The ground computer of clock, controller, active station etc..
Claims (1)
1. the redundancy calibration method in the industrial control network of the redundancy timing system in industrial control network, its feature exists
Procedure below is included in: described method:
A: main time judger MTD running;
B: redundancy time decision device RTD running;
C: the time is from equipment TSD running;
Wherein: main time judger MTD running comprises the following steps:
A-1: start;
A-2: T, Terror are set, 0 → A_Terror_c, 0 → A_r_role;Wherein A_Terror_c is main time judger
Error counter;A_r_role is main time judger role's frame number of times;Terror is limit value, and T is the update cycle;
A-3: receive the clock signal from satellite receiver SR, obtains t1, and uses t1 to update the value of t3;
A-4: judging whether to receive clock signal t2 that redundancy time decision device RTD comes, if receiving t2, then forwarding A-5 to;
Without receiving, then forward A-6 to;
A-5: take the meansigma methods of t1, t2 and update the value of t3 by this value;
A-6: judge whether to arrive issuing time, if having arrived at, then forwards A-7 to, if not arriving, returns A-3;
A-7: distribute t3 from equipment TSD to the time;
A-8: judge whether to receive error overrun error frame, if receiving, forwarding A-9 to, if not, forwarding A-10 to;
A-9: carry out main time judger MTD fault processing;
A-10: judge whether to exit, if then forwarding A-11 to, if not then returning A-3;
A-11: exit;
The error processing procedure of main time judger MTD:
AA-1: judging whether to receive from the time from the error reporting frame of equipment TSD, if then forwarding AA-2 to, otherwise forwarding AA-to
4;
AA-2:A_Terror_c adds 1;
AA-3: error in judgement number of times, whether more than 3, if then forwarding AA-4 to, otherwise forwards AA-5 to;
AA-4: notify that manager has system mistake, 0 → A_Terror_c;
AA-5: judge whether to receive role's frame of the main time judger MTD of request of redundancy time decision device RTD, if forwarding to
AA-6, otherwise forwards AA-7 to;
AA-6:A_r_role adds 1;
AA-7: judge that A_r_role, whether more than 3, if then forwarding AA-8 to, otherwise forwards AA-9 to;
AA-8: the role switching self is redundancy time decision device RTD, sends permission role state switch frame, 0 → A_r_
Role,
AA-9: exit MTD fault processing;
Redundancy time decision device RTD running comprises the following steps:
B-1: start;
B-2:0 → B_Terror_c, 0 → B_c_role;Wherein B_Terror_c is the error count of redundancy time decision device
Device;B_c_role is role's frame number of times of redundancy time decision device;
B-3: receive from the clock signal of satellite receiver SR, obtains t2, and use that t2 renewal itself stores last must
The value of the t3 arrived;
B-4: the clock information t2 of self is sent to main time judger MTD;
B-5: monitor the t3 that main time judger MTD sends;
B-6: judging whether to receive temporal information t3 of main time judger MTD distribution, if receiving, then forwarding B-7 to, if not,
Forward B-8 to;
B-7: error counter B_Terror_c is set to 0, forwards B-11 to;
B-8: error counter B_Terror_c is added 1;
B-9: judge whether B_Terror_c is more than 3, if then forwarding B-10 to, if not then forwarding B-11 to;
B-10: carry out RTD fault processing;
B-11: judge whether to exit, if then forwarding B-12 to, if not then returning B-2;
B-12: exit;
The error processing procedure of redundancy time decision device RTD:
BB-1: the request of sending switches to the claim frame of main time judger MTD;
BB-2: judge whether to receive the acknowledgement frame allowing switching, if not receiving, forwarding BB-3 to, otherwise forwarding BB-6 to;
BB-3:B_c_role adds 1;
BB-4: judge that B_c_role, whether more than 3, if being more than, forwarding BB-5 to, otherwise forwarding BB-8 to;
BB-5: send force time information t_force, forward BB-8 to;
BB-6: switching role is main time judger MTD, takes over the work of main time judger MTD;
BB-7:0 → B_c_role;
BB-8: exit RTD fault processing;
Time comprises the following steps: from equipment TSD running
C-1: start;
C-2: 0 → c_local is set;C_local is local error counter;
C-3: estimate the main time judger MTD transfer delay t_delay to this equipment;
C-4: receive the clock information t3 of autonomous time judger MTD;
C-5: judge | t3+t_delay-t_local | > Terror, if more than, forward C-6 to, otherwise forward C-9 to;
C-6: local error counter c_local adds 1;
C-7: judge that c_local, whether more than 3, if being more than, forwarding C-8 to, otherwise forwarding C-9 to;
C-8: transmission error overrun error frame to main time judger MTD;
C-9: use t_delay+t3 to update local clock t_local;
C-10:0 → c_local;
C-11: judging whether to receive the t_force from redundancy time decision device RTD, if then forwarding C-12 to, otherwise forwarding to
C-13;
C-12: use t_force to update local clock t_local;
C-13: judge whether to exit, if then forwarding C-14 to, if not then returning C-3;
C-14: exit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310323406.9A CN103401630B (en) | 2013-07-30 | 2013-07-30 | Redundancy timing system in a kind of industrial control network and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310323406.9A CN103401630B (en) | 2013-07-30 | 2013-07-30 | Redundancy timing system in a kind of industrial control network and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103401630A CN103401630A (en) | 2013-11-20 |
CN103401630B true CN103401630B (en) | 2016-08-10 |
Family
ID=49565181
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310323406.9A Expired - Fee Related CN103401630B (en) | 2013-07-30 | 2013-07-30 | Redundancy timing system in a kind of industrial control network and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103401630B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114039695A (en) * | 2021-12-24 | 2022-02-11 | 浙江中控技术股份有限公司 | Time synchronization method of redundant network, redundant network system and equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1798018A (en) * | 2004-12-30 | 2006-07-05 | 中兴通讯股份有限公司 | Device and method for synchronizing system clock |
CN101047490A (en) * | 2006-05-11 | 2007-10-03 | 华为技术有限公司 | Method for testing time failure of communication system and its device |
CN101090341A (en) * | 2007-08-10 | 2007-12-19 | 中控科技集团有限公司 | Method and system for network clock synchronous |
CN201425704Y (en) * | 2009-05-08 | 2010-03-17 | 上海汉鼎电力科技有限公司 | Satellite synchronous main clock device |
CN101881938A (en) * | 2009-05-08 | 2010-11-10 | 上海汉鼎电力科技有限公司 | Satellite synchronous master clock device |
CN203368494U (en) * | 2013-07-30 | 2013-12-25 | 西南大学 | Redundant timing system of industrial control network |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
ATE381162T1 (en) * | 2004-12-23 | 2007-12-15 | Alcatel Lucent | A REDUNDANT SYNCHRONOUS CLOCK DISTRIBUTION SYSTEM |
-
2013
- 2013-07-30 CN CN201310323406.9A patent/CN103401630B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1798018A (en) * | 2004-12-30 | 2006-07-05 | 中兴通讯股份有限公司 | Device and method for synchronizing system clock |
CN101047490A (en) * | 2006-05-11 | 2007-10-03 | 华为技术有限公司 | Method for testing time failure of communication system and its device |
CN101090341A (en) * | 2007-08-10 | 2007-12-19 | 中控科技集团有限公司 | Method and system for network clock synchronous |
CN201425704Y (en) * | 2009-05-08 | 2010-03-17 | 上海汉鼎电力科技有限公司 | Satellite synchronous main clock device |
CN101881938A (en) * | 2009-05-08 | 2010-11-10 | 上海汉鼎电力科技有限公司 | Satellite synchronous master clock device |
CN203368494U (en) * | 2013-07-30 | 2013-12-25 | 西南大学 | Redundant timing system of industrial control network |
Also Published As
Publication number | Publication date |
---|---|
CN103401630A (en) | 2013-11-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN201812151U (en) | Rubidium atom frequency standard calibrating device | |
BR112017028209A2 (en) | method and system for operating one or more satellite navigation receivers | |
BR112013017960A2 (en) | method and system for determining satellite clock corrections | |
WO2009151840A3 (en) | Notification adjustment for computing devices | |
JP2007508550A (en) | Method and apparatus for satellite-based relative positioning of a mobile platform | |
TW200746705A (en) | Error detection and retransmission methods and devices for communication systems | |
DE20122743U1 (en) | Device for GPS time synchronization using cellular signal sequences | |
WO2007140306A3 (en) | Weighing and dimensioning system and method for weighing and dimensioning | |
WO2015131384A1 (en) | Systems and methods for high reliability surveillance of aircraft | |
WO2021202004A3 (en) | System and method for reconverging gnss position estimates | |
BRPI0616020A2 (en) | procedure for determining the ground position of a vehicle and an on-board device for determining the ground position of a vehicle | |
CN103401630B (en) | Redundancy timing system in a kind of industrial control network and method | |
JP2015190935A (en) | portable positioning device | |
CN105119648A (en) | Beidou foundation navigation network operation and managing system | |
CN105509757B (en) | A kind of guidance path automatic switching method and device | |
CN102982699B (en) | A kind of display packing and equipment controlling section right of way signal | |
CN105137754A (en) | Beidou timing type commanding machine | |
MX2022016449A (en) | Operating modes of magnetic navigation devices. | |
CN110515109A (en) | A kind of method and device merging the autonomous PNT time based on multiple information sources | |
SG171571A1 (en) | Method for detecting fraud in the transmission of position indications by a mobile device | |
WO2008026050A3 (en) | Automatic machine for fractionating a radioactive liquid | |
CN209417014U (en) | A kind of atmosphere pollution on-line monitoring system of UAV flight | |
CN205300533U (en) | Bridge safety monitoring devices based on big dipper high accuracy | |
MY195197A (en) | Communication Control Device, Toll Collection System, Communication Control Method, and Program | |
CN203368494U (en) | Redundant timing system of industrial control network |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20160810 Termination date: 20190730 |
|
CF01 | Termination of patent right due to non-payment of annual fee |