A test system and test method for SMC plug-in

CN122962299APending Publication Date: 2026-10-23NR ELECTRIC CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510476691.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-16
Publication Date
2026-10-23

AI Technical Summary

Technical Problem

[0003]当前,对SMC插件的测试方法为人工测试

Benefits of technology

[0016]本申请可以通过信息采集器采集待测SMC插件的插件信息。本申请可以通过插件信息确定SMC插件对应的测试脚本。本申请可以通过测试脚本生成控制命令。本申请可以通过控制命令向SMC插件的测试端子提供测试模拟量。本申请可以通过执行测试脚本,以根据测试脚本对SMC插件进行测试。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122962299A_ABST
    Figure CN122962299A_ABST
Patent Text Reader

Abstract

A test system and a test method of an SMC plug-in. The test system comprises an information collector, a debugging device, a test tool and a program-controlled source. The information collector collects plug-in information of the SMC plug-in to be tested; the debugging device is in communication connection with the information collector, receives the plug-in information, and determines the test script corresponding to the SMC plug-in according to the plug-in information to generate a control command according to the test script; the test tool is in communication connection with the debugging device and the information collector, and the SMC plug-in is electrically connected to the test tool; the program-controlled source is electrically connected to the debugging device and the test tool, receives the control command, and provides a test analog quantity to the test terminal of the SMC plug-in according to the control command; in the case that the SMC plug-in is electrically connected to the test tool, the debugging device sends the control command to the program-controlled source, so that the program-controlled source provides the test analog quantity to the test terminal of the SMC plug-in according to the control command, and the debugging device executes the test script to test the SMC plug-in according to the test script.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of power system testing, and more specifically, to a testing system and method for an SMC plug-in. Background Technology

[0002] Due to the large number of SMC components in a single converter valve project, the production and testing time for SMC components is usually tight.

[0003] Currently, the testing method for SMC plugins is manual testing. However, the inventors of this application have discovered that manual testing requires multiple program downloads of the SMC plugin under test using a simulator, which demands a high level of skill from the testers. Furthermore, frequent changes to test cables during the testing process can lead to operational errors and also result in lengthy testing times.

[0004] The content of the background section is merely technology known to the public and does not necessarily represent existing technology in the field. Summary of the Invention

[0005] According to one aspect of this application, a testing system for SMC plug-ins is provided. The testing system includes an information acquisition unit, debugging equipment, a test fixture, and a programmable controller (PCC). The information acquisition unit acquires plug-in information of the SMC plug-in under test; the debugging equipment is communicatively connected to the information acquisition unit, receives the plug-in information, and determines the corresponding test script for the SMC plug-in based on the plug-in information, thereby generating control commands based on the test script; the test fixture is communicatively connected to both the debugging equipment and the information acquisition unit, and the SMC plug-in is electrically connected to the test fixture; the PCC is electrically connected to the debugging equipment and the test fixture, receives control commands, and provides test analog quantities to the test terminals of the SMC plug-in according to the control commands; when the SMC plug-in is electrically connected to the test fixture, the debugging equipment sends control commands to the PCC, causing the PCC to provide test analog quantities to the test terminals of the SMC plug-in according to the control commands, and the debugging equipment executes the test script to test the SMC plug-in according to the test script.

[0006] According to some embodiments of this application, the debugging device also receives user instructions to determine the plugin information of the SMC plugin based on the user instructions.

[0007] According to some embodiments of this application, the debugging equipment includes a chassis, an LCD module, a backplane module, and a management module. The LCD module is located at the first end of the chassis and displays module information through a human-machine interface. The backplane module is located inside the chassis. The management module is located at the second end of the chassis, within a slot of the backplane module, and is communicatively connected to it. The management module communicates with the LCD module through the backplane module and with an information acquisition unit. The management module receives module information, determines a test script based on the module information, and generates control commands based on the test script.

