Test system

By introducing cascading communication modules into the HIL test system, data sharing and resource integration between multiple test devices are realized, the problem of insufficient resources of a single device is solved, the testing efficiency and flexibility are improved, and complex HIL testing needs are met .

CN222071091UActive Publication Date: 2024-11-26KUNYI ELECTRONICS TECHNOLOGY (SHANGHAI) CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202420832461.4
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-04-19
Publication Date
2024-11-26
Estimated Expiration
2034-04-19

AI Technical Summary

Technical Problem

The existing HIL testing system lacks communication capabilities with other equipment, resulting in insufficient resources and long construction time, reducing testing efficiency.

Method used

A test system is designed in which multiple test devices are connected through cascading communication modules to realize data sharing and resource integration between devices, allowing HIL testing to be completed in conjunction with multiple devices when resources of a single test device are insufficient.

Benefits of technology

Through cascading communication modules, data sharing and resource integration between multiple test devices is achieved, the resource usage limitation of a single test device is broken through, the efficiency and flexibility of HIL testing is improved, and a variety of HIL testing needs can be met.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222071091U_ABST
    Figure CN222071091U_ABST
Patent Text Reader

Abstract

The embodiment of the utility model provides a testing system, and relates to the technical field of testing. The test system is an HIL system and comprises a plurality of test devices, and each test device comprises an industrial personal computer, a cascade communication module and a communication unit; the plurality of cascade communication modules in the plurality of testing devices are cascaded in sequence; in each testing device, the industrial personal computer is connected to the cascade communication module, and the industrial personal computer is connected to the communication unit through the Ethernet; and each testing device is connected to a tested piece through the communication unit. According to the HIL test system provided by the utility model, the test resources in one or more test devices can be selected to complete the HIL test based on the HIL test requirements, and the test devices do not need to be pointedly built again, so that the test efficiency of the HIL test is favorably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of testing, in particular to a testing system. Background Art

[0002] In cars, new energy vehicles and other vehicles, the electronic and electrical architecture of the entire vehicle is becoming more and more complex. The number of electronic control units (ECUs), data bandwidth, and the processing power of CPUs and GPUs have all changed by an order of magnitude compared to before.

[0003] Hardware-in-the-Loop (HIL) testing can verify the functions of various domain controllers, ECUs, CPUs and other controllers in the vehicle in advance to shorten the development cycle of the controllers.

[0004] In the existing HIL test system, the equipment with data storage and processing capabilities (such as real-time machines, or industrial computers, Real-time Parameter Controls, RTPC, or other devices) and I / O cards in the HIL test system are used to perform test tasks to complete the test of the device under test. Generally speaking, the industrial computer and I / O cards in the HIL system are installed in a cabinet, and the industrial computer resources and I / O board resources in the cabinet can be used to test the device under test.

[0005] In the prior art, HIL test equipment is usually built first, and the test is completed independently using the built HIL test equipment; therefore, the HIL test equipment often has the ability to communicate and interact with the host computer and the device under test, but because it only needs to complete the test independently, it often lacks the ability to communicate with other HIL test equipment, which greatly limits the application possibilities of the HIL test equipment.

[0006] For example, as the number and types of DUTs in HIL testing continue to increase, the resources and processing capabilities of a single test device may not be able to meet the HIL test requirements, and the test cannot be completed in this case. Since a single test device lacks the ability to communicate with other test devices, it can only rebuild the HIL device according to the number and type of DUTs for each HIL test, which will undoubtedly increase the HIL build time and reduce test efficiency. Utility Model Content

[0007] The purpose of the utility model is to provide a test system, which includes multiple test devices, and the test devices can be connected through a cascade communication unit to achieve communication. The increase of the communication means establishes a communication bridge between the test devices. Based on the hardware foundation, in a specific instance of using the test system, the test resources in one or more test devices can be selected based on the HIL test requirements to complete the HIL test. That is to say, when the test resources of a single test device cannot meet the HIL test requirements, the utility model can provide a hardware foundation for combining multiple test devices to complete the HIL test.

[0008] To achieve the above-mentioned purpose, the utility model provides a test system, which is a HIL system, comprising: a plurality of test devices, each of which comprises an industrial computer, a cascade communication module and a communication unit; a plurality of cascade communication modules in the plurality of test devices are cascaded in sequence; in each of the test devices, the industrial computer is connected to the cascade communication module, and the industrial computer is connected to the communication unit via Ethernet; each of the test devices is connected to a device under test via the communication unit.

