CN113608513B - DCS system real-time testing device and method - Google Patents

DCS system real-time testing device and method Download PDF

Info

Publication number
CN113608513B
CN113608513B CN202110673289.3A CN202110673289A CN113608513B CN 113608513 B CN113608513 B CN 113608513B CN 202110673289 A CN202110673289 A CN 202110673289A CN 113608513 B CN113608513 B CN 113608513B
Authority
CN
China
Prior art keywords
transmission mode
hard
dcs
signal
controller
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
CN202110673289.3A
Other languages
Chinese (zh)
Other versions
CN113608513A (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.)
Datang Boiler Pressure Vessel Examination Center Co Ltd
East China Electric Power Test Institute of China Datang Corp Science and Technology Research Institute Co Ltd
Original Assignee
Datang Boiler Pressure Vessel Examination Center Co Ltd
East China Electric Power Test Institute of China Datang Corp Science and Technology Research Institute 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 Datang Boiler Pressure Vessel Examination Center Co Ltd, East China Electric Power Test Institute of China Datang Corp Science and Technology Research Institute Co Ltd filed Critical Datang Boiler Pressure Vessel Examination Center Co Ltd
Priority to CN202110673289.3A priority Critical patent/CN113608513B/en
Publication of CN113608513A publication Critical patent/CN113608513A/en
Application granted granted Critical
Publication of CN113608513B publication Critical patent/CN113608513B/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/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • G05B23/0213Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
    • 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

Abstract

A DCS real-time testing device and method belong to the technical field of power generation of power plants, and solve the problems of how to test the real-time performance of an industrially produced DCS, accurately diagnose the performance of the DCS in terms of data receiving and transmitting, and ensure the safety, stability and high efficiency of production process control; through a plurality of signal acquisition loops, the test result can distinguish the respective performances of the DCS controller in the data packet receiving rate, the data packet sending rate and the network transmission delay under different transmission modes, so that the real-time performance of the DCS controller is measured more accurately and is not interfered by the performance of a third party controller. The testing device integrating the performance tests of the data packet receiving rate, the data packet sending rate, the network transmission delay and the like can quickly, intuitively and accurately display the measurement result, and is convenient for analyzing, counting and calculating the real-time performance of the DCS system.

Description

DCS system real-time testing device and method
Technical Field
The invention belongs to the technical field of power generation of power plants, and relates to a device and a method for testing the real-time performance of a DCS (distributed control system).
Background
The real-time performance of the DCS system reflects the processing capacity of the control system in the aspects of data acquisition, data transmission, data calculation and the like, and is mainly influenced by the transmission rate and the transmission precision of a DCS system communication network and the time and the precision of signal processing of a system self module. The higher the real-time performance of the DCS system is, the stronger the resolution of the change of the data signal is, the higher the data sampling rate is, and the more the requirement of the industrial production process on the data receiving and transmitting rapidity can be met. Therefore, the DCS system real-time performance is tested, the performance of the DCS system in the aspect of data receiving and transmitting can be accurately diagnosed, and the safety, stability and high efficiency of industrial production process control are ensured.
As shown in fig. 3, in the prior art, a document "performance test study of a distributed control system of a large thermal power generating unit" (Liu Zhe, etc., of the Guangdong power grid limited responsibility company, electric science institute) with a publication date of 2016 and 11 months discloses a common real-time testing method of a DCS system.
The technical scheme has the following defects: 1) The method adopts an analog quantity signal periodically changing in a triangular wave function as a test signal, wherein the signal bandwidth is equal to or slightly larger than the scanning period of a controlled controller, and the method is based on the Nyquist sampling theorem: if the signal bandwidth is lower than 2 times of the sampling period, signal distortion phenomenon can be caused, so that the method is not suitable for testing the real-time performance of the DCS system; 2) The analog quantity signal is used as a test signal, and the test result can cause analog quantity signal distortion due to the influence of the fluctuation of the scanning period and the acquisition precision of the controller, so that the analog quantity signal is difficult to accurately calculate the data loss rate and the delay time of the system; 3) According to the method, the test signal is received and sent by the controller 1 in sequence, and the packet receiving rate and the packet sending rate of the system data cannot be measured independently, so that the reason for data loss in the real-time performance of the system cannot be determined through the test method; 4) According to the method, network transmission between controllers is simulated by adopting two controllers, a test signal is transmitted through a data network of the controller 1 and is received and transmitted by the tested controller 2, and the result of the network transmission cannot distinguish the measurement result of the tested controller 1, so that the real-time performance of the tested controller cannot be reflected.
In addition, the periodically-changing switching value signal is used as a test signal, and the signal bandwidth is equal to or slightly larger than the scanning period of the tested controller, so that the phenomenon of distortion of the test result can be caused, and the phenomenon cannot be distinguished whether the phenomenon is caused by bandwidth time setting or system real-time property; in addition, the method calculates the packet receiving rate by setting a counter in the controller to record the number of received pulses, and cannot distinguish whether the data packet loss phenomenon is caused by transmission delay or system instantaneity.
Disclosure of Invention
The invention aims to solve the technical problem of how to design a DCS real-time testing device and method, test the real-time performance of the industrial production DCS, accurately diagnose the performance of the DCS in the aspect of data receiving and transmitting, and ensure the safety, stability and high efficiency of production process control.
The invention solves the technical problems through the following technical scheme:
a DCS system real-time testing apparatus, comprising: the system comprises an SOE signal generator (1), an A/D converter (2), a DCS controller (3), a first direct current power supply (4), a second direct current power supply (5), an oscilloscope (6), a third direct current power supply (7) and a fourth direct current power supply (8); the RJ45 network interface of the SOE signal generator (1) is connected with the RJ45 network interface of the DCS controller (3) in a network transmission mode; the DO switching value output interface of the SOE signal generator (1) is connected with the input end of the A/D converter (2) in a hard-wire transmission mode, and the output end of the A/D converter (2) is connected with the DI switching value input interface of the DCS controller (3) in a hard-wire transmission mode; the first DO switching value output interface of the DCS controller (3) is connected with the input end of the first direct current power supply (4) in a hard-wire transmission mode, the output end of the first direct current power supply (4) is connected with the interface I of the oscilloscope (6) in a hard-wire transmission mode, the second DO switching value output interface of the DCS controller (3) is connected with the input end of the second direct current power supply (5) in a hard-wire transmission mode, and the output end of the second direct current power supply (5) is connected with the interface II of the oscilloscope (6) in a hard-wire transmission mode; the input end of the third direct current power supply (7) is connected between the DO switching value output interface of the SOE signal generator (1) and the A/D converter (2) in a hard-wire transmission mode, the output end of the third direct current power supply (7) is connected to the interface IV of the oscilloscope (6), the input end of the fourth direct current power supply (8) is connected between the A/D converter (2) and the DI switching value input interface of the DCS controller (3) in a hard-wire transmission mode, and the input end of the fourth direct current power supply (8) is connected to the interface III of the oscilloscope (6) in a hard-wire transmission mode.
The testing device integrating the performance tests of the data packet receiving rate, the data packet sending rate, the network transmission delay and the like can quickly, intuitively and accurately display the measurement results, is convenient for analyzing, counting and calculating the real-time performance of the DCS system, and can distinguish the respective performances of the DCS controller 3 in the data packet receiving rate, the data packet sending rate and the network transmission delay under different transmission modes through a plurality of signal acquisition loops, so that the real-time performance of the DCS controller 3 is measured more accurately and is not interfered by the performance of a third-party controller.
As a further improvement of the technical scheme of the invention, the network transmission mode is connected by adopting 10/100M network cables, and the hard-wired transmission mode is cable.
As a further improvement of the technical scheme of the invention, the working principle of the device is as follows:
setting the scanning period of the tested DCS controller (3) as T, and setting all direct current power supply voltages to be the same value M;
the SOE signal generator (1) generates a group of periodically-changed pulse signals as test signals, the pulse bandwidth length of the test signals is equal to twice of the scanning period of the tested controller, the signal duty ratio of the test signals is 50%, the number of the test signals is N, and the test signals are ensured to have the frequency not more than half of the sampling frequency of the DCS controller (3);
the test signal generated by the SOE signal generator (1) is transmitted outwards in a network transmission mode and a hard-wired mode at the same time; the signals sent in a hard-wired mode are physical quantities, the physical quantities are divided into two paths, and the first path of physical quantity signals are directly input into a third direct current power supply (7) and then connected to an interface IV of an oscilloscope (6) for recording the waveform curve of an original test signal; the second path of physical quantity signals are converted into digital quantity signals through an A/D converter (2), and then are respectively transmitted to a DI switching value input interface in a DCS controller (3) and an input end of a fourth direct current power supply (8) and then are connected to an oscilloscope (6) interface III for recording a waveform curve of a data receiving signal of the DCS controller (3); the SOE signal generator (1) is transmitted to an RJ45 network interface on the DCS controller (3) through a 10/100M network cable in a network transmission mode; after receiving two paths of test signals, the DCS controller (3) respectively transmits the two paths of test signals to two DO switching value output interfaces in the DCS controller (3) through configuration logic in the controller, one path of signals in a network transmission mode is input into a first direct current power supply (4) and then connected into an interface I of an oscilloscope (6) for recording a signal waveform curve after data transmission and reception in the mode, and one path of signals in a hard-wire transmission mode is input into a second direct current power supply (5) and then connected into an interface II of the oscilloscope (6) for recording the signal waveform curve after data transmission and reception in the mode;
the oscillograph (6) records four paths of input signals of an interface I, an interface II, an interface III and an interface IV at the same time, wherein the four paths of input signals are respectively a data receiving and sending signal of a network transmission mode, a data receiving and sending signal of a hard wiring transmission mode, a receiving signal of the hard wiring transmission mode and an original test signal of the hard wiring transmission mode, and the packet receiving rate eta of the DCS controller (3) under the hard wiring transmission mode is respectively calculated and obtained through waveform comparison analysis of the four paths of signals 1 Packet rate eta of hard-wired transmission mode DCS controller (3) 2 DCS controller (3) eta under network transmission mode 3 Packet reception rate and network transmission delay time tau.
As a further improvement of the technical scheme of the invention, the method for calculating the packet receiving rate of the DCS controller (3) in the hard-wired transmission modeThe method comprises the following steps: comparing the waveform curves of the original test signal and the data receiving signal, recording the number of waveform pulses of the data receiving signal, and recording as N 1 From this, the packet rate of the DCS controller (3) in the hard-wired transmission mode can be calculated asWhere N represents the number of waveform pulses of the original test signal.
As a further improvement of the technical scheme of the invention, the calculation method of the packet sending rate of the hard-wired transmission mode DCS controller (3) comprises the following steps: comparing waveform curves of the hard-wired transmission mode receiving signal and the hard-wired transmission mode transmitting and receiving signal, recording the number of pulses in the waveform of the hard-wired transmission mode transmitting and receiving signal, and recording as N 2 The method comprises the steps of carrying out a first treatment on the surface of the The DCS controller (3) receives the number N of pulses 1 As the total number of the packets, the packet rate of the hard-wired transmission mode DCS controller (3) is calculated as
As a further improvement of the technical scheme of the invention, the calculation method of the packet receiving rate of the DCS controller (3) in the network transmission mode comprises the following steps: recording the number of pulses in the waveform of the network transmission mode transmitting and receiving signal, and recording as N 3 Deducting the packet loss number N of the same packet 1 -N 2 Further, the packet receiving rate of the DCS controller (3) under the network transmission mode is calculated and obtained as follows
As a further improvement of the technical scheme of the invention, the calculation method of the network transmission delay time is as follows: comparing waveform curves of the hard-wire transmission mode transmitting and receiving signals and the network transmission mode transmitting and receiving signals, recording the corresponding moment when the first pulse occurs in the two waveform curves, and recording the absolute value of the time difference as tau as network transmission delay time.
A DCS system real-time testing method comprises the following steps:
s1, setting a scanning period of a tested DCS controller (3) as T, and setting all direct current power supply voltages to be the same value M;
s2, the SOE signal generator (1) generates a group of periodically-changed pulse signals as test signals, wherein the pulse bandwidth length is equal to twice of the scanning period of the tested controller, the signal duty ratio is 50%, and the number is N;
s3, the test signals generated by the SOE signal generator (1) are simultaneously transmitted outwards in a network transmission mode and a hard wiring mode; the signals sent in a hard-wired mode are physical quantities, the physical quantities are divided into two paths, and the first path of physical quantity signals are directly input into a third direct current power supply (7) and then connected to an interface IV of an oscilloscope (6) for recording the waveform curve of an original test signal; the second path of physical quantity signals are converted into digital quantity signals through an A/D converter (2), and then are respectively transmitted to a DI switching value input interface in a DCS controller (3) and an input end of a fourth direct current power supply (8) and then are connected to an oscilloscope (6) interface III for recording a waveform curve of a data receiving signal of the DCS controller (3); the SOE signal generator (1) is transmitted to an RJ45 network interface on the DCS controller (3) through a 10/100M network cable in a network transmission mode; after receiving two paths of test signals, the DCS controller (3) respectively transmits the two paths of test signals to two DO switching value output interfaces in the DCS controller (3) through configuration logic in the controller, one path of signals in a network transmission mode is input into a first direct current power supply (4) and then connected into an interface I of an oscilloscope (6) for recording a signal waveform curve after data transmission and reception in the mode, and one path of signals in a hard-wire transmission mode is input into a second direct current power supply (5) and then connected into an interface II of the oscilloscope (6) for recording the signal waveform curve after data transmission and reception in the mode;
s4, an oscilloscope (6) records four paths of input signals of an interface I, an interface II, an interface III and an interface IV at the same time, wherein the four paths of input signals are respectively a data receiving and transmitting signal of a network transmission mode, a data receiving and transmitting signal of a hard wiring transmission mode, a receiving signal of the hard wiring transmission mode and an original test signal of the hard wiring transmission mode, and the packet receiving rate eta of a DCS controller (3) under the hard wiring transmission mode is respectively calculated through waveform comparison analysis of the four paths of signals 1 Packet rate eta of hard-wired transmission mode DCS controller (3) 2 Network transmission modeLower DCS controller (3) eta 3 Packet reception rate and network transmission delay time tau.
S5, observing eta 1 、η 2 、η 3 Checking whether the network transmission delay time tau is equal to 100% or not and whether the network transmission delay time tau is smaller than a scanning period T, indicating that the current network transmission delay time does not occupy a controller scanning period, when all the conditions are met, indicating that the DCS controller (3) can completely receive and transmit data in the current scanning period, the network transmission does not cause the phenomenon of data packet loss, the real-time performance of the system of the DCS controller (3) meets the requirement, continuously reducing the scanning period of the tested controller, changing the bandwidth length of a test signal, and repeating the test process from S3 to S5; otherwise, if the real-time performance of the system in the current scanning period does not meet the requirement, the scanning period of the controller when the last test result meets the requirement is recorded as the real-time performance of the current controller.
As a further improvement of the technical scheme of the invention, the calculating method of the packet receiving rate of the DCS controller (3) in the hard-wired transmission mode comprises the following steps: comparing the waveform curves of the original test signal and the data receiving signal, recording the number of waveform pulses of the data receiving signal, and recording as N 1 From this, the packet rate of the DCS controller (3) in the hard-wired transmission mode can be calculated asWherein N represents the number of waveform pulses of the original test signal;
the calculation method of the packet sending rate of the hard-wired transmission mode DCS controller (3) comprises the following steps: comparing waveform curves of the hard-wired transmission mode receiving signal and the hard-wired transmission mode transmitting and receiving signal, recording the number of pulses in the waveform of the hard-wired transmission mode transmitting and receiving signal, and recording as N 2 The method comprises the steps of carrying out a first treatment on the surface of the The DCS controller (3) receives the number N of pulses 1 As the total number of the packets, the packet rate of the hard-wired transmission mode DCS controller (3) is calculated as
Packet receiving rate of DCS controller (3) in network transmission modeThe calculation method of (1) is as follows: recording the number of pulses in the waveform of the network transmission mode transmitting and receiving signal, and recording as N 3 Deducting the packet loss number N of the same packet 1 -N 2 Further, the packet receiving rate of the DCS controller (3) under the network transmission mode is calculated and obtained as follows
As a further improvement of the technical scheme of the invention, the calculation method of the network transmission delay time is as follows: comparing waveform curves of the hard-wire transmission mode transmitting and receiving signals and the network transmission mode transmitting and receiving signals, recording the corresponding moment when the first pulse occurs in the two waveform curves, and recording the absolute value of the time difference as tau as network transmission delay time.
The invention has the advantages that:
1) The invention provides a new DCS system real-time testing device, which adopts a periodically-changed pulse signal as a testing signal, wherein the bandwidth time is set to be 2 times of the scanning period of a tested controller, so that the problem of measuring result distortion caused by the close of the pulse bandwidth time and the scanning period of the controller is avoided, and the real-time testing result of the DCS system is influenced; meanwhile, the pulse signal is used as a test signal, and compared with an analog signal, the test signal is less susceptible to signal distortion caused by factors such as scanning period fluctuation of a controller, and therefore the test result accuracy is higher.
2) The DCS system real-time testing device provided by the invention can record the network transmission mode data receiving and transmitting signal, the hard-wired transmission mode data receiving signal and the original testing signal at the same time, directly observe, count and calculate the data through the testing result, and is convenient for distinguishing whether the data packet loss phenomenon of the testing result is caused by network delay or system real-time, thereby improving the testing precision.
3) The invention provides a novel DCS system real-time testing method, which can rapidly and accurately calculate the data packet receiving rate in a network transmission mode and a hard-wired transmission mode, the data packet sending rate in the hard-wired transmission mode and the network transmission delay time, thereby obtaining the DCS system real-time with higher precision.
4) The invention can independently measure the data packet receiving rate of the DCS system in a network transmission mode and a hard-wired transmission mode, the data packet receiving rate and the data packet sending rate in the hard-wired transmission mode and the network transmission delay time through the comparison and analysis of four received signals, thereby accurately evaluating the main factors influencing the real-time performance of the DCS system;
5) According to the invention, data network transmission is realized without two controllers, so that the interference of the performance of the other controller to the real-time test result of the tested controller is avoided, and the accuracy of the test result is improved.
Drawings
FIG. 1 is a block diagram of a real-time testing device for a DCS system according to a first embodiment of the present invention;
FIG. 2 is a flowchart of a DCS system real-time testing method according to the first embodiment of the invention;
fig. 3 is a prior art test method.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions in the embodiments of the present invention will be clearly and completely described in the following in conjunction with the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The technical scheme of the invention is further described below with reference to the attached drawings and specific embodiments:
example 1
As shown in fig. 1, a DCS system real-time testing apparatus includes: SOE signal generator 1, AD converter 2, DCS controller 3, first DC power supply 4, second DC power supply 5, oscilloscope 6, third DC power supply 7, fourth DC power supply 8.
The RJ45 network interface of the SOE signal generator 1 is connected with the RJ45 network interface of the DCS controller 3 by adopting a 10/100M network cable; the DO switching value output interface of the SOE signal generator 1 is connected with the input end of the A/D converter 2 by adopting a cable, and the output end of the A/D converter 2 is connected with the DI switching value input interface of the DCS controller 3 by adopting a cable; the first DO switching value output interface of the DCS controller 3 is connected with the input end of the first direct current power supply 4 by adopting a cable, the output end of the first direct current power supply 4 is connected with the interface I of the oscilloscope 6 by adopting a cable, the second DO switching value output interface of the DCS controller 3 is connected with the input end of the second direct current power supply 5 by adopting a cable, and the output end of the second direct current power supply 5 is connected with the interface II of the oscilloscope 6 by adopting a cable; the input end of the third direct current power supply 7 is connected between the DO switching value output interface of the SOE signal generator 1 and the A/D converter 2 by adopting a cable, the output end of the third direct current power supply 7 is connected between the interface IV of the oscilloscope 6 by adopting a cable, the input end of the fourth direct current power supply 8 is connected between the A/D converter 2 and the DI switching value input interface of the DCS controller 3 by adopting a cable, and the input end of the fourth direct current power supply 8 is connected between the interface III of the oscilloscope 6 by adopting a cable.
The testing device integrating the performance tests of the data packet receiving rate, the data packet sending rate, the network transmission delay and the like can quickly, intuitively and accurately display the measurement results, is convenient for analyzing, counting and calculating the real-time performance of the DCS system, and can distinguish the respective performances of the DCS controller 3 in the data packet receiving rate, the data packet sending rate and the network transmission delay under different transmission modes through a plurality of signal acquisition loops, so that the real-time performance of the DCS controller 3 is measured more accurately and is not interfered by the performance of a third-party controller.
The working principle of the DCS system real-time testing device of the invention is as follows:
(1) Setting the scanning period of the DCS controller 3 to be tested as T; the pulse signal with periodical change is used as a test signal, the pulse bandwidth length is longer than the scanning period of the controller to be tested, the problem of data acquisition distortion caused by the close time of the pulse bandwidth and the scanning period of the controller is avoided, and the DCS real-time test result is influenced; meanwhile, the pulse signal is used as a test signal, so that the signal distortion problem caused by factors such as the fluctuation of the scanning period of the controller is less prone to occur compared with an analog signal, and the test result accuracy is higher.
(2) All direct-current power supply voltages are set to be the same value M, so that each signal can be conveniently compared and analyzed;
(3) The SOE signal generator 1 generates a group of periodically-changed pulse signals as test signals, the pulse bandwidth length is equal to twice (2T) of the scanning period of the tested controller, the signal duty ratio is 50%, the pulse number is N, the test signal frequency is not more than half of the sampling frequency of the DCS controller 3, and the phenomenon of signal distortion is prevented;
(4) The test signal generated by the SOE signal generator 1 is transmitted outwards in a network transmission mode and a hard-wired mode at the same time; the signals sent in a hard-wired mode are physical quantities, the physical quantities are divided into two paths, and the first path of physical quantity signals are directly input into a third direct current power supply 7 and then connected to an interface IV of an oscilloscope 6 for recording the waveform curve of the original test signals; the second path of physical quantity signals are converted into digital quantity signals through the A/D converter 2, and then are respectively transmitted to a DI switching value input interface in the DCS controller 3 and an input end of the fourth direct current power supply 8, and then are connected to an oscilloscope 6 interface III for recording a data receiving signal waveform curve of the DCS controller 3; the SOE signal generator 1 is transmitted to an RJ45 network interface on the DCS controller 3 through a 10/100M network cable in a network transmission mode;
(5) After the DCS controller 3 receives two paths of test signals, the two paths of test signals are respectively transmitted to two DO switching value output interfaces in the DCS controller 3 through configuration logic in the controller, one path of signals in a network transmission mode is input into a first direct current power supply 4 and then connected into an oscillograph 6 interface I for recording a signal waveform curve after data transmission and reception in the mode, and one path of signals in a hard wire transmission mode is input into a second direct current power supply 5 and then connected into an oscillograph 6 interface II for recording the signal waveform curve after data transmission and reception in the mode;
(6) The oscilloscope 6 records four paths of input signals of an interface I, an interface II, an interface III and an interface IV, wherein the four paths of input signals are respectively a signal after data transmission and receiving through a network, a signal after data transmission and receiving through hard wiring, a data receiving signal through hard wiring and a test original signal; the respective packet receiving rate, the packet sending rate and the network transmission delay time can be obtained through waveform comparison analysis of four paths of signals;
(7) Reducing the scanning period of the DCS controller 3, synchronously changing the signal bandwidth length of the SOE signal generator 1, retesting, respectively recording four paths of input signals of an interface I, an interface II, an interface III and an interface IV by the oscilloscope 6, and analyzing to obtain the data packet receiving rate, the network transmission delay time and the data packet sending rate of the DCS controller 3 under the current controller scanning period;
(8) Further reduce the scanning cycle of DCS controller 3, repeat the test, until DCS controller 3 can correctly detect the minimum scanning cycle that needs under the test signal change state, confirm as the real-time of this system promptly.
Example two
As shown in fig. 2, a DCS real-time testing method includes the steps of:
first, the scan period of the DCS controller 3 under test is set to T.
Second, all dc supply voltages are set to the same value M.
Thirdly, setting the parameters of the SOE signal generator 1, and generating a test signal with the number of pulses of N, the pulse bandwidth length of 2T and the duty ratio of 50%.
Fourth, the test signals are respectively sent to the oscillograph 6 after four paths, and the waveform curves are respectively a network transmission mode data receiving and transmitting signal, a hard wire transmission mode receiving signal and an original test signal.
Fifthly, performing comparative analysis on four paths of signal waveform curves through an oscilloscope 6 to obtain the data packet receiving rate, the packet sending rate and the network transmission delay time of the DCS controller 3 under different transmission modes; the specific method comprises the following steps:
1) Comparing the waveform curves of the original test signal and the received signal in the hard-wire transmission mode, recording the pulse number of the waveform of the received signal in the hard-wire transmission mode, and recording as N 1 From this, the DCS controller 3 in the hard-wired transmission mode can be calculatedThe packet receiving rate is as follows
2) Comparing waveform curves of the hard-wired transmission mode receiving signal and the hard-wired transmission mode transmitting and receiving signal, recording the number of pulses in the waveform of the hard-wired transmission mode transmitting and receiving signal, and recording as N 2 The method comprises the steps of carrying out a first treatment on the surface of the The DCS controller 3 receives the number N of pulses 1 As the total number of packets, the packet rate of the hard-wired transmission mode DCS controller 3 is calculated as
3) Comparing waveform curves of the hard-wire transmission mode receiving and transmitting signals and the network transmission mode receiving and transmitting signals, recording the corresponding moment when the first pulse occurs in the two waveform curves, and recording the absolute value of the time difference as tau as network transmission delay time; recording the number of pulses in the waveform of the network transmission mode transmitting and receiving signal, and recording as N 3 Because the two packet receiving modes are different and the packet sending modes are the same, the packet loss number N when the same packet is sent is deducted 1 -N 2 Further, the packet receiving rate of the DCS controller 3 under the network transmission mode is calculated and obtained as follows
Sixth, observe eta 1 、η 2 、η 3 Checking whether the network transmission delay time tau is equal to 100% or not and whether the network transmission delay time tau is smaller than the scanning period T, indicating that the current network transmission delay time does not occupy one controller scanning period, when all the conditions are met, indicating that the DCS controller 3 can completely receive and transmit data in the current scanning period, the network transmission does not cause the phenomenon of data packet loss, the real-time performance of the system of the DCS controller 3 meets the requirement, continuously reducing the scanning period of the tested controller, changing the bandwidth length of the test signal, and repeating the fourth to sixth test processes; otherwise, if the real-time performance of the system in the current scanning period does not meet the requirement, the scanning period of the controller when the last test result meets the requirement is recorded as the current scanning periodAnd (5) real-time performance of the controller.
The real-time performance of the DCS system is an important performance of the DCS system, reflects the processing capacity of the DCS system in links such as data acquisition, data transmission, data calculation and the like, and is used for evaluating whether the DCS system can meet the requirements of links such as data acquisition, transmission, display and calculation in the industrial production process. The higher the real-time performance of the DCS system is, the faster the data signal with the faster change speed can be detected by the representative system. The real-time performance of the DCS system comprises the characteristic of controlling the network data transmission delay and the data receiving and transmitting accuracy. The test circuit is designed to integrate the high-precision, continuous and adjustable test signal with the control network data transmission and data receiving and transmitting, and simultaneously detect the real-time performance of the DCS system in terms of data transmission and data receiving and transmitting, obtain the real-time test result of the system, and obtain the minimum duration time required by the DCS system in the state that the DCS system can correctly detect the change of the test signal, namely, determine the real-time performance of the system.
The above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. The utility model provides a DCS system real-time performance testing arrangement which characterized in that includes: the system comprises an SOE signal generator (1), an A/D converter (2), a DCS controller (3), a first direct current power supply (4), a second direct current power supply (5), an oscilloscope (6), a third direct current power supply (7) and a fourth direct current power supply (8); the RJ45 network interface of the SOE signal generator (1) is connected with the RJ45 network interface of the DCS controller (3) in a network transmission mode; the DO switching value output interface of the SOE signal generator (1) is connected with the input end of the A/D converter (2) in a hard-wire transmission mode, and the output end of the A/D converter (2) is connected with the DI switching value input interface of the DCS controller (3) in a hard-wire transmission mode; the first DO switching value output interface of the DCS controller (3) is connected with the input end of the first direct current power supply (4) in a hard-wire transmission mode, the output end of the first direct current power supply (4) is connected with the interface I of the oscilloscope (6) in a hard-wire transmission mode, the second DO switching value output interface of the DCS controller (3) is connected with the input end of the second direct current power supply (5) in a hard-wire transmission mode, and the output end of the second direct current power supply (5) is connected with the interface II of the oscilloscope (6) in a hard-wire transmission mode; the input end of the third direct current power supply (7) is connected between the DO switching value output interface of the SOE signal generator (1) and the A/D converter (2) in a hard-wire transmission mode, the output end of the third direct current power supply (7) is connected to the interface IV of the oscilloscope (6), the input end of the fourth direct current power supply (8) is connected between the A/D converter (2) and the DI switching value input interface of the DCS controller (3) in a hard-wire transmission mode, and the input end of the fourth direct current power supply (8) is connected to the interface III of the oscilloscope (6) in a hard-wire transmission mode.
2. The DCS system real-time testing apparatus of claim 1, wherein said network transmission means is a 10/100M network cable, and said hard-wired transmission means is a cable.
3. The DCS system real-time testing device of claim 2, wherein the device operates on the following principle:
setting the scanning period of the tested DCS controller (3) as T, and setting all direct current power supply voltages to be the same value M;
the SOE signal generator (1) generates a group of periodically-changed pulse signals as test signals, the pulse bandwidth length of the test signals is equal to twice of the scanning period of the tested controller, the signal duty ratio of the test signals is 50%, the pulse number of the test signals is N, and the test signal frequency is ensured to be not more than half of the sampling frequency of the DCS controller (3);
the test signal generated by the SOE signal generator (1) is transmitted outwards in a network transmission mode and a hard-wired mode at the same time; the signals sent in a hard-wired mode are physical quantities, the physical quantities are divided into two paths, and the first path of physical quantity signals are directly input into a third direct current power supply (7) and then connected to an interface IV of an oscilloscope (6) for recording the waveform curve of an original test signal; the second path of physical quantity signals are converted into digital quantity signals through an A/D converter (2), and then are respectively transmitted to a DI switching value input interface in a DCS controller (3) and an input end of a fourth direct current power supply (8) and then are connected to an oscilloscope (6) interface III for recording a waveform curve of a data receiving signal of the DCS controller (3); the SOE signal generator (1) is transmitted to an RJ45 network interface on the DCS controller (3) through a 10/100M network cable in a network transmission mode; after receiving two paths of test signals, the DCS controller (3) respectively transmits the two paths of test signals to two DO switching value output interfaces in the DCS controller (3) through configuration logic in the controller, one path of signals in a network transmission mode is input into a first direct current power supply (4) and then connected into an interface I of an oscilloscope (6) for recording a signal waveform curve after data transmission and reception in the mode, and one path of signals in a hard-wire transmission mode is input into a second direct current power supply (5) and then connected into an interface II of the oscilloscope (6) for recording the signal waveform curve after data transmission and reception in the mode;
the oscilloscope (6) records four paths of input signals of an interface I, an interface II, an interface III and an interface IV at the same time, wherein the four paths of input signals are respectively a data receiving and sending signal of a network transmission mode, a data receiving and sending signal of a hard wiring transmission mode, a receiving signal of the hard wiring transmission mode and an original test signal of the hard wiring transmission mode, and the packet receiving rate eta of the DCS controller (3) under the hard wiring transmission mode is respectively calculated and obtained through waveform comparison analysis of the four paths of signals 1 Packet rate eta of hard-wired transmission mode DCS controller (3) 2 DCS controller (3) eta under network transmission mode 3 Packet reception rate and network transmission delay time tau.
4. The DCS system real-time testing device of claim 3, wherein the method for calculating the packet receiving rate of the DCS controller (3) in the hard wire transmission mode comprises the steps of: comparing the waveform curves of the original test signal and the data receiving signal, recording the number of waveform pulses of the data receiving signal, and recording as N 1 From this, the packet rate of the DCS controller (3) in the hard-wired transmission mode can be calculated asWhere N represents the number of waveform pulses of the original test signal.
5. The DCS system real-time testing apparatus of claim 4, wherein the method for calculating the packet rate of the hard-wired DCS controller (3) comprises the steps of: comparing waveform curves of the hard-wired transmission mode receiving signal and the hard-wired transmission mode transmitting and receiving signal, recording the number of pulses in the waveform of the hard-wired transmission mode transmitting and receiving signal, and recording as N 2 The method comprises the steps of carrying out a first treatment on the surface of the The DCS controller (3) receives the number N of pulses 1 As the total number of the packets, the packet rate of the hard-wired transmission mode DCS controller (3) is calculated as
6. The DCS system real-time testing apparatus of claim 5, wherein the method for calculating the packet receiving rate of the DCS controller (3) in the network transmission mode comprises the steps of: recording the number of pulses in the waveform of the network transmission mode transmitting and receiving signal, and recording as N 3 Deducting the packet loss number N of the same packet 1 -N 2 Further, the packet receiving rate of the DCS controller (3) under the network transmission mode is calculated and obtained as follows
7. The DCS real-time testing apparatus of claim 3, wherein said calculating method of network transmission delay time comprises: comparing waveform curves of the hard-wire transmission mode transmitting and receiving signals and the network transmission mode transmitting and receiving signals, recording the corresponding moment when the first pulse occurs in the two waveform curves, and recording the absolute value of the time difference as tau as network transmission delay time.
8. The DCS system real-time testing method is characterized by comprising the following steps of:
s1, setting a scanning period of a tested DCS controller (3) as T, and setting all direct current power supply voltages to be the same value M;
s2, the SOE signal generator (1) generates a group of periodically-changed pulse signals as test signals, wherein the pulse bandwidth length is equal to twice of the scanning period of the tested controller, the signal duty ratio is 50%, and the number is N;
s3, the test signals generated by the SOE signal generator (1) are simultaneously transmitted outwards in a network transmission mode and a hard wiring mode; the signals sent in a hard-wired mode are physical quantities, the physical quantities are divided into two paths, and the first path of physical quantity signals are directly input into a third direct current power supply (7) and then connected to an interface IV of an oscilloscope (6) for recording the waveform curve of an original test signal; the second path of physical quantity signals are converted into digital quantity signals through an A/D converter (2), and then are respectively transmitted to a DI switching value input interface in a DCS controller (3) and an input end of a fourth direct current power supply (8) and then are connected to an interface III of an oscilloscope (6) for recording a waveform curve of data receiving signals of the DCS controller (3); the SOE signal generator (1) is transmitted to an RJ45 network interface on the DCS controller (3) through a 10/100M network cable in a network transmission mode; after receiving two paths of test signals, the DCS controller (3) respectively transmits the two paths of test signals to two DO switching value output interfaces in the DCS controller (3) through configuration logic in the controller, one path of signals in a network transmission mode is input into a first direct current power supply (4) and then connected into an interface I of an oscilloscope (6) for recording a signal waveform curve after data transmission and reception in the mode, and one path of signals in a hard-wire transmission mode is input into a second direct current power supply (5) and then connected into an interface II of the oscilloscope (6) for recording the signal waveform curve after data transmission and reception in the mode;
s4, an oscilloscope (6) records four paths of input signals of an interface I, an interface II, an interface III and an interface IV at the same time, wherein the four paths of input signals are respectively a data receiving and sending signal of a network transmission mode, a data receiving and sending signal of a hard wiring transmission mode, a receiving signal of the hard wiring transmission mode and an original test signal of the hard wiring transmission mode, and the packet receiving rate eta of a DCS controller (3) under the hard wiring transmission mode is respectively calculated and obtained through waveform comparison analysis of the four paths of signals 1 DCS control of hard-wired transmission modePacket rate η of the packet generator (3) 2 DCS controller (3) eta under network transmission mode 3 Packet receiving rate and network transmission delay time tau;
s5, observing eta 1 、η 2 、η 3 Checking whether the network transmission delay time tau is equal to 100% or not and whether the network transmission delay time tau is smaller than a scanning period T, indicating that the current network transmission delay time does not occupy a controller scanning period, when all the conditions are met, indicating that the DCS controller (3) can completely receive and transmit data in the current scanning period, the network transmission does not cause the phenomenon of data packet loss, the real-time performance of the system of the DCS controller (3) meets the requirement, continuously reducing the scanning period of the tested controller, changing the bandwidth length of a test signal, and repeating the test process from S3 to S5; otherwise, if the real-time performance of the system in the current scanning period does not meet the requirement, the scanning period of the controller when the last test result meets the requirement is recorded as the real-time performance of the current controller.
9. The method for testing the real-time performance of the DCS system according to claim 8, wherein the method for calculating the packet receiving rate of the DCS controller (3) in the hard-wired transmission mode comprises the steps of: comparing the waveform curves of the original test signal and the data receiving signal, recording the number of waveform pulses of the data receiving signal, and recording as N 1 From this, the packet rate of the DCS controller (3) in the hard-wired transmission mode can be calculated asWherein N represents the number of waveform pulses of the original test signal;
the calculation method of the packet sending rate of the hard-wired transmission mode DCS controller (3) comprises the following steps: comparing waveform curves of the hard-wired transmission mode receiving signal and the hard-wired transmission mode transmitting and receiving signal, recording the number of pulses in the waveform of the hard-wired transmission mode transmitting and receiving signal, and recording as N 2 The method comprises the steps of carrying out a first treatment on the surface of the The DCS controller (3) receives the number N of pulses 1 As the total number of the packets, the packet rate of the hard-wired transmission mode DCS controller (3) is calculated as
The method for calculating the packet receiving rate of the DCS controller (3) in the network transmission mode comprises the following steps: recording the number of pulses in the waveform of the network transmission mode transmitting and receiving signal, and recording as N 3 Deducting the packet loss number N of the same packet 1 -N 2 Further, the packet receiving rate of the DCS controller (3) under the network transmission mode is calculated and obtained as follows
10. The method for testing the real-time performance of the DCS system according to claim 9, wherein the method for calculating the network transmission delay time comprises the steps of: comparing waveform curves of the hard-wire transmission mode transmitting and receiving signals and the network transmission mode transmitting and receiving signals, recording the corresponding moment when the first pulse occurs in the two waveform curves, and recording the absolute value of the time difference as tau as network transmission delay time.
CN202110673289.3A 2021-06-17 2021-06-17 DCS system real-time testing device and method Active CN113608513B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110673289.3A CN113608513B (en) 2021-06-17 2021-06-17 DCS system real-time testing device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110673289.3A CN113608513B (en) 2021-06-17 2021-06-17 DCS system real-time testing device and method

