A multi-modal automated test system and method
By designing a multimodal automatic testing system, the problems of low automation level and insufficient cross-platform adaptability in the testing of domestic DCS platforms were solved. It achieved high-precision and highly automated multimodal signal simulation and acquisition, improving test coverage and efficiency.
Patent Information
- Application Number
- CN202610393387.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-03-27
- Publication Date
- 2026-07-10
AI Technical Summary
Existing technologies have low levels of automation and insufficient coverage in the testing of domestically produced DCS platforms, making it impossible to achieve multimodal signal simulation and system-level logic verification. Furthermore, dedicated test fixtures are strongly bound to the platform, resulting in insufficient cross-platform adaptability.
Design a multimodal automatic test system, including a computing and control unit, a PXI chassis, a signal conditioning chassis, an interface connection unit, and a human-computer interaction unit. Combined with an automatic test software platform, it realizes unified simulation and acquisition of multimodal signals and supports integrated testing of analog quantities, digital quantities, and network communication.
It improves the test coverage and execution efficiency of the domestic DCS platform, and features high precision, high degree of automation, strong versatility, and cross-platform compatibility, realizing unified simulation and acquisition of multi-modal signals.
Smart Images

Figure CN122363162A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of industrial process control system testing technology, and in particular to a multimodal automatic testing system and method. Background Technology
[0002] DCS (Distributed Control System, also known as Digital Instrumentation and Control System) platforms, as core control equipment in process industries such as power, petrochemical, and metallurgy, have been comprehensively developed towards domestic production. Domestic DCS platforms feature rich signal types and complex architectures, generally employing redundancy, cross-checking, and self-diagnostic designs, and supporting multiple industrial communication protocols. To meet functional safety standards such as IEC 61508, functional, performance, and interface consistency tests must be conducted on domestic DCS platforms. IEC 61508 is a fundamental functional safety standard developed by the IEC (International Electrotechnical Commission).
[0003] Existing testing methods still rely mainly on manual labor combined with traditional instruments, resulting in low levels of automation, insufficient coverage, and long cycles. General-purpose automatic testing platforms only support single-dimensional testing, cannot accurately simulate industrial field signals, and lack system-level logic verification capabilities. Dedicated testing fixtures are strongly tied to domestic DCS platforms, resulting in poor reusability and insufficient cross-platform adaptability, making it difficult to meet the high-efficiency, high-coverage, and high-reliability testing requirements of domestic DCS platforms. Summary of the Invention
[0004] In view of the above problems, this application is made to provide a multimodal automatic testing system and method that overcomes or at least partially solves the above problems. The technical solution is as follows: Firstly, a multimodal automatic testing system is provided, the system comprising: The computing and control unit is used to run the automated testing software platform and realize the overall control of the testing process, data interaction, and command issuance. The PXI chassis connects to the computing and control unit and is used to carry multiple functional boards to realize the output and acquisition of multimodal test signals. The signal conditioning chassis, connected to the PXI chassis, is used to carry multiple signal conditioning boards to realize the conversion, electrical isolation and overload protection of test signals; the multiple signal conditioning boards are inserted into the signal conditioning chassis, and each signal conditioning board is connected to at least one functional board. The interface connection unit connects to the signal conditioning chassis and the domestic DCS platform respectively, and is used to realize the physical connection and signal transmission with the domestic DCS platform; The power supply unit is connected to the computing and control unit, the PXI chassis, and the signal conditioning chassis, respectively, to provide a stable power supply and achieve electrical safety protection. The human-machine interface unit, connected to the computing and control unit, is used to display test process data and operating status, and to receive operation control commands from the operator.
[0005] In one possible implementation, the functional board includes at least one of analog output board, digital output board, digital input board and industrial network interface module; Signal conditioning boards include at least one of the following: resistance temperature detector (RTD) signal conditioning boards, thermocouple signal conditioning boards, voltage and current type analog signal conditioning boards, digital output conditioning boards, and digital input conditioning boards.
[0006] In one possible implementation, the automated testing software platform includes: The test case management module is used to receive, store, and maintain test requirements and test cases, classify and identify test cases, and obtain structured test cases. The test script generation and parsing module, connected to the test case management module, is used to convert structured test cases into machine-executable test scripts. The hardware abstraction and channel mapping module, connected to the test script generation and parsing module, is used to store hardware mapping information and map the input signal information in the test script to the corresponding target physical output channel based on the hardware mapping information. The signal generation and scheduling module is connected to the hardware abstraction and channel mapping module and the PXI chassis, respectively. It is used to control the function board and signal conditioning board to output corresponding test input signals according to the test script, so as to realize the timing coordination and synchronization of multi-channel signals. The data acquisition and result determination module is connected to the hardware abstraction and channel mapping module and the PXI chassis, respectively. It is used to acquire the response signals output by the domestic DCS platform through the function board and signal conditioning board, complete the data comparison according to the determination rules in the test script, and generate test results. The log recording and report generation module, connected to the data acquisition and result judgment module, is used to record the input and output data of the test process, system operation logs and abnormal event information in chronological order, and generate standardized test reports that include test case execution status, test coverage statistics, efficiency comparison data and defect list; The human-computer interaction and control module is connected to the test case management module, signal generation and scheduling module, and data acquisition and result judgment module, respectively. It provides a graphical operation interface to realize test plan configuration, test process start and stop control, and real-time monitoring of running status.
[0007] In one possible implementation, the interface connection unit includes a terminal block and a network interface board; Terminal blocks connect to the input / output terminals of all signal conditioning boards and are used to connect to the I / O (Input / Output) modules of the domestic DCS platform via pre-fabricated cables. The network interface board connects to the industrial network interface module in the function board and is used to complete data communication with the network interface of the domestic DCS platform via a network cable.
[0008] Secondly, a multimodal automatic testing method is provided, the method comprising: Import the test requirements for the domestic DCS platform and at least one test case, and classify and manage all test cases according to the test objects to obtain structured test cases; The structured test cases are parsed and processed to generate test scripts that include input signal information. The input signal information in the test scripts is then mapped to the corresponding target physical output channels. Connect to the domestic DCS platform according to the preset wiring rules and complete the initialization; According to the test script, control the target physical output channel to output multimodal test input signals to the domestic DCS platform; Collect feedback data and behavioral information output by the domestically produced DCS platform after responding to multimodal test input signals; Based on the test script, the collected feedback data and behavioral information are analyzed to generate judgment conclusions for the test cases; Summarize the execution information and judgment conclusions of all test cases, generate test records and test logs, and complete the storage and export of test data.
[0009] In one possible implementation, the structured test cases are parsed to generate test scripts that include input signal information, including: The test cases are structured and parsed to extract the target functional module identifier, input signal information, target output signal and judgment rules contained in each test case; the input signal information includes the input signal type, input signal channel, input signal timing information and input signal waveform information, and the judgment rules include the preset error range, expected result and pass / fail threshold; Based on the extracted identifiers of the target functional modules, input signal information, target output signals, and judgment rules, a machine-executable test script is generated.
[0010] In one possible implementation, according to the test script, the target physical output channel is controlled to output multimodal test input signals to the domestically produced DCS platform, including at least one of the following operations: The control analog output board outputs the first analog signal, which is then converted into an equivalent resistance signal by the resistance temperature detector (RTD) signal conditioning board and injected into the RTD input module of the domestic DCS platform. The control analog output board outputs a second analog signal, which is then converted into an equivalent signal with nonlinear characteristics by the thermocouple signal conditioning board and injected into the thermocouple input module of the domestic DCS platform. The control analog output board outputs a third analog signal, which is then converted into a standard industrial process signal by a voltage and current type analog conditioning board and injected into the analog input module of the domestic DCS platform. The control digital output board outputs logic level signals, which are then converted into switch signals that meet the interface requirements by the digital output conditioning board and injected into the switch input module of the domestic DCS platform.
[0011] In one possible implementation, the feedback data and behavioral information output by the domestically produced DCS platform after responding to the multimodal test input signal include: The digital input board and analog input board are used to collect the switch feedback data and analog feedback data output by the domestic DCS platform. The communication interaction data of the domestic DCS platform is collected through the industrial network interface module, and the alarm status information, interlock action information, and display result information of the domestic DCS platform are recorded.
[0012] In one possible implementation, the collected feedback data and behavioral information are analyzed based on the test script to generate judgment conclusions for the test cases, including: Extract the decision rules, expected results, and pass / fail thresholds from the test scripts of the corresponding test cases; According to the judgment rules, the collected switch quantity feedback data, analog quantity feedback data, communication interaction data, alarm status information, interlock action information, and recorded display result information are compared and analyzed item by item with the expected results. The comparative analysis includes at least one of the following: numerical deviation verification, response time verification, state change logic verification, redundancy channel consistency verification, and cross-validation mechanism effectiveness verification. If all comparison and analysis items meet the pass / fail threshold requirements, the corresponding test case will be marked as passed. If any comparison analysis item fails to meet the pass / fail threshold, the corresponding test case will be marked as execution failure, and the reason for the failure will be recorded.
[0013] In one possible implementation, the execution information and judgment conclusions of all test cases are aggregated to generate test records and test logs, and the storage and export of test data are completed, including: Summarize the execution timing information, input signal information, collected feedback data and behavioral information, and judgment conclusions of all test cases to form a complete test record; Standardized test reports are automatically generated based on test records. The standardized test reports include test case execution status, test coverage statistics, test efficiency comparison data, and defect list information. Export and store test records, test logs, and standardized test reports.
[0014] By means of the above technical solutions, the multimodal automatic testing system and method provided in this application embodiment can realize unified simulation and acquisition of multimodal signals on a single platform. It has the characteristics of high testing accuracy, high degree of automation, strong versatility and cross-platform adaptability, effectively improving the coverage and execution efficiency of domestic DCS platform testing. Attached Figure Description
[0015] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the description of the embodiments of this application will be briefly introduced below.
[0016] Figure 1 A structural diagram of the multimodal automatic testing system provided in an embodiment of this application is shown; Figure 2 This paper shows an example diagram of the internal board layout of the PXI chassis 220 of the multimodal automatic test system provided in an embodiment of this application; Figure 3a This paper shows an example diagram of the front panel card layout of the signal conditioning chassis 230 of the multimodal automatic test system provided in an embodiment of this application; Figure 3b This paper shows an example diagram of the back panel card layout of the signal conditioning chassis 230 of the multimodal automatic test system provided in an embodiment of this application; Figure 4 This diagram illustrates a connection example of the pre-installed cable of the multimodal automatic testing system provided in this embodiment of the application. Figure 5a This paper shows an example of the front layout of the cabinet of the multimodal automatic test system provided in an embodiment of this application; Figure 5b This paper shows an example of the cabinet rear layout of the multimodal automatic test system provided in an embodiment of this application; Figure 6 A flowchart of the multimodal automatic testing method provided in an embodiment of this application is shown. Detailed Implementation
[0017] Exemplary embodiments of the present application will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this application will be thorough and complete, and will fully convey the scope of the present application to those skilled in the art.
[0018] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such use can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the term "comprising" and its variations should be interpreted as open-ended terms meaning "including but not limited to."
[0019] The inventors discovered through analysis that domestically produced DCS platforms have become core control equipment in key industrial sectors such as power, petrochemicals, and metallurgy. These platforms exhibit diverse signal types, complex architectures, and abundant interfaces, requiring comprehensive testing according to the functional safety standard IEC 61508. Current testing technologies for domestically produced DCS platforms suffer from the following main deficiencies: (1) The test is highly dependent on manual labor and traditional instruments. Manual wiring, manual signal transmission, and visual interpretation result in low efficiency, large errors, and insufficient test coverage. (2) The general automated test platform only supports single-dimensional testing and cannot realize integrated multimodal testing of analog quantity, digital quantity and network communication. The signal simulation does not match the field characteristics. (3) There is a lack of system-level black-box testing methods for the redundant architecture, cross-validation and self-diagnosis logic of domestic DCS platforms, making it difficult to fully verify key security logic; (4) The dedicated test fixtures are strongly bound to the domestic DCS platform, lack a hardware abstraction layer and a general script mechanism, have poor cross-model reuse capability, and cannot adapt to the needs of multi-platform parallel testing.
[0020] To address the aforementioned technical problems, embodiments of this application provide a multimodal automatic testing system, such as... Figure 1As shown, the multimodal automatic test system comprises six parts: a computing and control unit 210, a PXI chassis 220, a signal conditioning chassis 230, an interface connection unit 240, a power supply unit 250, and a human-machine interaction unit 260. Here, PXI stands for PCIeXtensions for Instrumentation, which is a PCI extension for instrument systems; PCI stands for Peripheral Component Interconnect, which is a widely used bus standard in computers for connecting the motherboard to peripheral devices (such as graphics cards, sound cards, network cards, etc.) to achieve high-speed data transmission; PXI is an instrument bus standard extended from PCI, used for modular instrument systems in the field of industrial test and measurement.
[0021] The specific details of each part of this multimodal automatic testing system are as follows: The computing and control unit 210 is used to run the automatic test software platform and realize the overall control of the test process, data interaction and command issuance.
[0022] In one possible implementation, the aforementioned computing and control unit 210 can be an industrial computer, such as a high-performance industrial control computer; In another possible implementation, the aforementioned computing and control unit 210 can be an embedded controller, such as a PXI embedded controller, which is directly plugged into the controller slot of the PXI chassis 220; In one possible implementation, the aforementioned computing and control unit 210 can run a general-purpose operating system, such as Windows, and deploy an automated testing software platform; In one possible implementation, the aforementioned computing and control unit 210 interacts with the function boards inside the PXI chassis 220 via the PXI bus to exchange data and control commands. In one possible implementation, the aforementioned computing and control unit 210 interacts with the industrial network interface of the domestically produced DCS platform via an Ethernet interface, for example, by sending and receiving test data via Modbus (Modicon Bus, an industrial serial communication bus protocol) / TCP (Transmission Control Protocol) or other industrial Ethernet protocols. In one possible implementation, the computing and control unit 210 also provides a USB interface and / or a serial interface for system maintenance, software upgrades, or external storage device connection.
[0023] The PXI chassis 220 is connected to the computing and control unit 210 and is used to carry multiple functional boards to realize the output and acquisition of multimodal test signals.
[0024] In one possible implementation, the aforementioned functional board includes at least one of an analog output board, a digital output board, a digital input board, and an industrial network interface module; the analog output board (PXI AO card) provides multiple high-resolution voltage or current output channels for generating analog test signals; the digital output board (PXI DO card) provides multiple digital logic level output channels for generating switch test signals; the digital input board (PXI DI card) provides multiple digital logic level input channels for acquiring switch signals output by the domestic DCS platform; and the industrial network interface module, such as a multi-port Ethernet interface board, is used to establish a communication connection with the industrial network interface of the domestic DCS platform, supporting the transmission and reception of network data packets, protocol consistency testing, and network stress testing. In one example, such as Figure 2 As shown, the Figure 2 This is a schematic diagram of the internal board layout of the PXI 220 chassis for a multimodal automated test system; the model is PXIS-2714, and the slot numbers are SLOT1 to SLOT19; slots SLOT2 to SLOT4 are equipped with 64-channel source digital output boards of model 7434 or 7433, labeled NIF-DO1, NIF-DO2, and NIF-DI1, respectively, used for outputting and acquiring switch signals; slots SLOT5 to SLOT7 are equipped with PXI-6... The 32-channel source analog output board of the 723, labeled NIF-AO1 to NIF-AO6, is used to provide multiple high-resolution analog output signals; slots SLOT8 to SLOT17 are reserved expansion slots for adding functional boards according to test requirements; slots SLOT18 and SLOT19 are equipped with industrial Ethernet interface modules of model LAN-004B, labeled NIF-N11 to NIF-N24, for establishing network communication connections with the domestic DCS platform.
[0025] The signal conditioning chassis 230 is connected to the PXI chassis 220 and is used to carry multiple signal conditioning boards to realize the conversion, electrical isolation and overload protection of test signals. The multiple signal conditioning boards are inserted into the signal conditioning chassis 230, and each signal conditioning board is connected to at least one functional board.
[0026] In one possible implementation, the signal conditioning board includes at least one of the following: a resistance temperature detector (RTD) signal conditioning board, a thermocouple signal conditioning board, a voltage-current analog signal conditioning board, a digital output conditioning board, and a digital input conditioning board. In one example, such as Figure 3a As shown, the Figure 3aThis is a schematic diagram of the front panel card layout of the signal conditioning chassis 230; the chassis slots are numbered SLOT1 to SLOT14; SLOT2 and SLOT3 are equipped with RTD (Resistance Temperature Detector) conditioning boards, used to convert analog signals into equivalent resistance signals, simulating the output of a thermal resistance sensor; SLOT4 is equipped with a DO (Digital Output) conditioning board, used to convert PXI digital output signals into switching signals; SLOT6 is equipped with a DI (Digital Output) conditioning board. Input (digital input) conditioning boards are used to acquire switch signals and convert them into PXI-recognizable levels; SLOT10 to SLOT12 are equipped with AO (Analog Output) conditioning boards, among which SLOT10 and SLOT11 are TC (Thermocouple) type AO conditioning boards, used to convert analog signals into millivolt-level thermocouple signals with nonlinear characteristics. The board labels are TJ01A-AO1a and TJ01A-AO1b, respectively. TJ01A-AO2a and TJ01A-AO2b; SLOT12 is a general-purpose AO conditioning board used to convert analog signals into standard industrial process signals, and the board is identified as TJ01A-AO3a and TJ01A-AO3b; SLOT1, SLOT5, SLOT7 to SLOT9, SLOT13 and SLOT14 are reserved expansion slots for adding conditioning boards according to test requirements; each conditioning board is connected to the corresponding functional board in the PXI chassis 220 through pre-installed cables; In another example, such as Figure 3b As shown, the Figure 3b This is a schematic diagram of the back panel card layout for the signal conditioning chassis 230; the slot numbers are from SLOT1 to SLOT14, and... Figure 3aThe board slots shown correspond one-to-one; slots SLOT1 to SLOT3 correspond to TJ01A-DO1, TJ01A-DO2, and TJ01A-DI1 interfaces respectively, used to uniformly output digitally conditioned signals; slots SLOT10 to SLOT12 correspond to TJ01A-AO1a, TJ01A-AO1b, TJ01A-AO2a, TJ01A-AO2b, TJ01A-AO3a, and TJ01A-AO3b interfaces respectively. The interface is used to uniformly bring out the analog-conditioned signals; signal power supply and baseboard power supply interfaces are set up. The signal power supply interfaces are labeled JA03-4 and JA03-2, corresponding to W-24V+ (positive power supply) and W-24V- (negative power supply) respectively, to provide working power to the signal conditioning board; the baseboard power supply interfaces are labeled JA02-4 and JA02-2, corresponding to D-24V+ (positive power supply) and D-24V- (negative power supply) respectively, to provide working power to the baseboard; In another example, continuing from the previous one, the pre-installed cable wiring configuration between the PXI chassis 220 and the signal conditioning chassis 230 is shown in Table 1: Table 1 - Pre-installed cable wiring diagram for PXI chassis 220 and signal conditioning chassis 230
[0027] In another example, such as Figure 4 As shown, the Figure 4 This is a schematic diagram of the pre-installed cable connections for the multimodal automatic test system. On the left, NIF-AO1 is the interface identifier for the analog output board inside the PXI chassis 220, used to output analog test signals. SH100-100-FLEX is the pre-installed cable model, used for stable signal transmission. On the right, TLB-AO1 is the analog conditioning interface identifier on the backplane of the signal conditioning chassis 230, which connects to NIF-AO1 via this pre-installed cable to complete signal transmission.
[0028] The interface connection unit 240 is connected to the signal conditioning chassis 230 and the domestic DCS platform respectively, and is used to realize the physical connection and signal transmission with the domestic DCS platform.
[0029] In one possible implementation, the interface connection unit 240 includes a terminal block and a network interface board. The terminal block is connected to the signal conditioning board of the signal conditioning chassis 230 via a semi-pre-installed cable, and signal interface with the domestic DCS platform is completed based on the pre-installed cable. The network interface board is connected to the industrial network interface module in the function board, and is used to complete data communication interface with the network interface of the domestic DCS platform via a network cable. In another possible implementation, the interface connection unit 240 performs zoned wiring for different types of signals, such as analog signal zone, digital signal zone and network zone, and uses shielding and grounding measures to reduce signal interference and improve maintainability. In one example, the wiring configuration of the signal conditioning chassis 230 and the pre-installed cable in the terminal block is shown in Table 2.
[0030] Table 2 - Wiring Table for Signal Conditioning Chassis 230 and Pre-installed Cables in Terminal Block Half
[0031] The power supply unit 250 is connected to the computing and control unit 210, the PXI chassis 220, and the signal conditioning chassis 230 respectively, and is used to provide a stable working power supply and realize electrical safety protection.
[0032] In one possible implementation, the power supply unit 250 includes an AC / DC conversion module that converts external AC power into multiple DC power supplies to power the industrial computer, the function boards in the PXI chassis 220, and the conditioning boards in the signal conditioning chassis 230, respectively. In another possible implementation, the power supply unit 250 can also provide isolated power to interfaces or analog sensor circuits that require external power supply to ensure the purity of test signals and system safety. In another possible implementation, the power supply unit 250 has overvoltage protection, overcurrent protection, grounding and shielding wiring functions to prevent damage to the multimodal automatic test system or the domestic DCS platform under abnormal conditions.
[0033] The human-machine interface unit 260 is connected to the computing and control unit 210 and is used to display test process data and operating status, and to receive operation control commands from the operator.
[0034] In one possible implementation, the human-computer interaction unit 260 is an integrated KVM (Keyboard Video Mouse) device that integrates a monitor, keyboard, and mouse; In another possible implementation, the human-computer interaction unit 260 displays the user interface of the automatic testing software platform, which may include a test plan configuration interface, a test execution monitoring interface, a channel configuration interface, and a test result display interface.
[0035] In one example, such as Figure 5a As shown, the Figure 5aThis is a front layout diagram of the cabinet for a multimodal automated test system. The horizontal scale from 0 to 500 indicates the cabinet width. The components inside the cabinet are arranged sequentially from top to bottom. At the very top is a cable tray for cable management and signal isolation cabling. Below the cable tray are POW (Power) 1 and POW2, belonging to power unit 250, providing branch power and power management for various components. Below POW1 and POW2 are cable trays and ACPS (AC Power System), belonging to power unit 250, providing stable AC power. Below ACPS are cable trays and DCPS (DC Power System). The DCPS (DC power supply system) is part of power supply unit 250, providing multiple isolated DC power supplies. The number 40 marked on the DCPS indicates the installation spacing. Below the DCPS is a KVM switch, i.e., the human-machine interface unit 260. Below the KVM switch is a conditioning chassis, i.e., the signal conditioning chassis 230. Below the conditioning chassis is a crossbeam for fixing and installing the computing and control unit 210. Below the crossbeam is a reserved empty space for functional expansion and installation of new test components. Below the reserved empty space is an NI PXI-1045 chassis, i.e., the PXI chassis 220.
[0036] In another example, following the previous one, such as... Figure 5b As shown, the Figure 5b This is a schematic diagram of the rear layout of the cabinet for a multimodal automatic test system. Vertical cable trays are provided on the left and right sides of the cabinet for internal wiring and external cable management of components on different levels. A cable tray is located at the top of the cabinet, and the number 40 marked on the corresponding position of the cable tray indicates the installation height. A double-layer terminal block is located below the top of the cabinet. This double-layer terminal block belongs to the interface connection unit 240 and is used to bring out various test signals. The number 35 marked on the corresponding position of the double-layer terminal block indicates the installation height, and the number 40 marks the installation spacing between the double-layer terminal block and the cable tray. Below the double-layer terminal block, there is a cable tray and two sets of terminal blocks. These terminal blocks belong to the interface connection unit 240 and are used for zoned wiring management of different types of signals.
[0037] This application provides a possible implementation method, wherein the above-mentioned automatic testing software platform includes: The test case management module is used to receive, store, and maintain test requirements and test cases, classify and identify test cases, and obtain structured test cases. The test script generation and parsing module, connected to the test case management module, is used to convert structured test cases into machine-executable test scripts. The hardware abstraction and channel mapping module, connected to the test script generation and parsing module, is used to store hardware mapping information and map the input signal information in the test script to the corresponding target physical output channel based on the hardware mapping information. The signal generation and scheduling module is connected to the hardware abstraction and channel mapping module and the PXI chassis 220, respectively. It is used to control the function board and signal conditioning board to output corresponding test input signals according to the test script, so as to realize the timing coordination and synchronization of multi-channel signals. The data acquisition and result determination module is connected to the hardware abstraction and channel mapping module and the PXI chassis 220, respectively. It is used to acquire the response signals output by the domestic DCS platform through the function board and signal conditioning board, complete the data comparison according to the determination rules in the test script, and generate test results. The log recording and report generation module, connected to the data acquisition and result judgment module, is used to record the input and output data of the test process, system operation logs and abnormal event information in chronological order, and generate standardized test reports that include test case execution status, test coverage statistics, efficiency comparison data and defect list; The human-computer interaction and control module is connected to the test case management module, signal generation and scheduling module, and data acquisition and result judgment module, respectively. It provides a graphical operation interface to realize test plan configuration, test process start and stop control, and real-time monitoring of running status.
[0038] In one possible implementation, the aforementioned target physical output channel includes the signal channel of the function board and the signal channel of the signal conditioning board.
[0039] Based on the multimodal automatic testing system provided in the above embodiments, and based on the same inventive concept, this application also provides a multimodal automatic testing method, such as... Figure 6 As shown, the multimodal automatic testing method may include the following steps S101 to S107: Step S101: Import the test requirements for the domestic DCS platform and at least one test case. Classify and manage all test cases according to the test objects to obtain structured test cases.
[0040] In one possible implementation, the aforementioned testing requirements may include functional requirements, performance requirements, and interface requirements for the domestically produced DCS platform, and the aforementioned test cases may be pre-written single verification items used to verify whether the domestically produced DCS platform meets the testing requirements. In one possible implementation, the test object can be at least one of the following: temperature measurement subsystem, liquid level measurement subsystem, pressure measurement subsystem, internal verification module, communication module, recording and display module, external interface module, and self-diagnosis module. In one possible implementation, the aforementioned structured test cases can be understood as test cases organized and stored according to a preset data format, which facilitates the parsing and processing of subsequent steps. In one example, functional testing of the temperature measurement subsystem of a domestically produced DCS platform is required. The test engineer pre-writes 10 test cases to verify the measurement accuracy of the subsystem at different temperature points. After the multimodal automatic testing system is started, the testers import these 10 test cases and related functional test requirements into the multimodal automatic testing system through the human-computer interaction interface. After receiving this information, the test case management module inside the multimodal automatic testing system identifies that these test cases all belong to the temperature measurement subsystem. Therefore, it categorizes all 10 test cases under this test object and converts them into a structured data format that can be recognized by the system, thereby obtaining the structured test cases corresponding to this test object.
[0041] Step S102: Parse the structured test cases to generate test scripts that include input signal information, and map the input signal information in the test scripts to the corresponding target physical output channels.
[0042] In one possible implementation, the above-mentioned parsing process refers to converting the test intent, test conditions, and expected results contained in the structured test cases into an automatically executable test script containing a specific sequence of instructions. This script includes at least input signal information, which describes what kind of signal is injected into the domestic DCS platform. It may include at least one of the following: target functional module identifier, input signal type, input signal channel number, input signal timing, and input signal waveform. The input signal type may be at least one of the following: thermocouple signal, RTD signal, voltage signal, current signal, switch signal, and network data packet.
[0043] In one example, a structured test case for the temperature measurement subsystem describes the following test intent: "At time T0, input a K-type thermocouple signal corresponding to 100℃ into channel CH1 and observe the system display value." After parsing this test case, the test script generation and parsing module generates a test script containing the following input signal information: the target functional module is the temperature measurement subsystem, the input signal type is a thermocouple signal, the channel number is CH1, the signal timing starts at time T0, and the signal waveform is a millivolt step signal corresponding to 100℃. Subsequently, the hardware abstraction and channel mapping module reads the hardware mapping information and finds that the thermocouple signal channel CH1 needs to be mapped to channel 2 of PXI analog output board 3 and channel 1 of thermocouple signal conditioning board 2. Therefore, these two specific physical channels are determined as the target physical output channels for this test.
[0044] Step S103: Connect the domestic DCS platform according to the preset wiring rules and complete the initialization.
[0045] In one possible implementation, the aforementioned preset wiring rules may include signal type zoning rules, shielding and grounding rules, and cable selection rules; In one possible implementation, initialization is completed by establishing communication with a domestically produced DCS platform, sending initialization commands to enable the functional modules under test, setting initial operating parameters, and clearing historical alarms or logs.
[0046] Step S104: According to the test script, control the target physical output channel to output multimodal test input signals to the domestic DCS platform.
[0047] Step S105: Collect feedback data and behavioral information output by the domestically produced DCS platform after responding to the multimodal test input signal.
[0048] In one possible implementation, the collected feedback data and behavioral information may include at least one of the following: analog output value, digital output status, network communication data, alarm status, interlocking action, and recorded display results. In one possible implementation, when the test script is used to verify the redundancy logic of the domestic DCS platform, the signal generation and scheduling module can control multiple target physical output channels and synchronously output signal combinations with preset differences to multiple redundant input channels to observe the redundancy switching, fault shielding and consistency processing behavior of the domestic DCS platform. In one example, following the previous one, after the signal generation and scheduling module parses the test script, at time T0, it controls the second channel of the PXI analog output board (board number 3) to output a voltage signal. This voltage signal is transmitted to the first channel of the thermocouple signal conditioning board (board number 2). The voltage signal from the conditioning board is converted into a millivolt signal corresponding to a K-type thermocouple at 100℃, and then output to the designated input terminal of the domestically produced DCS platform temperature measurement subsystem via the interface connection unit 240. Simultaneously, the data acquisition and result judgment module begins to collect in real time the temperature display value, alarm records, and temperature data that may be uploaded via the communication interface from the domestically produced DCS platform through the PXI analog input board and the industrial network interface module. The multimodal automatic test system records the entire process data from signal injection to response stabilization, serving as the basis for subsequent analysis.
[0049] Step S106: Analyze the collected feedback data and behavioral information according to the test script, and generate the judgment conclusion of the test case.
[0050] Step S107: Summarize the execution information and judgment conclusions of all test cases, generate test records and test logs, and complete the storage and export of test data.
[0051] This embodiment imports test requirements and test cases and completes structured classification. The structured test cases are parsed to generate test scripts, and then the script signals are mapped to the target physical output channel. According to the test script, the channel outputs multimodal test signals, and the signal and behavior information fed back by the domestic DCS platform is collected simultaneously. The test results are automatically judged according to preset rules, and finally test records, test logs and standardized test reports are generated and stored and exported. It realizes integrated automatic testing of multiple types of signals such as analog, digital and network communication signals. It supports redundancy and cross-validation logic verification and has the characteristics of high automation, comprehensive test coverage, strong cross-platform adaptability and traceable results, which significantly improves the testing efficiency and reliability of the domestic DCS platform.
[0052] This application embodiment provides a possible implementation method. Step S102 above parses and processes the structured test cases to generate a test script including input signal information, which may specifically include the following steps: The test cases are structured and parsed to extract the target functional module identifier, input signal information, target output signal and judgment rules contained in each test case; the input signal information includes the input signal type, input signal channel, input signal timing information and input signal waveform information, and the judgment rules include the preset error range, expected result and pass / fail threshold; Based on the extracted identifiers of the target functional modules, input signal information, target output signals, and judgment rules, a machine-executable test script is generated.
[0053] This embodiment parses structured test cases and generates executable test scripts, which can achieve standardized and automated execution of the test process, reduce manual configuration and operation errors, and improve the consistency and repeatability of test execution.
[0054] This application embodiment provides a possible implementation method. The above step S104, according to the test script, controls the target physical output channel to output multimodal test input signals to the domestic DCS platform, including at least one of the following operations: The control analog output board outputs the first analog signal, which is then converted into an equivalent resistance signal by the resistance temperature detector (RTD) signal conditioning board and injected into the RTD input module of the domestic DCS platform. The control analog output board outputs a second analog signal, which is then converted into an equivalent signal with nonlinear characteristics by the thermocouple signal conditioning board and injected into the thermocouple input module of the domestic DCS platform. The control analog output board outputs a third analog signal, which is then converted into a standard industrial process signal by a voltage and current type analog conditioning board and injected into the analog input module of the domestic DCS platform. The control digital output board outputs logic level signals, which are then converted into switch signals that meet the interface requirements by the digital output conditioning board and injected into the switch input module of the domestic DCS platform.
[0055] This embodiment, through multi-channel signal conditioning and conversion output, can inject equivalent RTD, thermocouple, standard industrial process quantity and compliant switch quantity signals into the domestic DCS platform, realize the simulation and matching access of multiple types of field signals, ensure that the test signal is consistent with the actual working condition, and improve the authenticity, compatibility and stability of the test input.
[0056] This application embodiment provides a possible implementation method. The above step S105, which collects the feedback data and behavioral information output by the domestic DCS platform after responding to the multimodal test input signal, may specifically include the following steps: The digital input board and analog input board are used to collect the switch feedback data and analog feedback data output by the domestic DCS platform. The communication interaction data of the domestic DCS platform is collected through the industrial network interface module, and the alarm status information, interlock action information, and display result information of the domestic DCS platform are recorded.
[0057] This embodiment, by collecting feedback data, communication interaction data, and behavioral information, can comprehensively record the complete response content of the domestically produced DCS platform, ensuring complete test data collection and comprehensive status recording, and providing real and reliable data support for subsequent result determination.
[0058] This application embodiment provides a possible implementation method. Step S106 above analyzes the collected feedback data and behavioral information according to the test script to generate the judgment conclusion of the test case, which may specifically include the following steps: Extract the decision rules, expected results, and pass / fail thresholds from the test scripts of the corresponding test cases; According to the judgment rules, the collected switch quantity feedback data, analog quantity feedback data, communication interaction data, alarm status information, interlock action information, and recorded display result information are compared and analyzed item by item with the expected results. The comparative analysis includes at least one of the following: numerical deviation verification, response time verification, state change logic verification, redundancy channel consistency verification, and cross-validation mechanism effectiveness verification. If all comparison and analysis items meet the pass / fail threshold requirements, the corresponding test case will be marked as passed. If any comparison analysis item fails to meet the pass / fail threshold, the corresponding test case will be marked as execution failure, and the reason for the failure will be recorded.
[0059] This embodiment extracts judgment rules and compares and verifies multiple types of feedback data item by item, which can realize the automated and standardized judgment of test results, distinguish the execution status of test cases and record the reasons for failure, effectively improving the objectivity, accuracy and traceability of test judgment.
[0060] This application embodiment provides a possible implementation method. Step S107 above summarizes the execution information and judgment conclusions of all test cases, generates test records and test logs, and completes the storage and export of test data. Specifically, it may include the following steps: Summarize the execution timing information, input signal information, collected feedback data and behavioral information, and judgment conclusions of all test cases to form a complete test record; Standardized test reports are automatically generated based on test records. The standardized test reports include test case execution status, test coverage statistics, test efficiency comparison data, and defect list information. Export and store test records, test logs, and standardized test reports.
[0061] This embodiment summarizes test process information and automatically generates standardized test reports, which can completely retain test data, make the test process traceable and the results quantifiable, and effectively improve the standardization and efficiency of test data management.
[0062] In one example, following the previous one, the data acquisition and result judgment module compares the final temperature value displayed by the domestically produced DCS platform (e.g., 100.5℃) with the expected range in the test script (e.g., 100±1℃), and determines that the value is within the expected range. At the same time, it compares the response time from signal injection to alarm triggering (e.g., 2 seconds) with the maximum response time required by the test script (e.g., 3 seconds), and determines that the time meets the requirements. After all comparisons pass, the judgment conclusion of the test case is marked as passed. After all 10 temperature measurement test cases have been executed, the log recording and report generation module summarizes the execution process data of all test cases, the original acquisition data, and the conclusions of pass or failure, automatically generates a test report, and stores all the original data in chronological order as a system log file for subsequent traceability.
[0063] It should be noted that the sequence numbers of the steps in the above embodiments do not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application. In practical applications, all the above possible implementation methods can be arbitrarily combined in a combined manner to form possible embodiments of this application, which will not be described in detail here.
[0064] Those skilled in the art will clearly understand that the specific working process of the systems, devices, and modules described above can be referred to the corresponding process in the foregoing method embodiments. For the sake of brevity, it will not be repeated here.
[0065] Those skilled in the art will understand that the technical solution of this application, or all or part of it, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several program instructions to cause an electronic device (e.g., a personal computer, server, or network device) to execute all or part of the steps of the methods described in the embodiments of this application when running the program instructions. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, portable hard drive, read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
[0066] Alternatively, all or part of the steps of the foregoing method embodiments can be implemented by hardware (such as electronic devices like personal computers, servers, or network devices) associated with program instructions. The program instructions can be stored in a computer-readable storage medium. When the program instructions are executed by the processor of the electronic device, the electronic device executes all or part of the steps of the methods described in the embodiments of this application.
[0067] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit it. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that within the spirit and principles of this application, modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein; and these modifications or substitutions do not cause the corresponding technical solutions to leave the protection scope of this application.
Claims
1. A multimodal automatic testing system, characterized in that, The system includes: The computing and control unit is used to run the automated testing software platform and realize the overall control of the testing process, data interaction, and command issuance. The PXI chassis connects to the computing and control unit and is used to carry multiple functional boards to realize the output and acquisition of multimodal test signals. The signal conditioning chassis, connected to the PXI chassis, is used to carry multiple signal conditioning boards to realize the conversion, electrical isolation and overload protection of test signals; the multiple signal conditioning boards are inserted into the signal conditioning chassis, and each signal conditioning board is connected to at least one functional board. The interface connection unit connects to the signal conditioning chassis and the domestic DCS platform respectively, and is used to realize the physical connection and signal transmission with the domestic DCS platform; The power supply unit is connected to the computing and control unit, the PXI chassis, and the signal conditioning chassis, respectively, to provide a stable power supply and achieve electrical safety protection. The human-machine interface unit, connected to the computing and control unit, is used to display test process data and operating status, and to receive operation control commands from the operator.
2. The system according to claim 1, characterized in that, Functional boards include at least one of analog output boards, digital output boards, digital input boards, and industrial network interface modules; Signal conditioning boards include at least one of the following: resistance temperature detector (RTD) signal conditioning boards, thermocouple signal conditioning boards, voltage and current type analog signal conditioning boards, digital output conditioning boards, and digital input conditioning boards.
3. The system according to claim 1, characterized in that, The automated testing software platform includes: The test case management module is used to receive, store, and maintain test requirements and test cases, classify and identify test cases, and obtain structured test cases. The test script generation and parsing module, connected to the test case management module, is used to convert structured test cases into machine-executable test scripts. The hardware abstraction and channel mapping module, connected to the test script generation and parsing module, is used to store hardware mapping information and map the input signal information in the test script to the corresponding target physical output channel based on the hardware mapping information. The signal generation and scheduling module is connected to the hardware abstraction and channel mapping module and the PXI chassis, respectively. It is used to control the function board and signal conditioning board to output corresponding test input signals according to the test script, so as to realize the timing coordination and synchronization of multi-channel signals. The data acquisition and result determination module is connected to the hardware abstraction and channel mapping module and the PXI chassis, respectively. It is used to acquire the response signals output by the domestic DCS platform through the function board and signal conditioning board, complete the data comparison according to the determination rules in the test script, and generate test results. The log recording and report generation module, connected to the data acquisition and result judgment module, is used to record the input and output data of the test process, system operation logs and abnormal event information in chronological order, and generate standardized test reports that include test case execution status, test coverage statistics, efficiency comparison data and defect list; The human-computer interaction and control module is connected to the test case management module, signal generation and scheduling module, and data acquisition and result judgment module, respectively. It provides a graphical operation interface to realize test plan configuration, test process start and stop control, and real-time monitoring of running status.
4. The system according to claim 1, characterized in that, The interface connection unit includes a terminal block and a network interface board; Terminal blocks connect to the input and output terminals of all signal conditioning boards and are used to complete signal interface with the I / O modules of the domestic DCS platform via pre-fabricated cables; The network interface board connects to the industrial network interface module in the function board and is used to complete data communication with the network interface of the domestic DCS platform via a network cable.
5. A multimodal automatic testing method, applied to a multimodal automatic testing system, characterized in that, The method includes: Import the test requirements for the domestic DCS platform and at least one test case, and classify and manage all test cases according to the test objects to obtain structured test cases; The structured test cases are parsed and processed to generate test scripts that include input signal information. The input signal information in the test scripts is then mapped to the corresponding target physical output channels. Connect to the domestic DCS platform according to the preset wiring rules and complete the initialization; According to the test script, control the target physical output channel to output multimodal test input signals to the domestic DCS platform; Collect feedback data and behavioral information output by the domestically produced DCS platform after responding to multimodal test input signals; Based on the test script, the collected feedback data and behavioral information are analyzed to generate judgment conclusions for the test cases; Summarize the execution information and judgment conclusions of all test cases, generate test records and test logs, and complete the storage and export of test data.
6. The method according to claim 5, characterized in that, The structured test cases are parsed and processed to generate test scripts that include input signal information, including: The test cases are structured and parsed to extract the target functional module identifier, input signal information, target output signal and judgment rules contained in each test case; the input signal information includes the input signal type, input signal channel, input signal timing information and input signal waveform information, and the judgment rules include the preset error range, expected result and pass / fail threshold; Based on the extracted identifiers of the target functional modules, input signal information, target output signals, and judgment rules, a machine-executable test script is generated.
7. The method according to claim 5, characterized in that, According to the test script, control the target physical output channel to output multimodal test input signals to the domestically produced DCS platform, including at least one of the following operations: The control analog output board outputs the first analog signal, which is then converted into an equivalent resistance signal by the resistance temperature detector (RTD) signal conditioning board and injected into the RTD input module of the domestic DCS platform. The control analog output board outputs a second analog signal, which is then converted into an equivalent signal with nonlinear characteristics by the thermocouple signal conditioning board and injected into the thermocouple input module of the domestic DCS platform. The control analog output board outputs a third analog signal, which is then converted into a standard industrial process signal by a voltage and current type analog conditioning board and injected into the analog input module of the domestic DCS platform. The control digital output board outputs logic level signals, which are then converted into switch signals that meet the interface requirements by the digital output conditioning board and injected into the switch input module of the domestic DCS platform.
8. The method according to claim 5, characterized in that, The feedback data and behavioral information output by the domestically produced DCS platform after responding to multimodal test input signals include: The digital input board and analog input board are used to collect the switch feedback data and analog feedback data output by the domestic DCS platform. The communication interaction data of the domestic DCS platform is collected through the industrial network interface module, and the alarm status information, interlock action information, and display result information of the domestic DCS platform are recorded.
9. The method according to claim 6, characterized in that, Based on the test script, the collected feedback data and behavioral information are analyzed to generate judgment conclusions for the test cases, including: Extract the decision rules, expected results, and pass / fail thresholds from the test scripts of the corresponding test cases; According to the judgment rules, the collected switch quantity feedback data, analog quantity feedback data, communication interaction data, alarm status information, interlock action information, and recorded display result information are compared and analyzed item by item with the expected results. The comparative analysis includes at least one of the following: numerical deviation verification, response time verification, state change logic verification, redundancy channel consistency verification, and cross-validation mechanism effectiveness verification. If all comparison and analysis items meet the pass / fail threshold requirements, the corresponding test case will be marked as passed. If any comparison analysis item fails to meet the pass / fail threshold, the corresponding test case will be marked as execution failure, and the reason for the failure will be recorded.
10. The method according to claim 5, characterized in that, Summarize the execution information and judgment results of all test cases, generate test records and test logs, and complete the storage and export of test data, including: Summarize the execution timing information, input signal information, collected feedback data and behavioral information, and judgment conclusions of all test cases to form a complete test record; Standardized test reports are automatically generated based on test records. The standardized test reports include test case execution status, test coverage statistics, test efficiency comparison data, and defect list information. Export and store test records, test logs, and standardized test reports.