[0008] According to some embodiments of this application, the debugging device further includes a download plug-in. The download plug-in is located at the second end of the chassis, in a slot on the backplane plug-in, and is communicatively connected to the management plug-in. The download plug-in is controlled by the management plug-in, receives program data of the SMC plug-in transmitted by the management plug-in, and provides an SMC plug-in program download interface to realize the download of the SMC plug-in program.

[0009] According to some embodiments of this application, the debugging device further includes a sampling plug-in. The sampling plug-in is located at the second end of the chassis, in a slot on the backplane plug-in, and is communicatively connected to the management plug-in. The sampling plug-in collects voltage and current information during the SMC plug-in test process to sample and determine the output of the SMC plug-in's test circuit based on the voltage and current information.

[0010] According to some embodiments of this application, the debugging device further includes an output plug-in. The output plug-in is disposed at the second end of the chassis and in a slot of the backplane plug-in. The output plug-in is communicatively connected to the management plug-in and controls the switching of the test circuit of the SMC plug-in according to the messages of the management plug-in.

[0011] According to some embodiments of this application, the debugging device further includes a communication module and a power supply module. The communication module is located at the second end of the chassis and is disposed in a slot of the backplane module. The communication module is communicatively connected to the SMC module, and is also communicatively connected to the programmable source and management module. The power supply module is located at the second end of the chassis and is disposed in a slot of the backplane module.

[0012] According to some embodiments of this application, the test fixture includes a test platform and test leads. The test platform includes a tray and a test board. The tray carries the SMC plug-in; one end of the test board is slidably connected to the tray, and at least one test probe is disposed on the lower surface of the test board; one end of the test leads is connected to a debugging device, and the other end is connected to the tray; when the SMC plug-in is placed on the tray, the test board moves downward in a vertical direction so that the test probes are electrically connected to the test terminals of the SMC plug-in.

[0013] According to some embodiments of this application, the test analog quantities include at least DC voltage, DC current, AC voltage, and AC current.

[0014] According to one aspect of this application, a testing method for an SMC plugin is provided. The testing method is executed by the testing system described above. The testing method includes: collecting plugin information of the SMC plugin under test; determining the test script corresponding to the SMC plugin based on the plugin information; generating control commands based on the test script; providing test simulation quantities to the test terminals of the SMC plugin based on the control commands; and executing the test script to test the SMC plugin according to the test script.

[0015] Beneficial effects

[0016] This application can collect plugin information of the SMC plugin under test using an information collector. This application can determine the corresponding test script for the SMC plugin using the plugin information. This application can generate control commands using the test script. This application can provide test analog quantities to the test terminals of the SMC plugin using the control commands. This application can test the SMC plugin according to the test script by executing the test script.

[0017] The testing system described in this application reduces the testing risks associated with manually measuring SMC plug-in circuits. The system has a simple structure, requires minimal external stimulation for debugging, is easy to copy and carry, and meets testing needs across various scenarios. Furthermore, the testing system supports testing the functions of various types of SMC plug-in hardware, offering high flexibility. Attached Figure Description

[0018] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0019] Figure 1 A schematic diagram of a test system according to an embodiment of this application is shown;

[0020] Figure 2 A schematic diagram of a debugging device according to an embodiment of this application is shown;

[0021] Figure 3 A flowchart of a test method 1000 according to an embodiment of this application is shown.

[0022] Explanation of reference numerals in the attached figures:

[0023] Test system 200; SMC plugin under test 300.

[0024] Information acquisition device 210; debugging equipment 220; testing fixture 230; programmable source 240.

[0025] Chassis 221; Management Plug-in 222; Download Plug-in 223; Sampling Plug-in 224; Output Plug-in 225; Communication Plug-in 226; Power Supply Plug-in 227.

[0026] Test platform 231; test line 232.

[0027] Tray 2311; Test plate 2312; Test probe 2313.

[0028] Download cable L1; serial communication cable L2; test cable L3. Detailed Implementation

[0029] Exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, these exemplary embodiments can be implemented in many forms and should not be construed as limited to the embodiments set forth herein; rather, they are provided so that this application will be thorough and complete, and will fully convey the concept of the exemplary embodiments to those skilled in the art. The same reference numerals in the drawings denote the same or similar parts, and therefore repeated descriptions of them will be omitted.

