CN107479530A - A kind of method of the SOE resolution ratio less than 1ms between realizing control station - Google Patents

A kind of method of the SOE resolution ratio less than 1ms between realizing control station Download PDF

Info

Publication number
CN107479530A
CN107479530A CN201710633839.2A CN201710633839A CN107479530A CN 107479530 A CN107479530 A CN 107479530A CN 201710633839 A CN201710633839 A CN 201710633839A CN 107479530 A CN107479530 A CN 107479530A
Authority
CN
China
Prior art keywords
soe
equipment
mrow
control station
resolution ratio
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
CN201710633839.2A
Other languages
Chinese (zh)
Other versions
CN107479530B (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.)
China General Nuclear Power Corp
China Techenergy Co Ltd
Original Assignee
China General Nuclear Power Corp
China Techenergy 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 China General Nuclear Power Corp, China Techenergy Co Ltd filed Critical China General Nuclear Power Corp
Priority to CN201710633839.2A priority Critical patent/CN107479530B/en
Publication of CN107479530A publication Critical patent/CN107479530A/en
Application granted granted Critical
Publication of CN107479530B publication Critical patent/CN107479530B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0259Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the response to fault detection
    • G05B23/0286Modifications to the monitored process, e.g. stopping operation or adapting control
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24065Real time diagnostics

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

The present invention provides a kind of method of the SOE resolution ratio less than 1ms between realizing control station, the present invention using same clock source hardwire mode when being transmitted pair in the case of synchronizing signal, by the timer of SOE equipment, rationally utilize uniformity compensation algorithm, time error after during SOE equipment pair can be controlled in rational scope, make in DCS system that resolution ratio is less than 1ms between SOE control stations.

Description

A kind of method of the SOE resolution ratio less than 1ms between realizing control station
Technical field
The present invention relates to nuclear power digitlization instrument control systems technology field, particularly relates to one kind and realizes SOE resolutions between control station Rate is less than 1ms method.
Background technology
SOE signals be after a kind of change of tracer signal state and during signal intensity relative instant on-off model, typically For in the full factory's DCS system of nuclear power station or nuclear power station experimental data acquisition system/test-meter system, being mainly used in accident point Analysis, position mark and experiment between the runtime of power station, SOE equipment are used for the nuclear island parameter that monitored for prolonged periods of time need to record, or monitoring and Record variable state, for analyzing result of the test and transient process.
SOE equipment by after long-play it is possible that phenomena such as passage failure, error of omission, incorrect posting.For example have When SOE record anomalous event order or interval be logically apparent error, then be difficult to determine in crash analysis Cause of accident, it can not correctly judge initiating event point.
The sequencing that SOE event major concerns event occurs, i.e. mistake of the system to relative instant value between sequence of events Poor precision, it is generally divided into two kinds of typical cases:Resolution ratio between SOE signal control station intrinsic resolution 1ms, SOE signal control stations 2ms.Many SOE signals have been carried out control station intrinsic resolution 1ms at present, but to reach the resolution ratio of 1ms between control station, are being Higher requirement is required in system framework, hardware design and software algorithm, is implemented relative complex and difficult.
And the full factory DCS of nuclear power station SOE resolution ratio is higher;Nuclear power station whole system pair when precision can just do it is more preferable.
All SOE equipment of internal system is required for keeping strict Timing synchronization, but SOE equipment is in itself with respective crystalline substance Bestir oneself for the basis of time counting, due to the error of crystal oscillator itself and the difference of each equipment room, inevitably occur that SOE is set The difference of time counting between standby, the time counting difference that eliminate or reduce between SOE equipment, it is necessary to by it is same when Zhong Yuan sends synchronizing signal, typically there is two kinds of synchronous transmission of signal modes:A kind of is the form by hardwire to institute in system There is SOE equipment to send synchronizing signal;A kind of is to send synchronous letter to all SOE equipment in system by the form of communication message Number.
Synchronizing signal when the SOE equipment inside many DCS systems is all the form pair using communication message at present, due to logical When believing that message required time is longer, and reaching the processing pair of inconsistent at the time of SOE equipment or SOE equipment at the time of synchronizing signal Inconsistent, accuracy when causing pair is inadequate.
And using the system of synchronizing signal during hardwire transmission pair, due to the SOE equipment to different control stations can not be accomplished Pair when, SOE device resolutions do not reach 1ms between will also result in control station.The SOE equipment synchronizing signal when being connected to pair in itself simultaneously Afterwards, its least count cycle does not accomplish below 1ms, pair when after backoff algorithm design it is unreasonable, caused by these composite factors SOE device resolutions do not reach 1ms between standing.
No matter using which kind of Timing synchronization signal transmission form, it is required for SOE equipment to be based on synchronizing signal, using certain Algorithm is modified compensation to time counting error itself, to reach the resolution ratio for being less than 1ms between control station.
The content of the invention
Situation of the purpose of the present invention aiming at above-mentioned prior art, it is proposed that SOE is differentiated between one kind realizes control station Rate is less than 1ms method, to solve the DCS system with synchronizing signal during hardwire transmission pair due to that can not accomplish to different controls When making the SOE equipment pair at station, and SOE device resolutions do not reach asking for 1ms between control station caused by backoff algorithm is unreasonable Topic.
The purpose of the present invention is achieved through the following technical solutions:SOE resolution ratio is less than between one kind realizes control station 1ms method, the described method comprises the following steps:
S1, according to worst error calculation formula, set the step-length of the timer of SOE equipment;
S2, pair when clock source periodically the timer of control station SOE equipment is set time;
If S3, timer timing are then, SOE equipment enters scheduled service routines, calculates the time counting of SOE equipment Value;
S4, SOE equipment reporting relatively obtained according to the time counting value and theoretical value of SOE equipment, mended with uniform The backoff interval number in cycle when algorithm calculates next pair is repaid, service routine when jumping out pair;
S5, according to backoff interval number cycle at next pair is compensated:If timer timing is then, SOE equipment Into scheduled service routines, backoff interval variable adds 1, judges whether this needs to carry out time benefit according to backoff interval variable Repay, backoff interval variable count down to S4 backoff interval number, and with regard to carrying out a time bias, backoff interval variable is reset, otherwise This is without time bias.
Further, the clock source was set time every 1 minute timer to control station SOE equipment.
Further, the timing cycle of the timer is 0.5ms.
Further, the worst error of the SOE equipment is:
Further, step-length H >=40ns of the SOE equipment timer.
Further, it is 0.047ms that the SOE equipment, which has compensated maximum theoretical error, in 1 minute.
The beneficial effects of the invention are as follows:
The present invention using same clock source hardwire mode when being transmitted pair in the case of synchronizing signal, it is only necessary to by The timer of SOE equipment, rationally utilize uniformity compensation algorithm, it is possible to closing the time error control after during SOE equipment pair In the range of reason, make in DCS system that resolution ratio reaches 1ms between SOE control stations.
According to sample tests, before not compensating, sample is+208us relative to the error of time corrector in 1 minute ---+ 216us, after compensating, sample is -24us ---+16us relative to the error of time corrector in 1 minute, and time precision substantially carries It is high.
Brief description of the drawings
Fig. 1, which is that the present invention is a kind of, realizes system where the SOE equipment of method of the SOE resolution ratio less than 1ms between control station Paralell composition;
Fig. 2 is a kind of flow chart for realizing method of the SOE resolution ratio less than 1ms between control station of the present invention.
Embodiment
Below in conjunction with the accompanying drawings it is a kind of the present invention realize control station method of the SOE resolution ratio less than 1ms do and further retouch State:The embodiment is only illustrative of the invention and is not intended to limit the scope of the invention, and those skilled in the art are to the present invention's The modification of the various equivalent form of values falls within the application appended claims limited range.
As shown in figure 1, set for a kind of SOE for realizing method of the SOE resolution ratio less than 1ms between control station of the present invention The paralell composition of standby place system, the time corrector of clock source is by way of hardwire to the SOE of all control stations in system Synchronizing signal during equipment transmission pair, the clock source passed through time corrector every 1 minute to be carried out to the timer of control station SOE equipment Pair when, the timing cycle of the timer of the SOE equipment is 0.5ms.
Compensated when SOE equipment receives pair after synchronizing signal using counting of the uniformity compensation algorithm to SOE equipment, with Reach the interior SOE resolution ratio between station in station and be less than 1ms.
Referring to Fig. 2, a kind of described method of the SOE resolution ratio less than 1ms between realizing control station, methods described includes following Step:
S1:According to worst error calculation formula, the step-length of the timer of setting SOE equipment;
S2:Clock source was set time every 1 minute by time corrector to the timer of control station SOE equipment, and the SOE is set The timing cycle of standby timer is 0.5ms;
S3:If timer timing is then, SOE equipment enters scheduled service routines, calculates the time counting of SOE equipment Value;
S4:Time difference is relatively obtained according to the time counting value and theoretical value of SOE equipment, utilizes uniformity compensation algorithm meter Backoff interval number when calculating next pair in the cycle, service routine when jumping out pair.
S5:Cycle at next pair is compensated according to backoff interval number:If timer timing is then, SOE equipment Into scheduled service routines, backoff interval variable adds 1, judges whether this needs to carry out time benefit according to backoff interval variable Repay, backoff interval variable count down to S4 backoff interval number, and with regard to carrying out a time bias, backoff interval variable is reset, otherwise This is without time bias.
The timing cycle of the timer of the SOE equipment is 0.5ms, i.e. mono- counting of 0.5ms.
The time counting value of the SOE equipment, the i.e. time counting of SOE equipment in itself, it is for being carried out pair with time corrector Than time and the time corrector time difference of calculating SOE equipment, for calculating SOE equipment times and standard time corrector time Deviation.
The backoff interval number, i.e., how long to be spaced could carry out a time bias.
The compensation cycle refer to time corrector to SOE equipment school constantly, SOE equipment is according to its temporal and time corrector time Deviation, calculate to need to be spaced and just do a time bias how many individual 0.5ms time-count cycles, then in follow-up 1 minute, The every 0.5ms of SOE equipment, backoff interval variable add 1, until backoff interval variable reaches the space-number of above-mentioned school computing Value.
The time counting value of SOE equipment is a variate-value of SOE equipment self maintaineds, per 0.5ms timing then, the change Value adds 1.
120000 i.e. 1 minute/0.5ms, if the time counting value meter of SOE equipment to 120000, when meaning that SOE equipment Between meter by 1 minute.
The time theory count value N/H of SOE equipment,
The time counting value Y of SOE equipment,
The time counting value of SOE equipment and the difference B of theoretical value;
Backoff interval number L=M/B;
Worst error calculation formula:
G:After worst error after overcompensation, i.e. time bias, between SOE equipment its temporal and time corrector time Difference;
H:Time bias step-length, minimum 40ns;
L:How many times interrupt one H of post-compensation, are expressed as L=Z+X, and Z is integer, and X is decimal, when X is zero, L=Z;
E:Error of the actual offset (value for casting out L decimal post-compensation) between F;
M:120000,1 minutes numbers for producing 0.5ms Interruptions;
N:Pair when time cycle;
F:Drawn after calculating due to error caused by time bias step-length;
The result come out according to such scheme theory deduction compensated for the SOE equipment in 1 minute it is maximum it is theoretical by mistake Difference is 0.047ms.
The H time biass step size settings of SOE equipment timers are 4us, when signal arrives at 1 minute pair, SOE equipment when Between theoretical count value should be 1500000 (60s/4us);
Before compensation, in test 16 minutes, test sample pair when signal arrive when, the time counting value of SOE equipment and reason By the difference of value 1500000 in 52-54, i.e. time phase difference 208us-216us of the time of SOE equipment and time corrector.
After increasing backoff algorithm, in test 16 minutes pair when precision, compensation calculation verification process is as follows:
Pair 1) when signal arrives when, the time counting value Y of SOE equipment is calculated, calculates Y and the difference of theoretical value 1500000 B, i.e. SOE equipment need the number that compensates to be used as the compensation basis of follow-up 1 minute in follow-up 1 minute;Calculate SOE equipment rooms Compensation is interrupted every how many individual 0.5ms once, i.e. 120000/B;
2) sample tests, when signal arrives at first pair, the time counting value and theoretical value of SOE equipment 1500000 difference is that 52, SOE equipment needs the individual 0.5ms in interval 2307 (i.e. 120000/52) to interrupt compensation once;
3) in follow-up 1 minute, when each 0.5ms interrupts arrival, the number that 0.5ms is interrupted first is judged, if reached 2307, compensate for once, signal arrives when the second pair;
4) after backoff algorithm, in 15 minutes, the numerical value that the time counting of SOE equipment per minute differs with theoretical value is 3, -5,3, -4,3, -6,3, -5,3, -7,4, -1,3, -5,4, i.e., the time of SOE equipment per minute and the time error of time corrector Respectively 12us, -20us, 12us, -16us, -24us, 12us, -20us, 12us, -28us, 16us, -4us, 12us, -20us, 16us;Single theoretical maximum error calculation is drawn;
5) between so, standing time error relative between SOE equipment between single SOE equipment and time corrector error two Times, the measuring and calculation more than, the time error between standing between SOE equipment is up to 56us, is fully able to point for meeting 1ms Resolution.
The present invention, from same clock source to synchronizing signal during the transmission pair of all control stations, owns by way of hardwire SOE equipment carries out the compensation of its temporal deviation based on the synchronizing signal.SOE equipment is entered with the 0.5ms counting cycle Row timing, by uniformity compensation principle, rational adjustment compensation number and compensation step-length so that after all SOE equipment replacements Precision is much smaller than 0.5ms, to reach the resolution ratio of the 1ms between control station in control station.