Publications (2)

Publication Number Publication Date
CN113608513A CN113608513A (en) 2021-11-05
CN113608513B true CN113608513B (en) 2024-01-19

Family

ID=78303550

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110673289.3A Active CN113608513B (en) 2021-06-17 2021-06-17 DCS system real-time testing device and method

Country Status (1)

Country Link
CN (1) CN113608513B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB974060A (en) * 1961-12-20 1964-11-04 Siemens Ag Improvements in or relating to testing apparatus for electric cables
CN202034064U (en) * 2011-03-17 2011-11-09 江苏核电有限公司 Device for detecting performance of DCS signal transmission module
CN102541052A (en) * 2012-02-16 2012-07-04 山东电力研究院 Real-time test method for computer control system
CN108391250A (en) * 2018-03-02 2018-08-10 重庆大学 Inter-vehicle communication network performance field testing method and test system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB974060A (en) * 1961-12-20 1964-11-04 Siemens Ag Improvements in or relating to testing apparatus for electric cables
CN202034064U (en) * 2011-03-17 2011-11-09 江苏核电有限公司 Device for detecting performance of DCS signal transmission module
CN102541052A (en) * 2012-02-16 2012-07-04 山东电力研究院 Real-time test method for computer control system
CN108391250A (en) * 2018-03-02 2018-08-10 重庆大学 Inter-vehicle communication network performance field testing method and test system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
火电厂分散控制系统性能测试方法研究;司瑞才;张锷;刘磊;徐雨红;;吉林电力(04);全文 *