[0030] The described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. Numerous specific details are provided in the following description to give a full understanding of embodiments of this disclosure. However, those skilled in the art will recognize that the technical solutions of this disclosure can be practiced without one or more of these specific details, or other methods, components, materials, devices, etc. In these cases, well-known structures, methods, devices, implementations, materials, or operations will not be shown or described in detail.

[0031] Furthermore, the terms “comprising” and “having”, and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the steps or units listed, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to such process, method, product, or apparatus.

[0032] The terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish different objects, not to describe a specific order.

[0033] The technical solutions of this application will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.

[0034] The English terms used in this application, their full English names, and their corresponding Chinese definitions are as follows:

[0035] SMC: Sub Module Controller;

[0036] SVG: Static Var Generator;

[0037] IGBT: Insulated Gate Bipolar Transistor;

[0038] PT100: Platinum Resistance Temperature Detector 100 Ohm, a platinum resistance temperature sensor with a resistance of 100Ω at 0℃;

[0039] NTC: Negative Temperature Coefficient;

[0040] FPGA: Field Programmable Gate Array;

[0041] HTM: High performance Time deterministic Multiplexed synchronous serial bus;

[0042] IO: Input Output;

[0043] DC: Direct Current;

[0044] AC: Alternating Current;

[0045] CAN: Controller Area Network;

[0046] IRIG-B: Inter-Range Instrumentation Group-B Time Code.

[0047] According to one aspect of this application, a testing system 200 for SMC plugins is provided. See also... Figure 1 The test system 200 includes an information collector 210, a debugging device 220, a test fixture 230, and a programmable source 240.

[0048] The following is combined with Figure 1 This application describes the testing method for the SMC plugin provided. Test method 1000 can be executed by test system 200.

[0049] See Figure 3 Test method 1000 may include steps S110-S150.

[0050] In step S110, the information collector 210 collects the plugin information of the SMC plugin 300 under test.

[0051] According to the example embodiment, the SMC plugin can be a tool used for submodule controller functions.

[0052] For example, the SMC plug-in can be an SMC board for operating IGBT devices in flexible DC transmission, static var generator (SVG), metro power supply, etc.

[0053] According to the example embodiment, the information collector 210 can be a barcode scanner. The plug-in information can be information about an SMC plug-in. The plug-in information may include the SMC plug-in serial number, SMC plug-in model, SMC plug-in hardware version, and SMC plug-in production date, etc. The format of the plug-in information can be barcode information.

[0054] In step S120, the debugging device 220 determines the test script corresponding to the SMC plugin based on the plugin information.

[0055] According to the example embodiment, the debugging device 220 is communicatively connected to the information collector 210. The debugging device 220 receives the plug-in information and determines the test script corresponding to the SMC plug-in based on the plug-in information.

[0056] For example, the debugging device 220 controls the entire testing process. The debugging device 220 supports receiving SMC plugin information transmitted by the barcode scanner. After parsing the model and hardware version of the plugin under test, the debugging device 220 matches the corresponding test script. The sampling serial port of the information collector 210 communicates with the debugging device 220. The information collector 210 can transmit plugin information so that the debugging device 220 can select the correct test script for testing.

[0057] In step S130, the debugging device 220 generates control commands based on the test script.

[0058] According to the example embodiment, the control command can be the instruction information for the control program source 240 generated according to the test script to output the test analog quantity.

[0059] For example, debugging device 220 can generate control commands by parsing test instructions in test scripts.

[0060] In step S140, the programmable source 240 provides test analog quantities to the test terminals of the SMC plug-in according to the control command.

[0061] According to the example embodiment, the programmable source 240 is electrically connected to the debugging equipment 220 and the test fixture 230. The programmable source 240 receives control commands and provides test analog quantities to the test terminals of the SMC plug-in according to the control commands. Multiple programmable sources 240 can be set.

[0062] The test simulation can be the simulation required for SMC plugin testing.