Claims (6)

1. a kind of method of the SOE resolution ratio less than 1ms between realizing control station, it is characterised in that the described method comprises the following steps:
S1, according to worst error calculation formula, set the step-length of the timer of SOE equipment;
S2, pair when clock source periodically the timer of control station SOE equipment is set time;
If S3, timer timing are then, SOE equipment enters scheduled service routines, calculates the time counting value of SOE equipment;
S4, SOE equipment reporting relatively obtained according to SOE equipment time counting values and theoretical value, calculated using uniformity compensation Backoff interval number when method calculates next pair in the cycle, service routine when jumping out pair;
S5, according to backoff interval number cycle at next pair is compensated:If timer timing is then,
SOE equipment enters scheduled service routines, and backoff interval variable adds 1, according to backoff interval variable judge this whether needs Time bias is carried out, backoff interval variable count down to S4 backoff interval number, with regard to carrying out a time bias, backoff interval variable Reset, otherwise this is without time bias.
A kind of 2. method of the SOE resolution ratio less than 1ms between realizing control station according to claim 1, it is characterised in that institute Clock source is stated to set time every 1 minute timer to control station SOE equipment.
A kind of 3. method of the SOE resolution ratio less than 1ms between realizing control station according to claim 1, it is characterised in that institute The timing cycle for stating timer is 0.5ms.
A kind of 4. method of the SOE resolution ratio less than 1ms between realizing control station according to claim 1, it is characterised in that institute The worst error for stating SOE equipment is:
<mrow> <mi>G</mi> <mo>=</mo> <mi>E</mi> <mo>+</mo> <mi>F</mi> <mo>=</mo> <mrow> <mo>(</mo> <mfrac> <mi>M</mi> <mi>Z</mi> </mfrac> <mo>-</mo> <mfrac> <mi>M</mi> <mrow> <mi>Z</mi> <mo>+</mo> <mi>X</mi> </mrow> </mfrac> <mo>)</mo> </mrow> <mo>&amp;times;</mo> <mi>H</mi> <mo>+</mo> <mi>H</mi> <mo>=</mo> <mfrac> <mrow> <mi>X</mi> <mo>&amp;CenterDot;</mo> <mi>M</mi> </mrow> <mrow> <mi>Z</mi> <mo>&amp;CenterDot;</mo> <mrow> <mo>(</mo> <mi>Z</mi> <mo>+</mo> <mi>X</mi> <mo>)</mo> </mrow> </mrow> </mfrac> <mo>&amp;times;</mo> <mi>H</mi> <mo>+</mo> <mi>H</mi> </mrow>
A kind of 5. method of the SOE resolution ratio less than 1ms between realizing control station according to claim 4, it is characterised in that institute State step-length H >=40ns of SOE equipment timers.
A kind of 6. method of the SOE resolution ratio less than 1ms between realizing control station according to claim 4, it is characterised in that institute It is 0.047ms to state the theoretical maximum error that SOE equipment has been compensated in 1 minute.
CN201710633839.2A 2017-07-29 2017-07-29 A kind of method of the SOE resolution ratio lower than 1ms between realizing control station Active CN107479530B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710633839.2A CN107479530B (en) 2017-07-29 2017-07-29 A kind of method of the SOE resolution ratio lower than 1ms between realizing control station

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710633839.2A CN107479530B (en) 2017-07-29 2017-07-29 A kind of method of the SOE resolution ratio lower than 1ms between realizing control station