Also Published As

Publication number Publication date
CN113608513A (en) 2021-11-05

Similar Documents

Publication Publication Date Title
CN101393234A (en) Waveform auto-measuring system and method
CN106324538B (en) A kind of shelf depreciation automated calibration system
CN109407033B (en) Calibration device of transient calibration instrument of direct current transformer
CN101105501A (en) Fan rotary speed test system and method
CN108896953A (en) Multi-compartment digital metering test macro based on wireless synchronization
CN111934760A (en) Signal processing transmission delay characteristic detection device and method and terminal equipment
CN101865946A (en) Alternating current parameter testing system and method of programmable digital integrated circuit
CN103001636A (en) Single event effect detection method of folding interpolating-type analog-digital conversion device
CN113608513B (en) DCS system real-time testing device and method
CN103377962A (en) Method and system for testing low-voltage differential signals
CN113466673B (en) Channel transmission delay difference measurement system and method
CN201796119U (en) Programmable digital integrated circuit alternating-current parameter testing system
CN101980039A (en) Oscilloscope trigger calibration device for radio measuring and testing
CN106841929B (en) Anti-interference cable fault test system and test method based on TDR
CN215813847U (en) DCS real-time performance testing device
CN109407026B (en) Evaluation device and method for ultrahigh frequency partial discharge instrument
CN105842566B (en) The system and its mapping method of automation mapping digital filter amplitude-versus-frequency curve
CN107884648A (en) A kind of method for testing and analyzing of multiport differential transfer channel jitter
CN108957174B (en) Voltage sag detection device and method
CN112067870B (en) Automatic oscilloscope parameter measuring device and method based on FPGA
CN206638771U (en) A kind of Anti-interference cable fault test system based on TDR
CN111458672B (en) Multi-range current measurement calibration system based on machine learning
CN115638952A (en) Multipoint pressure data synchronous parallel acquisition system and application method
CN101865974B (en) Logic tester and method for simultaneously measuring delay time of a plurality of devices to be measured
CN103809059A (en) Signal detection method and device

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