A single board detection system and method

By combining adapter boxes and test plug-ins, and utilizing the dynamic software configuration of the main control component and test plug-ins, the problem of low versatility of single-board testing equipment is solved, achieving efficient and low-cost single-board testing.

CN120468568BActive Publication Date: 2025-11-11HUNAN CRRC TIMES SIGNAL & COMM CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510954744.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-07-11
Publication Date
2025-11-11
Estimated Expiration
2045-07-11

AI Technical Summary

Technical Problem

In existing technologies, single-board testing methods rely on customized hardware modifications and additional testing circuits, resulting in low versatility of testing equipment and increased user costs.

Method used

By using a combination of adapter boxes and test-plugins, the main control component sends test information or signals, and the test-plugins disguises itself as the target plugin to interact, thereby achieving protocol connection establishment and data acquisition, avoiding hardware modifications and improving the versatility of the testing system.

Benefits of technology

It achieves universal adaptation of the single-board testing system, reduces the cost of developing dedicated testing equipment for different plug-in types, and improves testing efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120468568B_ABST
    Figure CN120468568B_ABST
Patent Text Reader

Abstract

This invention discloses a single-board testing system and method, relating to the field of rail transit. The system includes: an adapter box with at least one first slot and at least one second slot, the first slot for connecting the plug-in under test (BOT), and the second slot for connecting a test plug-in; a main control component connected to the adapter box, configured to send test information corresponding to the BOT to the test plug-in when the BOT is a first-type plug-in, and determine the test result of the BOT based on the test data; and to output a preset test signal to the BOT when the BOT is a second-type plug-in, and acquire the test result of the BOT; and a test plug-in configured to load configuration parameters corresponding to the test information, to disguise itself as a target interactive plug-in of the BOT and interact with the BOT, and to collect test data during the interaction process. This invention can reduce the cost of developing dedicated testing equipment for different plug-in types and improve the versatility of the testing system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of rail transit, and in particular to a single-board testing system and method. Background Technology

[0002] In rail transit systems, the signaling system, as a core support system ensuring safe train operation and improving transportation efficiency, directly impacts the overall operational quality of the line due to the reliability and stability of its core equipment. With increasing equipment complexity, maintenance management has shifted from traditional whole-machine level testing to refined maintenance at the board level, placing higher demands on the accuracy and efficiency of board functional status testing. Currently, board testing methods rely on customized modifications to existing signaling equipment cabinets. This involves embedding additional testing circuits into the original hardware architecture and developing adaptable software to test board interface parameters and functional status. This approach requires dedicated testing equipment for each type of equipment in the signaling system, resulting in low equipment versatility and increased costs for users performing board maintenance and testing.

[0003] Therefore, how to provide a solution to the above-mentioned technical problems is a problem that needs to be solved by those skilled in the art. Summary of the Invention

[0004] The purpose of this invention is to provide a single-board testing system and method that can reduce the cost of developing dedicated testing equipment for different plug-in types and improve the versatility of the testing system.

[0005] To address the aforementioned technical problems, this invention provides a single-board testing system, comprising: an adapter box with at least one first slot and at least one second slot, the first slot for connecting the plug-in under test (BOD) and the second slot for connecting a test plug-in; a main control component connected to the adapter box, configured to send test information corresponding to the BOD to the test plug-in when the BOD is a first-type plug-in, and determine the test result of the BOD based on the test data; and to output a preset test signal to the BOD when the BOD is a second-type plug-in, and acquire the test result of the BOD; the test plug-in is configured to load configuration parameters corresponding to the test information, to disguise itself as a target interactive plug-in of the BOD and interact with the BOD, and to collect the test data during the interaction process.

[0006] Optionally, the test information includes the first type of the plugin under test and the test instructions. The companion plugin is specifically configured to determine the second type of the target interactive plugin based on the first type, load the system identification identifier and protocol characteristic parameters corresponding to the second type, so as to disguise itself as the target interactive plugin and interact with the plugin under test, and collect test data corresponding to the test instructions during the interaction process.

[0007] Optionally, the test-accompanying plugin is specifically configured as follows: when the plugin under test is determined to be the master control plugin based on the first type, the second type of the target interaction plugin is determined to be a controlled plugin, the system identification identifier and protocol characteristic parameters of the controlled plugin are loaded, it interacts with the plugin under test, and test data corresponding to the test command is collected during the interaction; when the plugin under test is determined to be the controlled plugin based on the first type, the second type of the target interaction plugin is determined to be the master control plugin, the system identification identifier and protocol characteristic parameters of the master control plugin are loaded, it interacts with the plugin under test, and test data corresponding to the test command is collected during the interaction.

[0008] Optionally, the test-testing plugin is further configured to send the test data to the main control component; the main control component is further configured to determine the test result of the tested plugin based on the test data, and perform a fault display operation or a recording operation corresponding to the test result.

[0009] Optionally, the single-board testing system further includes: a signal source excitation component connected to the main control component, configured to receive a preset test signal sent by the main control component and generate a digital output level signal based on the test signal; and a signal conditioning component connected to the signal source excitation component and the adapter box, configured to send a test excitation signal to the electrical interface and communication interface of the tested plug-in (which is the second type of plug-in) based on the digital output level signal, and receive the electrical interface status and communication interface status fed back by the tested plug-in after responding to the test excitation signal, and determine the test result of the tested plug-in based on the electrical interface status and the communication interface status.