[0009] In one embodiment, the cascade communication module includes: a target memory, and a memory read-write unit for reading and writing the target memory; each of the devices is connected to the memory read-write unit in the corresponding cascade communication module, and the target memory in each cascade communication module is connected to the memory read-write unit.

[0010] In one embodiment, the target memories in the plurality of cascade communication modules are capable of maintaining data synchronization.

[0011] In one embodiment, a communication unit of at least one of the plurality of test devices is provided with an in-vehicle Ethernet channel.

[0012] In one embodiment, a bus channel is provided in the communication unit of at least one of the multiple test devices, and the bus channel includes at least one of the following: a CAN bus channel, a LIN bus channel, a Flexray bus channel, a DSI3 bus channel, a SENT bus channel and a PSI5 bus channel.

[0013] In one embodiment, a transmission channel is provided in the communication unit of at least one of the multiple testing devices, and the transmission channel includes at least one of the following: a digital quantity output channel for outputting digital quantities to the device under test; an analog quantity output channel for outputting analog quantities to the device under test; a digital quantity input channel for receiving digital quantities from the device under test; and an analog quantity input channel for receiving analog quantities from the device under test.

[0014] In one embodiment, the test system further includes: a switch; the communication unit includes a bus card provided with a bus channel, and the bus cards of the test devices are all connected to the switch.

[0015] In one embodiment, the multiple cascade communication modules are cascaded via optical fibers.

[0016] In one embodiment, the test system further includes: a cluster management module, or any of the industrial computers is configured as a cluster management module;

[0017] The cluster management module is communicatively connected with each of the industrial computers.

[0018] In one embodiment, the channel types in the communication units of at least two of the testing devices are different. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 is a schematic diagram of a test system according to an embodiment of the present utility model;

[0020] Figure 2 is a schematic diagram of a test system according to an embodiment of the utility model, wherein the cascade communication module includes a memory read-write unit and a target memory;

[0021] Figure 3 is a schematic diagram of a test system according to an embodiment of the utility model, wherein the communication unit includes an I / O board, a bus board, and an in-vehicle Ethernet board;

[0022] Figure 4 is a schematic diagram of a test system according to an embodiment of the utility model, wherein the test system further comprises: an Ethernet switch;

[0023] Figure 5 It is a schematic diagram of a test device in a test system according to an embodiment of the utility model. DETAILED DESCRIPTION

[0024] The following will be combined with the accompanying drawings to describe the various embodiments of the present invention in detail, so as to more clearly understand the purpose, characteristics and advantages of the present invention. It should be understood that the embodiments shown in the accompanying drawings are not intended to limit the scope of the present invention, but are only intended to illustrate the essential spirit of the technical solution of the present invention.

[0025] In the following description, certain specific details are set forth for the purpose of illustrating various disclosed embodiments to provide a thorough understanding of the various disclosed embodiments. However, those skilled in the relevant art will recognize that the embodiments may be practiced without one or more of these specific details. In other cases, well-known devices, structures, and techniques associated with the present application may not be shown or described in detail to avoid unnecessarily obscuring the description of the embodiments.

[0026] Unless the context requires otherwise, throughout the specification and claims, the word "comprise" and variations such as "include" and "have" should be construed in an open, inclusive sense, ie, should be interpreted as "including, but not limited to."

[0027] References throughout the specification to "one embodiment" or "an embodiment" indicate that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment. Thus, the appearances of "in one embodiment" or "in an embodiment" in various places throughout the specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any manner in one or more embodiments.

[0028] As used in this specification and the appended claims, the singular forms "a", "an", and "the" include plural referents unless the context clearly dictates otherwise. It should be noted that the term "or" is generally employed in its sense including "or / and" unless the context clearly dictates otherwise.

[0029] In the following description, in order to clearly demonstrate the structure and working mode of the utility model, many directional words will be used for description, but the words "front", "back", "left", "right", "outside", "inside", "outward", "inward", "up", "down", etc. should be understood as convenient terms and should not be understood as restrictive terms.

[0030] The present utility model relates to a test system, please refer to Figure 1 The test system includes: multiple test devices 1, each test device 1 includes an industrial computer 11, a cascade communication module 12 and a communication unit 13; multiple cascade communication modules 12 in multiple test devices 1 are cascaded in sequence, and multiple cascade communication modules 12 can be connected through optical fiber communication, but not limited to this, and other connection methods can also be used to achieve communication connection. Among them, a single test device 1 can be a device that can perform HIL testing on the connected DUT 2; Figure 1 The number of the testing devices 1 is only schematically shown in the figure, and this embodiment does not impose any limitation on this, and the number of the testing devices 1 can be configured according to requirements.