Publications (2)

Publication Number Publication Date
CN107479530A true CN107479530A (en) 2017-12-15
CN107479530B CN107479530B (en) 2019-11-29

Family

ID=60598231

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710633839.2A Active CN107479530B (en) 2017-07-29 2017-07-29 A kind of method of the SOE resolution ratio lower than 1ms between realizing control station

Country Status (1)

Country Link
CN (1) CN107479530B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1801023A (en) * 2005-11-14 2006-07-12 杨卫民 Multi-event sequential recording and testing system
CN101145896A (en) * 2007-09-17 2008-03-19 浙江中控技术有限公司 Control system and method for clock synchronization between control stations
CN101986217A (en) * 2010-11-03 2011-03-16 江阴众和电力仪表有限公司 Accurate measurement and elimination method of maximum accumulative error of time of sequence of event
CN102081400A (en) * 2011-02-17 2011-06-01 北京和利时系统工程有限公司 Sequence of event (SOE) recording module and adjusting method thereof
CN105450323A (en) * 2015-11-11 2016-03-30 杭州和利时自动化有限公司 SOE time synchronization control method and system
CN109302255A (en) * 2018-09-12 2019-02-01 杭州和利时自动化有限公司 Time synchronization control method, device, system and computer readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1801023A (en) * 2005-11-14 2006-07-12 杨卫民 Multi-event sequential recording and testing system
CN101145896A (en) * 2007-09-17 2008-03-19 浙江中控技术有限公司 Control system and method for clock synchronization between control stations
CN101986217A (en) * 2010-11-03 2011-03-16 江阴众和电力仪表有限公司 Accurate measurement and elimination method of maximum accumulative error of time of sequence of event
CN102081400A (en) * 2011-02-17 2011-06-01 北京和利时系统工程有限公司 Sequence of event (SOE) recording module and adjusting method thereof
CN105450323A (en) * 2015-11-11 2016-03-30 杭州和利时自动化有限公司 SOE time synchronization control method and system
CN109302255A (en) * 2018-09-12 2019-02-01 杭州和利时自动化有限公司 Time synchronization control method, device, system and computer readable storage medium