[0010] Optionally, the single-board testing system further includes: a power supply component, comprising a first power supply and a second power supply; the first power supply is connected to the main control component and configured to receive a preset test signal issued by the main control component and output an adjustable test power signal to the tested plug-in; the second power supply is connected to the signal conditioning component and the main control component, and is used to provide operating voltage to the signal conditioning component and power the main control component.

[0011] Optionally, the single-board testing system further includes: an electronic load component, connected to the adapter box and the main control component, configured to simulate the load environment of the tested plug-in of the second type of plug-in under no-load, light-load or rated load according to the preset test signal issued by the main control component.

[0012] Optionally, the single-board testing system further includes: a human-computer interaction component connected to the main control component, configured to receive user input information and send it to the main control component, prompting information corresponding to the test results of the tested plug-in; the main control component is further configured to output preset test signals or test information based on the user input information.

[0013] Optionally, the single-board testing system further includes a communication component, which is connected to the main control component and the adapter box, and configured to establish a communication environment that meets the current testing requirements.

[0014] This invention also provides a single-board testing method, applied to a single-board testing system as described in any of the above claims. The single-board testing system includes a main control component and an adapter box. The adapter box has at least one first slot and at least one second slot. The first slot is used to connect the plug-in under test, and the second slot is used to connect a test plug-in. The single-board testing method includes: when the plug-in under test is a first-type plug-in, the main control component sends test information corresponding to the plug-in under test to the test plug-in and determines the test result of the plug-in under test based on the test data; when the plug-in under test is a second-type plug-in, the main control component outputs a preset test signal to the plug-in under test and obtains the test result of the plug-in under test; the test plug-in loads the configuration parameters corresponding to the test information to disguise itself as a target interactive plug-in of the plug-in under test and interact with the plug-in under test, and collects the test data during the interaction process.

[0015] This invention provides a single-board testing system. For the first type of plug-in, the main control component sends test information to the test plug-in, causing it to load corresponding configuration parameters and masquerade as the target interactive plug-in. It simulates a real interaction scenario to establish a protocol link and exchange data with the plug-in under test, while simultaneously collecting test data in real time to determine its functional status. For the second type of plug-in, the main control component directly outputs a preset test signal and obtains the response result. This avoids the drawbacks of existing technologies that require customized hardware modifications to the equipment cabinet and the implantation of additional testing circuits. By using the dynamic software configuration masquerading of the test plug-in to replace the fixed hardware architecture of traditional dedicated testing equipment, the system achieves universal adaptability, reduces the cost of developing dedicated testing equipment for different plug-in types, and solves the problems of low versatility and high maintenance costs caused by reliance on customized testing equipment in existing technologies. This invention also provides a single-board testing method with the same beneficial effects as the aforementioned single-board testing system. Attached Figure Description

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

[0017] Figure 1 This is a schematic diagram of the structure of a single-board detection system provided by the present invention;

[0018] Figure 2 This is a schematic diagram of the structure of an adapter box provided by the present invention;

[0019] Figure 3 This is a schematic diagram of the structure of a testing software provided by the present invention;

[0020] Figure 4 This invention provides a test flowchart for a test-taking assistant plugin.

[0021] Figure 5 This is a schematic diagram of another single-board detection system provided by the present invention;

[0022] Figure 6 This is a schematic diagram of the structure of a signal conditioning component provided by the present invention;

[0023] Figure 7 This is a schematic diagram of the structure of a power supply component provided by the present invention. Detailed Implementation

[0024] The core of this invention is to provide a single-board testing system and method that can reduce the cost of developing dedicated testing equipment for different plug-in types and improve the versatility of the testing system.

[0025] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0026] Firstly, please refer to Figure 1This invention provides a single-board testing system, comprising: an adapter box 1, having at least one first slot and at least one second slot, the first slot for connecting the plug-in under test and the second slot for connecting a test plug-in 11; a main control component 2, connected to the adapter box 1, configured to send test information corresponding to the plug-in under test to the test plug-in 11 when the plug-in under test is a first-type plug-in, and determine the test result of the plug-in under test based on the test data; and to output a preset test signal to the plug-in under test and acquire the test result of the plug-in under test when the plug-in under test is a second-type plug-in; and a test plug-in 11, configured to load configuration parameters corresponding to the test information, to disguise itself as a target interactive plug-in of the plug-in under test and interact with the plug-in under test, and to collect test data during the interaction process.

[0027] In this embodiment, the single-board testing system mainly includes an adapter box 1 and a main control component 2. The adapter box 1 is provided with two types of slots, namely a first slot and a second slot. The first slot is used to install the plug-in under test, and the second slot is used to install the auxiliary plug-in 11. There is at least one first slot and one second slot. The design can be based on actual engineering needs, and this embodiment does not make specific limitations.

[0028] The adapter box 1 is a standard-sized cage-type box, consisting of a box frame structure and a motherboard. It is used for the insertion, connection, and testing of the plug-in under test (DUT). The adapter box 1 can accommodate all DUT plug-ins. The motherboard enables power supply, establishment of the underlying protocol of the lower-level test plug-in 11 platform, and input / output of plug-in channel test signals. The test plug-in 11 is fixed inside the adapter box 1. It applies the platform layer protocol, disguises itself as a VCP (Safe Computer Platform) system member plug-in, and realizes protocol establishment with the VCP type plug-in (Type 1 plug-in) under test, bidirectional transmission of test commands and test status data, and transmission of test data with the main control computer in the main control component 2.

[0029] Specifically, refer to Figure 2 The adapter box 1 consists of a box frame structure and an adapter box motherboard, and the accompanying plug-in 11 (i.e. Figure 2The lower-level test plug-in (the one used in the test module) is inserted into the fixed slot (second slot) of the adapter box 1 and connected to the adapter box motherboard. The box frame structure of the adapter box 1 provides guide rail accessories, auxiliary frame, etc. for the fitting insertion of the plug-in under test. The adapter box motherboard includes VCP high-speed bus circuit, VCP system identification circuit, plug-in connector, etc., for the transmission of platform layer command and status signals between the test plug-in 11 and the VCP type plug-in under test, as well as the signal transmission between various types of plug-ins under test and various test resources provided by the testing device. Specifically, it includes: VCP high-speed bus circuit, including VCP high-speed bus, the bus type adopts FlexRay (high-speed, deterministic bus with fault tolerance) (or CAN FD (Controller Area Network Flexible Data-Rate), VME (VersaModule Eurocard, a high-speed, reliable industrial control bus), etc.), for the transmission of platform protocol layer command and status signals between the lower-level test plug-in 11 and the VCP type plug-in under test.

[0030] The VCP system identification circuit uses at least 12 DC (Direct Current) digital channels to receive VCP system identification control signals issued by the main control computer. It is used to simulate the system, chassis identification, and board position identification signals of the VCP plug-in under test and the lower-level test plug-in 11.

[0031] The plug-in connector uses a connector compatible with various plug-in devices under test, and features anti-misalignment teeth for the adapter connection of the plug-in under test and the lower-level machine test plug-in 11. For example... Figure 2 As shown, the tested plug-ins include, but are not limited to, the tested power supply plug-in, the tested non-VCP digital IO (Input / Output) plug-in, the tested non-VCP communication plug-in, the tested non-VCP control plug-in, the tested VCP communication plug-in, the tested VCP digital IO plug-in, the tested VCP frequency plug-in, and the tested VCP main control plug-in, etc.

[0032] Combination Figure 2 This adapter box template is also used to connect electronic loads, AC (Alternating Current) power supplies, DC power supplies, and to transmit conditioned digital I / O signals, excitation feedback communication data, digital I / O signals, communication data, analog signals, conditioned waveform signals, host computer test commands / feedback data, etc.

[0033] It is understandable that the test module 11 is a key module of this device. The test module 11 mainly consists of a processor, a high-speed bus module, a dual-port RAM (Random Access Memory), an Ethernet module, and a power supply module. The test module 11 uses platform layer protocols to disguise itself as a VCP system member module (i.e., the target interactive module corresponding to the module under test), enabling protocol connection establishment with the VCP-type module under test, bidirectional transmission of test commands and test status data, and data transfer with the main control computer.

[0034] Combination Figure 3 The functional structure of the test software is explained below. The processor of the test plugin 11 runs the lower-level software, which mainly consists of a VCP test forwarding module and a VCP plugin simulation module. It reads and writes VCP high-speed bus data through a high-speed bus module, and realizes platform protocol layer data interaction with other VCP plugins under test through protocol conversion. It realizes the transmission of test commands and test status data of the VCP plugins under test, and forwards these commands and status data to the main control computer bidirectionally through an Ethernet module and interface. The main control component 2 can be the main control computer, which runs the upper-level test software. The upper-level test software mainly consists of a plugin selection module, a plugin test module, a test record module, a test report module, and a user management module, realizing test plugin selection, test process execution, test result judgment, test recording, and test human-computer interaction.

[0035] In this embodiment, the plug-ins under test are divided into two categories: VCP plug-ins and non-VCP plug-ins. Non-VCP plug-ins include at least power supply plug-ins. The plug-in selection module provides a list of plug-ins to be tested based on the test object configuration file. Users can select the plug-in to be tested from the list to enter the corresponding plug-in test interface. The plug-in test module, based on the type of the plug-in under test, retrieves and loads the corresponding test resources, test procedures, and test judgment parameters, and displays the corresponding test items on the test interface. The plug-in test module is designed with automatic and manual test functions. During automatic testing, the plug-in test module automatically powers on the plug-in under test, issues test commands, reads test feedback, and judges test results. Simultaneously, it retrieves the test record module to record the test results and then automatically powers off the plug-in under test. The manual test function requires manual control of power-on and execution of each test item. The plug-in testing module is divided into VCP-type plug-in mode and non-VCP-type plug-in mode. When performing VCP-type plug-in testing, the plug-in testing module establishes a connection with the test plug-in 11 to perform the test. When performing non-VCP-type plug-in testing, the plug-in testing module directly controls the communication component, signal conditioning component, and power supply component to perform the test.

[0036] Specifically, during VCP plugin testing, the plugin testing module sends the type of the plugin under test and the current system identification information (system type, chassis number, and board position number) to the test plugin 11. Simultaneously, it controls the test resources to provide the corresponding system identification point switch signals (system type signal, chassis identification signal, and board position identification signal) for the plugin under test. It then waits for the test plugin 11 to forward the power-on test status information, the status data of each component (including processor status, RAM status, and watchdog status), and the software version number. If the power-on test status is normal, the module calls the corresponding test resources to send test excitation signals to the electrical and communication interfaces of the VCP plugin under test. The test plugin 11 receives the status of each electrical and communication interface from the VCP plugin under test and, based on pre-defined parameters... The test module reads test conditions, error ranges, and other parameters to determine test results and perform status testing of electrical and communication interface channels. If a power-on test anomaly is detected, the module queries and displays the fault information based on the fault code forwarded by the test module 11. When testing non-VCP plug-ins, the plug-in test module directly reads the overall status information of the plug-in under test and the status information of each key component through the motherboard Ethernet channel. At the same time, it calls the corresponding excitation test resources to directly send test excitation signals to each electrical and communication interface of the non-VCP plug-in. It directly reads the status of each electrical and communication interface fed back by the non-VCP plug-in through the corresponding input test resources. Based on the pre-read test conditions, error ranges, and other parameters, the module determines the test results and performs status testing of electrical and communication interface channels.

[0037] As an optional embodiment, the plug-in testing module displays in real time the power-on test status information, fault information, status data of each component, status information of each electrical interface channel, status information of each communication port, status of power output channel, and the test results obtained during the above test process, and records them in the test recording module.

[0038] As an optional embodiment, the test recording module writes the test results during the test process into the database and the test results table. During automatic testing, the recorded test results include: the serial number of the plug-in under test, the tester, the test item, the given value, the detected value, the error range, the test time, the test result, etc. Manual test results are not written into the database, while automatic test results are written into the database.

[0039] As an optional implementation, the test report module generates test result reports based on test records. These reports can be viewed, saved, opened, and printed. Upon completion of the automatic testing of the plug-in board, a PDF (Portable Document Format) test result report is automatically generated and saved in a designated folder within the host computer's test software installation directory. The test result report includes: plug-in name, plug-in serial number (if any, defaults to 0), tester, test time, test item, given value, detected value, error range, and test result.

[0040] As an optional implementation, the user management module is used to manage user accounts, permissions, and system login. It allows users to set usernames and passwords, and to edit, modify, add, delete, and save user information. It provides user permission settings, divided into three permission roles: tester, system administrator, and super user. The user management module provides a human-machine interface for user login operations. Users can only enter the system if they enter the correct username and password; otherwise, an error message is displayed. The user management module provides corresponding operation permissions based on the logged-in user's role.

[0041] As can be seen, in this embodiment, for the first type of plug-in, the main control component 2 sends test information to the test plug-in 11 to load the corresponding configuration parameters and disguise itself as the target interactive plug-in, simulating a real interactive scenario to establish a protocol link and interact with the plug-in under test, while simultaneously collecting test data in real time to determine the functional status. For the second type of plug-in, the main control component 2 directly outputs a preset test signal and obtains the response result, thereby avoiding the drawbacks of the prior art that require customized hardware modification of the equipment cabinet and the implantation of additional detection circuits. By using the dynamic software configuration disguise of the test plug-in 11 to replace the fixed hardware architecture of traditional dedicated testing equipment, the universal adaptation of the single-board testing system is achieved, reducing the cost of developing dedicated testing equipment for different plug-in types, and solving the problems of low universality and high maintenance costs caused by the reliance on customized testing equipment in the prior art.

[0042] Based on the above embodiments:

[0043] In an exemplary embodiment, the test information includes a first type of the plugin under test and test instructions. The test plugin 11 is specifically configured to determine a second type of the target interactive plugin based on the first type, load the system identification identifier and protocol characteristic parameters corresponding to the second type, so as to disguise itself as the target interactive plugin and interact with the plugin under test, and collect test data corresponding to the test instructions during the interaction process.

[0044] In this embodiment, the test information includes test instructions, the type of the VCP plugin under test (i.e., the first type, including but not limited to master control type and controlled type), and current system identification information. It can be understood that when the first type of the plugin under test is a VCP master control plugin, the second type of the target interactive plugin is a VCP controlled plugin; conversely, when the first type of the plugin under test is a VCP controlled plugin, the second type of the target interactive plugin is a VCP master control plugin. After determining the second type of the target interactive plugin, the lower-level software running in the test plugin 11 loads pre-stored system identification identifiers and protocol characteristic parameters according to the second type to disguise itself as the corresponding target interactive plugin.

[0045] In an exemplary embodiment, the test companion plugin 11 is specifically configured as follows: when the plugin under test is determined to be a master plugin based on a first type, the second type of the target interactive plugin is determined to be a controlled plugin, the system identification identifier and protocol characteristic parameters of the controlled plugin are loaded, the plugin under test is interacted with, and test data corresponding to the test instructions is collected during the interaction; when the plugin under test is determined to be a controlled plugin based on the first type, the second type of the target interactive plugin is determined to be a master plugin, the system identification identifier and protocol characteristic parameters of the master plugin are loaded, the plugin under test is interacted with, and test data corresponding to the test instructions is collected during the interaction.

[0046] The test-testing plugin 11 is also configured to send test data to the main control component 2; the main control component 2 is also configured to determine the test result of the tested plugin based on the test data, and perform fault display or recording operations corresponding to the test result.

[0047] In this embodiment, refer to Figure 4The lower-level software running in the test plugin 11 implements the spoofing simulation of VCP-type plugins and the forwarding of test status and commands of the tested VCP-type plugins. Specifically, this includes: initialization, loading parameters, listening for commands, determining whether test commands, the type of the plugin being tested, and system identification information have been received; if not, re-entering the command listening operation; if yes, determining whether it is a VCP master control plugin; if it is a master control plugin, loading the VCP controlled plugin configuration, starting the spoofing simulation, listening for the status query of the plugin under test, determining whether the status query has been heard; if not heard, determining whether a timeout has occurred; if not timeout, executing the operation of listening for the status query of the plugin under test; if timeout, forwarding a fault to the host computer; if heard, sending back the spoofed controlled plugin's normal status, then determining whether information has been captured; if not captured, forwarding a fault to the host computer; if captured, forwarding a normal status to the host computer; after forwarding a normal status or a fault to the host computer, determining whether to exit; if yes, ending; otherwise, entering the command listening operation after loading parameters; if it is not a VCP master control plugin... The process involves loading the VCP master control plugin configuration, enabling masquerading simulation, sending a plugin status query, listening for the status of the plugin under test, determining if it is detected, and if not detected, determining if a timeout has occurred. If not, re-entering the listening operation for the plugin under test status; if a timeout occurs, forwarding the fault to the host computer. If detected, determining if it is a VCP communication plugin; if so, sending channel configuration, receiving configuration confirmation, and sending status confirmation. If not a VCP communication plugin, directly entering the sending status confirmation operation, listening for the activation confirmation of the plugin under test, determining if it is detected, and if not detected, determining if a timeout has occurred. If not, entering the listening operation for the activation confirmation of the plugin under test; if a timeout occurs, forwarding the fault to the host computer, determining whether to exit; if yes, ending; otherwise, entering the listening instruction operation after loading parameters. If the activation confirmation of the plugin under test is detected, forwarding normal status to the host computer, performing IO channel / communication port tests, forwarding channel / interface test status to the host computer, and then determining whether to exit; if yes, exiting; otherwise, entering the listening instruction operation after loading parameters.

[0048] Specifically, after power-on initialization, the lower-level software receives the type of the VCP plugin under test and the current system identification information sent by the upper-level testing software. Based on the different types of VCP plugins under test, it enters the corresponding VCP plugin masquerade simulation program, starts platform protocol layer interaction with the VCP plugin under test, and attempts to establish a protocol link with it.

[0049] When the tested plugin is a VCP-type master control plugin, the lower-level software loads the pre-stored platform configurations of VCP controlled plugins such as VCP digital IO plugins, VCP frequency input plugins, and VCP communication plugins. It simulates and disguises the system identification IDs and protocol characteristics of these VCP controlled plugins, initiates the platform protocol layer connection establishment mechanism, receives status query frames from the tested master control plugin, and feeds back the normal status information of these plugins, inducing the tested master control plugin to believe that it has normally activated these disguised plugins. After capturing the normal operating status, status of each key component, and software version information of the tested master control plugin from the bus, the lower-level software forwards this information to the host computer test software on the master control computer, which determines that the tested VCP master control plugin has been powered on and is running normally, and the power-on test result is normal. If the tested master control plugin's fault code information is captured from the bus, the fault code is fed back to the host computer test software for fault display and recording.

[0050] When the plug-in under test (DUT) is a VCP-type digital I / O plug-in or a VCP-type frequency input plug-in, the lower-level software simulates and disguises the system identification ID and protocol characteristics of the VCP master control plug-in, initiates the platform protocol layer link establishment mechanism, and sends a status query frame to the DUT. After receiving the normal status information of the DUT, it sends back a status confirmation frame and waits for the activation confirmation frame of the DUT. If the activation confirmation frame is received, the operating status of the DUT, the status of each key component, and the software version information captured from the bus are forwarded to the host computer test software of the master computer, which determines that the DUT has been powered on and is running normally. If the power-on test result is normal, the electrical interface test is then initiated. If the fault code information of the DUT is captured from the bus, the fault code is fed back to the host computer test software for fault display and recording.

[0051] As an optional embodiment, the electrical interface testing process for VCP-type digital I / O plug-ins includes: the lower-level software receives digital output commands from the upper-level testing software, forwards them to the digital I / O plug-in under test via the bus and platform protocol layer, and the plug-in autonomously executes digital output. The upper-level testing software controls the test resources to read the hard-wired output signals of the corresponding channels to determine the electrical interface output channel status. The upper-level testing software controls the test resources to send test excitation signals. After the digital I / O plug-in under test acquires the hard-wired signals of the corresponding channels, it uploads the corresponding channel status to the bus. The lower-level software captures the channel status sent by the digital I / O plug-in under test on the bus and forwards it to the upper-level testing software, which then determines the electrical interface input channel status.

[0052] As an optional embodiment, the electrical interface testing process of VCP-type frequency input plug-in includes: the host computer test software controls the test resources to send out test excitation square wave signals; after the frequency input plug-in under test acquires the hard-wired square wave signal of the corresponding channel, it converts the corresponding channel's speed, displacement, acceleration and other information and uploads it to the bus; the slave computer software captures the speed and other frequency information data sent by the plug-in under test on the bus and forwards it to the host computer test software, which then judges the results by checking the status and error range of each frequency input channel.

[0053] As an optional implementation, when the plug-in under test is a VCP-type communication plug-in, the lower-level software simulates and disguises the system identification ID and protocol characteristics of the VCP master control plug-in, initiates the platform protocol layer connection establishment mechanism, and sends corresponding status query frames to the plug-in under test. After receiving the normal status information of the plug-in under test, it sends a communication port configuration frame, waits for the configuration confirmation frame sent by the plug-in under test, and sends back a status confirmation frame upon receipt. It then waits for the activation confirmation frame from the plug-in under test. If the activation confirmation frame is received, it forwards the running status of the communication plug-in under test, the status of each key component, and the software version information captured from the bus to the master control computer. The host computer test software determines that the VCP communication plugin under test has been powered on and is running normally. If the power-on test result is normal, it then enters the communication port test. It receives test data packets from each configured communication port sent by the host computer test software, forwards them to the communication plugin under test through the bus and platform protocol layer, and allows the plugin to autonomously control the output of the corresponding communication port. The host computer test software then controls the test resources to read the communication output signal of the corresponding communication port, thereby performing a communication port read / write channel status test. If a fault code is captured from the bus, the fault code is fed back to the host computer test software for fault display and recording.

[0054] In one exemplary embodiment, please refer to Figure 5 The single-board testing system also includes: a signal source excitation component 3, connected to the main control component 2, configured to receive a preset test signal sent by the main control component 2, and generate a digital output level signal based on the test signal; and a signal conditioning component 4, connected to the signal source excitation component 3 and the adapter box 1, configured to send a test excitation signal to the electrical interface and communication interface of the tested plug-in (which is a second type of plug-in) based on the digital output level signal, and receive the electrical interface status and communication interface status fed back by the tested plug-in after responding to the test excitation signal, and determine the test result of the tested plug-in based on the electrical interface status and communication interface status.

[0055] In this embodiment, the signal excitation source component is an industrial digital multi-channel I / O board and a multi-functional data acquisition board, integrated into a chassis based on PCI (Peripheral Component Interconnect), PXI (PCI eXtensions for Instrumentation), or PXIe (PCIe Xtensions for Instrumentation Express) bus expansion technology. It connects to the main control computer via a high-speed bus and is driven and controlled by it. It receives control commands from the main control computer to achieve safe output and detection of digital switch signals for each channel, as well as continuous waveform signal output, analog sampling and detection, and waveform signal detection. The signal conditioning component 4 consists of a digital output signal conditioning board, a digital detection signal conditioning board, a waveform signal conditioning board, an external interface board, a motherboard, and a chassis. The signal source end is connected to the signal excitation source component, and after passing through a relay switching circuit and an isolation circuit, it is connected to the DC power supply provided by the external power supply component 5 to achieve the output and acquisition detection of signals at the required voltage level.

[0056] Reference Figure 6 As shown, the signal conditioning component 4 consists of a digital output signal conditioning board, a digital detection signal conditioning board, a waveform signal conditioning board, a waveform signal detection board, an external interface board, a signal conditioning motherboard, and a packaging chassis. The external interface board connects to the adapter box. This signal conditioning board is used to transmit source-end waveform detection signals, source-end waveform output signals, source-end digital detection signals, source-end digital output signals, power supply for the conditioning board, and to condition signal voltages.

[0057] The digital output signal conditioning board receives the source-side digital output level signal and controls the corresponding channel relay node to operate, thus connecting or disconnecting the conditioning signal voltage loop introduced into that channel by the external interface board, achieving the required voltage level digital signal output (typically DC24V or DC110V). The digital detection signal conditioning board receives the digital signal level (DC24V or DC110V) from the external interface board, and after isolation and switching circuits, conditions it into a source-side digital detection signal to excite the source components for corresponding channel status detection. The waveform signal conditioning board receives the source-side waveform output signal and connects it to the onboard conditioning chip for processing. The signal is conditioned and, via an onboard high-bandwidth optocoupler isolation circuit, forms an isolated differential level square wave signal and pulse signal with the same frequency, phase, duty cycle, and pulse width as the input signal. The waveform signal detection board receives the waveform input signal from the external interface board and, through high-bandwidth optocoupler isolation, generates a low-peak (typically 5V) square wave signal with the same frequency, phase, and duty cycle as the input signal, for the source end to perform waveform characteristic detection. The external interface board is responsible for receiving and transmitting all test signals between the signal conditioning component 4 and the adapter box 1. The signal conditioning motherboard is responsible for transmitting the source signals, conditioning signals, and power supply for the conditioning board driver.

[0058] In one exemplary embodiment, please refer to Figure 5 The single-board testing system also includes: a power supply component 5, including a first power supply and a second power supply; the first power supply is connected to the main control component 2 and configured to receive a preset test signal sent by the main control component 2 and output a voltage-adjustable test power signal to the plug-in under test; the second power supply is connected to the signal conditioning component 4 and the main control component 2 and is used to provide working voltage for the signal conditioning component 4 and power the main control component 2.

[0059] In this embodiment, refer to Figure 7 The power supply component 5 includes a programmable power supply (i.e., the first power supply, which includes a programmable power supply for power supply and a programmable power supply for signal supply) and a fixed switching power supply (the second power supply). The first power supply is specifically an industrial programmable DC power supply, which is connected to the main control computer via Ethernet or serial communication, receives parameter design and control instructions from the main control computer, provides DC24V or DC5V power to the plug-in under test, and provides test signal power at DC24V and DC110V levels. The self-use power supply is a fixed switching power supply module, which provides power for the normal operation of the components inside this single-board test system, generally DC24V or DC5V.

[0060] In one exemplary embodiment, please refer to Figure 5The single-board testing system also includes: an electronic load component 6, which is connected to the adapter box 1 and the main control component 2, and is configured to simulate the load environment of the tested plug-in of the second type of plug-in under no-load, light-load or rated load according to the preset test signal issued by the main control component 2.

[0061] In this embodiment, the electronic load component 6 adopts an industrial programmable electronic load, which is connected to the load terminal of the power supply plug-in under test through the adapter box motherboard. When the power supply plug-in is tested, the plug-in test module controls the electronic load to power on the power supply plug-in under test in no-load, light-load and rated load modes by setting the load current through the test resource port. Based on the read-back voltage parameters and error range parameters, the test results are judged to realize the status and performance test of the power supply plug-in.

[0062] In one exemplary embodiment, please refer to Figure 5 The single-board testing system also includes: a human-computer interaction component 7, which is connected to the main control component 2 and configured to receive user input information and send it to the main control component 2, and prompt the information corresponding to the test results of the tested plug-in; the main control component 2 is also configured to output preset test signals or test information based on user input information.

[0063] In this embodiment, the human-computer interaction component 7 can be a KVM (Keyboard, Video, Mouse) switcher or a combination of a general-purpose LCD display, keyboard, and mouse, mainly to realize the human-computer interaction control and monitoring of this test device.

[0064] In one exemplary embodiment, please refer to Figure 5 The single-board testing system also includes a communication component 8, which is connected to the main control component 2 and the adapter box 1 and configured to establish a communication environment that meets the current testing requirements.

[0065] In this embodiment, the communication component 8 mainly includes an industrial Ethernet switch, a serial communication board, and an MVB (Multi-Function Vehicle Bus) communication module, used to establish a communication test environment under computer control. The main control component 2 can drive and control the signal excitation source component 3, the power supply component 5, and the communication component 8 in real time, load relevant test software, set test parameters, send control signals, receive feedback signals, and send them to the human-machine interface component 7 for display. In addition, the main control component 2 runs the host computer test application software and the human-machine interface, which can be centrally controlled by the operator through the human-machine interface component.

[0066] In summary, this invention provides a method and apparatus for testing single-board safety products in rail transit signaling systems. It addresses the current problems in single-board maintenance and testing of rail transit signaling system equipment, such as the wide variety of dedicated testing equipment, low versatility, high cost, potential for missed or incorrect tests, and the risks and low efficiency associated with replacing the software or program of the tested single-board components during testing. By implementing a highly integrated universal component testing device, and utilizing platform protocol layer camouflage technology, it achieves a convenient testing method that eliminates the need to replace the software or program of the tested component, enabling plug-and-play testing. Furthermore, it employs automated testing methods to achieve one-click automatic testing of the tested component, reducing the labor intensity of testing and making single-board component maintenance and testing more efficient and accurate. This has significant application value for improving the overall maintenance quality of rail transit signaling system equipment.

[0067] Secondly, the present invention also provides a single-board testing method, applied to a single-board testing system as described in any of the above claims. The single-board testing system includes a main control component and an adapter box. The adapter box has at least one first slot and at least one second slot. The first slot is used to connect the plug-in under test, and the second slot is used to connect a test plug-in. The single-board testing method includes: when the plug-in under test is a first-type plug-in, the main control component sends the test information corresponding to the plug-in under test to the test plug-in and determines the test result of the plug-in under test based on the test data; when the plug-in under test is a second-type plug-in, the main control component outputs a preset test signal to the plug-in under test and obtains the test result of the plug-in under test; the test plug-in loads the configuration parameters corresponding to the test information to disguise itself as a target interactive plug-in of the plug-in under test and interacts with the plug-in under test, and collects test data during the interaction process.

[0068] It should also be noted that, in this specification, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0069] The above description of the disclosed embodiments enables those skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A single-board testing system, characterized in that, include: The adapter box is provided with at least one first slot and at least one second slot, the first slot being used to connect the plug-in under test, and the second slot being used to connect the plug-in to be tested. The main control component, connected to the adapter box, is configured to send the test information corresponding to the tested plugin to the test companion plugin when the plugin under test is a first type plugin, and determine the test result of the tested plugin based on the test data; when the tested plugin is a second type plugin, it outputs a preset test signal to the tested plugin and obtains the test result of the tested plugin; the first type plugin is a VCP type plugin, and the second type plugin is a non-VCP type plugin; The test companion plugin is configured to load the configuration parameters corresponding to the test information, so as to disguise itself as the target interactive plugin of the plugin under test and interact with the plugin under test, and collect the test data during the interaction process. The test information includes the first type of the plugin under test and the test instructions. The companion plugin is specifically configured to determine the second type of the target interactive plugin based on the first type, load the system identification identifier and protocol characteristic parameters corresponding to the second type, so as to disguise itself as the target interactive plugin and interact with the plugin under test, and collect test data corresponding to the test instructions during the interaction process; when the first type is the master type, the second type is the controlled type, and when the first type is the controlled type, the second type is the master type. The process of determining the second type of the target interactive plugin based on the first type, loading the system identification identifier and protocol characteristic parameters corresponding to the second type, and then disguising itself as the target interactive plugin to interact with the plugin under test includes: When the plugin under test is a VCP-type master control plugin, load the VCP controlled plugin configuration, enable masquerade simulation, and listen for the status query of the plugin under test. When the status query is heard, send back the normal status of the masquerade controlled plugin. When the test information is captured, forward it to the host computer as normal. When the plugin under test is not the VCP-type master control plugin, the VCP master control plugin configuration is loaded, and after enabling masquerade simulation, a plugin status query is sent. When the status of the plugin under test is detected, it is determined whether the plugin under test is a VCP-type communication plugin. If it is a VCP-type communication plugin, the channel configuration is sent. After receiving the configuration confirmation, a status confirmation is sent. When the activation confirmation of the plugin under test is detected, normal operation is forwarded to the host computer. If it is not a VCP-type communication plugin, a status confirmation is sent. When the activation confirmation of the plugin under test is detected, normal operation is forwarded to the host computer.

2. The single-board testing system according to claim 1, characterized in that, The specific configuration of the accompanying test plugin is as follows: When the tested plugin is determined to be a master plugin based on the first type, the second type of the target interactive plugin is determined to be a controlled plugin. The system identification identifier and protocol characteristic parameters of the controlled plugin are loaded, and it interacts with the tested plugin. Test data corresponding to the test command is collected during the interaction process. When the tested plugin is determined to be the controlled plugin based on the first type, the second type of the target interactive plugin is determined to be the master control plugin. The system identification identifier and protocol characteristic parameters of the master control plugin are loaded, and it interacts with the tested plugin, and test data corresponding to the test instructions are collected during the interaction.

3. The single-board testing system according to claim 1, characterized in that, The test-accompanying plugin is also configured to send the test data to the main control component; The main control component is also configured to determine the test result of the plug-in under test based on the test data, and to perform a fault display operation or a recording operation corresponding to the test result.

4. The single-board testing system according to claim 1, characterized in that, The single-board testing system also includes: A signal source excitation component is connected to the main control component and configured to receive a preset test signal sent by the main control component and generate a digital output level signal based on the test signal; The signal conditioning unit is connected to the signal source excitation unit and the adapter box, and is configured to send a test excitation signal to the electrical interface and communication interface of the plug-in under test (Plug-in-Test) which is the second type of plug-in based on the digital output level signal, and receive the electrical interface status and communication interface status fed back by the plug-in under test after responding to the test excitation signal, and determine the test result of the plug-in under test based on the electrical interface status and the communication interface status.

5. The single-board testing system according to claim 4, characterized in that, The single-board testing system also includes: The power supply component includes a first power supply and a second power supply; The first power supply is connected to the main control component and is configured to receive a preset test signal sent by the main control component and output an adjustable test power signal to the plug-in under test. The second power supply is connected to the signal conditioning component and the main control component, and is used to provide operating voltage to the signal conditioning component and power the main control component.

6. The single-board testing system according to claim 1, characterized in that, The single-board testing system also includes: An electronic load component is connected to the adapter box and the main control component, and is configured to simulate the load environment of the tested plug-in of the second type of plug-in under no-load, light-load or rated load according to the preset test signal issued by the main control component.

7. The single-board testing system according to claim 1, characterized in that, The single-board testing system also includes: A human-computer interaction component, connected to the main control component, is configured to receive user input information and send it to the main control component, and to display information corresponding to the test results of the plug-in under test; The main control component is also configured to output a preset test signal or test information based on the user input information.

8. The single-board testing system according to claim 1, characterized in that, The single-board testing system also includes: A communication component, connected to the main control component and the adapter box, is configured to establish a communication environment that meets the current testing requirements.

9. A single-board testing method, characterized in that, The single-board testing system as described in any one of claims 1-8, the single-board testing system comprising a main control component and an adapter box, the adapter box having at least one first slot and at least one second slot, the first slot for connecting the plug-in under test, the second slot for connecting the auxiliary plug-in, and the single-board testing method comprising: When the plugin under test is a first-type plugin, the main control component sends the test information corresponding to the plugin under test to the test companion plugin, and determines the test result of the plugin under test based on the test data. When the plugin under test is a second-type plugin, the main control component outputs a preset test signal to the plugin under test and obtains the test result of the plugin under test. The first-type plugin is a VCP plugin, and the second-type plugin is a non-VCP plugin. The test companion plugin loads the configuration parameters corresponding to the test information, disguises itself as the target interactive plugin of the tested plugin, interacts with the tested plugin, and collects the test data during the interaction process. The test information includes the first type of the plugin under test and test instructions. The process of loading the configuration parameters corresponding to the test information through the companion plugin, disguising itself as the target interactive plugin of the plugin under test, interacting with the plugin under test, and collecting the test data during the interaction includes: The test-accompanying plugin determines the second type of the target interactive plugin based on the first type, loads the system identification identifier and protocol characteristic parameters corresponding to the second type, disguises itself as the target interactive plugin, interacts with the tested plugin, and collects test data corresponding to the test instructions during the interaction process; when the first type is the master type, the second type is the controlled type, and when the first type is the controlled type, the second type is the master type. The process of determining the second type of the target interactive plugin based on the first type, loading the system identification identifier and protocol characteristic parameters corresponding to the second type, and then disguising itself as the target interactive plugin to interact with the plugin under test includes: When the plugin under test is a VCP-type master control plugin, load the VCP controlled plugin configuration, enable masquerade simulation, and listen for the status query of the plugin under test. When the status query is heard, send back the normal status of the masquerade controlled plugin. When the test information is captured, forward it to the host computer as normal. When the plugin under test is not the VCP-type master control plugin, the VCP master control plugin configuration is loaded, and after enabling masquerade simulation, a plugin status query is sent. When the status of the plugin under test is detected, it is determined whether the plugin under test is a VCP-type communication plugin. If it is a VCP-type communication plugin, the channel configuration is sent. After receiving the configuration confirmation, a status confirmation is sent. When the activation confirmation of the plugin under test is detected, normal operation is forwarded to the host computer. If it is not a VCP-type communication plugin, a status confirmation is sent. When the activation confirmation of the plugin under test is detected, normal operation is forwarded to the host computer.

Citation Information

Patent Citations

  • EM2000 microcomputer plugin detection device

    CN109857091A

  • Board card testing device, system and method

    CN113281639A