[0031] In each test device 1 , the number of the industrial computer 11 may be one or more, and the industrial computer 11 in each test device 1 is connected to the cascade communication module 12 in the test device 1 .

[0032] Among them, the cascade communication module 12 can be in the form of a board plugged into a slot of the industrial computer 11 (for example, a PCIe slot). If the slots in the industrial computer 11 are not enough, the industrial computer 11 can also be connected to an expansion slot, and the cascade communication module 12 is plugged into the expansion slot.

[0033] In the test device 1, the industrial computer 11 is connected to the communication unit 13 via Ethernet. For example, the communication unit 13 is connected to the industrial computer via at least one of a common Ethernet switch, a PCIe-Ethernet conversion chip, etc. The communication unit 13 is connected to the device under test 2. The connection can be a direct connection or an indirect connection, that is, the test device 1 can be connected to the device under test 2 via the communication unit 13. The device under test 2 is, for example, a sensor, a controller, a load, etc.; specifically, when using the test system, only one test device 1 can be connected to the device under test 2 via its communication unit 13, and the remaining test devices 1 are not connected to the device under test 2. Alternatively, multiple test devices 1 can be connected to the same device under test 2 via their communication units 13. Alternatively, multiple test devices 1 can be connected to different devices under test 2 via their communication units 13.

[0034] From the above, the industrial computers in multiple test devices 1 can be connected for communication through cascading multiple cascade communication modules 12, that is, the communication connection between multiple test devices 1 is realized, and data sharing (such as data related to interactive testing) can be achieved between the test devices 1 through the cascaded cascade communication modules, breaking through the usage restrictions of test resources in a single test device 1.

[0035] In a specific example of using the test system, the test resources in one or more test devices 1 can be selected to complete the HIL test based on the HIL test requirements. That is to say, when the test resources of a single test device 1 cannot meet the HIL test requirements, multiple test devices 1 can be combined to complete the HIL test. At this time, each test device 1 can test the device under test 2 connected to other test devices 1 without the need to re-build the test device 1 in a targeted manner, which helps to improve the test efficiency of the HIL test. This application provides a hardware foundation for this possibility.

[0036] In this embodiment, the cascaded multiple communication modules 12 can realize data sharing among multiple testing devices 1 .

[0037] In a specific example, a cascade communication module 12 is used to realize data sharing among multiple test devices 1. For example, multiple cascade communication modules 12 are used to cache the target data generated by all test devices 1 participating in the HIL test during the HIL test, so as to share the target data among multiple test devices 1, that is, multiple cascade communication modules 12 can cache and share the target data of the test.

[0038] The target data mentioned herein refers to any data that needs to be exchanged between the industrial computers 11 in all the test devices 1 participating in the HIL test, and / or between the industrial computers 11 and the communication unit 13 during the HIL test process. The industrial computers 11 that need to exchange target data may belong to the same test device 1 or to different test devices 1; similarly, the industrial computers 11 and the communication units 13 that need to exchange target data may belong to the same test device 1 or to different test devices 1; for example, at least one of the following: data transmitted between the industrial computers 11 and the communication unit 13 in the same test device 1, data transmitted between the industrial computers 11 and the communication unit 13 in different test devices 1, data transmitted between the industrial computers 11 in the same test device 1, and data transmitted between the industrial computers 11 in different test devices 1. Regardless of the type of data, since the present application has established a cascade communication path in hardware, it can be applied to the path for transmission, and is not limited to the above-listed data.

[0039] In one example, multiple cascaded communication modules 12 maintain data synchronization through reflective memory, as follows:

[0040] Reflective memory is an existing shared memory system that enables multiple independent devices to share data. In this embodiment, multiple cascade communication modules can use multiple reflective memory nodes, that is, the cascade communication module can include reflective memory, and the reflective memories of different test devices are cascaded.

