CN108989141B - System and method for measuring communication time between DCS and third-party system - Google Patents

System and method for measuring communication time between DCS and third-party system Download PDF

Info

Publication number
CN108989141B
CN108989141B CN201810460550.XA CN201810460550A CN108989141B CN 108989141 B CN108989141 B CN 108989141B CN 201810460550 A CN201810460550 A CN 201810460550A CN 108989141 B CN108989141 B CN 108989141B
Authority
CN
China
Prior art keywords
signal
dcs
communication time
party system
unit
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
CN201810460550.XA
Other languages
Chinese (zh)
Other versions
CN108989141A (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
Guangxi Fangchenggang Nuclear Power Co Ltd
Original Assignee
China General Nuclear Power Corp
Guangxi Fangchenggang Nuclear Power 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, Guangxi Fangchenggang Nuclear Power Co Ltd filed Critical China General Nuclear Power Corp
Priority to CN201810460550.XA priority Critical patent/CN108989141B/en
Publication of CN108989141A publication Critical patent/CN108989141A/en
Application granted granted Critical
Publication of CN108989141B publication Critical patent/CN108989141B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/364Delay profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Electromagnetism (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephonic Communication Services (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The invention discloses a system and a method for measuring communication time of a DCS and a third-party system. The system comprises: the device comprises a signal injection unit, a signal transmission unit, a signal output unit and an analysis unit. The signal injection unit is used for injecting regular signals. And the signal transmission unit is connected with the signal injection unit, is a communication unit of the DCS and a third party system and is used for transmitting the regular signals. And the signal output unit is connected with the signal transmission unit and outputs the signal transmitted by the signal transmission unit. And the analysis unit is used for analyzing and obtaining the communication time between the DCS and a third-party system according to the injected signal and the output signal. The system and the method for measuring the communication time between the DCS and the third-party system can accurately measure the communication time between the DCS and the third-party system by analyzing the injection signal and the output signal.

Description

System and method for measuring communication time between DCS and third-party system
Technical Field
The invention relates to the field of instrument control, in particular to a system and a method for measuring communication time between a DCS and a third-party system.
Background
A DCS (Distributed Control System) connects a field Control station Distributed near an industrial site with an operator station and an engineer station of a Control center via some kind of communication network to perform Distributed Control and centralized operation management of an on-site production facility. With the development of the technology, DCS is widely applied to industries such as electric power and petrochemical industry. Nuclear power stations in China and abroad basically adopt DCS (distributed control system), and as the related technology of the nuclear power stations is wide, communication is established between a plurality of third-party control systems (such as a nuclear power station fire alarm detection system and a nuclear power station ventilation detection system) and the DCS, so that some auxiliary control functions are realized.
When a third-party system is initially installed and debugged, only whether communication data between the third-party system and the DCS is successfully transmitted or not is generally considered, and the consideration of communication time is often ignored. This may result in a longer communication time for completing the data communication, which may be set to a shorter communication time. In addition, in the actual production process, the third-party system relates to the situations of multiple manufacturer brands, multiple communication interface protocols, even substation and remote stations, when data is transmitted among different control systems, multiple processors are needed, protocol conversion is carried out for multiple times, delay of data transmission and information distortion received by a terminal can be caused due to slight interference of updating and reconfiguration parameters of some systems and the actual production environment, the actual field situation cannot be reflected, and even communication faults can be caused under severe situations. Therefore, it is necessary to pay attention to the communication time between different systems so as to optimize the communication process, reduce communication failures, and find the location of a failure point as soon as possible when a communication failure occurs.
At the present stage, there is no good technical scheme for obtaining the communication time between the DCS and the third-party system, and a theoretical estimation is usually performed on the communication time only based on the transmission rate, the data volume, the number of network nodes, the scanning period, the software configuration, and the like, and the communication time deviates from the communication time in the actual production process. Therefore, the method is poor in practical applicability.
The information disclosed in this background section is only for enhancement of understanding of the general background of the invention and should not be taken as an acknowledgement or any form of suggestion that this information forms the prior art already known to a person skilled in the art.
Disclosure of Invention
The invention aims to provide a system and a method for measuring communication time between a DCS and a third-party system, which can accurately measure the communication time between the DCS and the third-party system.
To achieve the above object, the present invention provides a system for measuring communication time between a DCS and a third party system. The system for measuring the communication time between the DCS and the third-party system comprises: the device comprises a signal injection unit, a signal transmission unit, a signal output unit and an analysis unit. The signal injection unit is used for injecting regular signals. And the signal transmission unit is connected with the signal injection unit, is a communication unit of the DCS and a third party system and is used for transmitting the regular signals. And the signal output unit is connected with the signal transmission unit and outputs the signal transmitted by the signal transmission unit. And the analysis unit is used for analyzing and obtaining the communication time between the DCS and a third-party system according to the injected signal and the output signal.
In a preferred embodiment, the regular signal comprises a square wave signal or a pulse signal.
In a preferred embodiment, the regular signal is injected in a hardware manner or a software manner.
In a preferred embodiment, the analysis unit is provided with an analysis software package for analyzing and acquiring the communication time.
The invention also provides a method for measuring the communication time between the DCS and the third-party system. It includes: injecting a continuous regular signal; transmitting the rule signal through a communication unit of the DCS and the third party system; outputting the signal; analyzing the injected signals and the output signals, and solving the communication time between the DCS and a third-party system.
In a preferred embodiment, the regular signal is a square wave or a pulse signal.
In a preferred embodiment, the regular signal is injected in a hardware manner or a software manner.
In a preferred embodiment, the analyzing and solving of the communication time between the DCS and the third-party system is carried out in a software writing mode.
In a preferred embodiment, the software is written by the graphical user interface tool of MATLAB.
Compared with the prior art, the system and the method for measuring the communication time between the DCS and the third-party system have the following beneficial effects:
the system and the method for measuring the communication time between the DCS and the third-party system can accurately measure the communication time between the DCS and the third-party system by analyzing the injection signal and the output signal.
Drawings
Fig. 1 is a data communication process between a DCS and a third party control system according to an embodiment of the present invention.
Fig. 2 is a system for measuring communication time between a DCS and a third party system according to an embodiment of the present invention.
Fig. 3 is a diagram of input and output waveforms according to an embodiment of the present invention.
FIG. 4 is a simulation interface implemented by a MATLAB authoring software package according to one embodiment of the present invention.
Detailed Description
The following detailed description of the present invention is provided in conjunction with the accompanying drawings, but it should be understood that the scope of the present invention is not limited to the specific embodiments.
Throughout the specification and claims, unless explicitly stated otherwise, the word "comprise", or variations such as "comprises" or "comprising", will be understood to imply the inclusion of a stated element or component but not the exclusion of any other element or component.
The complex nuclear power station DCS is a third-party control system that provides its secondary control functions. The third-party systems relate to a plurality of brands of manufacturers, particularly data are transmitted among the third-party control systems of different models through a plurality of processors, protocol conversion is carried out for a plurality of times, the communication process is complex, and once the communication rule is not well mastered, the communication efficiency is influenced.
For example, fig. 1 is a data communication process between a DCS and a third party control system according to an embodiment of the present invention. As shown, a certain data communication passes through 3 processors, and 3 different protocols finally reach the terminal for display. In the communication process, data may undergo steps of acquisition, logical operation, transmission processing, transmission, reception processing, protocol conversion operation, photoelectric conversion, redundancy judgment, and the like, and may also face situations of data loss, retransmission, and the like. In the face of such a complex communication process, theoretical calculation of the communication situation of each node is difficult to feed back the real situation of the site.
The invention provides a system and a method for measuring communication time of a DCS and a third-party system, which do not consider the communication efficiency of a single processor node, but take the whole communication process between the DCS and the third-party control system as a whole and measure the communication time of the whole communication process. The principle of the method is that each processing link of communication data always has a scanning period, so that the problem of transmission frequency always exists in the communication process, the time for transmitting once is related to the data volume and the processing capacity, and when a plurality of nodes with different frequencies are combined together, the cycle period, the data volume, the checking mode and the like of transmission jointly determine the time and the efficiency of communication.
As shown in fig. 2, the system for measuring the communication time between the DCS and the third party system includes a signal injection unit 10, a signal transmission unit 11, a signal output unit 12, and an analysis unit 13. The signal injection unit 10 is used to inject regular signals such as representative square wave signals, pulse signals, etc. Optionally, square waves of 0.1s, 0.5s, 1s and 3s are selected as the injection signals. Alternatively, a pulse signal with 0.5s being "0" and 1s being "1" is selected as the injection signal. The signal injection mode can adopt a hardware channel and can also adopt a software mode. The signal transmission unit 11 is a communication unit of the measured object, i.e., DCS and third party system, for transmitting the injected signal. The signal output unit 11 is used for outputting the waveform trend of the signal, and the analysis unit 12 compares the waveforms of the injection signal and the output signal, so as to determine the communication time of the tested object DCS and the third-party system. Preferably, the analysis unit 12 has built-in analysis software packages written to analyze the communication time.
The invention also provides a method for measuring communication time between the DCS and the third-party system, preferably, the method comprises the following steps:
1, injecting continuous regular signals by the third-party system side.
2, the signal is transmitted with the communication unit of the third party system through the DCS.
And 3, outputting a signal at the DCS end.
And 4, analyzing according to the injected signal and the output signal, and calculating the communication time between the DCS and the third-party system.
Preferably, the calculation of the communication time is performed by using an embodiment of injecting continuous standard 1s square wave signals.
If f (t) is a square wave function, then
Figure BDA0001660802380000051
k is 1,2,3 … k, where time t is the argument and parameter k determines the square wave characteristics, i.e. a 1s square wave when k is 2.
And if the phase of the first sampling of the tested object at the output end of the DCS is phi, the sampling period is T, and the sampling period is the communication time between the DCS and a third-party system, the value of the output waveform function f (nT + phi) is a series of 0 and 1 sequences with T as the period, wherein n is a natural number.
Therefore, the curve F (T) ═ f (nT + φ), nT ≦ T < (n +1) T, is theoretically collected.
When the curve output from the object to be measured is a known result and the function g (T) is obtained by functionalizing the curve, F (T + nT + Φ) ═ g (T) can be estimated from the values of the sampling periods T and Φ.
Fig. 3 is a diagram of input and output waveforms according to an embodiment of the present invention, where the input standard 1s square wave lasts for 20s, and the output waveform is analyzed, it can be known that there are 12 sampling points, the sampling period T is 1.6s, and the sampling phase is 0.6 s. Every 1.6s, a successful refresh will take a point, which may be either 1 or 0, depending entirely on the state of the current injection signal.
Preferably, the software package can be written according to the algorithm, and the communication time algorithm can quickly and accurately obtain the communication time result through software. Preferably, the software package writing is performed using GUI (graphical user interface) functionality of MATLAB. FIG. 4 is a simulation interface implemented by a MATLAB authoring software package according to one embodiment of the present invention. The interface has 2 display frames, the upper frame displays the input standard pulse signal, the waveform is determined by the parameters of 'input signal frequency' and 'input cycle number', the lower frame is the output waveform, the corresponding sampling period (communication time) and sampling phase can be obtained according to the input waveform and the output waveform, meanwhile, the software package can also be used for verifying the solved communication time, the verification method is to input the sampling period (communication time) and sampling phase, and input the frequency and period of the injection signal, and after the click sampling is executed, the output signal waveform is judged whether to be consistent with the actual output waveform.
The foregoing descriptions of specific exemplary embodiments of the present invention have been presented for purposes of illustration and description. It is not intended to limit the invention to the precise form disclosed, and obviously many modifications and variations are possible in light of the above teaching. The exemplary embodiments were chosen and described in order to explain certain principles of the invention and its practical application to enable one skilled in the art to make and use various exemplary embodiments of the invention and various alternatives and modifications as are suited to the particular use contemplated. It is intended that the scope of the invention be defined by the claims and their equivalents.

Claims (7)

1. A system for measuring communication time between a DCS and a third party system, comprising:
a signal injection unit for injecting a regular signal;
the signal transmission unit is connected with the signal injection unit, is a communication unit of the DCS and a third party system and is used for transmitting the regular signals;
the signal output unit is connected with the signal transmission unit and outputs the signal transmitted by the signal transmission unit; and
an analyzing unit for analyzing the communication time between the DCS and a third party system according to the injected signal and the output signal,
wherein the injected regular signal is a square wave signal;
the analyzing unit analyzes and obtains the communication time between the DCS and the third-party system according to the injected signal and the output signal, and comprises the following steps:
collecting the output signal;
obtaining a curve function G (t) of the output signal;
solving the values of the sampling period T and the phase phi of the first sampling of the output signal according to F (T + nT + phi), G (T), wherein F (T) F (nT + phi), nT ≦ T<(n +1) T, n is a natural number, square wave function
Figure FDA0002393841350000011
k is 1,2,3 … k, time t is an argument, k is a parameter; and the sampling period T of the output signal is the communication time of the DCS and a third-party system.
2. The system of claim 1, wherein the regular signal is injected in a hardware or software manner.
3. The system of claim 1, wherein the analyzing unit has an analyzing software package built therein for analyzing and acquiring the communication time.
4. A method of measuring communication time between a DCS and a third party system, comprising:
injecting a continuous regular signal;
transmitting the rule signal through a communication unit of the DCS and the third party system;
outputting the signal; and
analyzing the injected signals and the output signals, solving communication time of the DCS and a third party system,
wherein the injected regular signal is a square wave signal;
analyzing the injected signals and the output signals, and solving the communication time between the DCS and a third-party system comprises:
collecting the output signal;
obtaining a curve function G (t) of the output signal;
solving the values of the sampling period T and the phase phi of the first sampling of the output signal according to F (T + nT + phi), G (T), wherein F (T) F (nT + phi), nT ≦ T<(n +1) T, n is a natural number, square wave function
Figure FDA0002393841350000021
k is 1,2,3 … k, time t is an argument, k is a parameter; and the sampling period T of the output signal is the communication time of the DCS and a third-party system.
5. The method of claim 4, wherein the regular signal is injected in a hardware or software manner.
6. The method of claim 4, wherein the analyzing and solving of the communication time between the DCS and the third party system is performed by writing software.
7. The method of measuring DCS communication time with a third party system of claim 6, wherein the software is written by a graphical user interface tool of MATLAB.
CN201810460550.XA 2018-05-15 2018-05-15 System and method for measuring communication time between DCS and third-party system Active CN108989141B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810460550.XA CN108989141B (en) 2018-05-15 2018-05-15 System and method for measuring communication time between DCS and third-party system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810460550.XA CN108989141B (en) 2018-05-15 2018-05-15 System and method for measuring communication time between DCS and third-party system

Publications (2)

Publication Number Publication Date
CN108989141A CN108989141A (en) 2018-12-11
CN108989141B true CN108989141B (en) 2020-06-09

Family

ID=64541947

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810460550.XA Active CN108989141B (en) 2018-05-15 2018-05-15 System and method for measuring communication time between DCS and third-party system

Country Status (1)

Country Link
CN (1) CN108989141B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1409313A (en) * 2001-09-17 2003-04-09 提阿克株式会社 Signal Process circuit

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5124656A (en) * 1990-09-28 1992-06-23 General Electric Company Adaptive estimation of phase or delay for both leading and lagging phase shifts
CN1125989C (en) * 2000-12-25 2003-10-29 中国科学院计算技术研究所 Circuit time delay measuring method
CN103777104B (en) * 2014-02-24 2016-11-23 国家电网公司 Digitalized substation secondary signal transmission system time-delay characteristics test device and method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1409313A (en) * 2001-09-17 2003-04-09 提阿克株式会社 Signal Process circuit

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于编码波形的数字化变电站信号绝对传输延时测试方法;陶骞 等;《电力系统自动化》;20140825;第110-114页 *

Also Published As

Publication number Publication date
CN108989141A (en) 2018-12-11

Similar Documents

Publication Publication Date Title
US11297129B2 (en) Method and device for identifying distribution network topology error
KR101012464B1 (en) Testing method and its apparatus of digital substation Merging Unit
WO2017000424A1 (en) Protocol detection method and apparatus
JP6932494B2 (en) Systems and methods for applying aggregated cable test results data, as well as cloud-based computer servers
CN104601415B (en) Intelligent substation steady state data closed loop test method and test system thereof
CN111610408A (en) Traveling wave fault positioning method, device, equipment and storage medium
CN110146756B (en) Event inversion driven relay protection test analysis system and method
CN109639347A (en) Optical communications module test method, device and terminal device
CN113765733A (en) Bus network testing method and device
CN117491847A (en) Integrated circuit chip function test system and method
CN115113125A (en) Correction system of multichannel arbitrary waveform generator
CN110954855A (en) Method and system for testing time measurement precision of digital relay protection tester
CN113207146B (en) Wireless communication network quality monitoring system and method
CN114325276A (en) Automatic verification method and system for pattern recognition of partial discharge detection device
CN108989141B (en) System and method for measuring communication time between DCS and third-party system
CN202267836U (en) Bus simulation testboard for heavy-duty car
CN102571217B (en) Radio frequency device, and device and method for detecting standing-wave ratio
CN103368786B (en) Method and device for testing controller local area network bus data
CN111459143A (en) Multi-serial port communication self-closed loop detection system and method
CN115967660B (en) Method, device, terminal equipment and storage medium for testing CAN protocol conversion
CN114034928B (en) Harmonic tracing method based on distributed multipoint feedback and power distribution network analysis system
CN109981394B (en) Communication method and device based on enhanced CAN bus protocol analyzer
CN111786842B (en) Data processing method and hardware-in-the-loop test system
CN210109301U (en) Digital electric energy meter and power source magnitude traceability remote calibration system
CN109412901B (en) Method and system for detecting continuity of acquired data based on time domain processing

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