CN113608513A - DCS real-time testing device and method - Google Patents

DCS real-time testing device and method Download PDF

Info

Publication number
CN113608513A
CN113608513A CN202110673289.3A CN202110673289A CN113608513A CN 113608513 A CN113608513 A CN 113608513A CN 202110673289 A CN202110673289 A CN 202110673289A CN 113608513 A CN113608513 A CN 113608513A
Authority
CN
China
Prior art keywords
transmission mode
signal
hard
dcs
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.)
Granted
Application number
CN202110673289.3A
Other languages
Chinese (zh)
Other versions
CN113608513B (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

Images

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

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

A DCS system real-time testing device and a 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 industrial DCS system, accurately diagnose the performance of the DCS system in the aspect of data receiving and sending, 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 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 more accurately measured, and the real-time performance of the DCS controller is not interfered by the performance of a third-party controller. The testing device integrates the performance tests of the data packet receiving rate, the data packet sending rate, the network transmission delay and the like, can quickly, visually and accurately display the measurement result, and is convenient for analyzing, counting and calculating the real-time performance of the DCS.

Description

DCS real-time testing device and method
Technical Field
The invention belongs to the technical field of power plant power generation, and relates to a real-time testing device and method for a DCS (distributed control system).
Background
The real-time performance of the DCS 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 communication network of the DCS and the time and precision of signal processing of modules of the system. The higher the real-time performance of the DCS, the stronger the resolution of data signal change and the higher the data sampling rate, and the requirement of the industrial production process on the rapidity of data receiving and transmitting can be met. Therefore, the real-time performance of the DCS can be accurately diagnosed by testing the real-time performance of the DCS in the aspect of data receiving and sending, and the safety, stability and high efficiency of industrial production process control are guaranteed.
As shown in fig. 3, in the prior art, a document "performance test research on distributed control system of large thermal power generating unit" (liu taimen, etc., guangdong power grid, ltd) published in 2016 and 11 months discloses a common real-time testing method for DCS system, in which a periodically changing triangular wave analog signal is used as a test signal, and a data acquisition instrument is used to record the test signal, a signal received and transmitted by the DCS system, and a signal received and transmitted by the DCS system through network transmission between two controllers.
The technical scheme has the following defects: 1) the method adopts an analog quantity signal which periodically changes in a triangular wave function as a test signal, the signal bandwidth of the test signal is equal to or slightly larger than the scanning period of a measured controller, and according to the Nernst Quit sampling theorem: if the signal bandwidth is less than 2 times of the sampling period, signal distortion can be caused, so that the method is not suitable for real-time testing of the DCS; 2) the analog quantity signal is adopted as a test signal, and the test result can cause the analog quantity signal distortion due to the influence of the scanning period fluctuation and the acquisition precision of a controller, so that the analog quantity signal distortion is difficult to be used for accurately calculating the data loss rate and the delay time of the system; 3) according to the method, test signals are received and sent by the controller 1 in sequence, and the packet receiving rate and the packet sending rate of system data cannot be measured independently, so that the reason of data loss in the real-time performance of the system cannot be determined by the test method; 4) according to the method, two controllers are adopted to simulate network transmission between the controllers, test signals are transmitted through a data network of the controller 1 and received and sent by the measured controller 2 in sequence, and the result cannot distinguish the measurement result of the measured controller 1, so that the real-time performance of the measured controller cannot be reflected.
In addition, a periodically-changed switching value signal is used as a test signal, the signal bandwidth of the test signal is equal to or slightly larger than the scanning period of the measured controller, and the test result is also distorted, so that the phenomenon caused by setting of bandwidth time or system real-time performance cannot be distinguished; in addition, the method calculates the packet receiving rate by setting a counter in the controller to record the number of the received pulses, and cannot distinguish whether the phenomenon of data packet loss is caused by transmission delay or system real-time.
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 industrial DCS system in real time, accurately diagnose the performance of the DCS system in the aspect of data receiving and sending, 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 real-time testing device comprises: the device 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; a DO switching value output interface of the SOE signal generator (1) is connected with an input end of the A/D converter (2) in a hard-wired transmission mode, and an output end of the A/D converter (2) is connected with a DI switching value input interface of the DCS controller (3) in a hard-wired transmission mode; a first DO switching value output interface of the DCS controller (3) is connected with an input end of a first direct current power supply (4) in a hard-wired transmission mode, an output end of the first direct current power supply (4) is connected with an interface I of the oscilloscope (6) in a hard-wired transmission mode, a second DO switching value output interface of the DCS controller (3) is connected with an input end of a second direct current power supply (5) in a hard-wired transmission mode, and an output end of the second direct current power supply (5) is connected with an interface II of the oscilloscope (6) in a hard-wired transmission mode; the input end of a third direct current power supply (7) is connected between a DO (data only) switching value output interface of the SOE signal generator (1) and the A/D converter (2) in a hard-wired transmission mode, the output end of the third direct current power supply (7) is connected with an interface IV of the oscilloscope (6), the input end of a fourth direct current power supply (8) is connected between the A/D converter (2) and a DI (digital input) switching value input interface of the DCS controller (3) in a hard-wired transmission mode, and the input end of the fourth direct current power supply (8) is connected with an interface III of the oscilloscope (6) in a hard-wired 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, visually and accurately display the measuring result, is convenient for analyzing, counting and calculating the real-time performance of the DCS system, and can distinguish the respective performance of the DCS controller 3 on the data packet receiving rate, the data packet sending rate and the network transmission delay in different transmission modes through a plurality of signal acquisition loops, so that the real-time performance of the DCS controller 3 can be more accurately measured without being interfered by the performance of a controller of a third party.
As a further improvement of the technical scheme of the invention, 10/100M network lines are adopted for the network transmission mode connection, and cables are adopted for the hard-wired transmission mode.
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 the DC power supply voltages as the same value M;
the SOE signal generator (1) generates a group of pulse signals which change periodically as test signals, the length of the pulse bandwidth is equal to twice of the scanning period of the tested controller, the duty ratio of the signals is 50%, the number of the pulse signals is N, and the frequency of the test signals is not more than one half of the sampling frequency of the DCS controller (3);
the test signal generated by the SOE signal generator (1) is simultaneously transmitted outwards in a network transmission mode and a hard-wired mode; the signal sent in a hard-wired mode is a physical quantity, the physical quantity is divided into two paths, and a first path of physical quantity signal is directly input into a third direct-current power supply (7) and then is connected to an interface IV of an oscilloscope (6) and used for recording an original test signal waveform curve; the second path of physical quantity signal is converted into a digital quantity signal through the A/D converter (2), and then is respectively transmitted to a DI switching value input interface in the DCS controller (3) and an input end of a fourth direct current power supply (8), and then is connected to an interface III of the oscilloscope (6) 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 an 10/100M network cable in a network transmission mode; after receiving two paths of test signals, the DCS controller (3) respectively transmits the test signals to two DO switching value output interfaces in the DCS controller (3) through internal configuration logic of the controller, inputs one path of signal in a network transmission mode into a first direct current power supply (4) and then connects into an interface I of an oscilloscope (6) for recording a signal waveform curve after data receiving and transmitting in the mode, inputs one path of signal in a hard-wired transmission mode into a second direct current power supply (5) and then connects into an interface II of the oscilloscope (6) for recording a signal waveform curve after data receiving and transmitting in the mode;
the oscilloscope (6) records the interface I, the interface II and the interface III at the same timeAnd an interface IV four-path input signal which is a data receiving and transmitting signal of a network transmission mode, a data receiving and transmitting signal of a hard-wired transmission mode, a receiving signal of the hard-wired transmission mode and an original test signal of the hard-wired transmission mode respectively, and the packet receiving rate eta of the DCS controller (3) in the hard-wired transmission mode is obtained by calculating respectively through waveform comparative analysis of the four-path signals1Packet sending rate eta of DCS controller (3) in hard-wired transmission mode2DCS controller (3) eta in network transmission mode3The packet reception rate and the network transmission delay time τ.
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 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 N1Therefore, the packet receiving rate of the DCS controller (3) in the hard-wired transmission mode can be calculated to be
Figure BDA0003119643710000031
Where N represents the number of waveform pulses of the original test signal.
As a further improvement of the technical scheme of the invention, the packet sending rate calculation method of the hard-wired transmission mode DCS controller (3) comprises the following steps: comparing the waveform curves of the received signal in the hard-wired transmission mode and the received signal in the hard-wired transmission mode, recording the number of pulses in the waveform of the received signal in the hard-wired transmission mode as N2(ii) a The DCS controller (3) receives the pulse number N1As the total number of the packets, the packet transmission rate of the hard-wired transmission mode DCS controller (3) is calculated as
Figure BDA0003119643710000041
As a further improvement of the technical solution of the present invention, the method for calculating the packet access rate of the DCS controller (3) in the network transmission mode comprises: recording the number of pulses in the waveform of the network transmission mode transmitting and receiving signals as N3The number of lost packets N obtained by deducting the same transmitted packet1-N2And further calculating to obtain a packet of the DCS controller (3) in the network transmission modeA rate of
Figure BDA0003119643710000042
As a further improvement of the technical solution of the present invention, the method for calculating the network transmission delay time comprises: comparing the waveform curves of the hard-wired transmission mode receiving and transmitting signal and the network transmission mode receiving and transmitting signal, recording the corresponding time when the first pulse in the two waveform curves occurs, and recording the absolute value of the time difference as tau to be used as the network transmission delay time.
A real-time testing method for a DCS comprises the following steps:
s1, setting the scanning period of the tested DCS controller (3) as T, and setting all the direct-current power supply voltages as the same value M;
s2, the SOE signal generator (1) generates a group of pulse signals which change periodically and are used 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 is 50%, and the number of the test signals is N;
s3, the test signal generated by the SOE signal generator (1) is simultaneously transmitted outwards in a network transmission mode and a hard-wired mode; the signal sent in a hard-wired mode is a physical quantity, the physical quantity is divided into two paths, and a first path of physical quantity signal is directly input into a third direct-current power supply (7) and then is connected to an interface IV of an oscilloscope (6) and used for recording an original test signal waveform curve; the second path of physical quantity signal is converted into a digital quantity signal through the A/D converter (2), and then is respectively transmitted to a DI switching value input interface in the DCS controller (3) and an input end of a fourth direct current power supply (8), and then is connected to an interface III of the oscilloscope (6) 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 an 10/100M network cable in a network transmission mode; after receiving two paths of test signals, the DCS controller (3) respectively transmits the test signals to two DO switching value output interfaces in the DCS controller (3) through internal configuration logic of the controller, inputs one path of signal in a network transmission mode into a first direct current power supply (4) and then connects into an interface I of an oscilloscope (6) for recording a signal waveform curve after data receiving and transmitting in the mode, inputs one path of signal in a hard-wired transmission mode into a second direct current power supply (5) and then connects into an interface II of the oscilloscope (6) for recording a signal waveform curve after data receiving and transmitting in the mode;
s4, oscilloscope (6) records interface I, interface II, interface III and interface IV four input signals, which are network transmission mode data receiving and transmitting signal, hard-wired transmission mode receiving signal and hard-wired transmission mode original test signal, respectively, and calculates and obtains DCS controller (3) packet receiving rate eta in hard-wired transmission mode through wave form comparison analysis of four signals1Packet sending rate eta of DCS controller (3) in hard-wired transmission mode2DCS controller (3) eta in network transmission mode3The packet reception rate and the network transmission delay time τ.
S5, observation eta1、η2、η3Whether the values of the data are all equal to 100% or not, and whether the network transmission delay time tau is smaller than the scanning period T or not is checked, the fact that the current network transmission delay time does not occupy one controller scanning period is indicated, when all the conditions are met, the data can be completely received and sent by the DCS controller (3) in the current scanning period, the data packet loss phenomenon is not caused in network transmission, the real-time performance of the system of the DCS controller (3) meets the requirement, the scanning period of the controller to be tested is continuously reduced, the bandwidth length of the test signal is changed, and the test process from S3 to S5 is repeated; otherwise, if the real-time performance of the system in the current scanning period does not meet the requirement, recording the scanning period of the controller when the last test result meets the requirement as the real-time performance of the current controller.
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 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 N1Therefore, the packet receiving rate of the DCS controller (3) in the hard-wired transmission mode can be calculated to be
Figure BDA0003119643710000051
Where N represents the number of waveform pulses of the original test signal;
The packet sending rate calculation method of the hard-wired transmission mode DCS controller (3) comprises the following steps: comparing the waveform curves of the received signal in the hard-wired transmission mode and the received signal in the hard-wired transmission mode, recording the number of pulses in the waveform of the received signal in the hard-wired transmission mode as N2(ii) a The DCS controller (3) receives the pulse number N1As the total number of the packets, the packet transmission rate of the hard-wired transmission mode DCS controller (3) is calculated as
Figure BDA0003119643710000052
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 signals as N3The number of lost packets N obtained by deducting the same transmitted packet1-N2And further calculating the packet receiving rate of the DCS controller (3) in the network transmission mode to be
Figure BDA0003119643710000053
As a further improvement of the technical solution of the present invention, the method for calculating the network transmission delay time comprises: comparing the waveform curves of the hard-wired transmission mode receiving and transmitting signal and the network transmission mode receiving and transmitting signal, recording the corresponding time when the first pulse in the two waveform curves occurs, and recording the absolute value of the time difference as tau to be used as the network transmission delay time.
The invention has the advantages that:
1) the invention provides a novel real-time testing device of a DCS, which adopts a pulse signal with periodic change as a testing signal, wherein the bandwidth time of the pulse signal is set to be 2 times of the scanning period of a tested controller, so that the problem of measurement result distortion caused by the fact that the pulse bandwidth time is close to the scanning period of the controller is avoided, and the real-time testing result of the DCS is influenced; meanwhile, the pulse signal is adopted as the test signal, compared with an analog signal, the problem of signal distortion caused by factors such as the scanning period fluctuation of a controller is not easy to occur, and therefore the test result precision of the invention is higher.
2) The DCS real-time testing device provided by the invention can simultaneously record network transmission mode data transceiving signals, hard-wired transmission mode received signals and original testing signals, and directly carry out data observation, statistics and calculation through the testing result, so that the phenomenon that the data packet loss of the testing result is caused by network delay or system real-time is conveniently distinguished, and the testing precision is improved.
3) The invention provides a novel real-time testing method for a DCS, which can quickly 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, so that the real-time of the DCS with higher precision is obtained.
4) According to the invention, through the comparison and analysis of the four received signals, the data packet receiving rate of the DCS 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 can be measured independently, so that the main factors influencing the real-time performance of the DCS can be evaluated accurately;
5) the invention does not need to realize data network transmission through two controllers, thereby avoiding the interference of the performance of the other controller on the real-time test result of the tested controller and improving the precision of the test result.
Drawings
Fig. 1 is a structural diagram of a DCS system real-time performance testing apparatus according to a first embodiment of the present invention;
fig. 2 is a flowchart of a method for testing real-time performance of a DCS system according to a first embodiment of the present invention;
fig. 3 is a prior art test method.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the embodiments of the present invention, and it is obvious that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The technical scheme of the invention is further described by combining the drawings and the specific embodiments in the specification:
example one
As shown in fig. 1, a DCS system real-time performance testing apparatus includes: the device 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 by a 10/100M network cable; a DO switching value output interface of the SOE signal generator 1 is connected with an input end of the A/D converter 2 through a cable, and an output end of the A/D converter 2 is connected with a DI switching value input interface of the DCS controller 3 through a cable; a first DO switching value output interface of the DCS controller 3 is connected with an input end of a first direct current power supply 4 through a cable, an output end of the first direct current power supply 4 is connected with an interface I of the oscilloscope 6 through a cable, a second DO switching value output interface of the DCS controller 3 is connected with an input end of a second direct current power supply 5 through a cable, and an output end of the second direct current power supply 5 is connected with an interface II of the oscilloscope 6 through a cable; the input end of a third direct current power supply 7 is connected between a DO switching value output interface of the SOE signal generator 1 and the A/D converter 2 through a cable, the output end of the third direct current power supply 7 is connected between an interface IV of the oscilloscope 6 through a cable, the input end of a fourth direct current power supply 8 is connected between the A/D converter 2 and a DI switching value input interface of the DCS controller 3 through a cable, and the input end of the fourth direct current power supply 8 is connected between an interface III of the oscilloscope 6 through 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, visually and accurately display the measuring result, is convenient for analyzing, counting and calculating the real-time performance of the DCS system, and can distinguish the respective performance of the DCS controller 3 on the data packet receiving rate, the data packet sending rate and the network transmission delay in different transmission modes through a plurality of signal acquisition loops, so that the real-time performance of the DCS controller 3 can be more accurately measured without being interfered by the performance of a controller of a third party.
The working principle of the DCS real-time testing device is as follows:
(1) setting the scanning period of the tested DCS controller 3 as T; a periodically-changed pulse signal is used as a test signal, the length of a pulse bandwidth is greater than the scanning period of a measured controller, the problem of data acquisition distortion caused by the fact that the time of the pulse bandwidth is close to the scanning period of the controller is solved, and the real-time test result of the DCS is influenced; meanwhile, the pulse signal is adopted as the test signal, compared with an analog signal, the problem of signal distortion caused by factors such as the scanning period fluctuation of a controller is not easy to occur, and the precision of the test result is higher.
(2) Setting all the direct-current power supply voltages 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 pulse signals which change periodically as test signals, the length of the pulse bandwidth is equal to two times (namely 2T) of the scanning period of the tested controller, the duty ratio of the signals is 50%, the number of the pulses is N, the frequency of the test signals is not more than one 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 simultaneously transmitted outwards in a network transmission mode and a hard-wired mode; the signal sent in the hard wiring mode is a physical quantity, the physical quantity is divided into two paths, and a first path of physical quantity signal is directly input into a third direct current power supply 7 and then connected to an interface IV of an oscilloscope 6 and used for recording the waveform curve of an original test signal; the second path of physical quantity signal is converted into a digital quantity signal through the A/D converter 2, and then is respectively transmitted to a DI switching value input interface in the DCS controller 3 and an input end of a fourth direct current power supply 8, and then is connected to an interface III of the oscilloscope 6, and is used 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 an 10/100M network cable in a network transmission mode;
(5) after receiving two paths of test signals, the DCS controller 3 respectively transmits the test signals to two DO switching value output interfaces in the DCS controller 3 through the internal configuration logic of the controller, one path of signal 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 receiving and transmitting in the mode, one path of signal in a hard-wired 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 a signal waveform curve after data receiving and transmitting in the mode;
(6) the oscilloscope 6 simultaneously records four input signals of an interface I, an interface II, an interface III and an interface IV, which are respectively a signal after data transmitting and receiving through a network, a signal after data transmitting and receiving through hard wiring, a data receiving signal through hard wiring and an original test signal; respectively obtaining respective packet receiving rate, packet sending rate and network transmission delay time through waveform comparative analysis of the 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 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 in the current scanning period of the controller;
(8) further reducing the scanning period of the DCS controller 3, and repeating the test until the DCS controller 3 can correctly detect the minimum scanning period required under the test signal change state, namely determining the minimum scanning period as the real-time performance of the system.
Example two
As shown in fig. 2, a method for testing real-time performance of a DCS system includes the following steps:
first, the scan period of the DCS controller 3 under test is set to T.
Second, all the dc power supply voltages are set to the same value M.
Thirdly, setting parameters of the SOE signal generator 1 to generate a test signal with the pulse number of N, the pulse bandwidth length of 2T and the duty ratio of 50%.
Fourthly, the test signals are sent to the oscilloscope 6 to record the waveform curve after passing through four paths at the same time, and are respectively a network transmission mode data transceiving signal, a hard-wired transmission mode receiving signal and an original test signal.
Fifthly, comparing and analyzing the waveform curves of the four paths of signals 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 in 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-wired transmission mode, recording the number of pulses of the waveform of the received signal in the hard-wired transmission mode, and recording as N1Thus, the packet receiving rate of the DCS controller 3 in the hard-wired transmission mode can be calculated as
Figure BDA0003119643710000091
2) Comparing the waveform curves of the received signal in the hard-wired transmission mode and the received signal in the hard-wired transmission mode, recording the number of pulses in the waveform of the received signal in the hard-wired transmission mode as N2(ii) a DCS controller 3 receives the pulse number N1As the total number of packets, the packet transmission rate of the hard-wired transmission DCS controller 3 is calculated as
Figure BDA0003119643710000092
3) Comparing waveform curves of the hard-wired transmission mode transceiving signals and the network transmission mode transceiving signals, recording corresponding time when the first pulse in the two waveform curves occurs, and recording the absolute value of the time difference as tau to be used as network transmission delay time; recording the number of pulses in the waveform of the network transmission mode transmitting and receiving signals as N3Because the two packet receiving modes are different and the packet sending mode is the same, the packet loss number N is deducted when the same packet is sent1-N2And further calculating the packet receiving rate of the DCS controller 3 in the network transmission mode to be
Figure BDA0003119643710000093
Sixth, observe η1、η2、η3Whether the numerical values of the data transmission delay time and the data transmission delay time are all equal to 100% or not, whether the network transmission delay time tau is smaller than the scanning period T or not is checked, the fact that the current network transmission delay time does not occupy one controller scanning period is indicated, when all the conditions are met, the data can be completely received and sent by the DCS controller 3 in the current scanning period, the data packet loss phenomenon is not caused by network transmission, the real-time performance of the DCS controller 3 system meets the requirement, the scanning period of the tested controller is continuously reduced, the bandwidth length of a test signal is changed, and the test process from the fourth step to the sixth step is repeated; otherwise, if the real-time performance of the system in the current scanning period does not meet the requirement, recording the scanning period of the controller when the last test result meets the requirement as the real-time performance of the current controller.
The real-time performance of the DCS is an important performance of the DCS, reflects the processing capacity of the DCS in the links of data acquisition, data transmission, data calculation and the like, and is used for evaluating whether the DCS can meet the requirements of the links of data acquisition, transmission, display, calculation and the like in the industrial production process. The higher the real-time performance of the DCS system is, the higher the real-time performance of the DCS system represents that the system can detect data signals with higher change speed. The real-time performance of the DCS comprises the characteristics of controlling the network data transmission delay and the data receiving and transmitting accuracy. The method comprises the steps of designing a high-precision, continuous and adjustable test signal, integrating control network data transmission and data receiving and sending into a whole test loop, detecting the real-time performance of the DCS in the aspects of data transmission and data receiving and sending, obtaining a test result of the real-time performance of the system, and obtaining the minimum duration time required by the DCS in the condition that the change state of the test signal can be correctly detected, namely determining the minimum duration time as the real-time performance of the system.
The above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present 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 solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. The utility model provides a DCS system real-time testing arrangement which characterized in that includes: the device 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; a DO switching value output interface of the SOE signal generator (1) is connected with an input end of the A/D converter (2) in a hard-wired transmission mode, and an output end of the A/D converter (2) is connected with a DI switching value input interface of the DCS controller (3) in a hard-wired transmission mode; a first DO switching value output interface of the DCS controller (3) is connected with an input end of a first direct current power supply (4) in a hard-wired transmission mode, an output end of the first direct current power supply (4) is connected with an interface I of the oscilloscope (6) in a hard-wired transmission mode, a second DO switching value output interface of the DCS controller (3) is connected with an input end of a second direct current power supply (5) in a hard-wired transmission mode, and an output end of the second direct current power supply (5) is connected with an interface II of the oscilloscope (6) in a hard-wired transmission mode; the input end of a third direct current power supply (7) is connected between a DO (data only) switching value output interface of the SOE signal generator (1) and the A/D converter (2) in a hard-wired transmission mode, the output end of the third direct current power supply (7) is connected with an interface IV of the oscilloscope (6), the input end of a fourth direct current power supply (8) is connected between the A/D converter (2) and a DI (digital input) switching value input interface of the DCS controller (3) in a hard-wired transmission mode, and the input end of the fourth direct current power supply (8) is connected with an interface III of the oscilloscope (6) in a hard-wired transmission mode.
2. The device of claim 1, wherein the network transmission means is 10/100M cable, and the hard-wired transmission means is cable.
3. The DCS real-time testing device of claim 2, wherein the device works according to the following principle:
setting the scanning period of the tested DCS controller (3) as T, and setting all the DC power supply voltages as the same value M;
the SOE signal generator (1) generates a group of pulse signals which change periodically and serve as test signals, the length of the pulse bandwidth of the SOE signal generator is equal to twice of the scanning period of the tested controller, the duty ratio of the SOE signal generator is 50%, the number of the pulses is N, and the frequency of the test signals is not more than one half of the sampling frequency of the DCS controller (3);
the test signal generated by the SOE signal generator (1) is simultaneously transmitted outwards in a network transmission mode and a hard-wired mode; the signal sent in a hard-wired mode is a physical quantity, the physical quantity is divided into two paths, and a first path of physical quantity signal is directly input into a third direct-current power supply (7) and then is connected to an interface IV of an oscilloscope (6) and used for recording an original test signal waveform curve; the second path of physical quantity signal is converted into a digital quantity signal through the A/D converter (2), and then is respectively transmitted to a DI switching value input interface in the DCS controller (3) and an input end of a fourth direct current power supply (8), and then is connected to an interface III of the oscilloscope (6) 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 an 10/100M network cable in a network transmission mode; after receiving two paths of test signals, the DCS controller (3) respectively transmits the test signals to two DO switching value output interfaces in the DCS controller (3) through configuration logic inside the controller, inputs one path of signal in a network transmission mode into a first direct current power supply (4) and then connects into an interface I of an oscilloscope (6) for recording a signal waveform curve after data receiving and transmitting in the mode, inputs one path of signal in a hard-wired transmission mode into a second direct current power supply (5) and then connects into an interface II of the oscilloscope (6) for recording a signal waveform curve after data receiving and transmitting in the mode;
the oscilloscope (6) records four input signals of the interface I, the interface II, the interface III and the interface IV at the same time, namely a data receiving and transmitting signal of a network transmission mode, a data receiving and transmitting signal of a hard-wired transmission mode, a receiving signal of the hard-wired transmission mode and an original test signal of the hard-wired transmission mode respectively, and calculates and obtains a packet receiving rate eta of the DCS controller (3) in the hard-wired transmission mode through waveform comparative analysis of the four signals respectively1Hard wired transmissionPacket sending rate eta of mode DCS controller (3)2DCS controller (3) eta in network transmission mode3The packet reception rate and the network transmission delay time τ.
4. The device for testing the real-time performance of the DCS of claim 3, wherein the method for calculating 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 N1Therefore, the packet receiving rate of the DCS controller (3) in the hard-wired transmission mode can be calculated to be
Figure FDA0003119643700000021
Where N represents the number of waveform pulses of the original test signal.
5. The DCS system real-time testing device according to claim 4, wherein the packet sending rate of the hard-wired transmission mode DCS controller (3) is calculated by the following method: comparing the waveform curves of the received signal in the hard-wired transmission mode and the received signal in the hard-wired transmission mode, recording the number of pulses in the waveform of the received signal in the hard-wired transmission mode as N2(ii) a The DCS controller (3) receives the pulse number N1As the total number of the packets, the packet transmission rate of the hard-wired transmission mode DCS controller (3) is calculated as
Figure FDA0003119643700000022
6. The device for testing the real-time performance of the DCS of claim 5, wherein 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 signals as N3The number of lost packets N obtained by deducting the same transmitted packet1-N2And further calculating the packet receiving rate of the DCS controller (3) in the network transmission mode to be
Figure FDA0003119643700000023
7. The device of claim 3, wherein the network transmission delay time is calculated by: comparing the waveform curves of the hard-wired transmission mode receiving and transmitting signal and the network transmission mode receiving and transmitting signal, recording the corresponding time when the first pulse in the two waveform curves occurs, and recording the absolute value of the time difference as tau to be used as the network transmission delay time.
8. A real-time testing method for a DCS is characterized by comprising the following steps:
s1, setting the scanning period of the tested DCS controller (3) as T, and setting all the direct-current power supply voltages as the same value M;
s2, the SOE signal generator (1) generates a group of pulse signals which change periodically and are used 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 is 50%, and the number of the test signals is N;
s3, the test signal generated by the SOE signal generator (1) is simultaneously transmitted outwards in a network transmission mode and a hard-wired mode; the signal sent in a hard-wired mode is a physical quantity, the physical quantity is divided into two paths, and the first path of physical quantity signal is directly input into a third direct-current power supply (7) and then connected to an interface IV of an oscilloscope (6) and used for recording the waveform curve of an original test signal; the second path of physical quantity signal is converted into a digital quantity signal through the A/D converter (2), and then is respectively transmitted to a DI switching value input interface in the DCS controller (3) and an input end of a fourth direct current power supply (8), and then is connected to an interface III of the oscilloscope (6) 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 an 10/100M network cable in a network transmission mode; after receiving two paths of test signals, the DCS controller (3) respectively transmits the test signals to two DO switching value output interfaces in the DCS controller (3) through configuration logic inside the controller, inputs one path of signal in a network transmission mode into a first direct current power supply (4) and then connects into an interface I of an oscilloscope (6) for recording a signal waveform curve after data receiving and transmitting in the mode, inputs one path of signal in a hard-wired transmission mode into a second direct current power supply (5) and then connects into an interface II of the oscilloscope (6) for recording a signal waveform curve after data receiving and transmitting in the mode;
s4, oscilloscope (6) records interface I, interface II, interface III and interface IV four input signals, which are network transmission mode data receiving and transmitting signal, hard-wired transmission mode receiving signal and hard-wired transmission mode original test signal, respectively, and calculates and obtains DCS controller (3) packet receiving rate eta in hard-wired transmission mode through wave form comparison analysis of four signals1Packet sending rate eta of DCS controller (3) in hard-wired transmission mode2DCS controller (3) eta in network transmission mode3The packet reception rate and the network transmission delay time τ.
S5, observation eta1、η2、η3Whether the values of the data are all equal to 100% or not, and whether the network transmission delay time tau is smaller than the scanning period T or not is checked, the fact that the current network transmission delay time does not occupy one controller scanning period is indicated, when all the conditions are met, the data can be completely received and sent by the DCS controller (3) in the current scanning period, the data packet loss phenomenon is not caused in network transmission, the real-time performance of the system of the DCS controller (3) meets the requirement, the scanning period of the controller to be tested is continuously reduced, the bandwidth length of the test signal is changed, and the test process from S3 to S5 is repeated; otherwise, if the real-time performance of the system in the current scanning period does not meet the requirement, recording the scanning period of the controller when the last test result meets the requirement as the real-time performance of the current controller.
9. The method of claim 8, wherein the calculating method of the packet receiving rate of the DCS controller (3) in the hard-wired transmission mode comprises: 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 N1Therefore, the packet receiving rate of the DCS controller (3) in the hard-wired transmission mode can be calculatedIs composed of
Figure FDA0003119643700000041
Wherein N represents the number of waveform pulses of the original test signal;
the packet sending rate calculation method of the hard-wired transmission mode DCS controller (3) comprises the following steps: comparing the waveform curves of the received signal in the hard-wired transmission mode and the received signal in the hard-wired transmission mode, recording the number of pulses in the waveform of the received signal in the hard-wired transmission mode as N2(ii) a The DCS controller (3) receives the pulse number N1As the total number of the packets, the packet transmission rate of the hard-wired transmission mode DCS controller (3) is calculated as
Figure FDA0003119643700000042
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 signals as N3The number of lost packets N obtained by deducting the same transmitted packet1-N2And further calculating the packet receiving rate of the DCS controller (3) in the network transmission mode to be
Figure FDA0003119643700000043
10. The DCS system real-time testing method of claim 9, wherein the network transmission delay time is calculated by: comparing the waveform curves of the hard-wired transmission mode receiving and transmitting signal and the network transmission mode receiving and transmitting signal, recording the corresponding time when the first pulse in the two waveform curves occurs, and recording the absolute value of the time difference as tau to be used as the 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 true CN113608513A (en) 2021-11-05
CN113608513B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114661032A (en) * 2022-03-29 2022-06-24 杭州意能电力技术有限公司 DCS current type analog quantity acquisition real-time testing system and method
CN114844803A (en) * 2022-03-29 2022-08-02 杭州意能电力技术有限公司 Method and system for testing communication time delay between subsystems of integrated control system

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
司瑞才;张锷;刘磊;徐雨红;: "火电厂分散控制系统性能测试方法研究", 吉林电力, no. 04 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114661032A (en) * 2022-03-29 2022-06-24 杭州意能电力技术有限公司 DCS current type analog quantity acquisition real-time testing system and method
CN114844803A (en) * 2022-03-29 2022-08-02 杭州意能电力技术有限公司 Method and system for testing communication time delay between subsystems of integrated control system