[0063] Optionally, the simulated quantities tested include at least DC voltage, DC current, AC voltage, and AC current.

[0064] The programmable source 240 can also read back the output of the test analog quantity based on the test analog quantity, and calculate the DC power and AC power based on the test analog quantity.

[0065] In step S150, the debugging device 220 executes a test script to test the SMC plugin according to the test script.

[0066] According to the example embodiment, the test fixture 230 is communicatively connected to the debugging device 220, and the debugging device 220 and the information acquisition device 210 are all connected. The SMC plug-in is electrically plugged into the test fixture 230, thereby forming a test circuit.

[0067] For example, test fixture 230 provides a carrying function for the SMC plug-in under test 300, so that the SMC plug-in can be electrically connected to test fixture 230. When the SMC plug-in is electrically connected to test fixture 230, the optical port of the SMC plug-in is self-looped through a short optical fiber (i.e., the optical port transmit terminal and optical port receive terminal of the SMC plug-in are connected through a short single optical fiber), and other peripheral ports are connected to debugging equipment 220 through test probe 2313 of test fixture 230.

[0068] The testing process of the testing system 200 is as follows: With the SMC plug-in electrically connected to the testing fixture 230, the debugging equipment 220 sends a control command to the programmable source 240, so that the programmable source 240 provides test analog quantities to the test terminals of the SMC plug-in according to the control command. The debugging equipment 220 executes the test script to test the SMC plug-in according to the test script.

[0069] The debugging device 220 automatically tests the SMC plugin according to the test script via the test fixture 230. During the test, the debugging device 220 can display the test results in real time through the human-machine interface, and generate a test report after the test is completed.

[0070] The testing of the SMC plug-in includes: program download, serial communication, power supply, communication with valve base control devices, voltage and current sampling, temperature and humidity sampling, PT100 / NTC sampling, input / output, bypass switch drive feedback, hardware capacitor overvoltage protection, and hardware interface loop testing of IGBT drive feedback.

[0071] Through the above embodiments, this application can collect the plug-in information of the SMC plug-in under test using an information collector. This application can determine the test script corresponding to the SMC plug-in based on the plug-in information. This application can generate control commands using the test script. This application can provide test analog quantities to the test terminals of the SMC plug-in using the control commands. This application can test the SMC plug-in according to the test script by executing the test script.

[0072] The testing system described in this application reduces the testing risks associated with manually measuring SMC plug-in circuits. The system has a simple structure, requires minimal external stimulation for debugging, is easy to copy and carry, and meets testing needs across various scenarios. Furthermore, the testing system supports testing the functions of various types of SMC plug-in hardware, offering high flexibility.

[0073] The testing system described in this application can avoid the need for manual control of the programmable source output and wiring in manual testing methods.

[0074] Optionally, the debugging device 220 also receives user instructions to determine the plugin information of the SMC plugin based on the user instructions.

[0075] According to an example embodiment, user instructions can be instruction information issued by a user through operations on an interactive interface.

[0076] For example, the debugging device 220 can also support manual button selection, allowing users to manually select the plugin information of the SMC plugin 300 under test, thereby generating user commands. The debugging device 220 can parse the user commands to determine the plugin information of the SMC plugin.

[0077] Optionally, see Figure 1 and Figure 2 The debugging device 220 may include a chassis 221, an LCD module (not shown in the figure), a backplane module (not shown in the figure), and a management module 222.

[0078] According to the example embodiment, the chassis 221 can be a 4U half-layer or full-layer chassis 221. LCD modules, backplane modules, and management modules 222 can be housed within the chassis 221.

[0079] The LCD module is located at the first end of the chassis 221, and displays module information through a human-machine interface. The LCD module also supports button control for viewing information from the debugging device 220 and selecting the type of SMC module 300 under test.

[0080] The backplane module is located inside chassis 221. An FPGA chip can be installed inside the backplane module, which controls the I / O outputs of the backplane module. The backplane module can provide power supply circuits, I / O bus circuits, CAN bus circuits, and HTM bus circuits. The backplane module supports serial communication with the management module 222.

