Single board detection system and method
By using adapter plug-ins and main control components in the rail transit signal system, the problems of low universality and high operation and maintenance costs of single board detection equipment are solved, and the general adaptation and cost reduction of the detection system are achieved.
Patent Information
- Application Number
- CN202510954744.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-11
- Publication Date
- 2025-08-12
- Estimated Expiration
- 2045-07-11
AI Technical Summary
In the prior art, the single-board detection method of rail transit signal system needs to provide special testing equipment for each type of equipment, resulting in low versatility of the testing equipment and high operation and maintenance costs.
Adapter plug-in and main control components are used to simulate different plug-in types through test plug-ins, implement protocol chain building and data interaction, reduce customized transformation of equipment cabinets, and use dynamic software configuration to disguise the fixed hardware architecture that replaces traditional special detection equipment.
The universal adaptation of single-board detection systems is realized, reducing the cost of developing special detection equipment for different plug-in types, and improving the universality and operation and maintenance efficiency of the detection system.
Smart Images

Figure CN120468568A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of rail transportation, and in particular to a single board detection system and method. Background Art
[0002] In rail transit systems, the signal system serves as the core support system for ensuring safe train operation and improving transportation efficiency. The reliability and stability of its core equipment directly affect the operational quality of the entire line. With the increasing complexity of equipment, operation and maintenance management has shifted from traditional whole-machine-level testing to refined maintenance at the single-board level, which places higher demands on the accuracy and efficiency of single-board functional status testing. Currently, single-board testing methods rely on customized modifications to existing signal equipment cabinets. This involves implanting additional detection circuits into the original hardware architecture and developing adaptive software to test single-board interface parameters and functional status. This solution requires dedicated testing equipment for each type of equipment in the signal system. The testing equipment has low versatility, which increases the cost of single-board maintenance testing for users.
[0003] Therefore, how to provide a solution to the above technical problems is a problem that those skilled in the art need to solve at present. Summary of the Invention
[0004] The purpose of the present invention is to provide a single board detection system and method, which can reduce the cost of developing special detection equipment for different plug-in types and improve the versatility of the detection system.
[0005] To solve the above technical problems, the present invention provides a single-board detection system, comprising: an adapter plug-in box, provided with at least one first slot and at least one second slot, the first slot being used to connect a plug-in under test, and the second slot being used to connect a companion test plug-in; a main control component connected to the adapter plug-in box, configured to, when the plug-in under test is a first-category plug-in, send test information corresponding to the plug-in under test to the companion test plug-in, and determine a test result of the plug-in under test based on the test data; and, when the plug-in under test is a second-category plug-in, output a preset test signal to the plug-in under test and obtain the test result of the plug-in under test; the companion test plug-in is configured to load configuration parameters corresponding to the test information, so as to disguise itself as a target interaction plug-in of the plug-in under test, interact with the plug-in under test, and collect the test data during the interaction process.
[0006] Optionally, the test information includes the first type of the plug-in under test and test instructions. The accompanying test plug-in is specifically configured to determine the second type of the target interactive plug-in based on the first type, load the system identification identifier and protocol characteristic parameters corresponding to the second type, disguise itself as the target interactive plug-in, interact with the plug-in under test, and collect test data corresponding to the test instructions during the interaction process.
[0007] Optionally, the accompanying test plug-in is specifically configured as follows: when the plug-in under test is determined to be the main control plug-in based on the first type, the second type of the target interactive plug-in is determined to be a controlled plug-in, the system identification identifier and protocol characteristic parameters of the controlled plug-in are loaded, the plug-in interacts with the plug-in under test, and the test data corresponding to the test instructions during the interaction process is collected; when the plug-in under test is determined to be the controlled plug-in based on the first type, the second type of the target interactive plug-in is determined to be the main control plug-in, the system identification identifier and protocol characteristic parameters of the main control plug-in are loaded, the plug-in interacts with the plug-in under test, and the test data corresponding to the test instructions during the interaction process is collected.
[0008] Optionally, the accompanying test plug-in 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 plug-in based on the test data, and perform a fault display operation or recording operation corresponding to the test result.
[0009] Optionally, the single-board detection system also 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; a signal conditioning component, connected to the signal source excitation component and the adapter plug-in 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 detection system also includes: a power supply component, including 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 a test power supply signal with adjustable voltage 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 an operating voltage for the signal conditioning component and power the main control component.
[0011] Optionally, the single-board detection system also includes: an electronic load component, connected to the adapter plug-in box and the main control component, and 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 a preset test signal issued by the main control component.
[0012] Optionally, the single-board detection system also 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 also configured to output a preset test signal or test information based on the user input information.
[0013] Optionally, the single board detection system further includes: a communication component connected to the main control component and the adapter plug-in box, and configured to establish a communication environment that meets current test requirements.
[0014] The present invention also provides a single-board detection method, which is applied to a single-board detection system as described in any one of the above items, wherein the single-board detection system includes a main control component and an adapter box, the adapter box is provided with 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 the accompanying test plug-in, the single-board detection method includes: when the plug-in under test is a first-class plug-in, the main control component sends test information corresponding to the plug-in under test to the accompanying 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-class plug-in, outputs a preset test signal to the plug-in under test, and obtains the test result of the plug-in under test; the accompanying test plug-in loads the configuration parameters corresponding to the test information to disguise itself as the target interaction plug-in of the plug-in under test, interacts with the plug-in under test, and collects the test data during the interaction process.
[0015] The present invention provides a single-board detection system. For the first type of plug-in, the main control component sends test information to the accompanying test plug-in so that it loads the corresponding configuration parameters and disguises itself as a target interactive plug-in, simulating a real interactive scenario to establish a protocol link and interact with the plug-in under test, while collecting test data in real time to determine the functional status. For the second type of plug-in, the main control component directly outputs a preset test signal and obtains a response result, thereby avoiding the disadvantages of the prior art of requiring customized hardware modification of the equipment cabinet and implanting additional detection circuits. The dynamic software configuration disguise of the accompanying test plug-in replaces the fixed hardware architecture of the traditional dedicated detection equipment, thereby achieving universal adaptation of the single-board detection system, reducing the cost of developing dedicated detection equipment for different plug-in types, and solving the problems of low versatility and high operation and maintenance costs caused by the prior art's reliance on customized detection equipment. The present invention also provides a single-board detection method with the same beneficial effects as the above-mentioned single-board detection system. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the embodiments of the present invention, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0017] Figure 1 A schematic structural diagram of a single board detection system provided by the present invention;
[0018] Figure 2 This is a structural diagram of an adapter plug-in box provided by the present invention;
[0019] Figure 3 A schematic diagram of the structure of a test software provided by the present invention;
[0020] Figure 4 A test flow chart for a test plug-in provided by the present invention;
[0021] Figure 5 A schematic structural diagram of another single board detection system provided by the present invention;
[0022] Figure 6 A schematic structural diagram of a signal conditioning component provided by the present invention;
[0023] Figure 7 This is a structural schematic diagram of a power supply component provided by the present invention. DETAILED DESCRIPTION
[0024] The core of the present invention is to provide a single board detection system and method, which can reduce the cost of developing special detection equipment for different plug-in types and improve the versatility of the detection system.
[0025] To make the objectives, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.
[0026] First, please refer to Figure 1The present invention provides a single-board detection system, comprising: an adapter plug-in box 1, provided with at least one first slot and at least one second slot, the first slot being used to connect a plug-in under test, and the second slot being used to connect a companion test plug-in 11; a main control component 2, connected to the adapter plug-in box 1, configured to, when the plug-in under test is a first-type plug-in, send test information corresponding to the plug-in under test to the companion test plug-in 11, and determine a 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, output a preset test signal to the plug-in under test, and obtain the test result of the plug-in under test; the companion test plug-in 11, configured to load configuration parameters corresponding to the test information, so as to disguise itself as a target interaction plug-in of the plug-in under test, interact with the plug-in under test, and collect test data during the interaction process.
[0027] In this embodiment, the single-board detection system mainly includes an adapter box 1 and a main control component 2, wherein 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 accompanying test plug-in 11. There is at least one first slot and a second slot, which can be designed according to actual engineering needs. This embodiment does not make specific limitations here.
[0028] Adapter subrack 1 is a standard-sized cage-style subrack, composed of a subrack frame and a motherboard. It is used for inserting, connecting, and testing plug-ins under test. This adapter subrack 1 accommodates all plug-ins under test, and through the motherboard provides power supply, platform-level protocol link establishment with the lower-level test plug-in 11, and input / output of plug-in channel test signals. The test plug-in 11, secured within adapter subrack 1, utilizes the platform-level protocol, masquerading as a VCP (Secure Computer Platform) member plug-in. This establishes a protocol link with the VCP-class plug-in under test (first-class plug-in), enables bidirectional transmission of test instructions and test status data, and transfers test data to and from the main control computer in main control assembly 2.
[0029] Specifically, refer to Figure 2 , the adapter plug-in box 1 is composed of a plug-in box frame structure and an adapter plug-in box motherboard, and the test plug-in 11 (ie Figure 2The lower computer test plug-in) is inserted into the fixed slot (second slot) of the adapter plug-in box 1 and connected to the adapter plug-in box motherboard. The plug-in box frame structure of the adapter plug-in box 1 provides guide rail accessories, auxiliary frames, etc. for the adapter plug-in to be inserted. The adapter plug-in box motherboard includes a VCP high-speed bus circuit, a VCP system identification circuit, a plug-in connector, etc., which are used for the platform layer instruction status signal transmission between the test plug-in 11 and the VCP type plug-in under test, as well as the signal transmission between various types of tested plug-ins and various test resources provided by the detection device, specifically including: a VCP high-speed bus circuit, including a VCP high-speed bus, the bus type adopts FlexRay (a high-speed, deterministic, fault-tolerant bus) (or CAN FD (Controller Area Network Flexible Data-Rate, controller local area network flexible data rate bus), VME (Versa Module Eurocard, a high-speed, reliable industrial control bus) and other bus types), which is used for the platform protocol layer instruction status signal transmission between the lower computer 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 the VCP system identification control signal sent by the main control computer, and is used to simulate the system identification, chassis identification and board position identification signals of the VCP plug-in under test and the lower computer accompanying test plug-in 11.
[0031] The plug-in connector uses a connector that matches various plug-ins under test and has anti-misinsertion teeth, which is used for the adaptation access of the plug-in under test and the lower computer test plug-in 11. Figure 2 As shown, the tested plug-ins include but are not limited to tested power supply plug-ins, tested non-VCP type digital IO (Input / Output) plug-ins, tested non-VCP type communication plug-ins, tested non-VCP type control plug-ins, tested VCP type communication plug-ins, tested VCP type digital IO plug-ins, tested VCP type frequency plug-ins, tested VCP type main control plug-ins, etc.
[0032] Combine Figure 2 The adapter plug-in box template is also used to connect electronic loads, AC (Alternating Current) power supplies, DC power supplies, and is also used to transmit conditioned digital IO signals, excitation feedback communication data, digital IO signals, communication data, analog signals, conditioned waveform signals, host computer test instructions / feedback data, etc.
[0033] As can be understood, the companion test plug-in 11 is a key plug-in of this device, primarily composed of a processor, a high-speed bus module, dual-port random access memory (RAM), an Ethernet module, a power supply module, and other components. Using the platform layer protocol, the companion test plug-in 11 disguises itself as a VCP system member plug-in (i.e., the target interaction plug-in corresponding to the plug-in under test). This plug-in establishes a protocol link with the VCP plug-in under test, bidirectionally transmits test instructions and test status data, and simultaneously transfers data with the host computer.
[0034] Combine Figure 3 The test software functional structure shown in the figure is described. The processor of the accompanying test plug-in 11 runs the lower computer software. The lower computer software is mainly composed of a VCP test forwarding module and a VCP plug-in simulation module. The VCP high-speed bus data is read and written through the high-speed bus module. The platform protocol layer data interaction with other tested VCP plug-ins is realized through protocol conversion. The test instructions and test status data of the tested VCP plug-in are transmitted, and these instructions and status data are forwarded and transmitted bidirectionally to the main control computer through the Ethernet module and interface. The main control component 2 can specifically be a main control computer. The main control computer runs the upper computer test software. The upper computer test software is mainly composed of a plug-in selection module, a plug-in test module, a test recording module, a test report module, and a user management module. It realizes test plug-in selection, test process execution, test result judgment, test recording, and test human-computer interaction.
[0035] In this embodiment, the plug-in under test is divided into two categories, one is a VCP plug-in, and the other is a non-VCP plug-in. The non-VCP plug-in includes at least a power plug-in. The plug-in selection module provides a list of plug-in selections to be tested based on the test object configuration file, and enters the corresponding plug-in test interface by selecting the plug-in to be tested in the list. The plug-in test module calls and loads the corresponding test resources, test process and test judgment parameters according to the type of plug-in under test, and displays the corresponding test items on the test interface; the plug-in test module is designed with automatic test function and manual test function. During automatic testing, the plug-in test module automatically powers on the plug-in under test, issues test instructions, reads test feedback, and judges test results. At the same time, it calls the test record module to record the test results, and then automatically completes the power-off of the plug-in under test. The manual test function manually controls the power-on and the test execution of each test item. The plug-in test module is divided into a VCP type tested plug-in mode and a non-VCP type tested plug-in mode. When performing a VCP type plug-in test, the plug-in test module performs the test by establishing a connection with the companion test plug-in 11. When performing a non-VCP type plug-in test, the plug-in test module directly controls the communication components, signal conditioning components, and power supply components for testing.
[0036] Specifically, when conducting VCP plug-in testing, the plug-in testing module sends the plug-in type under test and the current system identification information of the plug-in under test (series, chassis number and board position number) to the accompanying test plug-in 11, and at the same time controls the test resources to give the corresponding system identification point switch signal of the plug-in under test (series signal, chassis identification signal and board position identification signal), and waits for the accompanying test plug-in 11 to forward the power-on test status information of the plug-in under test, the status data of each component (including each processor status, RAM status, watchdog status), software version number and other information; if the feedback of the power-on test status is normal, the corresponding test resources are called to send test excitation signals to each electrical interface and communication interface of the VCP plug-in under test, and the electrical interface and communication interface status of the VCP plug-in under test are received through the accompanying test plug-in 11, and the status of each electrical interface and communication interface fed back by the VCP plug-in under test is determined according to the pre-set status. The test conditions, error range and other parameters are read to judge the test results and realize the status test of the electrical interface channel and the communication interface channel; if the power-on test is abnormal, the fault information is queried and displayed according to the fault code forwarded by the companion test plug-in 11; when conducting non-VCP plug-in tests, the plug-in test module directly reads the overall status information of the tested plug-in and the status information of each key component through the motherboard Ethernet channel, and at the same time calls the corresponding stimulus test resources to directly send test stimulus signals to each electrical interface and communication interface of the non-VCP plug-in, and directly reads the status of each electrical interface and communication interface fed back by the non-VCP plug-in through the corresponding input test resources. According to the pre-read test conditions, error range and other parameters, the test results are judged to realize the status test of the electrical interface channel and the communication interface channel.
[0037] As an optional embodiment, the plug-in test module displays 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, power output channel status and the test results determined in real time during the above test process, and sends it to the test recording module for recording.
[0038] As an optional embodiment, the test recording module writes the test results during the test process into the database, and the test results are written into the test result table. During the automatic test process, the recorded test results include: the serial number of the plug-in being tested, the tester, the test item, the given value, the detection value, the error range, the test time, the test results, etc. The manual test results are not written into the database, and the automatic test results are written into the database.
[0039] As an optional embodiment, the test report module generates a test result report based on the test records. The test result report can be viewed, saved, opened, and printed. After the plug-in board automatic test is completed, a test result report in PDF (Portable Document Format) format is automatically generated and saved in a designated folder in the host computer 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, set value, test value, error range, test result, etc.
[0040] As an optional embodiment, the user management module is used to manage user accounts, permissions and system logins. It can set user names and passwords, and edit, modify, add, delete and save user information; it provides user permission settings, which are divided into three permission roles: tester, system administrator and super user; the user management module provides a human-computer interface for user login operations. Users can only enter the system after entering the correct user name and password, otherwise a user information error prompt will be displayed; the user management module provides corresponding operation permissions according to the role of the logged-in user.
[0041] It can be seen that in this embodiment, for the first type of plug-in, the main control component 2 sends test information to the companion test plug-in 11 to load the corresponding configuration parameters and disguise it as a target interactive plug-in, simulating a real interactive scenario to establish a protocol link and interact with the plug-in under test, and at the same time 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 a response result, thereby avoiding the disadvantages of the prior art of requiring customized hardware modification of the equipment cabinet and implantation of additional detection circuits. The dynamic software configuration disguise of the companion test plug-in 11 replaces the fixed hardware architecture of the traditional dedicated detection equipment, thereby realizing the universal adaptation of the single-board detection system, reducing the cost of developing dedicated detection equipment for different plug-in types, and solving the problems of low universality and high operation and maintenance costs caused by reliance on customized detection equipment in the prior art.
[0042] Based on the above embodiment:
[0043] In an exemplary embodiment, the test information includes a first type of the plug-in under test and test instructions. The accompanying test plug-in 11 is specifically configured to determine the second type of the target interactive plug-in based on the first type, load the system identification identifier and protocol characteristic parameters corresponding to the second type, disguise itself as the target interactive plug-in, interact with the plug-in 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 plug-in being tested (i.e., the first type, including but not limited to the master control type and the controlled type), and current system identification information. It is understood that when the first type of the plug-in being tested is a VCP master control plug-in, the second type of the target interactive plug-in is a VCP controlled plug-in. When the first type of the plug-in being tested is a VCP controlled plug-in, the second type of the target interactive plug-in is a VCP master control plug-in. After determining the second type of the target interactive plug-in, the lower-level computer software running in the companion test plug-in 11 loads the pre-stored system identification identifier and protocol characteristic parameters based on the second type to disguise itself as the corresponding target interactive plug-in.
[0045] In an exemplary embodiment, the accompanying test plug-in 11 is specifically configured as follows: when the plug-in under test is determined to be the main control plug-in based on the first type, the second type of the target interactive plug-in is determined to be a controlled plug-in, the system identification identifier and protocol characteristic parameters of the controlled plug-in are loaded, the plug-in interacts with the plug-in under test, and the test data corresponding to the test instructions during the interaction process is collected; when the plug-in under test is determined to be the controlled plug-in based on the first type, the second type of the target interactive plug-in is determined to be the main control plug-in, the system identification identifier and protocol characteristic parameters of the main control plug-in are loaded, the plug-in interacts with the plug-in under test, and the test data corresponding to the test instructions during the interaction process is collected.
[0046] The accompanying test plug-in 11 is further configured to send the test data to the main control component 2; the main control component 2 is further configured to determine the test result of the tested plug-in according to the test data, and perform a fault display operation or recording operation corresponding to the test result.
[0047] In this embodiment, refer to Figure 4, the lower computer software running in the accompanying test plug-in 11 realizes the disguise simulation of the VCP class plug-in and the test status and instruction forwarding of the tested VCP class plug-in, specifically including: initialization, loading parameters, listening to instructions, judging whether the test instruction, the tested type, and the system identification information are received, if not, re-entering the operation of listening to instructions, if so, judging whether it is the VCP master plug-in, if it is the master plug-in, loading the VCP controlled plug-in configuration, turning on disguise simulation, listening to the tested plug-in status inquiry, judging whether the status inquiry is heard, if not heard, judging whether it times out, if not times out, executing the operation of listening to the tested plug-in status inquiry, if times out, forwarding the fault to the upper computer, if heard, sending back the normal state of the disguised controlled plug-in, and then judging whether the information is captured, if not captured, forwarding the fault to the upper computer, if capturing the information, forwarding it to the upper computer normally, after forwarding it to the upper computer normally or forwarding the fault to the upper computer, judging whether to exit, if so, then end, if not, entering the operation of listening to instructions after loading parameters; if it is not the VCP master plug-in 1. Load the VCP master plug-in configuration, start camouflage simulation, issue a plug-in status query, listen to the status of the plug-in under test, determine whether it is detected, if not detected, determine whether it has timed out, if not timed out, re-enter the operation of listening to the status of the plug-in under test, if it times out, forward the fault to the host computer, if detected, determine whether it is a VCP communication plug-in, if so, send channel configuration, receive configuration confirmation, send status confirmation, if it is not a VCP communication plug-in, directly enter the operation of sending status confirmation, listen to the activation confirmation of the plug-in under test, determine whether it is detected, if not detected, determine whether it has timed out, if not timed out, enter the operation of listening to the activation confirmation of the plug-in under test, if it times out, forward the fault to the host computer, determine whether to exit, if so, end, if not, enter the operation of listening to the activation confirmation of the plug-in under test after loading parameters, if the activation confirmation of the plug-in under test is detected, forward it to the host computer normally, IO channel / communication port test, forward the channel / interface test status to the host computer, and then determine whether to exit, if so, exit, if not, enter the operation of listening to the instruction after loading parameters.
[0048] Specifically, after power-on initialization, the lower computer software receives the VCP plug-in type under test and the current system identification information sent by the upper computer test software. Then, according to the different VCP plug-in types under test, it enters the corresponding VCP plug-in disguise simulation program, starts interacting with the platform protocol layer of the VCP plug-in under test, and attempts to establish a protocol link with it.
[0049] When the plug-in under test is a VCP-type master control plug-in, the lower-computer software loads the pre-stored platform configuration of VCP controlled plug-ins, such as the VCP digital IO plug-in, VCP frequency input plug-in, and VCP communication plug-in, to simulate the system identification ID (Identification) and protocol characteristics of these VCP controlled plug-ins, initiate the platform protocol layer link establishment mechanism, receive status query frames from the tested master control plug-in, and feedback the normal status information of these plug-ins, thereby tricking the tested master control plug-in into believing that it has normally activated these disguised plug-ins. After capturing the normal operating status of the tested master control plug-in, the status of each key component, and software version information from the bus, the lower-computer software forwards this information to the upper-computer test software on the master computer, which determines that the tested VCP master control plug-in has been powered on and is running normally and that the power-on test results are normal. If the bus captures the fault code information of the tested master control plug-in, the fault code is fed back to the upper-computer test software for fault display and recording.
[0050] When the plug-in under test is a VCP-type digital IO plug-in or a VCP-type frequency input plug-in, the lower-computer software simulates the system identification ID and protocol characteristics of the disguised VCP master plug-in, starts the platform protocol layer link building mechanism, sends a status inquiry frame to the plug-in under test, and sends back a status confirmation frame after receiving the normal status information of the plug-in under test, waiting for the activation confirmation frame of the plug-in under test. If the activation confirmation frame is received, the operating status of the plug-in under test, the status of each key component, and the software version information captured from the bus are forwarded to the upper-computer test software of the main control computer. The upper-computer test software determines that the plug-in under test has been powered on and running normally and the power-on test result is normal. At this time, the electrical interface test begins; if the fault code information of the plug-in under test is captured from the bus, the fault code is fed back to the upper-computer test software for fault display and recording.
[0051] As an optional embodiment, the electrical interface test process of a VCP-type digital IO plug-in includes: the lower computer software receives the digital output instruction issued by the upper computer test software, forwards it to the digital IO plug-in under test via the bus and platform protocol layer, and the digital IO plug-in independently executes the digital output, and the upper computer test software controls the test resources to read the hard-wired output signal of the corresponding channel to judge the status of the electrical interface output channel; the upper computer test software controls the test resources to issue a test excitation signal, and after the digital IO plug-in under test collects the hard-wired signal of the corresponding channel, it uploads the corresponding channel status to the bus, and the lower computer software captures the channel status issued by the digital IO plug-in under test on the bus and forwards it to the upper computer test software, which judges the status of the electrical interface input channel.
[0052] As an optional embodiment, the electrical interface test process of the VCP type frequency input plug-in includes: the upper computer test software controls the test resources to send out a test excitation square wave signal; after the tested frequency input plug-in collects the hard-wired square wave signal of the corresponding channel, the speed, displacement, acceleration and other information of the corresponding channel converted are uploaded to the bus; the lower computer software captures the speed and other frequency information data sent by the tested plug-in on the bus and forwards it to the upper computer test software, which then performs result judgment on the status and error range of each frequency input channel.
[0053] As an optional embodiment, when the plug-in under test is a VCP type communication plug-in, the lower computer software simulates the system identification ID and protocol characteristics of the disguised VCP master plug-in, starts the platform protocol layer link building mechanism, sends a corresponding status inquiry frame to the plug-in under test, and after receiving the normal status information of the plug-in under test, sends a communication port configuration frame, waits for the configuration confirmation frame sent by the plug-in under test, and sends back the status confirmation frame after receiving it, and waits for the activation confirmation frame of the plug-in under test. If the activation confirmation frame is received, the operating status of the communication plug-in under test, the status of each key component, and the software version information captured from the bus are forwarded to the upper computer of the main control computer. The host computer test software determines that the VCP communication plug-in under test has been powered on and running normally, and the power-on test result is normal. At this time, it enters the communication port test, receives the test data packets of each configured communication port sent by the host computer test software, and forwards them to the communication plug-in under test through the bus and platform protocol layer. The communication plug-in controls the output of the corresponding communication port independently, and then the host computer test software controls the test resources to read the communication output signal of the corresponding communication port, thereby performing a communication port read and write channel status test; if the fault code information of the communication plug-in under test is captured from the bus, the fault code will be fed back to the host computer test software for fault display and recording.
[0054] In an exemplary embodiment, please refer to Figure 5 The single board detection 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; a signal conditioning component 4, connected to the signal source excitation component 3 and the adapter plug-in 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 in response 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.
[0055] In this embodiment, the signal excitation source component is an industrial digital multi-channel IO board and a multi-function 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 is connected to a host computer via a high-speed bus and driven and controlled by it, receiving control instructions from the host computer to achieve the safe output and detection of digital switch signals on each channel, as well as continuous waveform signal output, analog sampling and detection, and waveform signal detection. The signal conditioning component 4 is composed 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 is connected to the signal excitation source component and, through a relay switching circuit and an isolation circuit, is connected to the DC power provided by an external power supply component 5 to achieve the output and acquisition and 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 is connected to the adapter plug-in box. The signal conditioning board is used to transmit the source waveform detection signal, the source waveform output signal, the source digital detection signal, the source digital output signal, drive power for the conditioning board, and condition the signal voltage.
[0057] The digital output signal conditioning board receives the digital output level signal from the source end, controls the action of the corresponding channel relay node, and opens or closes the conditioning signal voltage loop introduced into the channel by the external interface board, thereby realizing the digital signal output of the required voltage level (generally DC24V or DC110V); the digital detection signal conditioning board receives the digital signal level (DC24V or DC110V level) transmitted from the external interface board, and conditions it into the source end digital detection signal through the isolation circuit and the switch circuit, and sends the signal excitation source component to perform the corresponding channel status detection; the waveform signal conditioning board receives the waveform output signal from the source end, and connects to the onboard conditioning chip for Signal conditioning, and through the on-board high-bandwidth optocoupler isolation circuit, form isolated differential level square wave signals and pulse signals with the same frequency, phase, duty cycle and pulse width as the input signal; the waveform signal detection board receives the waveform input signal transmitted by the external interface board, and generates a low-peak (usually 5V) square wave signal with the same frequency, phase and duty cycle as the input signal through high-bandwidth optocoupler isolation for waveform characteristic detection at the source end; the external interface board is responsible for receiving and sending all test signals between the signal conditioning component 4 and the adapter plug-in box 1; the signal conditioning motherboard is responsible for the transmission of various source signals, conditioning signals and the driving power supply of the conditioning board.
[0058] In an exemplary embodiment, please refer to Figure 5 The single board detection 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, configured to receive a preset test signal issued by the main control component 2, and output a test power signal with adjustable voltage to the tested plug-in; the second power supply is connected to the signal conditioning component 4 and the main control component 2, and is used to provide a 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., a first power supply, including a programmable power supply for power supply and a programmable power supply for signal supply) and a fixed switching power supply (a second power supply). The first power supply is specifically an industrial programmable DC power supply, which is connected to the host computer via Ethernet or serial communication, receives parameter design and control instructions from the host computer, provides DC24V or DC5V power supply to the tested plug-in, and provides DC24V and DC110V level test signal power supply. The self-use power supply is a fixed switching power supply module, which provides power for the normal operation of the components inside the single-board test system, generally DC24V or DC5V.
[0060] In an exemplary embodiment, please refer to Figure 5The single board detection system also includes: an electronic load component 6, which is connected to the adapter plug-in 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 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 end of the power plug-in under test through the adapter plug-in motherboard. When performing the power plug-in test, the plug-in test module controls the electronic load in no-load, light-load and rated load modes by setting the load current through the test resource port, and controls the power supply plug-in under test to power on respectively. The test result is judged based on the read-back voltage parameters and error range parameters to realize the status and performance test of the power plug-in.
[0062] In an exemplary embodiment, please refer to Figure 5 The single board detection system also includes: a human-computer interaction component 7, which is connected to the main control component 2 and is configured to receive user input information and send it to the main control component 2, prompting information corresponding to the test result of the tested plug-in; the main control component 2 is also configured to output a preset test signal or test information based on the user input information.
[0063] In this embodiment, the human-computer interaction component 7 can adopt a KVM (Keyboard, Video, Mouse) switch or a general liquid crystal display, keyboard, and mouse combination, mainly realizing human-computer interaction control and monitoring of this test device.
[0064] In an exemplary embodiment, please refer to Figure 5 ,The single board detection system also includes: a communication component 8, connected to the main control component 2 and the adapter plug-in box 1, and configured to establish a communication environment that meets the current test requirements.
[0065] In this embodiment, communication component 8 primarily includes an industrial Ethernet switch, a serial communication board, and an MVB (Multi-Function Vehicle Bus) communication module, enabling the establishment of a computer-controlled communication test environment. Main control component 2 drives and provides real-time control of signal stimulus source component 3, power supply component 5, and communication component 8. It also loads relevant test software, sets test parameters, issues control signals, and receives feedback, which is then transmitted to human-computer interface component 7 for display. Furthermore, main control component 2 runs host computer test application software and a human-machine interface, enabling centralized control by an operator through the human-computer interface.
[0066] In summary, the present invention provides a single-board detection method and device for rail transit signal system safety products, which can address the problems of the current special test equipment for single-board maintenance and testing of rail transit signal system equipment, such as a wide variety of special test equipment, low versatility, high cost, missed detection / false detection, equipment risks caused by the need to replace the tested single-board plug-in software or program during the test, and low detection efficiency. By realizing a universal plug-in testing device with a high degree of integration, and using platform protocol layer camouflage simulation technology, a convenient testing method that does not require replacement of the tested plug-in software or program is realized, so that the tested plug-in can be plugged and tested. In addition, an automated testing method is also used to realize a one-click automatic testing process of the tested plug-in, thereby reducing the labor intensity of detection and making the maintenance and testing of the single-board plug-in more efficient and accurate. It has a high application value for improving the overall maintenance quality of rail transit signal system equipment.
[0067] In the second aspect, the present invention also provides a single-board detection method, which is applied to a single-board detection system as any one of the above items, the single-board detection system includes a main control component and an adapter box, the adapter box is provided with 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 the accompanying test plug-in, the single-board detection method includes: when the plug-in under test is a first-class plug-in, the main control component sends test information corresponding to the plug-in under test to the accompanying 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-class plug-in, outputs a preset test signal to the plug-in under test, and obtains the test result of the plug-in under test; the accompanying test plug-in loads the configuration parameters corresponding to the test information, so as to disguise itself as the target interaction plug-in of the plug-in under test, 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, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus comprising the element.
[0069] The above description of the disclosed embodiments is intended to enable one skilled in the art to implement or use the present 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 present invention. Therefore, the present invention is not limited to the embodiments shown herein but is intended to conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A single board detection system, characterized in that: include: The adapter plug-in box is provided with at least one first slot and at least one second slot, wherein the first slot is used to connect the plug-in under test, and the second slot is used to connect the plug-in to be tested; a main control component connected to the adapter plug-in box and configured to, when the plug-in under test is a first type of plug-in, send test information corresponding to the plug-in under test to the companion plug-in, and determine a test result of the plug-in under test based on the test data; and, when the plug-in under test is a second type of plug-in, output a preset test signal to the plug-in under test and obtain the test result of the plug-in under test; The accompanying test plug-in is configured to load the configuration parameters corresponding to the test information, so as to disguise itself as a target interaction plug-in of the plug-in under test, interact with the plug-in under test, and collect the test data during the interaction process.
2. The single board detection system according to claim 1, characterized in that: The test information includes the first type of the plug-in under test and a test instruction. The accompanying test plug-in is specifically configured to determine the second type of the target interactive plug-in based on the first type, load the system identification identifier and protocol characteristic parameters corresponding to the second type, disguise itself as the target interactive plug-in, interact with the plug-in under test, and collect test data corresponding to the test instruction during the interaction process.
3. The single board detection system according to claim 2, characterized in that: The specific configuration of the accompanying test plug-in is: When the plug-in under test is determined to be a master plug-in based on the first type, determining the second type of the target interactive plug-in to be a controlled plug-in, loading the system identification identifier and protocol characteristic parameters of the controlled plug-in, interacting with the plug-in under test, and collecting test data corresponding to the test instruction during the interaction; When the plug-in under test is determined to be the controlled plug-in based on the first type, the second type of the target interactive plug-in is determined to be a master plug-in, the system identification identifier and protocol characteristic parameters of the master plug-in are loaded, interaction is performed with the plug-in under test, and test data corresponding to the test instructions during the interaction process is collected.
4. The single board detection system according to claim 1, characterized in that: The accompanying test plug-in is further configured to send the test data to the main control component; The main control component is further configured to determine a test result of the tested plug-in according to the test data, and perform a fault display operation or a recording operation corresponding to the test result.
5. The single board detection system according to claim 1, characterized in that: The single board detection system also 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; A signal conditioning component is connected to the signal source excitation component and the adapter plug-in box, and is 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 in response to the test excitation signal, and determine a test result of the tested plug-in based on the electrical interface status and the communication interface status.
6. The single board detection system according to claim 5, characterized in that: The single board detection system also 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 is configured to receive a preset test signal sent by the main control component and output a test power signal with adjustable voltage 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 an operating voltage for the signal conditioning component and power the main control component.
7. The single board detection system according to claim 1, characterized in that: The single board detection system also includes: The electronic load component is connected to the adapter plug-in 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 sent by the main control component.
8. The single board detection system according to claim 1, characterized in that: The single board detection system also 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 result of the tested plug-in; The main control component is further configured to output a preset test signal or test information based on the user input information.
9. The single board detection system according to claim 1, characterized in that: The single board detection system also includes: The communication component is connected to the main control component and the adapter plug-in box and is configured to establish a communication environment that meets current test requirements.
10. A single board detection method, characterized in that: The single board detection system according to any one of claims 1 to 9 includes a main control component and an adapter plug-in box, the adapter plug-in box is provided with at least one first slot and at least one second slot, the first slot is used to connect the tested plug-in, and the second slot is used to connect the test plug-in, and the single board detection method includes: When the plug-in under test is a first type of plug-in, the main control component sends test information corresponding to the plug-in under test to the accompanying test plug-in, and determines a test result of the plug-in under test based on the test data; when the plug-in under test is a second type of 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 configuration parameters corresponding to the test information are loaded by the accompanying test plug-in, so as to disguise itself as the target interaction plug-in of the plug-in under test, interact with the plug-in under test, and collect the test data during the interaction process.
Citation Information
Patent Citations
EM2000 microcomputer plugin detection device
CN109857091A
Board card testing device, system and method
CN113281639A
Board card testing method and device, computer equipment and storage medium
CN118033369A
Chip testing apparatus and chip testing method
WO2021189322A1
Cited By
Computer plug-in testing method and device, medium and program product
CN121901041A
A computer plug-in testing method, device, medium and program product
CN121901041B