[0041] For ease of understanding, the basic working principle of reflective memory is explained below: for each cascade communication module (i.e., reflective memory), it needs to cache new data. After caching the new data, the new data is sent to the next cascade communication module, and each subsequent cascade communication module will also cache the new data and send it to the next cascade communication module until all cascade communication modules have cached the new data, thereby maintaining data synchronization of multiple cascade communication modules; for multiple cascade communication modules connected in a ring, the data that needs to be cached can be transmitted from the current cascade communication module along the ring network for one circle and then stopped, so that all cascade communication modules complete data caching; for multiple cascade communication modules connected in an open loop, the current cascade communication module of the data that needs to be cached will transmit the data along the cascade forward and reverse directions at the same time, and the data will stop transmitting after being transmitted to the first and last two cascade communication modules, so that all cascade communication modules complete data caching.

[0042] For example, the multiple cascade communication modules in this embodiment are similar to the reflective memory module in the patent application with application number CN201820735369.0 and the reflective memory card in the patent application with application number CN201410679949.9. Taking the patent application CN201410679949.9 as an example, multiple computers are connected through reflective memory cards, and the topological connection of multiple reflective memory cards is used to realize real-time sharing and transmission of data between multiple computers. The multiple devices 1 in this embodiment can also realize similar real-time sharing and transmission of data through multiple cascade communication modules.

[0043] In another example, see Figure 2 The cascade communication module 12 includes: a target memory 121 for caching target data for testing, and a memory read-write unit 122 for reading and writing the target memory 121; each device 1 is connected to the memory read-write unit 122 in the corresponding cascade communication module 12, and the target memory 121 in each cascade communication module is connected to the memory read-write unit 122.

[0044] The memory read / write unit 122 can write the received target data into the target memory 121 and send the target data to the memory read / write unit 122 of the cascaded communication module 12 ; the memory read / write unit 122 is also used to read the target data from the target memory 121 .

[0045] That is to say, the memory read-write unit 122 performs data read and write operations on the connected target memory 121. For example, each industrial computer sends a data read or write operation instruction to the memory read-write unit 122, and the memory read-write unit 122 executes the operation instruction to perform data read and write operations on the target memory 121.

[0046] For the target memory 121, the reading and writing of data must be completed through corresponding operation instructions. Therefore, in the prior art, there are several solutions for the relationship between data (such as target data) and the operation instructions for reading and writing the data (such as target data) and the conversion algorithm.

[0047] exist Figure 2 In the embodiment, if a test device needs to share certain data with other test devices, the industrial computer in the test device can write the data to the connected target memory 121 through the memory read-write unit 122, and send the data to the memory read-write unit 122 of other cascaded communication modules 12, thereby ensuring that the target memories 121 of all cascaded communication modules 12 are written with the data, thereby ensuring that the target memories 121 in multiple cascaded communication modules 12 can maintain data synchronization, and other test devices can read at least part of the data required for testing from the target memory 121.

[0048] Among them, the target memory 121 in the multiple cascaded communication modules 12 can maintain data synchronization. The specific method of maintaining data synchronization between the target memories 121 in the multiple cascaded communication modules 12 can refer to the method of maintaining data synchronization between the target memories in the cascaded multiple communication modules in the patent application with application number CN202310273314.8, or the method of maintaining data synchronization between the target memories in the cascaded multiple devices in the patent application with application number CN202311125989.4. This embodiment will not be repeated here.

[0049] In another example, the cascade communication module 12 can also be a module that can implement EtherCAT Ethernet communication. Furthermore, the cascade communication module 12 implements cascading and completes communication through EtherCAT, that is, data sharing is achieved between multiple cascade communication modules 12 through EtherCAT, thereby realizing data sharing between multiple test devices 1.

[0050] In this embodiment, the communication unit 13 in each test device 1 is directly or indirectly connected to the device under test 2. The number of communication units 13 can be one or more. Different types of communication units 13 can be connected to the device under test 2 corresponding to the test device 1 to achieve interaction between the test device 1 and the device under test 2. The communication unit 13 can be connected to the device under test 2 through a communication interface such as EDAC and DB. It should be noted that Figure 3 In the description, only one test device 1 in the test system is taken as an example.

[0051] The communication unit 13 may refer to a circuit, a circuit board, or a device including a circuit board and other assemblies; the communication unit 13 interacts with the industrial computer 11, and may also interact with the device under test 2 directly or via a switching matrix, a wiring harness terminal block, etc.

[0052] The communication unit 13 can only realize the input and / or output functions. In some examples, the transmitted signal can also be processed during the input process, such as signal conversion, fault simulation, information simulation, signal generation, on-off control, etc. It can be seen that as long as the signal interaction between the industrial computer 11 and the device under test 2 can be realized, it can be used as an implementation method of the communication unit 13 regardless of whether other functions are integrated.

[0053] In this embodiment, the communication unit 13 in the testing device 1 may be provided with a plurality of channels.

[0054] In one example, a bus channel is provided in the communication unit of at least one of the test devices, and the bus channel includes at least one of the following: a CAN bus channel, a LIN bus channel, a Flexray bus channel, a DSI3 bus channel, a SENT bus channel, and a PSI5 bus channel;

[0055] In another example, a communication unit of at least one of the test devices is provided with an in-vehicle Ethernet channel; of course, the in-vehicle Ethernet channel can also be understood as a bus channel.

[0056] In another example, a transmission channel is provided in the communication unit of at least one of the test devices, and the transmission channel includes at least one of the following:

[0057] Digital output channel for outputting digital quantity to the device under test;

[0058] Analog output channel for outputting analog quantity to the device under test;

[0059] A digital quantity input channel for receiving digital quantities from the device under test;

[0060] Analog input channel used to receive analog quantity from the device under test.

[0061] The transmission channel can also be described as an I / O channel, which can be understood as a channel that realizes signal interaction based on non-industry standard protocols. In comparison, bus channels, in-vehicle Ethernet channels, etc. are channels that realize signal interaction based on industry standard protocols.

[0062] To implement the above channel, in a specific example, the communication unit may include any one or any combination of the following: an I / O board, a bus board, and an in-vehicle Ethernet board. Figure 3The number and type of the communication units 13 in the test device 1 are only schematically shown, and this embodiment does not impose any restrictions on this. All communication units 13 are connected to the wiring harness terminal block, which is provided with EDAC and DB interfaces so that it can be connected to the device under test 2.

[0063] The I / O board is an I / O resource in the test device 1, for example, it can be a board that supports at least one of the following functions: digital signal input, analog signal input, digital signal output, analog signal output, PWM signal input, PWM signal output, high-side power output and low-side power output. It can further realize the acquisition and output of high-speed signals. In addition, the flexible configuration of board resources can be realized according to the needs. The board accuracy and sampling frequency indicators brought by this technology have reached the industry-leading level. The I / O board is shown as at least one of the following: AD PWM-IN board, DAC board, FIU board, PWM-OUT board, RELAY-IO board, RC board. In addition, the I / O board can also be at least one of the following special boards: current output board, thermocouple board, battery simulator, temperature simulator, motor board, and the signal channels (such as ports) used to interact with the test piece 2 in the above-mentioned I / O board can be understood as the above-mentioned transmission channels (i.e., I / O channels).

[0064] The bus board is based on a bus protocol (such as CAN protocol, LIN protocol, Flexray protocol, DSI3 protocol, PSI5 protocol, etc.), interacting with the device under test 2, and the bus board contains at least one bus channel; for example, the bus board can have at least one of the following or any combination: CAN bus channel, LIN bus channel, Flexray bus channel, DSI3 bus channel, SENT bus channel and PSI5 bus channel. It can be seen that the bus board can be used to implement only one of the protocols to form a board, such as the CAN bus board, the existing DSI3 bus board, and the VCI8 board, or it can implement multiple protocols to form a board, that is, it contains channels of different types of buses.

[0065] In one example, the bus board also includes: an on-board Ethernet channel, that is, the bus board is integrated with the on-board Ethernet channel, so that each test device can be connected to the same Ethernet through the on-board Ethernet channel in the bus board to achieve data interaction between the test devices.

[0066] In one example, the vehicle Ethernet channel and other bus channels may also be arranged on different boards.

[0067] In one embodiment, the test system also includes: a switch, and the communication unit 13 of the test device includes: a bus board with a bus channel, and the bus board of the test device is connected to the switch, that is to say, data can be exchanged between the test devices 1 through the switch; for example, a processing module is provided in the bus board (for example, based on FPGA, ARM and other modules), and the processing module is connected to each channel in the bus board through a corresponding interface or interface chip, for example, the processing module is connected to the vehicle-mounted Ethernet channel through a vehicle-mounted Ethernet chip; at the same time, the processing module is also connected to the Ethernet switch in the test system through an ordinary Ethernet chip, so that data can be exchanged between the test devices 1 through the Ethernet switch.

[0068] The vehicle Ethernet board can also be regarded as a bus. The vehicle Ethernet channel can also be integrated in the bus board. The vehicle Ethernet board can realize the conversion between the vehicle Ethernet and the ordinary Ethernet. The vehicle Ethernet board interacts with the device under test 2 based on the vehicle Ethernet protocol.

[0069] Among them, both the I / O board and the vehicle Ethernet board can interact with the industrial computer 11 in the same test device 1 through Ethernet. If the bus board includes a vehicle Ethernet channel, the bus board can also interact with the industrial computer 11 in the same test device 1 through the vehicle Ethernet channel. For example, the I / O board communicates with the industrial computer 11 through the EtherCAT network, and the bus board communicates with the industrial computer 11 through the EtherNet network.

[0070] In an example of using the test system, if the industrial computer 11 in a test device 1 needs to share data with the communication unit 13 in other test devices 1, for example, the industrial computer RTPC_Q in the test device A needs to communicate with the communication unit _P in the test device B, taking the industrial computer RTPC_Q sharing data X to the communication unit _P as an example, the industrial computer RTPC_Q in the test device A can share the data X to the industrial computer RTPC_K in the test device B through the connected cascade communication module 12, and the industrial computer RTPC_K then sends the data X to the communication unit _P through the internal Ethernet, and exchanges data X (or other data X' obtained by the communication unit _P based on X) with the device under test 2 through the communication unit _P. At this time, no matter which test device 1's communication unit 13 the device under test 2 is connected to, any test device 1 can interact with it based on the cascade communication module 12, and the industrial computer 11 of any test device 1 can use the communication unit 13 of other test devices 1 to interact with the device under test 2, breaking through the limitations of the internal communication units and channel resources of the test device 1 (such as limitations on quantity and / or types). No matter what the requirements of the HIL test are, they can be met by selecting appropriate industrial computers 11 and communication units 13.

[0071] In addition, generally speaking, for a test device, only one DUT can be connected at the same time, and thus, the entire system can only run one test at the same time. Since the test devices are cascaded, the various testing possibilities can be easily expanded. For example, different test devices can be connected to different DUTs, and the test for each DUT can be implemented by the industrial computer in any one or more test devices. Therefore, the DUT that can be tested by the entire test system at the same time is no longer limited to one. In other words, it provides a hardware foundation for the same test system to implement multiple HIL tests in parallel.

[0072] It can be seen that when multiple test devices are cascaded, the industrial computer of each test device can share data with any communication unit in any test device through the cascade communication module or the industrial computer in other test devices. Therefore, a hardware foundation is provided for various testing possibilities, including but not limited to: 1) The device under test is connected to one test device, and the industrial computers of multiple test devices jointly test the device under test; 2) Multiple devices under test are connected to one test device, and the industrial computer of one test device simultaneously tests two devices under test; 3) One device under test is connected to multiple test devices respectively, and any one or more industrial computers (which can be in the same test device or in different test devices) test the device under test; 4) The industrial computer of one test device tests the device under test connected to another test device; 5) The industrial computer of one test device tests the device under test connected to the test device.

[0073] In an example of using the test system, during the HIL test process, multiple test devices can be used simultaneously to complete the test of the device under test. For example, N1 communication units T1 are required in the HIL test to complete the test of the device under test 2, the test device C includes N2 communication units T1, N2<N1, and the test device D includes N3 communication units T1, N2+N3≥N1, so that the test device C and the test device D can be used together to complete the HIL test of the device under test 2, that is, when the number of communication units in a single test device is insufficient, multiple test devices can be combined to complete the test of the device under test; for another example, multiple types of communication units are required in the HIL test to complete the test of the device under test 2, the test device E includes some types of communication units, and the test device F includes other types of communication units, so that the test device E and the test device F can be used together to complete the HIL test of the device under test 2, that is, under the condition that the channel types in the communication units of at least two test devices are different, if the types of communication units in a single test device are insufficient to complete the test, multiple test devices can be combined to complete the test of the device under test 2.

[0074] Please refer to Figures 1 to 3The test system further includes: a cluster management module 3 (such as a server, which is used as an example in the figure), or any industrial computer 11 is configured as a cluster management module.

[0075] The cluster management module 3 is in communication connection with the industrial control computer 11 in each test device 1 .

[0076] The cluster management module 3 is used to manage and configure the industrial computer resources and I / O resources in each test device 1. For example, the cluster management module 3 is connected to the industrial computer in each test device through Ethernet to obtain various information of the industrial computer and the communication unit, and can also send various information to the industrial computer and / or communication unit in each test device through Ethernet.

[0077] In addition, the test system further includes: a host computer 4, which is connected to the industrial computer 11 in each test device. The host computer 4 can be connected to the industrial computer 11 in each test device through a network, such as Ethernet; the host computer 4 is used to configure the test cases, test models and other data of each industrial computer 11, and the host computer 4 can send the configured test data to the industrial computer 11, so that the industrial computer 11 can complete the corresponding HIL test.

[0078] For an example, see Figure 4 The test system also includes an Ethernet switch 5, and the cluster management module 3 and the host computer 4 are connected to the Ethernet switch 5 via Ethernet; the industrial computer 11 in each test device 1 is connected to the Ethernet switch 5 via Ethernet. For example, the industrial computer 11 in the test device 1 includes a circuit mainboard (such as a common computer mainboard using Intel or AMD processors), and the circuit mainboard is provided with an Ethernet network card, and the circuit mainboard can also be connected to the Ethernet network card of the peripheral device; for example, the circuit mainboard of the industrial computer 11 includes two Ethernet modules, namely Ethernet module Y1 and Ethernet module Y2, Ethernet module Y1 is connected to the Ethernet switch 5, and Ethernet module Y2 is connected to a part of the communication unit 13, such as a bus board or an in-vehicle Ethernet board, and this part of the communication unit 13 is connected to the device under test 2. It should be noted that Figure 4 The number of the testing devices 1 is only schematically shown in the figure, and the present application does not impose any limitation on this.

[0079] The test device also includes a backplane 14, and some communication units 13 (such as I / O boards) can be plugged into the backplane 14, and the backplane 14 can realize power supply and communication in a unified manner. For example, the backplane 14 can be connected to the industrial computer 11 via EtherCAT communication, thereby realizing EtherCAT communication between each communication unit 13 and the industrial computer 11.

[0080] The host computer 4 can be connected to the Ethernet switch 5 through the Internet (4G, 5G, WIFI, etc.), and finally realize communication with the cluster management module 3 and / or the industrial computer 11.

[0081] That is, the Ethernet switch 5 is used to realize the communication connection between the cluster management module 3 and the host computer 4 , between the cluster management module 3 and each industrial computer 11 , between the host computer 4 and each industrial computer 11 , and between the industrial computers 11 .

[0082] In addition, each test device may be provided with a power supply 6, which can convert the external 220V AC power (or other external power supply) into the required power supply, for example, it can be converted into 3.5V, 5V, 12V power supply, and supplied to the industrial computer 11 to power the corresponding circuits of the industrial computer 11. At the same time, if the communication unit 13 requires 24V power supply, the power supply 6 can only provide 3.5V, 5V, 12V power supply. At this time, a power conversion module (for example, a power conversion board) can be connected between the power supply 6 and the backplane 14. The power conversion module can increase the 12V power supply to 24V, and then supply it to the backplane 14. The backplane 14 then provides power to the communication unit 13.

[0083] The back panel 14 is also provided with connectors such as EDAC and DB interfaces to connect to the device under test 2 through the connectors.

[0084] For example, Figure 4 Each bus board in the system is also connected to the Ethernet switch 5, and the test devices 1 can also exchange data through the Ethernet switch 5. It should be noted that the test system can also include two Ethernet switches, each bus board is connected to one of the Ethernet switches, and the cluster management module 3, the host computer 4 and the industrial computer 11 are connected to the other Ethernet switch; however, it is not limited to this, and each bus board may not be connected to the Ethernet switch.

[0085] The test device in this embodiment can be, for example, a host chassis, and the test system includes a large cabinet, in which several test devices, as well as servers, switches, etc. are detachably installed; however, it is not limited to this, and the test device and server can also be installed in different large cabinets respectively, or the test device, server, switch, etc. can be installed according to the configuration in the large cabinet.

[0086] like Figure 5As shown, a desktop-level test device is provided, wherein the circuit board of the industrial computer is installed in the chassis, and some interfaces in the front interface area of ​​the test device can be set on the circuit board of the industrial computer, such as USB interface, Ethernet interface, HDMI interface, DVI interface, VGA interface, PS interface, AUDIO interface, RS232 interface, RJ45 interface, RS485 interface, etc., at least one, and the number of interfaces of various types can be configured as needed. In addition, the optical fiber interface for cascading between cascade communication modules used to realize the connection of the test device can also be designed in the front interface area; for example, the number of optical fiber interfaces is two, each cascade communication module is connected to two optical fiber interfaces, and one of the two optical fiber interfaces is connected to the cascade communication module of the upper level, and the other optical fiber interface is connected to the cascade communication module of the lower level.