Also Published As

Publication number Publication date
CN107479530B (en) 2019-11-29

Similar Documents

Publication Publication Date Title
US10707984B2 (en) Techniques for synchronizing slave devices
CN103616814B (en) A kind of synchronized sampling closed-loop corrected method and system of clock based on FPGA
CN111585680A (en) High-precision Ethernet time synchronization device
CN103176400B (en) Intelligent ammeter clock calibration method
CN105763641B (en) A kind of quick clock synchronous method of EtherCAT main website control system
CN101465686A (en) Method and apparatus for implementing TD-SCDMA base station synchronization
CN203164620U (en) High precision time synchronization device
CN109302255B (en) Time synchronization control method, device and system and computer readable storage medium
CN204631463U (en) A GPS Clock Synchronization System for Radiation Source Monitoring and Positioning
CN114205045B (en) TTE network clock calibration method and system
CN102480350A (en) Time synchronization and maintenance method and device based on frequency deviation estimation
CN105959079A (en) Clock synchronization method based on distributed control system
CN111208539A (en) High-precision GNSS simulator time synchronization method
CN109283864A (en) A kind of time synchronization of data sampling, calibration method and system
CN204465552U (en) Bimodulus time service master clock device
CN105137754A (en) Beidou timing type commanding machine
CN112702105B (en) Ground-to-air communication radio station time frequency calibration system and method
CN103684358B (en) Sampling pulse generates method and apparatus
CN104460313A (en) GPS time service device for providing high-precision large-step time synchronizing signals
CN107479530A (en) A kind of method of the SOE resolution ratio less than 1ms between realizing control station
CN110611544B (en) Method and device for precisely timing by using RS232 serial port
CN103048919A (en) Channel delay test-based satellite clock self-adjusting method
CN109100927A (en) Without timing system time autonomous synchronous method under reference conditions of tracing to the source
CN113419414A (en) Standard timing system with GNSS disciplining and interval time keeping capabilities
CN117336848A (en) Wireless time synchronization method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant