CN111026072B - Test system and method for control equipment - Google Patents

Test system and method for control equipment Download PDF

Info

Publication number
CN111026072B
CN111026072B CN201811177320.9A CN201811177320A CN111026072B CN 111026072 B CN111026072 B CN 111026072B CN 201811177320 A CN201811177320 A CN 201811177320A CN 111026072 B CN111026072 B CN 111026072B
Authority
CN
China
Prior art keywords
data
test
control device
response data
conditioner
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811177320.9A
Other languages
Chinese (zh)
Other versions
CN111026072A (en
Inventor
李宁
蒋明睿
徐绍龙
王雨
余昌瑾
王兴安
刘鹏翔
费巧玲
黄文静
贺晓梅
段静
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuzhou CRRC Times Electric Co Ltd
Original Assignee
Zhuzhou CRRC Times Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuzhou CRRC Times Electric Co Ltd filed Critical Zhuzhou CRRC Times Electric Co Ltd
Priority to CN201811177320.9A priority Critical patent/CN111026072B/en
Publication of CN111026072A publication Critical patent/CN111026072A/en
Application granted granted Critical
Publication of CN111026072B publication Critical patent/CN111026072B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0218Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults
    • G05B23/0256Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults injecting test signals and analyzing monitored process response, e.g. injecting the test signal while interrupting the normal operation of the monitored system; superimposing the test signal onto a control signal during normal operation of the monitored system
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

The invention provides a test system for control equipment, a test object of the test system comprises a first control device and a second control device, and the test system comprises: the test manager is used for generating excitation data required by the test and obtaining a test execution result according to the received response data and the abnormal feedback data; a conditioner in communication with the test manager, the first control device, and the second control device; a distribution and synchronizer in communication with the conditioner, the first control device, and the second control device; a comparator in communication with the test manager and the conditioner. The first control device and the second control device are simultaneously placed in a test system, the same signal is injected, the feedback signals of the two devices are collected for real-time comparison, when the feedback signals of the two devices are different, a problem alarm is triggered, process data is recorded, and the reason of the problem is analyzed and solved.

Description

Test system and method for control equipment
Technical Field
The invention relates to the field of automatic testing, in particular to a testing system and a testing method for control equipment.
Background
The rail transit vehicles at home and abroad are developed for years, and at present, a plurality of systems are involved on vehicles such as locomotives, motor cars, subways and the like, have specific functions and performances, and provide guarantee for the driving safety of the rail transit vehicles. At present, the updating iteration speed of products is very high, and how to ensure the consistency of the functions and the performances of new products and original products after iteration is a great problem.
At present, a common scheme for testing control equipment on a rail transit vehicle is to develop the control equipment according to the requirements of the system, and then test the control equipment according to the requirements to determine whether the system meets the requirements. However, this method can only ensure that the embedded system to be tested meets the requirements, and it is difficult to ensure that the functions and performances of the new product after iteration are completely consistent with those of the original product, which relates to the time sequence of the signal with high time precision requirement, and the millisecond time error may have a large influence, and the current testing method is difficult to find the slight difference between the two devices.
Accordingly, the present invention provides a test system and method for controlling a device.
Disclosure of Invention
In order to solve the above problem, the present invention provides a test system for a control device, a test object of the test system including a first control device and a second control device, the system including:
the test manager is used for generating excitation data required by a test and obtaining a test execution result according to received response data and abnormal feedback data, wherein the response data comprises first response data output by the first control equipment and second response data output by the second control equipment;
a conditioner in communication with the test manager, the first control device, and the second control device, receiving the stimulus data, the first response data, and the second response data, for converting a data transmission format between the first control device and the second control device and the test manager;
the distribution and synchronization device is communicated with the conditioner, the first control device and the second control device, and is used for performing an equipartition operation on the excitation data which is transmitted by the conditioner and is subjected to data transmission format conversion to obtain a first excitation signal and a second excitation signal, and transmitting the first excitation signal and the second excitation signal to the first control device and the second control device respectively, wherein the data format, the time sequence and the data size of the first excitation signal and the data format and the time sequence and the data size of the second excitation signal are the same;
and the comparator is communicated with the test manager and the conditioner and is used for comparing the first response data and the second response data which are transmitted by the conditioner and are subjected to data transmission format conversion to generate the abnormal feedback data and transmitting the abnormal feedback data to the test manager.
According to one embodiment of the invention, the test manager comprises:
the upper computer comprises an automatic test module and is used for sequentially analyzing and executing the test scripts according to a preset test sequence, generating the excitation data and obtaining a test execution result according to the received response data and the abnormal feedback data;
the lower computer is communicated with the upper computer, the conditioner and the comparator and is used for receiving and storing the data transmitted by the conditioner and converting the data transmitted by the conditioner into a data transmission format recognized by the upper computer;
according to an embodiment of the present invention, the lower computer includes:
the data preprocessing module is used for converting excitation data transmitted by the upper computer into a data transmission format identified by the conditioner and converting the first response data transmitted by the conditioner, the second response data transmitted by the conditioner and the abnormal feedback data transmitted by the comparator into the data transmission format identified by the upper computer;
and the record storage module is used for recording and storing the excitation data transmitted by the upper computer, the first response data and the second response data transmitted by the conditioner and the abnormal feedback data transmitted by the comparator in real time.
According to one embodiment of the present invention, the record storage module includes:
and the trigger type storage unit is communicated with the comparator, starts storage when any abnormal signal in the abnormal feedback data is received to be effective, and stores data in a first preset time interval before the effective moment of the trigger signal and data in a second preset time interval after the effective moment of the trigger signal.
According to one embodiment of the invention, the conditioner comprises:
a first conditioning module in communication with the test manager for receiving the stimulus signal and converting the stimulus signal into a signal transmission format recognized by the distribution and synchronizer;
and the second conditioning module is communicated with the first control device and the second control device and is used for converting the received first response data and the second response data into a data transmission format recognized by the test manager and transmitting the first response data and the second response data after the data transmission format conversion to the test manager and the comparator.
According to one embodiment of the present invention, the allocation and synchronization processor comprises:
a comparator for comparing the first excitation signal and the second excitation signal in real time, and stopping transmitting data to the first control device and the second control device when the first excitation signal is inconsistent with the second excitation signal.
According to one embodiment of the invention, the comparator comprises:
and a high-speed comparator having a fixed response time, and recording a current failure to the abnormal feedback data when a difference between the first response data and the second response data exceeds the fixed response time.
According to another aspect of the present invention, there is also provided a test method for a control device, a test object including a first control device and a second control device, the method including the steps of:
generating excitation data required by a test through a test manager, and obtaining a test execution result according to received response data and abnormal feedback data, wherein the response data comprises first response data output by the first control equipment and second response data output by the second control equipment;
converting data transmission formats between the first control device and the second control device and the test manager;
performing an equalization operation on excitation data subjected to data transmission format conversion to obtain a first excitation signal and a second excitation signal, and respectively transmitting the first excitation signal and the second excitation signal to the first control device and the second control device, wherein the data format, the time sequence and the data size of the first excitation signal and the second excitation signal are the same;
and comparing the first response data and the second response data after the data transmission format conversion to generate the abnormal feedback data.
According to an embodiment of the present invention, the step of generating, by the test manager, the stimulus data required for the test further includes the steps of:
and analyzing and executing the test script in sequence according to a preset test sequence to generate the excitation data.
According to an embodiment of the present invention, the step of performing an averaging operation on the excitation data after the data transmission format conversion to obtain the first excitation signal and the second excitation signal further includes the following steps:
and comparing the first excitation signal with the second excitation signal in real time, and stopping transmitting data to the first control equipment and the second control equipment when the first excitation signal is inconsistent with the second excitation signal.
The test system for the control equipment provided by the invention has the advantages that the first control equipment and the second control equipment are simultaneously placed in one test system, the same signals are injected into the two control equipment, the feedback signals of the two equipment are acquired for real-time comparison, when the feedback signals of the two equipment are different, the problem alarm is triggered, the process data is recorded, and the problem reason is analyzed and solved. Until the signal feedback of the two devices is completely consistent in the test process. The invention can test whether the first control equipment and the second control equipment meet the requirements or not, and can test whether the function and the performance of the first control equipment are consistent with those of the second control equipment or not; in addition, the distribution and synchronizer adopted by the invention can ensure that excitation signals sent to the first control equipment and the second control equipment are completely consistent, avoid inconsistent response caused by the difference of the excitation signals and reduce problem misinformation; the comparator adopted by the invention can ensure that the data can be accurately diagnosed when the time sequences of the response signals fed back by the first control equipment and the second control equipment are inconsistent.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
FIG. 1 shows an equipment automation test system;
FIG. 2 shows a block diagram of a test system for controlling a device according to one embodiment of the invention;
FIG. 3 further illustrates a detailed block diagram of a test system for controlling a device according to one embodiment of the present invention;
FIG. 4 shows a block diagram of a test system for controlling a device according to another embodiment of the invention; and
fig. 5 shows a flow chart of a test method for a control device according to another embodiment of the invention.
Detailed Description
To make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention are described in detail below with reference to the accompanying drawings.
An embedded control system can be generally divided into four parts: a processor, memory, input output (I/O), and embedded control software. The processor is used for executing the calculation instruction and performing data processing and operation; the memory is used for storing and executing codes and storing other data or files; the input/output (I/O) is used for interfacing with the outside of the embedded control system; the embedded control software generally includes an operating system and application layer software, which are executable codes and run on a processor to implement certain functions.
The black box test automation test system of the embedded control software generally comprises four parts: the system comprises a tested embedded control system, a signal conditioning unit, a lower computer (or a simulator) and an upper computer, which are shown in figure 1.
The tested embedded control system is used for operating the tested embedded control software; the signal conditioning is used for signal conversion, converting output signals (digital quantity, analog quantity, voltage, current, bus and the like) of the tested embedded control system into signals which can be identified by the lower computer/simulator, and converting output excitation data of the lower computer/simulator into input signals (digital quantity, analog quantity, voltage, current, bus and the like) which can be identified by the tested embedded control system; the lower computer is used for data interface and pretreatment, and realizes an external model of the tested embedded control system to meet the external environment of the operation of the tested embedded control software; the upper computer comprises automatic test management software and automatic test execution software, the test management software realizes automatic test engineering management, test script management and task scheduling, the test management software organizes the test scripts into an executable sequence, each test script is sequentially transmitted to the automatic test execution software according to the execution condition, the automatic test execution software analyzes the test scripts after loading the test scripts and executes codes of the test scripts to generate test data, the test data are transmitted to the embedded control system to be tested through the lower computer/simulator and the signal scheduling, the output of the embedded control system to be tested is collected, whether the output meets an expected result is judged, and the execution state of the scripts and the judged result are informed to be fed back to the test management software.
At present, a common scheme is that development is performed according to the requirements of a system, and then testing is performed according to the requirements to determine whether the system meets the requirements. The test scheme is as shown in fig. 1, an automatic test script is executed on an upper computer, test data is converted by a signal conditioning unit and then sent to the embedded control system to be tested, the output of the embedded control system to be tested is collected to the upper computer, and whether the output meets the requirements or not is judged. However, the method can only ensure that the embedded system to be tested meets the requirements, the timing sequence of the signal with higher time precision requirement is involved, the millisecond-level time error can generate larger influence, and the current testing method is difficult to find the slight difference between two devices.
FIG. 2 shows a block diagram of a test system for controlling a device according to one embodiment of the invention. As shown in fig. 2, a test object of the system includes a first control device and a second control device, and the test system includes: a test manager 201, a conditioner 202, a distribution and synchronizer 203, and a comparator 204.
In one embodiment of the present invention, the first control device and the second control device are control devices (such as a network control system, a traction control system, an auxiliary control system, a brake control system, etc.) required to operate on a locomotive, a train, a subway, etc., and for convenience of the subsequent description, an input set of the first control device is defined as IA ═ IA1, IA2.. ian, and an output set is defined as OA ═ OA1, OA2.... oan. An input set of the second control device is defined as IB ═ IB1, IB2.. ibn, and an output set is OB ═ OB1, b2.. obn. It is necessary to test whether the functions and performances of the first control device and the second control device are consistent, so ian and ibn are input signals of the same type and function, two signals of the same function are defined as one input signal pair (ian, ibn), and a set IAB of input signal pairs is defined as { (ia1, ib1), (ia2, ib2). Similarly, oan and obn are output signals of the same type and the same function, and two signals are defined as one output signal pair (oan and obn), and an output signal pair set OAB { (oa1 and ob1), (oa2 and ob2).. so. (oan and obn) }.
The test manager 201 is configured to generate excitation data required for a test, and obtain a test execution result according to the received response data and the abnormal feedback data, where the response data includes first response data output by the first control device and second response data output by the second control device.
The conditioner 202 communicates with the test manager 201, the first control device and the second control device, receives the stimulus data, the first response data and the second response data, and converts data transmission formats between the first control device and the second control device and the test manager 201.
The distribution and synchronization unit 203 is in communication with the conditioner 202, the first control device, and the second control device, and is configured to perform an averaging operation on the excitation data after the data transmission format conversion, which is transmitted by the conditioner 202, to obtain a first excitation signal and a second excitation signal, and transmit the first excitation signal and the second excitation signal to the first control device and the second control device, respectively, where data formats, timing sequences, and data sizes of the first excitation signal and the second excitation signal are the same. According to one embodiment of the present invention, the first driving signal is ian and the second driving signal is ibn.
The comparator 204 is in communication with the test manager 201 and the conditioner 202, and configured to compare the first response data and the second response data after the data transmission format conversion and transmitted by the conditioner 202, generate abnormal feedback data, and transmit the abnormal feedback data to the test manager 201. According to one embodiment of the present invention, the first response data is oan and the second response data is obn.
Fig. 3 further shows a detailed block diagram of the test system for controlling the device according to an embodiment of the present invention. As shown in fig. 3, the test manager 201 includes an upper computer 301 and a lower computer 302. The upper computer 301 includes an automated testing module 3011. The lower computer 302 comprises a data preprocessing module 3021 and a record storage module 3022. The conditioner 202 includes a first conditioning module 303 and a second conditioning module 304.
The upper computer 301 includes an automated testing module 3011, configured to sequentially parse and execute a testing script according to a preset testing sequence, generate excitation data, and obtain a testing execution result according to the received response data and the abnormal feedback data.
In one embodiment, the automatic test module may be an automatic test software, the software implements functions of automatic test engineering management, test script management, and task scheduling, and the automatic test software sequentially parses and executes the automatic test script according to a test sequence to generate test excitation data, and the test excitation data is processed by the lower computer 302, the first conditioning module 303, and the distribution and synchronizer 203 and then synchronously sent to the first control device and the second control device. The upper computer 301 receives the response data and the abnormal feedback data processed by the lower computer 302, and judges the result of the automated test execution according to the corresponding data and the abnormal feedback.
The lower computer 302 is in communication with the upper computer 301, the conditioner 202 and the comparator 204, and is configured to receive and store data transmitted by the conditioner 202, and convert the data transmitted by the conditioner 202 into a data transmission format recognized by the upper computer 301.
The lower computer 302 comprises a data preprocessing module 3021 and a record storage module 3022. The data preprocessing module 3021 is used for data interfacing and preprocessing, and converts the excitation data transmitted by the upper computer 301 into a data transmission format recognized by the conditioner 202, and converts the first response data transmitted by the conditioner 202, the second response data transmitted by the conditioner, and the abnormality feedback data transmitted by the comparator 204 into a data transmission format recognized by the upper computer 301.
The recording storage module 3022 records, in real time, the excitation data sent by the upper computer 301, the response data fed back by the second conditioning module 304, and the abnormal feedback data fed back by the comparator 204. According to one embodiment of the present invention, the recording storage module 3022 includes: and the trigger type storage unit is communicated with the comparator 204, starts storage when any abnormal signal in the abnormal feedback data is received to be effective, and stores data in a first preset time interval before the effective moment of the trigger signal and data in a second preset time interval after the effective moment of the trigger signal. For example, when any one of the abnormal feedback data FS fed back from the comparator 204 is valid, the storage is started, and the data of the time T1 (recommended 5s) before the time when the trigger signal is valid and the data of the time T2 (recommended 5s) after the time when the trigger signal is valid are stored. The stored data includes data storage time, storage reason and data field.
The first conditioning module 303 is in communication with the test manager 201 for receiving the stimulus signal and converting the stimulus signal into a signal transmission format recognized by the assignment and synchronizer 303. According to an embodiment of the present invention, the first conditioning module 303 is configured to convert the excitation data output by the lower computer 302 into input signals (digital quantity, analog quantity, voltage, current, bus data, etc.) that can be recognized by the first control device and the second control device, and then send the converted data to the distribution and synchronization unit 203 for processing.
The second conditioning module 304 is in communication with the first control device and the second control device, and is configured to convert the received first response data and the second response data into a data transmission format recognized by the test manager 201, and transmit the first response data and the second response data after the data transmission format conversion to the test manager 201 and the comparator 204. According to an embodiment of the present invention, the second conditioning module 3042 receives the first response data OA and the second response data OB fed back by the first control apparatus and the second control apparatus and converts them into data OAB that the lower computer 302 and the comparator 204 can recognize.
The distribution and synchronization unit 203 is configured to distribute the excitation signals sent by the first conditioning module 303, and distribute each of the signals into two signals (ian, ibn) with the same format and the same size, which are sent to the first control device and the second control device, respectively. In one embodiment of the present invention, to ensure that the timing of the two signals sent to the first control device and the second control device are identical, the distribution and synchronization unit 303 has integrated therein a comparator for comparing the first excitation signal ian and the second excitation signal ibn in real time, and stops transmitting data to the first control device and the second control device when the first excitation signal does not coincide with the second excitation signal. For example, when signal ian does not equal ibn, the signals to the first control device and the second control device are simultaneously cut off to avoid inconsistencies in the actuation data of the first control device and the second control device.
The comparator 204 receives the data converted by the second conditioning module 304, compares each pair of data (oan, obn) of the OAB in real time, and outputs abnormal feedback data to the lower computer 302 as long as any pair of data is inconsistent.
According to one embodiment of the present invention, the comparator 204 employs a high speed comparator having a fixed response time, and records the current fault to the abnormal feedback data when the difference between the first response data and the second response data exceeds the fixed response time. For example, the comparator is a hardware high speed comparator, the response time is less than 100ns, and the data pair (oan, obn) difference exceeds 100ns to trigger the fault feedback signal. The abnormality feedback data FS includes card (oab) signals, and when fsn is valid, FS { FS1, fs2..... fsn }, indicates that (oan, obn) does not match, an abnormality exists, and when fsn is invalid, indicates that (oan, obn) matches, and no abnormality exists.
Fig. 4 shows a block diagram of a test system for a control device according to another embodiment of the invention. As shown in fig. 4, in the present invention, the comparator 204 may be deleted, and the lower computer 302 completes the function of the comparator 204, and the lower computer 302 receives the response signals sent by the second conditioning module 304 and fed back by the first control device and the second control device, compares each pair of signals, and triggers an abnormal feedback when the signals are inconsistent.
Fig. 5 shows a flow chart of a test method for a control device according to another embodiment of the invention.
After the automated test is started, firstly, in step S501, a new automated test script is parsed, and then, in step S502, excitation data of the current script is generated, and the excitation data is processed by the test manager, the conditioner, the distribution and synchronizer and then synchronously sent to the first control device and the second control device.
Then, in step S503, the abnormal feedback data fed back by the lower computer is received, and the automatic test script detects the abnormal feedback data sent by the lower computer in real time. In step S504, it is determined whether the abnormal feedback data includes a valid signal. If the valid signal is included, step S506 is entered, and the current automated test script is executed and does not pass. If the valid signal is not included, the process proceeds to step S505, and response data fed back by the lower computer is received.
In step S506, it is determined whether or not the result agrees with the desired result. And the automatic test script detects response data fed back by the lower computer, judges whether the response data is consistent with an expected result or not, if the response data is inconsistent with the expected result, the step S506 is carried out, the execution of the current automatic test script is finished, and the current automatic test script does not pass. If the response data is consistent with the expected result, the process proceeds to step S508, and it is determined whether the current script step is executed.
In step S508, it is determined whether the testing step of the current automated testing script is completed, and if the testing step is completed, the process proceeds to step S509, and the current script passes the testing. That is, the current automated test script is executed and passes, if the current automated test script is not executed, the process proceeds to step S502, the current automated test script is executed continuously, and new excitation data is generated until the current automated test script is executed.
After the current automated test script is executed, in step S510, it is determined whether all automated test scripts in the automated test are executed, if so, the automated test is finished, otherwise, the step S501 is returned to, and a new automated test script is executed by parsing.
The first control equipment and the second control equipment are simultaneously placed in a test system, the same signals are injected into the two control equipment, the feedback signals of the two equipment are collected and compared in real time, when the feedback signals of the two equipment are different, a problem alarm is triggered, process data are recorded, and the causes of the problems are analyzed and solved. Until the signal feedbacks of the two systems are completely consistent in the test process. The invention can test whether the first control equipment and the second control equipment meet the requirements or not, and can test whether the functions and the performance of the first control equipment are consistent with those of the second control equipment or not. In addition, the distribution and synchronization device adopted by the invention can ensure that the excitation signals sent to the first control device and the second control device are completely consistent, avoid the inconsistent response of the first control device and the second control device caused by the difference of the excitation signals and reduce the problem of false alarm. Finally, the comparator adopted by the invention can accurately diagnose that the data have deviation and the time precision is less than 100ns when the time sequences of the response signals fed back by the first control equipment and the second control equipment are inconsistent.
It is to be understood that the disclosed embodiments of the invention are not limited to the particular structures, process steps, or materials disclosed herein but are extended to equivalents thereof as would be understood by those ordinarily skilled in the relevant arts. It is also to be understood that the terminology used herein is for the purpose of describing particular embodiments only, and is not intended to be limiting.
Reference in the specification to "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the invention. Thus, the appearances of the phrase "one embodiment" or "an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment.
Although the embodiments of the present invention have been described above, the above description is only for the convenience of understanding the present invention, and is not intended to limit the present invention. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A test system for controlling devices, wherein a test object of the test system comprises a first control device and a second control device, the system comprising:
the test manager is used for generating excitation data required by the test and obtaining a test execution result according to the received response data and the abnormal feedback data, wherein the response data comprises first response data output by the first control equipment and second response data output by the second control equipment;
a conditioner in communication with the test manager, the first control device, and the second control device, receiving the stimulus data, the first response data, and the second response data, for converting a data transmission format between the first control device and the second control device and the test manager;
the distribution and synchronization device is communicated with the conditioner, the first control device and the second control device, and is used for performing an equipartition operation on excitation data which is transmitted by the conditioner and is subjected to data transmission format conversion to obtain a first excitation signal and a second excitation signal, and transmitting the first excitation signal and the second excitation signal to the first control device and the second control device respectively, wherein the data format, the time sequence and the data size of the first excitation signal and the second excitation signal are the same;
and the comparator is communicated with the test manager and the conditioner and is used for comparing the first response data and the second response data which are transmitted by the conditioner and are subjected to data transmission format conversion to generate the abnormal feedback data and transmitting the abnormal feedback data to the test manager.
2. The system of claim 1, wherein the test manager comprises:
the upper computer comprises an automatic test module and is used for sequentially analyzing and executing the test scripts according to a preset test sequence, generating the excitation data and obtaining a test execution result according to the received response data and the abnormal feedback data;
and the lower computer is communicated with the upper computer, the conditioner and the comparator, and is used for receiving and storing the data transmitted by the conditioner and converting the data transmitted by the conditioner into a data transmission format identified by the upper computer.
3. The system of claim 2, wherein the lower computer comprises:
the data preprocessing module is used for converting excitation data transmitted by the upper computer into a data transmission format identified by the conditioner and converting the first response data transmitted by the conditioner, the second response data transmitted by the conditioner and the abnormal feedback data transmitted by the comparator into the data transmission format identified by the upper computer;
and the record storage module is used for recording and storing the excitation data transmitted by the upper computer, the first response data and the second response data transmitted by the conditioner and the abnormal feedback data transmitted by the comparator in real time.
4. The system of claim 3, wherein the record storage module comprises:
and the trigger type storage unit is communicated with the comparator, when any abnormal signal in the abnormal feedback data is received to be effective, the storage is started, and the data in a first preset time interval before the effective moment of the trigger signal and the data in a second preset time interval after the effective moment of the trigger signal are stored, wherein when the abnormal signal is effective, the data pair (oan, obn) is inconsistent, oan represents the first response data, and obn represents the second response data.
5. The system of claim 1, wherein the conditioner comprises:
a first conditioning module in communication with the test manager for receiving the stimulus signal and converting the stimulus signal into a signal transmission format recognized by the distribution and synchronizer;
and the second conditioning module is communicated with the first control device and the second control device and is used for converting the received first response data and the second response data into a data transmission format recognized by the test manager and transmitting the first response data and the second response data after the data transmission format conversion to the test manager and the comparator.
6. The system of claim 1, wherein the allocation and synchronization processor comprises:
a comparator for comparing the first excitation signal and the second excitation signal in real time, and stopping transmitting data to the first control device and the second control device when the first excitation signal is inconsistent with the second excitation signal.
7. The system of claim 1, wherein the comparator comprises:
a high speed comparator having a fixed response time, recording a current fault to the abnormal feedback data when a difference between the first response data and the second response data exceeds the fixed response time.
8. A test method for a control device, wherein a test object includes a first control device and a second control device, the method comprising the steps of:
generating excitation data required by a test through a test manager, and obtaining a test execution result according to received response data and abnormal feedback data, wherein the response data comprises first response data output by the first control equipment and second response data output by the second control equipment;
converting data transmission formats between the first control device and the second control device and the test manager;
the method comprises the steps of carrying out equipartition operation on excitation data subjected to data transmission format conversion to obtain a first excitation signal and a second excitation signal, and respectively transmitting the first excitation signal and the second excitation signal to first control equipment and second control equipment, wherein the data format, the time sequence and the data size of the first excitation signal and the second excitation signal are the same;
and comparing the first response data and the second response data after the data transmission format conversion to generate the abnormal feedback data.
9. The method of claim 8, wherein the step of generating stimulus data required for the test by the test manager further comprises the steps of:
and analyzing and executing the test script in sequence according to a preset test sequence to generate the excitation data.
10. The method of claim 8, wherein the step of averaging the converted driving data to obtain the first driving signal and the second driving signal further comprises the steps of:
and comparing the first excitation signal with the second excitation signal in real time, and stopping transmitting data to the first control equipment and the second control equipment when the first excitation signal is inconsistent with the second excitation signal.
CN201811177320.9A 2018-10-10 2018-10-10 Test system and method for control equipment Active CN111026072B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811177320.9A CN111026072B (en) 2018-10-10 2018-10-10 Test system and method for control equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811177320.9A CN111026072B (en) 2018-10-10 2018-10-10 Test system and method for control equipment

Publications (2)

Publication Number Publication Date
CN111026072A CN111026072A (en) 2020-04-17
CN111026072B true CN111026072B (en) 2022-08-19

Family

ID=70191707

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811177320.9A Active CN111026072B (en) 2018-10-10 2018-10-10 Test system and method for control equipment

Country Status (1)

Country Link
CN (1) CN111026072B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111665822B (en) * 2020-06-09 2023-01-20 湖南中车时代通信信号有限公司 Vehicle-mounted operation control system testing device
CN113064668B (en) * 2021-03-26 2024-03-15 中国航空无线电电子研究所 On-line loading control system for executable file data of embedded platform
CN114662430B (en) * 2021-12-17 2023-07-25 芯华章科技股份有限公司 Regression testing method, equipment and storage medium for design to be tested

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201251709Y (en) * 2008-07-25 2009-06-03 埃泰克汽车电子(芜湖)有限公司 Testing device of vehicle body controller
CN102565563A (en) * 2010-12-29 2012-07-11 上海汽车集团股份有限公司 Automated integration test system and method for automotive electronic and electric appliance system
GB201402393D0 (en) * 2014-02-12 2014-03-26 Ultrasoc Technologies Ltd Monitoring functional testing of an integrated circuit chip
CN205539262U (en) * 2016-03-22 2016-08-31 深圳市德利和能源技术有限公司 Test fixture and testing arrangement of multistation
CN106354120A (en) * 2016-09-27 2017-01-25 株洲中车时代电气股份有限公司 Combined test system of rail transit vehicle control device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201251709Y (en) * 2008-07-25 2009-06-03 埃泰克汽车电子(芜湖)有限公司 Testing device of vehicle body controller
CN102565563A (en) * 2010-12-29 2012-07-11 上海汽车集团股份有限公司 Automated integration test system and method for automotive electronic and electric appliance system
GB201402393D0 (en) * 2014-02-12 2014-03-26 Ultrasoc Technologies Ltd Monitoring functional testing of an integrated circuit chip
CN205539262U (en) * 2016-03-22 2016-08-31 深圳市德利和能源技术有限公司 Test fixture and testing arrangement of multistation
CN106354120A (en) * 2016-09-27 2017-01-25 株洲中车时代电气股份有限公司 Combined test system of rail transit vehicle control device

Also Published As

Publication number Publication date
CN111026072A (en) 2020-04-17

Similar Documents

Publication Publication Date Title
CN109164783B (en) Vehicle diagnosis method, apparatus, device, and medium
CN111026072B (en) Test system and method for control equipment
WO2023125852A1 (en) Remote diagnosis method and apparatus, and electronic device and storage medium
WO2023125851A1 (en) Remote diagnostics method and apparatus, electronic device and storage medium
WO2023125591A1 (en) Remote diagnosis method, apparatus and system, and electronic device and storage medium
CN112631932A (en) Sub-function independent test method of automatic train monitoring system based on interface
CN112051832B (en) Fault testing method, device and system based on simulation node and storage medium
WO2023125590A1 (en) Remote diagnosis method and apparatus, and electronic device and storage medium
CN113485881B (en) Test method and device of temporary speed limiting server, electronic equipment and medium
US20240038002A1 (en) Method and device for remotely diagnosing vehicle faults, vehicle, and computer storage medium
CN113608518A (en) Data generation method, device, terminal equipment and medium
CN111478944B (en) Vehicle-mounted terminal and vehicle CAN protocol adaptation method, device, equipment and medium
CN112987594B (en) Hierarchical control model and method for aviation simulation measurement and control system
CN113325830A (en) Remote diagnosis method for automobile diagnosis instrument
CN108153671B (en) Test system and method for ATML signal-oriented runtime service
CN114896168B (en) Quick debugging system, method and memory for automatic driving algorithm development
CN114488997B (en) ECU (electronic control Unit) refreshing method and device, electronic equipment and storage medium
CN114879633A (en) Diagnostic instrument, fault diagnosis method of electric control system and readable storage medium
CN104925097A (en) Train display communication test system and method
CN113096269B (en) Information acquisition method and device, electronic equipment and storage medium
CN117421153B (en) Automatic testing system and method for railway wagon fault image recognition model
CN115883431B (en) Terminal communication protocol performance test system, method, vehicle and storage medium
CN116118826A (en) General simulation method, system, equipment and medium for train operation scene
CN115497191B (en) Derailment original data polling reporting method and device for running part monitoring system
CN118259650A (en) Vehicle fault snapshot data analysis method, device, equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant