CN116382234A - Test method, test device and test system of DCS channel - Google Patents
Test method, test device and test system of DCS channel Download PDFInfo
- Publication number
- CN116382234A CN116382234A CN202310295671.4A CN202310295671A CN116382234A CN 116382234 A CN116382234 A CN 116382234A CN 202310295671 A CN202310295671 A CN 202310295671A CN 116382234 A CN116382234 A CN 116382234A
- Authority
- CN
- China
- Prior art keywords
- channel
- test
- detected
- dcs
- response signal
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B23/00—Testing or monitoring of control systems or parts thereof
- G05B23/02—Electric testing or monitoring
- G05B23/0205—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
- G05B23/0208—Electric 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/0213—Modular 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
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/24—Pc safety
- G05B2219/24065—Real time diagnostics
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
- Mobile Radio Communication Systems (AREA)
- Monitoring And Testing Of Transmission In General (AREA)
Abstract
Description
技术领域technical field
本发明涉及DCS自动化测试领域,具体涉及一种DCS通道的测试方法、测试装置以及测试系统。The invention relates to the field of DCS automatic testing, in particular to a DCS channel testing method, testing device and testing system.
背景技术Background technique
当前仪控行业对DCS系统(distributed control system,分散控制系统,简称为DCS;也可叫做distributed control information system,简称为DCIS)进行工程应用阶段测试任务主要集中在以下环节,硬接线点通道及功能测试,通讯点通讯及功能测试等,现有市场相关自动化测试装置功能和效率有限,仪控行业急需一种功能齐全、精度高、操作便捷的DCS自动规划测试方案,研制一种自动化测试方法。At present, the instrumentation and control industry is mainly focusing on the following links in the engineering application stage of the DCS system (distributed control system, DCS for short; also called distributed control information system, DCIS for short), hard-wiring point channels and functions Testing, communication point communication and functional testing, etc., the existing market-related automated testing devices have limited functions and efficiency. The instrument control industry urgently needs a DCS automatic planning and testing solution with complete functions, high precision, and convenient operation, and develops an automated testing method.
发明内容Contents of the invention
本发明要解决的技术问题是为了克服现有技术中自动化测试装置功能和效率有限的缺陷,提供一种DCS通道的测试方法、测试装置以及测试系统。The technical problem to be solved by the present invention is to provide a DCS channel test method, test device and test system in order to overcome the defects of limited function and efficiency of the automatic test device in the prior art.
本发明是通过下述技术方案来解决上述技术问题:The present invention solves the above technical problems through the following technical solutions:
本发明提供一种DCS通道的测试方法,所述方法包括:The present invention provides a kind of testing method of DCS channel, described method comprises:
向DCS系统中的待检测通道发送测试指令;其中,所述测试指令用于指示所述待检测通道发出符合预设要求的期望响应信号;Sending a test instruction to the channel to be detected in the DCS system; wherein, the test instruction is used to instruct the channel to be detected to send an expected response signal that meets preset requirements;
若接收到所述待检测通道响应于所述测试指令发出的实际响应信号,则根据所述预设要求以及所述实际响应信号,确定所述待检测通道是否通过测试。If an actual response signal sent by the channel to be tested in response to the test instruction is received, it is determined whether the channel to be tested passes the test according to the preset requirement and the actual response signal.
优选地,所述预设要求为所述期望响应信号的输出值为预设值;Preferably, the preset requirement is that the output value of the expected response signal is a preset value;
其中,所述根据所述预设要求以及所述实际响应信号确定所述待检测通道是否通过测试的步骤包括:Wherein, the step of determining whether the channel to be detected passes the test according to the preset requirement and the actual response signal includes:
判断所述预设值与及所述实际响应信号的输出值之间的差值是否符合预设精度;judging whether the difference between the preset value and the output value of the actual response signal meets the preset accuracy;
若是,则确定所述待检测通道通过精度测试;If so, then determine that the channel to be detected passes the accuracy test;
若否,则确定所述待检测通道未通过精度测试。If not, it is determined that the channel to be detected has not passed the accuracy test.
优选地,所述DCS通道的测试方法还包括以下步骤:Preferably, the test method of the DCS channel also includes the following steps:
若确定所述待检测通道未通过精度测试,则根据误差精度向所述待检测通道发送补偿信号。If it is determined that the channel to be detected fails the accuracy test, a compensation signal is sent to the channel to be detected according to the error accuracy.
优选地,所述预设要求为所述期望响应信号的电压值小于预设阈值;Preferably, the preset requirement is that the voltage value of the expected response signal is less than a preset threshold;
其中,所述根据所述预设要求以及所述实际响应信号确定所述待检测通道是否通过测试的步骤包括:Wherein, the step of determining whether the channel to be detected passes the test according to the preset requirement and the actual response signal includes:
判断所述实际响应信号的电压值是否小于预设阈值;judging whether the voltage value of the actual response signal is less than a preset threshold;
若是,则确定所述待检测通道通过钳位测试;If so, then determine that the channel to be detected passes the clamp test;
若否,则确定所述待检测通道未通过钳位测试。If not, it is determined that the channel to be detected has not passed the clamp test.
优选地,所述预设要求为所述期望响应信号的输出值位于预设死区区间内;Preferably, the preset requirement is that the output value of the expected response signal is within a preset dead zone interval;
其中,所述根据所述预设要求以及所述实际响应信号确定所述待检测通道是否通过测试的步骤包括:Wherein, the step of determining whether the channel to be detected passes the test according to the preset requirement and the actual response signal includes:
判断所述实际响应信号的输出值是否位于所述预设死区区间内;judging whether the output value of the actual response signal is within the preset dead zone interval;
若是,则确定所述待检测通道通过死区测试;If so, then determine that the channel to be detected passes the dead zone test;
若否,则确定所述待检测通道未通过死区测试。If not, it is determined that the channel to be detected has not passed the dead zone test.
优选地,所述DCS系统的测试方法还包括以下步骤:Preferably, the test method of the DCS system also includes the following steps:
若未接收到所述待检测通道响应于所述测试指令发出的实际响应信号,则确定与所述待检测通道之间的通道断开。If the actual response signal sent by the channel to be tested in response to the test instruction is not received, it is determined that the channel with the channel to be tested is disconnected.
优选地,所述向DCS系统中的待检测通道发送测试指令的步骤包括:Preferably, the step of sending a test instruction to the channel to be tested in the DCS system includes:
响应于输入的登录信息,确定对应的测试权限;In response to the input login information, determine the corresponding test authority;
根据所述测试权限向DCS系统中的待检测通道发出对应的测试指令。A corresponding test instruction is sent to the channel to be tested in the DCS system according to the test authority.
作为本发明的第二个方面,本发明提供一种DCS通道的测试装置,包括发送模块,用于向DCS系统中的待检测通道发送测试指令;其中,所述测试指令用于指示所述待检测通道发出符合预设要求的期望响应信号;As a second aspect of the present invention, the present invention provides a test device for a DCS channel, including a sending module, configured to send a test command to the channel to be tested in the DCS system; wherein, the test command is used to indicate that the channel to be tested The detection channel sends an expected response signal that meets the preset requirements;
测试模块,用于在接收到所述待检测通道响应于所述测试指令发出的实际响应信号的情况下,根据所述预设要求以及所述实际响应信号,确定所述待检测通道是否通过测试。A test module, configured to determine whether the channel to be tested passes the test according to the preset requirements and the actual response signal when receiving the actual response signal sent by the channel to be tested in response to the test instruction .
优选地,所述DCS通道的测试装置通过继电器与所述待检测通道连接。Preferably, the test device of the DCS channel is connected to the channel to be tested through a relay.
作为本发明第三方面,本发明提供一种DCS通道的测试系统,包括DCS系统以及本发明第二方面中的DCS通道的测试装置。As a third aspect of the present invention, the present invention provides a DCS channel test system, including a DCS system and the DCS channel test device in the second aspect of the present invention.
本发明的积极进步效果在于:向DCS系统中的待检测通道发送测试指令;并接收到所述待检测通道响应于所述测试指令发出的实际响应信号,根据实际响应信号确定待检测通道是否通过测试。功能齐全,精度高,操作便捷地使DCS系统能够得到快速的检测。The positive and progressive effect of the present invention is: to send test instructions to the channel to be detected in the DCS system; and receive the actual response signal sent by the channel to be detected in response to the test command, and determine whether the channel to be detected passes through according to the actual response signal test. With complete functions, high precision and convenient operation, the DCS system can be quickly detected.
附图说明Description of drawings
图1为本发明实施例1中DCS通道的测试方法的流程示意图。FIG. 1 is a schematic flow chart of a testing method for a DCS channel in
图2为本发明实施例1中使用DCS通道的测试方法的示意图。FIG. 2 is a schematic diagram of a test method using a DCS channel in
图3为本发明实施例1中使用DCS通道的测试方法的设备的第一结构示意图。FIG. 3 is a schematic diagram of the first structure of the equipment using the DCS channel testing method in
图4为本发明实施例1中使用DCS通道的测试方法的设备的第二结构示意图。FIG. 4 is a second structural schematic diagram of the equipment using the DCS channel test method in
图5为本发明实施例1中使用DCS通道的测试方法的设备的第三结构示意图。FIG. 5 is a schematic diagram of a third structure of the equipment using the DCS channel test method in
图6为本发明实施例2中DCS通道的测试装置的结构示意图。FIG. 6 is a schematic structural diagram of a testing device for a DCS channel in
具体实施方式Detailed ways
下面通过实施例的方式进一步说明本发明,但并不因此将本发明限制在所述的实施例范围之中。The present invention is further illustrated below by means of examples, but the present invention is not limited to the scope of the examples.
实施例1Example 1
请参见图1,本实施例提供一种DCS通道的测试方法,DCS通道的测试方法包括:Please refer to Fig. 1, the present embodiment provides a kind of test method of DCS channel, the test method of DCS channel comprises:
S1、向DCS系统中的待检测通道发送测试指令;其中,测试指令用于指示待检测通道发出符合预设要求的期望响应信号;S1. Send a test instruction to the channel to be detected in the DCS system; wherein, the test instruction is used to instruct the channel to be detected to send an expected response signal that meets the preset requirements;
S2、若接收到待检测通道响应于测试指令发出的实际响应信号,则根据预设要求以及实际响应信号,确定待检测通道是否通过测试。S2. If the actual response signal sent by the channel to be tested in response to the test instruction is received, determine whether the channel to be tested passes the test according to the preset requirements and the actual response signal.
在本实施例中,DCS系统的待检测通道,根据预设要求与实际响应信号,就能够快速地对各个待检测通道是否通过测试,从而提升了检测效率。在本实施例中,待检测通道可以在DCS机柜中,在DCS机柜中的各待检测通道与本方法执行主体进行通信连接,通信连接可以通过网络读取、网络输出等回路建立。在本实施例中,还可以根据不同的待检测通道建立对应的回路,待检测通道包括模拟量输入(Analog Input,也可简称AI)、模拟量输出(Analog Output,也可简称AO)、数字输入(Digital Input,也可简称DI)、数字输出(Digital Output,也可简称DO)、热电阻(也可称为RTD)以及热电偶(可以称为TC)等类型的待检测通道。在本实施例中,模拟量输出、数字输出、热电阻以及热电偶类型的待检测通道,从测试设备端到待检测通道端的通信路径为读取链路,从待检测通道到测试装置的路径为输出路径。但是对于模拟量输出、模拟量输出的待检测通道,从待检测通道到测试装置的路径为输出路径,从测试装置到待检测通道的路径为读取路径。In this embodiment, the channels to be detected of the DCS system can quickly determine whether each channel to be detected passes the test according to preset requirements and actual response signals, thereby improving detection efficiency. In this embodiment, the channel to be detected can be in the DCS cabinet, and each channel to be detected in the DCS cabinet is connected to the execution body of the method by communication, and the communication connection can be established through loops such as network reading and network output. In this embodiment, corresponding loops can also be established according to different channels to be detected. The channels to be detected include analog input (Analog Input, also referred to as AI), analog output (Analog Output, also referred to as AO), digital Input (Digital Input, also referred to as DI), digital output (Digital Output, also referred to as DO), thermal resistance (also referred to as RTD), and thermocouple (also referred to as TC) and other types of channels to be detected. In this embodiment, the channel to be tested of analog output, digital output, thermal resistance and thermocouple type, the communication path from the test equipment end to the channel end to be tested is a read link, and the path from the channel to be tested to the test device for the output path. However, for the analog output and the channel to be tested of the analog output, the path from the channel to be tested to the test device is the output path, and the path from the test device to the channel to be tested is the read path.
请参见图2,在本实施例中,待检测通道还可以是某个设备的各个模块,例如AI模块、AO模块、RTC模块、TC模块等。测试设备中包括有矩阵转接卡,矩阵转接卡可以和各个模块进行连接。测试设备中的主控制模块与过程校准仪以及上位机连接,主控制器可以控制和对应的矩阵转接卡连接与断开,以和对应的模块连接。Referring to FIG. 2 , in this embodiment, the channel to be detected may also be various modules of a certain device, such as an AI module, an AO module, an RTC module, a TC module, and the like. The test equipment includes a matrix adapter card, and the matrix adapter card can be connected with each module. The main control module in the test equipment is connected with the process calibrator and the upper computer, and the main controller can control the connection and disconnection of the corresponding matrix adapter card to connect with the corresponding module.
请参见图3以及图4,在本实施例中的测试装置中,可以包括KVM(键盘、显示装置、鼠标的简称)、交换机以及UPS(Uninterruptible Power Supply的简称,不间断电源)、第一调理机箱、第二调理机箱、上位机。第一调理机箱和第二调理机箱通过RJ45网线连接到交换机,DCS机柜通过光纤连接交换机。上位机运行在工控机上,通过控制单元(可以称为CU)进行控制。测试设备中可以包括模拟量输入/出模块,用于进行模拟量输入/出;还可以包括热电阻输入/出模块,用于进行热电阻模拟信号输入/出;还可以包括热电偶输入/出模块,用于输入/出热电偶模拟信号。当然,本实施例中还可以包括数字输入/出模块。在本实施例中的模拟量输入/出模块、热电阻输入/出模块、热电偶输入/出模块以及热电偶输入/出模块可以通过机柜卡件设置于同一个机柜中。Please refer to Fig. 3 and Fig. 4, in the test device in the present embodiment, can comprise KVM (the abbreviation of keyboard, display device, mouse), switchboard and UPS (abbreviation of Uninterruptible Power Supply, uninterruptible power supply), the first conditioner Chassis, second conditioning chassis, host computer. The first conditioning chassis and the second conditioning chassis are connected to the switch through an RJ45 network cable, and the DCS cabinet is connected to the switch through an optical fiber. The upper computer runs on the industrial computer and is controlled by a control unit (which may be called CU). The test equipment can include an analog input/output module for analog input/output; it can also include a thermal resistance input/output module for thermal resistance analog signal input/output; it can also include a thermocouple input/output Module for input/output of thermocouple analog signals. Certainly, a digital input/output module may also be included in this embodiment. In this embodiment, the analog input/output module, the thermal resistance input/output module, the thermocouple input/output module and the thermocouple input/output module can be arranged in the same cabinet through cabinet clips.
在一个可选的实施例中,预设要求为期望响应信号的输出值为预设值;In an optional embodiment, the preset requirement is that the output value of the expected response signal is a preset value;
其中,根据预设要求以及实际响应信号确定待检测通道是否通过测试的步骤包括:Wherein, the step of determining whether the channel to be detected passes the test according to the preset requirements and the actual response signal includes:
判断所述预设值与及所述实际响应信号的输出值之间的差值是否符合预设精度;judging whether the difference between the preset value and the output value of the actual response signal meets the preset accuracy;
若是,则确定待检测通道通过精度测试;If so, it is determined that the channel to be detected passes the precision test;
若否,则确定待检测通道未通过精度测试。If not, it is determined that the channel to be detected has not passed the accuracy test.
在本实施例中,测试待检测通道的精度的时候,待检测通道的期望响应信号的输出值可以与测试指令的输出值相同,此时理论上预期响应信号的输出值应该与实际响应信号的输出值之差为零。In this embodiment, when testing the accuracy of the channel to be detected, the output value of the expected response signal of the channel to be detected can be the same as the output value of the test command. The difference between the output values is zero.
此时可以判断预设值与实际响应信号的输出值之差是否符合预设精度,例如预设精度为小于0.25℃。At this time, it can be judged whether the difference between the preset value and the output value of the actual response signal meets the preset accuracy, for example, the preset accuracy is less than 0.25°C.
本实施例中,还可以对不同的待检测通道发送测试指令,可以选用OMEGA公司CL3001过程校准仪配合切换不同的待检测通道,并根据期望响应信号进行确定待检测通道是否符合精度要求。In this embodiment, it is also possible to send test instructions to different channels to be tested. The OMEGA company CL3001 process calibrator can be selected to cooperate with switching different channels to be tested, and to determine whether the channel to be tested meets the accuracy requirements according to the expected response signal.
在本实施例中,电源将外部电源(一般为220V 50Hz的交流电)接入UPS的输入端,UPS给配电箱供电,供电箱分别给机箱中的各个设备供电。In this embodiment, the power supply connects an external power supply (generally 220V 50Hz AC) to the input terminal of the UPS, the UPS supplies power to the distribution box, and the power supply box supplies power to each device in the chassis.
请参见图5,在本实施例中,在模拟量输出模块可以按照如下的卡件形式设置在机柜中,机柜中的第一卡件可以用于各类型信号的信号选择,通过硬接线与过程校准仪(CL3001)的AI(电压、电流为同一接线端)端口、RTD输出端口、TC输出端口连接。机箱第二槽位至第九槽位内对应安装有第二卡件至第九卡件,每一个卡件内包括一个继电器,通过软件控制卡件内的继电器进行打开或者闭合,来选择将第一卡件的不同种类的信号对应输入至待检测通道。第十卡件内安装有第十卡件,第十卡件将有源电压、无源/有源电流信号通过硬接线进行输出。第十一槽位中安装有第十一卡件,用于将第十卡件中的有源电压、无源/有源电流信号进行选择,输入至第十卡件。第十二槽位至第十五槽位安装对应有第十二卡件以及第十五卡件,第十五卡件内部包括继电器,通过控制继电器的开闭来控制第十卡件的信号输入至不同的待检测装置。Please refer to Fig. 5. In this embodiment, the analog output module can be set in the cabinet in the form of the following clips. The first clip in the cabinet can be used for signal selection of various types of signals, through hard wiring and process Connect to the AI (voltage and current are the same terminals) port, RTD output port, and TC output port of the calibrator (CL3001). The second to ninth slots of the chassis are correspondingly installed with the second card to the ninth card. Each card includes a relay, and the relay in the card is controlled by software to open or close to select the second card. Different types of signals of a card are correspondingly input to the channel to be detected. A tenth card is installed in the tenth card, and the tenth card outputs the active voltage and passive/active current signals through hard wiring. An eleventh card is installed in the eleventh slot for selecting the active voltage and passive/active current signals in the tenth card and inputting them to the tenth card. The twelfth slot to the fifteenth slot are installed corresponding to the twelfth card and the fifteenth card. The fifteenth card includes a relay inside, and the signal input of the tenth card is controlled by controlling the opening and closing of the relay. to different devices to be tested.
当需要采集电压/有源电流/无源电流时,软件控制第一槽位的第一卡件内部继电器,选择AI信号与输出端口导通。输出端分别与第二卡件至第九卡件的输入端连接,采集控制单元64路电压/有源电流/无源信号(非同时采集,1次只能采集1路)。When it is necessary to collect voltage/active current/passive current, the software controls the internal relay of the first card in the first slot, and selects the AI signal to conduct with the output port. The output terminals are respectively connected to the input terminals of the second card to the ninth card, and the control unit collects 64 voltages/active currents/passive signals (non-simultaneous acquisition, only one channel can be collected at a time).
当需要输出TC信号时,软件控制第一卡件的内部继电器,选择TC信号与输出端口导通。输出端分别与第二卡件至第九卡件输入端连接,可输出64路TC信号至CU。对于TC输出时,预制线缆上的电压损失,采用对每个量程进行标定的方式进行补偿。输出热电偶信号指标如下表所示。When the TC signal needs to be output, the software controls the internal relay of the first card, and selects the TC signal to conduct with the output port. The output terminals are respectively connected to the input terminals of the second card to the ninth card, and can output 64 channels of TC signals to the CU. For TC output, the voltage loss on the prefabricated cable is compensated by calibrating each range. The output thermocouple signal indicators are shown in the table below.
在上述实施例中,预设精度可以为上表中技术规格书要求精度。当需要输出RTD信号时,软件控制第一卡件内部的继电器,选择RTD信号与输出端口导通。输出端分别与第二卡件第九卡件输入端连接,可输出64路RTD信号至CU。In the above embodiment, the preset accuracy may be the accuracy required by the technical specification in the above table. When the RTD signal needs to be output, the software controls the relay inside the first card to select the RTD signal to be connected to the output port. The output terminals are respectively connected to the input terminals of the ninth card of the second card, and can output 64 channels of RTD signals to the CU.
输出RTD时,可通过软件控制卡件内部的继电器,控制其导通或断开,实现四线制或三线制输出。When outputting RTD, the relay inside the card can be controlled by software to control its conduction or disconnection to realize four-wire or three-wire output.
当然,本实施例还可以对热电偶进行测试,下表为某热电偶的TC信号指标。Of course, this embodiment can also test the thermocouple, and the following table shows the TC signal index of a certain thermocouple.
以上三种信号的测试设计,可以实现AI、TC、RTD共用同一套线缆。The test design of the above three signals can realize that AI, TC, and RTD share the same set of cables.
当需要输出有源电压/有源电流/无源电流信号时,控制第十一卡件的内部继电器,选择有源电压/有源电流/无源电流信号与输出端口导通。输出端分别与第十二卡件至第十五卡件输入端短接,可输出64路有源电压/有源电流/无源电流信号至CU。When the active voltage/active current/passive current signal needs to be output, the internal relay of the eleventh card is controlled to select the active voltage/active current/passive current signal to conduct with the output port. The output ends are respectively short-circuited with the input ends of the twelfth card to the fifteenth card, and 64 channels of active voltage/active current/passive current signals can be output to the CU.
在一个可选的实施例中,DCS通道的测试方法还包括以下步骤:In an optional embodiment, the test method of the DCS channel also includes the following steps:
若确定待检测通道未通过精度测试,则根据误差精度向待检测通道发送补偿信号。If it is determined that the channel to be detected fails the accuracy test, a compensation signal is sent to the channel to be detected according to the error accuracy.
在本实施例中,例如待检测通道为热电偶,技术规格书中要求检测的范围是400-1600℃,此时就可以选择B类热电偶,以满足技术规格书的要求。此时,技术规格书所要求精度是小于等于0.25℃。此时,预设值和实际响应信号的输出值之间的差值小于等于0.25℃(比如差值为0.1-0.25℃),就可以确定待检测通道符合技术规格书的要求精度。In this embodiment, for example, the channel to be detected is a thermocouple, and the detection range required in the technical specification is 400-1600°C. At this time, a type B thermocouple can be selected to meet the requirements of the technical specification. At this time, the accuracy required by the technical specification is less than or equal to 0.25°C. At this time, if the difference between the preset value and the output value of the actual response signal is less than or equal to 0.25°C (for example, the difference is 0.1-0.25°C), it can be determined that the channel to be detected meets the accuracy required by the technical specification.
在本实施例中,如果预期响应信号的输出值是1500℃,但是实际响应信号的输出值是1501℃,此时误差为1℃,但是预设精度所要求的误差为小于等于0.25℃,此时误差超过了预设精度所对应的误差,此时待检测通道的精度就不符合要求,可以给待检测通道发出一个对应的补偿信号,以告知待检测通道的输出减少1℃(以达到输出1500℃),使得待检测通道的精度重新符合要求。In this embodiment, if the output value of the expected response signal is 1500°C, but the output value of the actual response signal is 1501°C, then the error is 1°C, but the error required by the preset accuracy is less than or equal to 0.25°C. When the time error exceeds the error corresponding to the preset accuracy, the accuracy of the channel to be detected does not meet the requirements at this time, and a corresponding compensation signal can be sent to the channel to be detected to inform that the output of the channel to be detected is reduced by 1°C (to achieve output 1500°C), so that the accuracy of the channel to be detected meets the requirements again.
在一个可选的实施例中,预设要求为期望响应信号的电压值小于预设阈值;In an optional embodiment, the preset requirement is that the voltage value of the expected response signal is less than a preset threshold;
其中,根据预设要求以及实际响应信号确定待检测通道是否通过测试的步骤包括:Wherein, the step of determining whether the channel to be detected passes the test according to the preset requirements and the actual response signal includes:
判断实际响应信号的电压值是否小于预设阈值;judging whether the voltage value of the actual response signal is less than a preset threshold;
若是,则确定待检测通道通过钳位测试;If so, it is determined that the channel to be detected passes the clamp test;
若否,则确定待检测通道未通过钳位测试。If not, it is determined that the channel to be detected has not passed the clamp test.
在本实施例中,某一些待检测通道可以设置钳位电压。例如,钳位电压可以设置为5V,可以给待检测通道发出一个6V的电压,如果返回的实际响应信号的输出值小于等于5V,就可以确定待检测通道通过钳位测试。In this embodiment, clamping voltages can be set for certain channels to be detected. For example, the clamp voltage can be set to 5V, and a voltage of 6V can be sent to the channel to be detected. If the output value of the actual response signal returned is less than or equal to 5V, it can be determined that the channel to be detected has passed the clamp test.
在一个可选的实施例中,预设要求为期望响应信号的输出值位于预设死区区间内;In an optional embodiment, the preset requirement is that the output value of the expected response signal is within a preset dead zone;
其中,根据预设要求以及实际响应信号确定待检测通道是否通过测试的步骤包括:Wherein, the step of determining whether the channel to be detected passes the test according to the preset requirements and the actual response signal includes:
判断实际响应信号的输出值是否位于预设死区区间内;Judging whether the output value of the actual response signal is within the preset dead zone interval;
若是,则确定待检测通道通过死区测试;If so, it is determined that the channel to be detected passes the dead zone test;
若否,则确定待检测通道未通过死区测试。If not, it is determined that the channel to be detected has not passed the dead zone test.
在本实施例中,例如预设死区区间为-0.5V-0.5V之间,给待检测通道发送一个为0.4V的信号,此时实际响应信号如果为0V,那么确定待检测通道通过死区测试,否则确定待检测通道没有通过死区测试。In this embodiment, for example, the preset dead zone interval is between -0.5V-0.5V, and a signal of 0.4V is sent to the channel to be detected. At this time, if the actual response signal is 0V, then it is determined that the channel to be detected has passed the dead zone. zone test, otherwise it is determined that the channel to be detected has not passed the dead zone test.
在一个可选的实施例中,DCS通道的测试方法还包括以下步骤:In an optional embodiment, the test method of the DCS channel also includes the following steps:
若未接收到待检测通道响应于测试指令发出的实际响应信号,则确定与待检测通道之间的通道断开。If the actual response signal sent by the channel to be detected in response to the test instruction is not received, it is determined that the channel to the channel to be detected is disconnected.
在本实施例中,机柜中的第零卡件可以为机箱中的设备进行供电,第一卡件以及第二卡件分别将DI信号和DO信号转接出来进行输出。第三卡件为有源DI、无源DI、有源DO、无源DO信号类型选择卡,通过硬接线与第二卡件以及第三卡件连接。第四卡件至第十五卡件为通道转化卡件,通过控制每一张切换卡内部继电器导通,来选择将第三卡件输入的信号输出至各待检测通道。当需要采集有源DO/无源DO或输出有源DO/无源DO信号时,控制第三卡件内的继电器,将所需信号与输出端口导通。输出端与分别与第四卡件至第10卡件的输入端连接,可采集128路有源DO/无源DO或输出128路有源DO/无源DO信号至CU。In this embodiment, the zeroth card in the cabinet can supply power to the equipment in the cabinet, and the first card and the second card respectively transfer the DI signal and the DO signal for output. The third card is an active DI, passive DI, active DO, and passive DO signal type selection card, which is connected to the second card and the third card through hard wiring. The fourth card to the fifteenth card are channel conversion cards. By controlling the conduction of the internal relay of each switch card, the signal input by the third card is selected to be output to each channel to be detected. When it is necessary to collect active DO/passive DO or output active DO/passive DO signal, control the relay in the third card to connect the required signal to the output port. The output end is connected to the input end of the fourth card to the tenth card respectively, and can collect 128 active DO/passive DO signals or output 128 active DO/passive DO signals to the CU.
在一个可选的实施例中,向DCS系统中的待检测通道发送测试指令的步骤包括:In an optional embodiment, the step of sending a test instruction to the channel to be detected in the DCS system includes:
响应于输入的登录信息,确定对应的测试权限;In response to the input login information, determine the corresponding test authority;
根据测试权限向DCS系统中的待检测通道发出对应的测试指令。Send corresponding test instructions to the channel to be tested in the DCS system according to the test authority.
本实施例中,输入的登录信息包括账号以及账号密码。登录的账号具有安全防范功能,确保合法授权人员才能操作设备。In this embodiment, the input login information includes account number and account password. The logged-in account has security protection functions to ensure that only legally authorized personnel can operate the device.
在上述实施例中,还可以实现如下步骤:In the above embodiment, the following steps can also be implemented:
在本实施例中,用户权限可以分为多个级别,例如最低级别的用户账号只能对某一类的待检测通道进行测试(例如待检测通道为热电偶)或某一种测试用例进行测试。In this embodiment, user rights can be divided into multiple levels. For example, the lowest level user account can only test a certain type of channel to be detected (for example, the channel to be detected is a thermocouple) or a certain test case. .
上述测试记录均可存储在数据库中的各个表中,数据库的各表的名称以及对应的功能如下表所示:The above test records can be stored in each table in the database. The names and corresponding functions of each table in the database are shown in the following table:
在上述实施例中,可以选择LABVIEW为开发平台以运行实施例1DCS通道的测试方法的软件,MySQL可以作为数据库服务器。实现测试过程、结果的数据存储、管理、显示等功能。In the above embodiment, LABVIEW can be selected as the development platform to run the software for the test method of the DCS channel in
实施例2Example 2
请参见图6,本实施例提供一种DCS通道的测试装置,包括:Referring to Fig. 6, this embodiment provides a test device for a DCS channel, including:
发送模块201,用于向DCS系统中的待检测通道发送测试指令;其中,测试指令用于指示待检测通道发出符合预设要求的期望响应信号;The sending
测试模块202,用于在接收到待检测通道响应于测试指令发出的实际响应信号的情况下,根据预设要求以及实际响应信号,确定待检测通道是否通过测试。The
在一个可选的实施例中,DCS通道的测试装置通过继电器与待检测通道连接。In an optional embodiment, the testing device of the DCS channel is connected to the channel to be tested through a relay.
在一个可选的实施例中,为了保证DCS通道的测试装置的输入/输出信号、供电电源或系统设备本身出现问题时,有效的接地承受过载电流并可以迅速将过载电流导入大地。为测试装置提供屏蔽层,消除电子噪声干扰,并为整个控制系统提供公共信号参考点(即参考零电位)。当接地系统发生问题时(接地电阻过大,多点接地,接地线断线或接地线与高电压、大电流设备相接触等),会造成人员的触电伤害及设备的损坏因此,完善、可靠、正确的接地,是测试系统能够安全、可靠和良好运行的关键。In an optional embodiment, in order to ensure that the input/output signal of the test device of the DCS channel, the power supply or the system equipment itself has a problem, the effective grounding can withstand the overload current and can quickly lead the overload current to the ground. Provide a shielding layer for the test device, eliminate electronic noise interference, and provide a common signal reference point (ie, reference zero potential) for the entire control system. When there is a problem in the grounding system (grounding resistance is too large, multi-point grounding, grounding wire is broken or the grounding wire is in contact with high-voltage, high-current equipment, etc.), it will cause electric shock injury to personnel and damage to equipment. Therefore, it is perfect and reliable. , Correct grounding is the key to the safe, reliable and good operation of the test system.
是为了防止设备外壳的静电荷积累、避免造成人身伤害而采取的保护措施。本测试系统所有的测试装置(例如实施例1中的CL3001、机箱等)均应接保护地。本测试装置通过在机箱底部接入绝缘子,一侧连接至侧柜表面,绝缘子两侧用导线连接导通,包括模拟信号或者能量较弱的数字信号,易受电源波动或者外界因素的干扰,导致信号的信噪比(SNR)下降。特别是模拟信号,信号地的漂移,会导致信噪比下降;信号的测量值产生误差或者错误,可能导致系统设计的失败。因此对信号地的要求较高,也需要在系统中特殊处理,避免和大功率的电源地、数字地以及易产生干扰地线直接连接。尤其是微小信号的测量,信号地通常需要采取隔离技术。It is a protective measure taken to prevent the accumulation of electrostatic charges on the equipment casing and avoid personal injury. All test devices in this test system (such as CL3001, chassis, etc. in Embodiment 1) should be connected to the protective ground. The test device is connected to the insulator at the bottom of the chassis, one side is connected to the surface of the side cabinet, and the two sides of the insulator are connected with wires, including analog signals or digital signals with weak energy, which are susceptible to power fluctuations or interference from external factors, resulting in The signal-to-noise ratio (SNR) of the signal decreases. Especially for analog signals, the drift of the signal ground will lead to a decrease in the signal-to-noise ratio; the error or error in the measurement value of the signal may lead to the failure of the system design. Therefore, the requirements for the signal ground are relatively high, and special treatment is also required in the system to avoid direct connection with high-power power supply ground, digital ground, and ground wires that are prone to interference. Especially for the measurement of small signals, the signal ground usually needs to adopt isolation technology.
实施例3Example 3
本实施例提供一种DCS通道的测试系统,包括DCS系统以及如实施例2中的测试装置。This embodiment provides a test system for a DCS channel, including a DCS system and the test device as in
虽然以上描述了本发明的具体实施方式,但是本领域的技术人员应当理解,这仅是举例说明,本发明的保护范围是由所附权利要求书限定的。本领域的技术人员在不背离本发明的原理和实质的前提下,可以对这些实施方式做出多种变更或修改,但这些变更和修改均落入本发明的保护范围。Although the specific implementation of the present invention has been described above, those skilled in the art should understand that this is only an example, and the protection scope of the present invention is defined by the appended claims. Those skilled in the art can make various changes or modifications to these embodiments without departing from the principle and essence of the present invention, but these changes and modifications all fall within the protection scope of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310295671.4A CN116382234A (en) | 2023-03-23 | 2023-03-23 | Test method, test device and test system of DCS channel |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310295671.4A CN116382234A (en) | 2023-03-23 | 2023-03-23 | Test method, test device and test system of DCS channel |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116382234A true CN116382234A (en) | 2023-07-04 |
Family
ID=86962695
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310295671.4A Pending CN116382234A (en) | 2023-03-23 | 2023-03-23 | Test method, test device and test system of DCS channel |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116382234A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101738947A (en) * | 2009-11-09 | 2010-06-16 | 杭州精久科技有限公司 | High-speed high-precision process parameter online calibration tester |
CN106774224A (en) * | 2017-02-21 | 2017-05-31 | 中广核工程有限公司 | The test device of digital control system in nuclear power plant |
CN108181890A (en) * | 2017-12-12 | 2018-06-19 | 中核控制系统工程有限公司 | DCS automatic test devices based on virtual instrument |
CN112461404A (en) * | 2020-10-30 | 2021-03-09 | 浙江中控技术股份有限公司 | Full-automatic calibration and inspection system suitable for industrial secondary instrument |
CN114442591A (en) * | 2022-01-11 | 2022-05-06 | 中国华能集团清洁能源技术研究院有限公司 | Method, system and medium for testing I/O card channel accuracy |
-
2023
- 2023-03-23 CN CN202310295671.4A patent/CN116382234A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101738947A (en) * | 2009-11-09 | 2010-06-16 | 杭州精久科技有限公司 | High-speed high-precision process parameter online calibration tester |
CN106774224A (en) * | 2017-02-21 | 2017-05-31 | 中广核工程有限公司 | The test device of digital control system in nuclear power plant |
CN108181890A (en) * | 2017-12-12 | 2018-06-19 | 中核控制系统工程有限公司 | DCS automatic test devices based on virtual instrument |
CN112461404A (en) * | 2020-10-30 | 2021-03-09 | 浙江中控技术股份有限公司 | Full-automatic calibration and inspection system suitable for industrial secondary instrument |
CN114442591A (en) * | 2022-01-11 | 2022-05-06 | 中国华能集团清洁能源技术研究院有限公司 | Method, system and medium for testing I/O card channel accuracy |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Aung et al. | Stochastic prediction of voltage sags by considering the probability of the failure of the protection system | |
CN103155330A (en) | Method and system for establishing a power feed to systems during operation | |
CN210071942U (en) | Online grounding network and online grounding resistance monitoring device | |
CN107544001A (en) | The insulating test set of spacecraft thermal test cable | |
WO2021145636A1 (en) | Substation asset management method | |
US20230013202A1 (en) | Electrical Connection Monitoring Using Cable Shielding | |
Cristaldi et al. | A root cause analysis and a risk evaluation of PV balance of system failures | |
CN108469569A (en) | A kind of Intelligentized test system for electric coupler | |
KR101457878B1 (en) | A deterioration monitoring system for a distributing board on based hybrid temperature sensors with multi-points | |
CN205809199U (en) | A kind of Intellectual computer relay-protection tester | |
CN116382234A (en) | Test method, test device and test system of DCS channel | |
US20250149885A1 (en) | Fail-safe automatic mains-electricity cutoff | |
CN105811368B (en) | Adaptivity zero line break protection device and system | |
KR20210154016A (en) | Power system fault data handling system, apparatus and method using bus protective relay | |
CN118465393A (en) | Bus short-circuit capacity testing circuit and method | |
CN108459267A (en) | A kind of intelligence relay protection test platform | |
US11768242B1 (en) | Analyzer and method for regulations testing of a solar installation | |
CN201285426Y (en) | Intelligent detection apparatus for transforming plant computer monitoring system | |
CN106950511A (en) | A kind of DC power system standardized test interface arrangement | |
EP3460935A1 (en) | Method and system for feeder protection in electrical power network | |
Li et al. | Integrated research on power distribution intelligent switching equipment | |
CN111951648A (en) | Three-phase four-wire system electric energy meter wiring demonstration device | |
CN212114222U (en) | Data output device in cabinet | |
US7327274B1 (en) | Programmable panel schedule | |
Gao et al. | Intelligent Verification Method for Electrical Misoperation Data Models of Bridge-Type Wiring |
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 |