Also Published As

Publication number Publication date
CN113608513B (en) 2024-01-19

Similar Documents

Publication Publication Date Title
CN113608513B (en) DCS system real-time testing device and method
CN101393234A (en) Waveform auto-measuring system and method
CN115014696B (en) Method for synchronous acquisition and integrated processing of wind tunnel multi-signal source data
CN111934760B (en) Signal processing transmission delay characteristic detection device and method and terminal equipment
CN108896953A (en) Multi-compartment digital metering test macro based on wireless synchronization
CN101105501A (en) Fan rotary speed test system and method
CN110780110B (en) Fundamental voltage zero crossing point automatic detection method and system and sampling device
CN109799373A (en) The arbitrary waveform generator for having multi-channel synchronous function
CN107942280A (en) A kind of method and system for being calibrated to the absolute delay time
CN215813847U (en) DCS real-time performance testing device
CN106324538A (en) Partial discharge automatic calibration system
CN118259114B (en) State diagnosis method based on power transmission of power grid
CN105403765A (en) Amplitude stabilization loop device for pulse power measurement
CN113466673B (en) Channel transmission delay difference measurement system and method
CN103869123B (en) It is a kind of that there is the oscillograph of pulse width measure
CN103377962A (en) Method and system for testing low-voltage differential signals
CN104536282A (en) Time-digital converter and time measuring device and method
CN105842566B (en) The system and its mapping method of automation mapping digital filter amplitude-versus-frequency curve
CN210953042U (en) Synchronous method flow testing device
CN111458672A (en) Multi-range current measurement calibration system based on machine learning
CN206638771U (en) A kind of Anti-interference cable fault test system based on TDR
CN112067870B (en) Automatic oscilloscope parameter measuring device and method based on FPGA
CN213637693U (en) Clock self-testing FPGA
CN206472138U (en) Line-spacing analogue means and network test system
CN114859149A (en) Test system for electrical parameters of rotary encoder

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