Test system for testing multiple DUTs
Through parallel coupling of test subsystem and CAN network, combined with dial switch technology, the existing test system cannot meet the problem that multi-machine parallel and environmental synchronous testing is achieved, and an efficient and low-cost test system is realized to adapt to complex scenarios and high sampling rate demand.
Patent Information
- Application Number
- CN202210010573.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-05
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2042-01-05
AI Technical Summary
The existing testing systems cannot meet the needs of multi-machine parallel testing, environmental synchronous testing and continuous monitoring. They have problems such as resource multiplexing, complex address allocation, high cost and large size, and cannot adapt to the testing requirements of complex scenarios and high sampling rate.
A test system was designed, through parallel coupled test subsystem and upper computer, using controller local area network (CAN) and dial switch technology to realize independent address allocation and efficient communication of multiple devices under test, and using analog switch instead. Mechanical switching enables independent sampling and high-speed data transmission.
It realizes the support of multi-machine parallel testing, reduces space usage and cost, improves testing efficiency, and can conduct continuous monitoring and functional testing in the environment defined by the ISO standard, meeting high sampling rate and multi-I/O requirements.
Smart Images

Figure CN114374631B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a test system for testing a plurality of devices under test. Background Art
[0002] With the development of technology, there are more and more electronic components on various electronic devices, and the integration is getting higher and higher, which makes the complexity of electronic devices continue to increase. The reliability of these electronic components is very important, which directly determines the safety and operational reliability of electronic devices and even the entire system (such as vehicles, machines, equipment, etc. that use electronic devices). Various harsh environmental conditions (for example, during transportation, storage, work, climate, etc.) and other external conditions are testing the reliability of electronic devices.
[0003] According to relevant research, in the field of electronic equipment product testing, most failures are caused by fatigue. All suppliers hope to accelerate the simulation of the entire life cycle of the product under climate / electrical load pressure through laboratory testing, discover product defects in advance, and ensure the reliability of the product within the design life. The simulated life test is an accelerated test based on field data to simulate actual use, which is used to reduce the time required to test the reliability of electronic components. Among them, the International Organization for Standardization (ISO) has mature testing standards. Based on mathematical models, various relevant test parameters can be determined for testing to shorten the time and cost of verification. Usually, laboratory tests are used to accelerate the simulation of the climate / electrical load pressure of the product throughout its life cycle, discover product defects in advance, and ensure the reliability of the product within the design life.
[0004] For example, taking the electronic equipment of a vehicle as an example, according to the general provisions of the ISO_16750-1CN standard: In addition to the environmental load, the electronic equipment products used in the vehicle are also subject to the load generated by their own functions, which is referred to as the functional load below. Life tests usually simulate the combination of functional loads and related environmental loads that exist at the same time. The purpose of life tests is usually to: 1. Determine that the electronic equipment products comply with regulations; 2. Discover potential design defects. Usually, actual time life tests or accelerated life tests (increasing loads) are used to combine functional loads with more environmental load tests to discover design defects. Usually, only a small number of devices under test (DUT) can meet the requirements. This situation was more common in the past. However, the number of DUTs is too small to be statistically correct in describing reliability.
[0005] With the development of technology, most test plans for the test indicators of the Body Control Module (BCM) require more data at a faster sampling rate. It is expected that the communication sampling rate of all input / output (I / O) of all DUTs is <250ms, and when a product failure is detected, it is necessary to record a snapshot of all product I / O status and fault codes. At present, some companies generally adopt a monitoring method called time-division multiplexing, which is a method of switching to each test product one by one through relays and collecting the required data from the evaluated product. Because time-division multiplexing uses mechanical switching components, there are bound to be problems such as slow test speed, large size, and high cost. Such a method can meet the needs of some low-demand test occasions (such as parameter testing on the production line), but for continuous testing and multi-sample, multi-I / O high-power testing requirements, the current solution cannot meet the requirements in terms of speed, cost, space, development cycle, and reliability at the same time. For the continuous monitoring and testing requirements of BCM products defined in the ISO standard, it is obvious that the previous generation of test systems can no longer meet the current customer needs.
[0006] The existing technologies that have been published so far only consider isolated product performance testing, and have not yet involved systematic testing methods, especially the design of test systems for ISO standards. Although some of the existing technologies use multi-machine testing, they are essentially based on switching tests of a single product. If they are applied to continuous environmental testing that complies with ISO standards, they have the following defects:
[0007] 1. Due to the reuse of resources between test modules, multiple samples cannot work simultaneously during the test, and the samples or I / O must be powered off during the test. However, the standard requires continuous operation, that is, power cannot be off at any time.
[0008] 2. Some existing test methods for multi-machine testing require the DUT software to support address allocation, but the addresses of general diagnosis are the same. This method requires customized product software, which is not applicable to general BCM testing.
[0009] 3. The existing technology is designed based on the external expansion of the host computer test board resources. Direct application to multi-machine testing will have defects such as high cost, large size, and complex construction.
[0010] 4. In the prior art, when samples share a test system and implement multi-machine testing through switching, it is impossible to verify the environmental testing requirements of continuous I / O operation of multiple samples in parallel.
[0011] 5. Using a host computer to connect the switching current cannot take into account the functional test in the multi-machine test, because the functional test requires a large number of boards and the wiring is complicated. When a single board expansion using a host computer is applied to the test of multi-machine BCM, the number of boards will increase due to the increase in the number of IOs, and the connection of the wiring harness is complicated and costly. If it is applied to multi-machine testing, the installation will be affected by the limitations of volume and cost. Summary of the invention
[0012] Technical problem to be solved by the invention
[0013] The present invention is completed in view of the above situation, and its purpose is to provide a test system for testing multiple devices under test, which can adapt to various complex scenarios, can realize multi-machine parallel testing, can form a single system integration, can test multiple parameters, can realize environmental synchronization testing, and can realize continuous monitoring.
[0014] Technical solutions to technical problems
[0015] In one embodiment of the present invention for solving the above-mentioned problem, a test system for testing multiple devices under test is provided, comprising: at least one test subsystem coupled to a host computer in parallel, each of the test subsystems comprising a communication device coupled to the host computer and at least one test device, and configured to be coupled to one of the multiple devices under test, wherein the host computer assigns a different first address to the at least one test subsystem, and wherein in each of the test subsystems, a different second address is assigned to the at least one test device and the device under test.
[0016] According to an embodiment of the present invention, the host computer is configured to allocate the first address to each of the test subsystems based on a unique identifier of a communication device of each of the test subsystems.
[0017] According to one embodiment of the present invention, in each of the test subsystems, the at least one test device occupies a first type of frame, and the device under test occupies a second type of frame different from the first type, and the second address is allocated to the at least one test device and the device under test based on the type of the frame.
[0018] According to an embodiment of the present invention, the first type of frame is one of a standard frame and an extended frame, and the second type of frame is the other of the standard frame and the extended frame.
[0019] According to an embodiment of the present invention, the at least one testing device is connected to the communication device via a dip switch.
[0020] According to an embodiment of the present invention, the at least one test subsystem is coupled to the host computer via a controller area network (CAN), and / or the one device under test is coupled to the corresponding test subsystem via the controller area network.
[0021] Effects of the Invention
[0022] According to the present invention, at least the following effects can be achieved:
[0023] 1. Able to support single bus protocol, and integrate different devices with controller area network (CAN) addresses into a unified communication interface through fixed software and open interfaces;
[0024] 2. It can realize parallel distributed structure, with built-in low-precision sampling resources for independent sampling (not based on matrix switching), and high-precision sampling uses high-speed electronic switches instead of mechanical switching, which occupies a small space (three-dimensional stacking structure). BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to be able to understand the present invention in detail, a more specific description of the present invention briefly summarized above can be obtained by reference to the embodiments, some of which are shown in the accompanying drawings. In order to facilitate understanding, the same reference numerals have been used as much as possible to indicate the same elements common to the various figures. However, it should be noted that the drawings only show typical embodiments of the present invention and therefore should not be considered to limit the scope of the present invention, as the present invention may allow other equivalent embodiments. In the accompanying drawings:
[0026] Figure 1 is a schematic block diagram of a test system according to an embodiment of the present invention.
[0027] Figure 2 is a schematic diagram of the relationship between a test system and a device under test according to an embodiment of the present invention.
[0028] It is contemplated that elements of one embodiment of the invention may be beneficially applied to other embodiments without further recitation. DETAILED DESCRIPTION
[0029] In order to make the purpose, technical scheme and advantages of the present application clearer, the technical scheme of the present application according to some embodiments of the present application will be described in detail below. Obviously, the described embodiments are only part of the embodiments included in the present application, rather than all the embodiments. Based on the embodiments in the present application, all other implementation methods obtained by ordinary technicians in the field without making creative work belong to the scope of protection of the present application.
[0030] Below, specific embodiments of the present invention are described in detail based on the accompanying drawings. The listed drawings are only for simple explanation and are not depicted according to actual size. They do not reflect the actual size of the relevant structures. For ease of understanding, the same reference numerals are used in the drawings to indicate the same elements shared by the drawings. The drawings are not drawn to scale and may be simplified for clarity. Elements and features of one embodiment may be advantageously incorporated into other embodiments without further description.
[0031] In this document, the terms "test", "experiment" and "measurement" are used interchangeably.
[0032] As an example, the test system (TS) 100 for testing multiple devices under test (DUT) according to the present invention may include at least one test subsystem 110, and the at least one test subsystem 110 is coupled to a host computer 120 in parallel. Each test subsystem 110 may include a communication device 111 and at least one test device 112. The communication device 111 may be coupled to the host computer 120. Each test subsystem 110 may be configured to be coupled to one of the multiple devices under test 130. As a non-limiting example, Figure 1 As shown, the test subsystem 110 may include a test device 112 (such as one or more load boards), and a communication device 111. The host computer 120 may be configured to assign a first address (e.g., Figure 1 The addresses CAN1 to CANn are shown).
[0033] Optionally, in each test subsystem 120, at least one test device 112 may occupy a first type of frame (e.g., one of a standard frame and an extended frame), and the device under test 130 may occupy a second type of frame different from the first type (e.g., the other of a standard frame and an extended frame), and a second address may be assigned to at least one test device 112 and the device under test 130 based on the type of the frame.
[0034] Optionally, at least one test device 112 can be connected to the communication device 111 via a dip switch. After powering on, the binary combination can be read as an address, and n input outputs (IO) can be assigned 2 n address.
[0035] Optionally, at least one test subsystem 110 may be coupled to the host computer 120 via a controller area network (CAN). Optionally or additionally, a device under test 130 may be coupled to each test subsystem 110 via a controller area network.
[0036] As an example, the test system involved in the present invention may specifically include: a host computer management system, a CAN communication module, a signal conditioning adapter module, a signal card (including an input card and an output card), a test bench, a load, a product adapter, etc.
[0037] In order to realize the platform test, the applicant has thoroughly studied the characteristics of the test objects. According to their generality, they can be divided into several categories, such as Figure 2 As shown. Due to the large number of IOs, different signal types and test methods, reasonable classification is an important part of the test work. In actual projects, more than 95% of the test items are DI / DO, but some test methods can cover 100% of the test requirements. In order to test these special test items, the applicant also designed a flexible hardware configurable FPGA (Field Programmable Gate Array) to meet different requirements.
[0038] The premise that the DUT can be automatically tested is based on known test methods, that is, regular signals with predictable execution results, and key parameters can be evaluated using logical values. For signals that cannot be evaluated, various test equipment or test instruments can be used for analysis. The test conditions of the test system are different DUT modes, climate, chemistry, vibration and other loads. These conditions are factors that cause the system output to deviate from the range or fail. When a fault alarm occurs, manual intervention is required to switch to the fault location through a high-precision instrument for full parameter analysis. In the applicant's design, taking this situation into account, any channel can be switched to a third-party instrument through an electronic analog switch. It can also cooperate with computer instructions to enable it to run in automatic scanning and single-step mode to achieve diagnosis.
[0039] Before testing, debugging can be performed. Through the manual mode, the characteristics of the DUT output and excitation signal can be analyzed with the help of instruments and tools, and a test method that can be automated is proposed. Therefore, in the automated test system, the applicant's DUT software is a special software developed for testing purposes, including software for diagnosing UDS (Universal Data System) / other protocols and special operating modes. The test can be divided into two parts, one is that the DUT outputs a specific signal to the signal card for collection and calculation, and the other is that the signal card outputs excitation to the DUT for diagnosis.
[0040] There are several ways to load the DUT, such as actual load loading, electronic load loading, and equivalent resistance load loading. This technology can be used to test based on equivalent resistance load. Compared with actual load, equivalent resistance is easy to manufacture and integrate on a large scale. The corresponding load can be defined according to the DDS_01_29 specification requirements and design documents.
[0041] For the simultaneous testing of multiple samples (such as DUT), if multiple host computers are used, there are many limitations in the design. The applicant found that a central plus distributed structure can be adopted: 1. After the bus is merged, the dependence on the host computer can be separated, and most of the tests are completed on the lower computer. The host computer can only be responsible for the test data aggregation and result preservation of different test subsystems; 2. The test subsystems are completely independent, and the unique serial number of the communication tool is used to identify different addresses to avoid the reuse of the communication bus between different test subsystems; 3. Different test devices in the test subsystem reuse the bus, and the software is used to realize the fusion of different interfaces in the test subsystem. It can interact with different test objects through protocol routing, and only one communication interface for diagnosis is left to the outside. Such a design allows the systems to work completely independently of each other to facilitate parallel testing.
[0042] In addition to requiring the host computer software to solve the problem of allocating multi-machine communication addresses, the simultaneous testing of multiple samples also requires solving the problem of CAN network address allocation within a single test subsystem (for example, the test subsystem may include a communication device and at least one test device, wherein the communication device can be coupled to the host computer, and each test subsystem can be configured to be coupled to the DUT). The multi-machine communication address allocation is identified by different CAN device serial numbers. The devices are powered on manually one by one, and the device serial numbers are obtained and recorded in the software configuration table to establish the corresponding relationship between the DUT and the CAN device.
[0043] CAN bus multiplexing can be realized inside the test subsystem, and each CAN is connected in parallel with the lower computer and DUT. The CAN bus in the test subsystem avoids the address allocation process between devices by combining static and dynamic address allocation. When there are two devices, there is no need to allocate addresses because CAN has two types of addresses. The applicant's design uses standard frame and extended frame IDs to stagger each other to ensure that the addresses will not conflict. The addresses of the two are statically allocated, thereby avoiding the process of allocating CAN network addresses.
[0044] When there are multiple devices, the DUT occupies an independent type address (standard frame or extended frame), and other test devices share an independent type address, and they continue to allocate different CAN addresses. At present, most designs allocate CAN network addresses through the cooperation of host computer software and DUT software. This test method increases the workload of the software.
[0045] An exemplary allocation process of the CAN network address of the present invention is as follows: before allocation, the CAN addresses of the two devices are the same in the initialization state; the power supply is controlled by a mechanical switch, one of the devices is powered on first, the address is allocated, and then a different address is allocated to the other device until the allocation is completed. For example, the applicant uses a dip switch to read the address, and after powering on, the binary combination is read as the address. For example, 3 IOs can be allocated 8 addresses. Because the CAN bus is responsible for testing, interfaces such as Ethernet can be used for network synchronization and status monitoring. In theory, the more samples there are, the more testing time such a design will save compared to a centralized design. The actual test speed of six samples is many times the original.
[0046] The present invention can use independent communication cards to distinguish between different systems in multi-machine communication. The test subsystem uses a method such as a dial switch to distinguish different device addresses, so as to realize true multi-machine parallel testing. Each module is grouped according to 64 I / O multiples and has a unique network address, which can cover different sample I / O quantities. Such a design is based on the I / O quantity of most existing BCMs. If the number of single groups is too small, the bus and board will increase. Conversely, if the number of single groups is too large, the wiring will be complicated, the area of a single circuit will be large, and the processing cost will be high. The test time of the present invention will not increase with the increase of the number of I / Os. A single IO is <250ms, and the total time required to complete all tests only takes tens of seconds.
[0047] The applicant adopts a comprehensive solution, using a powerful host computer for data communication and real-time display plus NI's lower computer real-time system plus current card to record data and store in real time. The lower computer can be used for I / O expansion, logic control and parameter acquisition and functional testing. This can solve a large number of I / O functions and high currents, as well as multiple machines and environments to perform dormant current testing synchronously. According to the present invention, through the structural design of using a host computer plus a lower computer expansion board, different technologies can be complemented.
[0048] For the design of voltage measurement module, the signal output by DUT can be configured to be between 0 and 24V. The voltage at the front end of the acquisition is first conditioned by signal and then attenuated by high-precision resistors before entering the emitter follower and then switched by analog switches, so that the voltage range of the measured analog signal input to the AD chip is between 0V and 5V. In addition, the frequency test can be performed by analog switch 128 to 1 before entering signal conditioning and sampling. It can be switched by multi-channel analog switches, and after grouping, it becomes 16-channel AI input. Specifically, 2 groups of 64 channels, that is, 2 groups of 16 pieces of 8-to-1 analog switches are used to become 2 8-channel AIs. This only requires two 8-channel AD chips to achieve simultaneous acquisition of 16 inputs. Regarding the address, the simultaneous control method can be used, which can save the address and a lot of switching time, and the speed of the electronic switch is very fast, so the biggest factor affecting the test speed is not the actual measurement of the voltage, so this design is more reasonable.
[0049] Environmental conditions, sleep current, DI / DO electrical parameters, and other measurement data can be integrated and recorded in TDMS format, which can be displayed in tables and graphs, and viewed in single and multi-channel formats using dedicated software.
[0050] Considering the measurement of external third-party instruments, in addition to the lower computer test, higher-precision measurements can also be performed through third-party instruments. This design can realize the measurement of external third-party instruments, and can be used with multi-channel switching cards to support the development of other platforms, such as NI / vector systems. This not only facilitates development and debugging, but also allows the upper computer to be used for testing without the lower computer.
[0051] Considering the multi-channel CAN / LIN, the cost, wiring, software development and channel configuration required by the external communication tool expansion method can be adopted. The applicant has designed an analog switch that can realize signal multiplexing expansion and can realize the expansion of multi-channel CAN / LIN. Such a design can realize an integrated design in the signal card without configuring channels. The reliability of switching measurement circuits in the board card is relatively high, and the software development and hardware costs are relatively favorable.
[0052] Compared with the prior art, according to one or more embodiments of the present invention, at least the following beneficial effects can be achieved:
[0053] 1. Optimize the communication mode of the system. In the communication structure of the multi-machine parallel test system, the existing technology uses multiple devices, so there are different communication interfaces from different manufacturers (such as host computer input, PXI (PCIeXtensions for Instrumentation: peripheral device interconnect bus), serial port, 485, network, LIN, CAN, etc.), which requires the development of different communication protocols. The present invention adopts a dedicated lower computer test system with a simple structure, and different test interfaces required for testing can be integrated through one system, and the internal communication gateway forwarding can realize a single test interface.
[0054] 2. Optimize the test mode of the system. For the traditional time-division multiplexing method, a single BCM has 130 IOs. If 6 samples are tested in one round, the test needs to be repeated many times. According to the present invention, the parallel distributed architecture of the lower computer can be adopted, and all IOs can be tested at one time, which improves efficiency.
[0055] 3. Realize an integrated solution. The present invention can be solved through an integrated dedicated solution. By integrating all test resources into the system, unnecessary components can be removed, intermediate links can be avoided, and the interaction process and development of different devices can be reduced.
[0056] 4. Optimize the test capacity of the system. The original design required cumbersome channel configuration. Compared with the external communication module, the new design achieves multi-channel expansion through analog switching, which is low-cost and can be solved within a system without complex software configuration.
[0057] 5. Flexible combination can adapt to different DUT test quantities. Each module in the present invention can be grouped in multiples of 128 and assigned a network address, which can cover different sample IO quantities. When adding samples, there is no need to redesign, just modify the configuration software and install the same hardware.
[0058] The optional embodiments of the present application are described in detail above. However, it should be understood that various embodiments and variations can be adopted without departing from the broad spirit and scope of the present application. A person of ordinary skill in the art can make many modifications and changes according to the concept of the present application without creative work. As a non-limiting example, a person skilled in the art may omit one or more of the various parts in the above-mentioned system or structure or add one or more parts to the above-mentioned system or structure, or replace a part or all of the various structures or systems involved in the present embodiment with other parts with the same or similar functions. Therefore, all technical solutions that can be obtained by logical analysis, reasoning or limited experiments based on the concept of the present application on the basis of the prior art should belong to the protection scope determined by the claims of the present application.
Claims
1. A test system for testing a plurality of devices under test, comprising: at least one test subsystem coupled in parallel to the host computer, each of the test subsystems comprising a communication device coupled to the host computer and at least one test device, and configured to be coupled to one of the plurality of devices under test, The host computer assigns a different first address to the at least one test subsystem, and Wherein, in each of the test subsystems, different second addresses are allocated to the at least one test device and the device under test, Wherein, in each of the test subsystems, The at least one test device occupies a first type of frame, and the device under test occupies a second type of frame different from the first type, the first type of frame being one of a standard frame and an extended frame, the second type of frame being the other of the standard frame and the extended frame, and The second address is assigned to the at least one testing device and the device under test based on the type of the frame.
2. The test system according to claim 1, characterized in that: The host computer is configured to allocate the first address to each of the test subsystems based on a unique identifier of a communication device of each of the test subsystems.
3. The test system according to claim 1, characterized in that: The at least one testing device is connected to the communication device via a dip switch.
4. The test system according to claim 1, characterized in that: The at least one test subsystem is coupled to the host computer via a controller area network, and / or the one device under test is coupled to the corresponding test subsystem via the controller area network.
Citation Information
Patent Citations
Multi-machine automatic test system and method for BCM
CN106502236A
A monitoring system and method of a marine power station based on can bus
CN109066999A
Scalable platform for system level testing
CN110232015A
Implementation method of CPCI-based multi-channel CAN bus communication universal module
CN112087358A
CAN equipment management method under VxWorks system
CN112231003A