[0081] The management plug-in 222 is located at the second end of the chassis 221. The management plug-in 222 is located in the slot of the backplane plug-in and is communicatively connected to the backplane plug-in. The management plug-in 222 is communicatively connected to the LCD plug-in through the backplane plug-in. The management plug-in 222 is communicatively connected to the information collector 210. The management plug-in 222 receives plug-in information to determine the test script based on the plug-in information and generates control commands based on the test script.

[0082] The management plug-in 222 has an external communication port and supports CAN, Ethernet, serial, and HTM data transmission methods to adapt to the communication needs of other plug-ins on the different debugging devices 220. The management plug-in 222 communicates with the LCD plug-in via a backplane serial port to realize the human-machine interface function. The management plug-in 222 communicates with the barcode scanner via a panel serial port to receive the barcode information (i.e., plug-in information) of the SMC plug-in under test 300 from the scanner. The management plug-in 222 supports communication connection with the SMC plug-in under test 300 via backplane CAN, panel Ethernet, and panel serial ports. The management plug-in 222 also supports IRIG-B hard B code time synchronization to synchronize the clock of the debugging device 220.

[0083] Optionally, see Figure 1 and Figure 2 The debugging device 220 also includes a download plugin 223.

[0084] According to the example embodiment, the download plug-in 223 is disposed at the second end of the chassis 221, in a slot of the backplane plug-in, and is communicatively connected to the management plug-in 222. The download plug-in 223 is controlled by the management plug-in 222, receives program data of the SMC plug-in transmitted by the management plug-in 222, and provides an SMC plug-in program download interface to realize the download of the SMC plug-in program.

[0085] For example, the download plugin 223 is controlled by the management plugin 222. The download plugin 223 receives the program data of the SMC plugin 300 under test transmitted by the management plugin 222. The download plugin 223 provides the program download interface of the plugin under test, so as to realize the automatic download of the program of the SMC plugin 300 under test.

[0086] Optionally, see Figure 1 and Figure 2 The debugging device 220 also includes a sampling plug-in 224.

[0087] According to the example embodiment, the sampling plug-in 224 is disposed at the second end of the chassis 221. The sampling plug-in 224 is disposed in the slot of the backplane plug-in and is communicatively connected to the management plug-in 222. The sampling plug-in 224 collects voltage and current information during the SMC plug-in test process, so as to sample and judge the output of the test circuit of the SMC plug-in based on the voltage and current information.

[0088] The sampling module 224 communicates with the management module 222 via CAN. The sampling module 224 supports the acquisition and processing of AC voltage signals, AC current signals, DC voltage signals, and DC current signals. The sampling module 224 can select two ranges: high voltage and high current, or low voltage and low current.

[0089] Optionally, see Figure 1 and Figure 2 The debugging device 220 also includes an output plug-in 225.

[0090] The output plug-in 225 is located at the second end of the chassis 221 and is located in the slot of the backplane plug-in. The output plug-in 225 is connected to the management plug-in 222. The output plug-in 225 controls the switching of the test circuit of the SMC plug-in according to the message of the management plug-in 222.

[0091] For example, the output plug-in 225 provides multiple empty node outputs to control the switching of test loops. The output plug-in 225 is controlled by the CAN message of the management plug-in 222.

[0092] Optionally, see Figure 1 and Figure 2 The debugging device 220 also includes a communication plug-in 226 and a power plug-in 227.

[0093] According to the example embodiment, the communication plug-in 226 is disposed at the second end of the chassis 221 and in the slot of the backplane plug-in. The communication plug-in 226 is communicatively connected to the SMC plug-in, and the communication plug-in 226 is communicatively connected to the programmable source 240 and the management plug-in 222.

[0094] Communication plug-in 226 supports RS-485 or RS-232 serial communication and can be used for serial communication with programmable source 240, SMC plug-in under test 300, etc. Communication plug-in 226 supports direct drive control of backplane I / O and CAN message control of management plug-in 222, and outputs serial port messages.

[0095] Power supply module 227 is located at the second end of chassis 221 and is positioned in a slot within the backplane module. The power supply module 227 has one power input on its front panel. For example, power supply module 227 supports DC 220 / 110V and AC 220V / 110V input. The backplane of power supply module 227 supports a 5V output with a load capacity of 60W. Power supply module 227 provides power to the LCD module, backplane module, management module 222, download module 223, sampling module 224, output module 225, and communication module 226. The power supply module 227 has one power output on its front panel; for example, power supply module 227 supports a DC 24V output, which can be used to power other devices. The power supply module 227's front panel includes a rocker switch that controls the power-on and power-off of the debugging device 220.

[0096] Optionally, the communication plugin 226, sampling plugin 224, and output plugin 225 can all be expanded and configured with multiple blocks.

[0097] Through the above embodiments, the test fixtures of the test system of this application, in conjunction with the test program and programmable source of the SMC plug-in under test, complete the hardware function tests of the SMC plug-in under test, such as optical port, voltage sampling, current sampling, input / output testing, bypass switch and IGBT drive circuit, etc., improving the testing efficiency of intelligent manufacturing plug-in and the on-site maintenance efficiency, and timely detection and elimination of plug-in hardware problems. The debugging equipment of this application has a compact structure, is lightweight, and is easy to transport and carry.

[0098] Optionally, see Figure 1 The test fixture 230 includes a test platform 231 and a test line 232. The test platform 231 includes a tray 2311 and a test board 2312.

[0099] According to the example embodiment, tray 2311 carries the SMC plug-in 300 under test. One end of test board 2312 is slidably connected to tray 2311, and at least one test probe 2313 is disposed on the lower surface of test board 2312. One end of test lead 232 is connected to debugging device 220, and the other end of test lead 232 is connected to tray 2311.

[0100] For example, one end of test cable 232 can be connected to the socket of debugging device 220 by soldering, and the other end of test cable 232 can be connected to the socket of tray 2311 by soldering. Test cable 232 includes download cable L1, serial communication cable L2 and test lead L3, and test cable 232 can be made of shielded twisted pair cable.

[0101] See Figure 1 One end of the download cable L1 is connected to the download plug-in 223, and the other end of the download cable L1 is connected to the tray 2311.

[0102] The serial communication cable L2 can include three cables. One end of the first serial communication cable L2 is connected to the information acquisition unit 210, and the other end of the first serial communication cable L2 is connected to the management plug-in 222.

[0103] One end of the second serial communication cable L2 is connected to the communication plug-in 226, and the other end of the second serial communication cable L2 is connected to the tray 2311.

[0104] One end of the third serial communication line L2 is connected to the communication plug-in 226, and the other end of the third serial communication line L2 is connected to the programmable source 240.

[0105] The test lead L3 may include three leads. One end of the first test lead L3 is connected to the opening plug 225, and the other end of the first test lead L3 is connected to the tray 2311.

[0106] One end of the second test lead L3 is connected to the sampling plug-in 224, and the other end of the second test lead L3 is connected to the programmable source 240.

[0107] One end of the third test lead L3 is connected to the sampling plug-in 224, and the other end of the third test lead L3 is connected to the tray 2311.

[0108] With the SMC plug-in placed on tray 2311, test board 2312 moves downward in the vertical direction so that test probe 2313 is electrically connected to the test terminal of the SMC plug-in.

[0109] For example, the test platform 231 can have two types: an automatic test platform and a manual test platform.

[0110] The drive mechanism of the automatic testing platform can be a hydraulic mechanism. When testing SMC plug-ins, after scanning the barcode information of the SMC plug-in under test, the debugging equipment can drive the hydraulic mechanism through movement control commands to transfer the SMC plug-in under test to the tray. The debugging equipment can also drive the test board through movement control commands to make the test board move vertically downward. After the test probes are electrically connected to the test terminals of the SMC plug-in, the debugging equipment performs automated testing.

[0111] The manual testing platform requires the tester to place the SMC plug-in to be tested into the tray, hold the downward handle to make the test board move vertically downward, and after the test probe is electrically connected to the test terminal of the SMC plug-in, the tester can start the debugging equipment for automatic testing by scanning the barcode information of the SMC plug-in or by pressing the LCD button.

[0112] The testing sequences of automated and manual testing platforms differ significantly, and they are suitable for different work scenarios. For example, automated testing platforms can be used for production line testing within a manufacturing unit, while manual testing platforms can be used for spot checks, re-inspections, and on-site testing in engineering projects.

[0113] The testing process for the testing system is as follows:

[0114] S1: The debugging equipment powers on and starts up, performing program self-tests and initialization. In button mode (i.e., user commands are generated based on button selections by the tester, and the SMC plugin information is determined according to the user commands), the debugging equipment name and version number are displayed directly. In barcode scanning mode (i.e., the SMC plugin information is collected via a barcode scanner), the login interface is displayed, and the debugging equipment name and version number are displayed after the tester logs in. After the debugging equipment starts up, it waits for test commands.

[0115] S2: Testers can start the test by pressing a button or scanning a barcode. Testers can start the test by pressing the buttons on the LCD panel of the testing equipment and selecting the model and version of the SMC plugin under test; testers can also start the test by scanning the barcode information of the SMC plugin under test with a barcode scanner.

[0116] S3: The management plugin for debugging equipment processes plugin information obtained in button mode or barcode scanning mode, extracts key information of the required SMC plugin under test, and identifies and stores it.

[0117] S4: The management plugin retrieves test scripts in the test directory based on the obtained key information, performs matching, and executes the test instructions within the test scripts.

[0118] S5: The management plugin generates control commands based on the test script, and controls the programmable source to output test analog quantities according to the control commands. The management plugin controls the opening and closing of the corresponding test loop, applies the test analog quantity to the test terminal of the SMC plugin under test, and starts the test of a certain function of the SMC plugin under test.

[0119] S6: The management plugin sends sampling instructions to the sampling plugin according to the test instructions in the test script, and the management plugin sends test messages to the SMC plugin under test.

[0120] S7: The sampling plugin returns the sampling results, and the SMC plugin under test returns the test results to the management plugin for testing and judgment.

[0121] S8: The management plugin controls the programmable source to stop outputting, controls the output plugin to disconnect the corresponding test circuit, and ends the test of this function of the SMC plugin under test.

[0122] S9: The management plugin executes test commands according to the test script, repeating the process from S5 to S8 until all test commands in the test script have been executed.

[0123] S10: After the management plugin finishes executing the test script, the LCD plugin displays the test results, generates a test report, and ends the test of the SMC plugin under test.

[0124] S11: Is the debugging device powered off? If not, proceed to S2 and wait for subsequent SMC plugin testing; if yes, the debugging device is powered off and the process ends.

[0125] When the debugging equipment powers on, users can enter the system program using either button mode or barcode scanning mode, depending on the settings. Button mode directly displays the debugging equipment name and version number, while barcode scanning mode requires the tester to log in by scanning a QR code. The methods for starting SMC plugin tests differ between the two modes: In button mode, the tester can select the SMC plugin model and version from the LCD plugin menu, and the plugin management system will then parse the internal text and select the corresponding test script to start the test. In barcode scanning mode, the tester directly scans the barcode information of the SMC plugin under test, and the plugin management system obtains the plugin model and version before selecting the corresponding test script to start the test.

[0126] The debugging equipment sequentially controls the output of the programmable source and the test circuit of the switching relay for the plug-in to conduct / discontinuate according to the test commands in the test script. It sends test commands to the SMC plug-in under test, reads back samples from the sampling plug-in, and judges the results. After all test commands are executed, the debugging equipment displays the final test results on the LCD plug-in and generates a test report. If the debugging equipment is not turned off, it waits for button selection or barcode scanning to proceed to the next SMC plug-in under test.