[0087] The communication unit can be inserted into the chassis of the test device in a blade style, and some or all of the communication units can be accessed from the front of the chassis. Various boards in the communication unit (such as bus boards, I / O boards, etc.) are provided with board operating parts on the sides, and the board operating parts are exposed to the outside. Then, the board can be pulled out by holding the board operating part, or the board can be pushed in by holding the board operating part, and then it can be inserted into the backplane.

[0088] In the existing desktop HIL devices, the circuit mainboard of the industrial computer is installed on the cabinet in a blade-type manner. For the cabinet installed in the blade-type manner, it is necessary to specially design the structure for mounting the circuit mainboard in the cabinet according to the characteristics of the circuit mainboard; however, the mainboard selected for the industrial computer may change, and it is often necessary to redesign the structure for mounting the circuit mainboard, and the design structure takes time. Often, when the design is completed, the mainboard has to be replaced with the latest model; in the present application, the circuit mainboard of the industrial computer can be installed in the cabinet, and even if the circuit mainboard of the selected industrial computer changes, there is no need to adjust the structure in the cabinet.

[0089] The target memory 121 in this specification can be a built-in or external device, chip, circuit, device containing a device, chip, circuit, etc., which can be used as an example of the target memory 121. In addition, the test device 1 can only be externally or internally connected to one kind of memory, namely, the target memory 121. Multiple memories can be set in the test device 1, and the target memory 121 can be one of them. At the same time, the target memory 121 can also be understood as a memory for sharing data between the test devices 1. The target memory 121 can be a memory (such as DDR) or a cluster of multiple memories.

[0090] Preferred embodiments of the present invention have been described in detail above, but it should be understood that aspects of the embodiments can be modified, if necessary, to employ aspects, features and concepts of the various patents, applications and publications to provide further embodiments.

[0091] These and other changes can be made to the embodiments in light of the above detailed description.In general, in the claims, the terms used should not be considered limited to the specific embodiments disclosed in the specification and the claims, but should be construed to include all possible embodiments along with the full scope of equivalents to which these claims are entitled.

Claims

1. A testing system, characterized in that: The test system is a HIL system, comprising: a plurality of test devices, each of which comprises an industrial computer, a cascade communication module and a communication unit; a plurality of cascade communication modules in the plurality of test devices are cascaded in sequence; In each of the test devices, the industrial computer is connected to the cascade communication module, and the industrial computer is connected to the communication unit via Ethernet; each of the test devices is connected to the device under test via the communication unit.

2. The test system according to claim 1, characterized in that: The cascade communication module includes: a target memory, and a memory read-write unit for reading and writing the target memory; each of the devices is connected to the memory read-write unit in the corresponding cascade communication module, and the target memory in each cascade communication module is connected to the memory read-write unit.

3. The test system according to claim 2, characterized in that: The target memories in the plurality of cascade communication modules are capable of maintaining data synchronization.

4. The test system according to claim 1, characterized in that: A vehicle-mounted Ethernet channel is provided in a communication unit of at least one of the multiple testing devices.

5. The test system according to claim 1, characterized in that: A bus channel is provided in the communication unit of at least one of the multiple test devices, and the bus channel includes at least one of the following: a CAN bus channel, a LIN bus channel, a Flexray bus channel, a DSI3 bus channel, a SENT bus channel and a PSI5 bus channel.

6. The test system according to claim 1, characterized in that: A transmission channel is provided in a communication unit of at least one of the plurality of test devices, and the transmission channel includes at least one of the following: A digital quantity output channel for outputting digital quantities to the device under test; An analog output channel for outputting analog quantities to the device under test; A digital quantity input channel for receiving digital quantities from the device under test; An analog quantity input channel for receiving analog quantities from the device under test.

7. The test system according to claim 1, characterized in that: The test system further comprises: a switch; the communication unit comprises a bus card provided with a bus channel, and the bus cards of the test devices are all connected to the switch.

8. The test system according to claim 1, characterized in that: The multiple cascade communication modules are cascaded via optical fibers.

9. The test system according to claim 1, characterized in that: The test system further includes: a cluster management module, or any of the industrial computers is configured as a cluster management module; The cluster management module is communicatively connected with each of the industrial computers.

10. The test system according to claim 1, characterized in that: The channel types in the communication units of at least two of the testing devices are different.

Citation Information

Cited By

  • Test system and method suitable for multi-configuration door lock

    CN120948026A

  • Test system and method for multi-configuration vehicle door lock

    CN120948026B