[0127] Finally, it should be noted that the above description is merely a preferred embodiment of this application and is not intended to limit this application. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions of the foregoing embodiments or make equivalent substitutions for some of the technical features. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A testing system for SMC plugins, characterized in that, The testing system includes: Information collector, collects plugin information of the SMC plugin under test; The debugging equipment is connected to the information collector, receives the plug-in information, and determines the test script corresponding to the SMC plug-in based on the plug-in information, so as to generate control commands based on the test script; The test fixture is communicatively connected to both the debugging equipment and the information acquisition unit, and the SMC plug-in is electrically plugged into the test fixture. A programmable source is electrically connected to the debugging equipment and the test fixture. The programmable source receives the control command and provides test analog quantities to the test terminals of the SMC plug-in according to the control command. When the SMC plug-in is electrically connected to the test fixture, the debugging device sends the control command to the programmable source, causing the programmable source to provide the test analog quantity to the test terminal of the SMC plug-in according to the control command. The debugging device executes the test script to test the SMC plug-in according to the test script.

2. The testing system according to claim 1, characterized in that, The debugging device also receives user instructions to determine the plugin information of the SMC plugin based on the user instructions.

3. The testing system according to claim 1, characterized in that, The debugging equipment includes: Chassis; An LCD module is located at the first end of the chassis, and the LCD module displays the module information through a human-machine interface. Backplane connector, located inside the chassis; A management plugin is located at the second end of the chassis. The management plugin is located in the slot of the backplane plugin and is communicatively connected to the backplane plugin. The management plugin is communicatively connected to the LCD plugin through the backplane plugin and to the information collector. The management plugin receives the plugin information to determine the test script based on the plugin information and generates control commands based on the test script.

4. The testing system according to claim 3, characterized in that, The debugging equipment also includes: A download plugin is located at the second end of the chassis. The download plugin is located in the slot of the backplane plugin and is communicatively connected to the management plugin. The download plugin is controlled by the management plugin. The download plugin receives the program data of the SMC plugin transmitted by the management plugin. The download plugin provides the SMC plugin program download interface to realize the download of the SMC plugin program.

5. The testing system according to claim 4, characterized in that, The debugging equipment also includes: A sampling plug-in is disposed at the second end of the chassis. The sampling plug-in is disposed in the slot of the backplane plug-in and is communicatively connected to the management plug-in. The sampling plug-in collects voltage and current information during the testing process of the SMC plug-in, so as to sample and judge the output of the test circuit of the SMC plug-in based on the voltage and current information.

6. The testing system according to claim 5, characterized in that, The debugging equipment also includes: An output plug-in is located at the second end of the chassis and in the slot of the backplane plug-in. The output plug-in is communicatively connected to the management plug-in. The output plug-in controls the switching of the test loop of the SMC plug-in according to the message of the management plug-in.

7. The testing system according to claim 6, characterized in that, The debugging equipment also includes: A communication plug-in is located at the second end of the chassis and in the slot of the backplane plug-in. The communication plug-in is communicatively connected to the SMC plug-in and to both the programmable source and the management plug-in. The power supply connector is located at the second end of the chassis and is positioned in the slot of the backplate connector.

8. The testing system according to claim 1, characterized in that, The test fixture includes: The testing platform includes: Tray, holding the SMC plug-in; A test plate, one end of which is slidably connected to the tray, and at least one test probe is provided on the lower surface of the test plate; The test lead is connected at one end to the debugging equipment and at the other end to the tray; With the SMC plug-in placed on the tray, the test board moves downward in a vertical direction so that the test probes are electrically connected to the test terminals of the SMC plug-in.

9. The testing system according to claim 1, characterized in that, The simulated quantities for the test include at least DC voltage, DC current, AC voltage, and AC current.

10. A testing method for an SMC plugin, characterized in that, The testing method is performed by the testing system according to any one of claims 1-9, and the testing method includes: Collect plugin information of the SMC plugin under test; The test script corresponding to the SMC plugin is determined based on the plugin information. Generate control commands based on the test script; The control command is used to provide test analog quantities to the test terminals of the SMC plug-in. Execute the test script to test the SMC plugin according to the test script.