Test system

By introducing a shared memory unit into the HIL test system, the data transmission delay problem caused by Ethernet dependence in the prior art is solved, efficient data sharing between multiple industrial control machines is realized, and the system performance is improved.

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

Patent Information

Application Number
CN202420435258.3
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Priority Date
2023-03-17
Filing Date
2024-03-06
Publication Date
2024-11-29
Estimated Expiration
2034-03-06

AI Technical Summary

Technical Problem

In the existing HIL testing system, communication means rely too much on Ethernet, resulting in data transmission delay problems.

Method used

A shared memory unit was introduced in the HIL system, and data sharing between multiple industrial control machines is realized through shared memory technology, providing another path to data sharing and avoiding Ethernet dependence.

Benefits of technology

It improves the efficiency and accuracy of data sharing, reduces latency, and realizes efficient data interaction between multiple industrial control machines.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222087986U_ABST
    Figure CN222087986U_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 comprises a plurality of devices and a shared memory unit, each device is directly or indirectly connected to the shared memory unit, and at least one of the plurality of devices is an RTPC. According to the utility model, a plurality of devices are integrated in the HIL system, the devices can be RTPCs, and the devices are all connected with the shared memory unit, so that the introduction of the shared memory unit provides another path for data sharing among the devices, and the problem that the communication means excessively depends on the Ethernet is solved.
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) 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, a single industrial computer is used for testing in the HIL system, and data is usually shared between the industrial computer and the I / O card through Ethernet. It can be seen that the communication means of the internal devices of the HIL system (such as industrial computers) are too dependent on Ethernet, which will cause problems such as high data transmission delay. Utility Model Content

[0005] The utility model aims to provide a test system, in which a plurality of devices are integrated in a HIL system. The devices may be industrial computers. Since the devices are all connected to a shared memory unit, the introduction of the shared memory unit provides another path for data sharing between the devices, thereby solving the problem that the communication means are overly dependent on Ethernet.

[0006] To achieve the above objectives, the utility model provides a test system, which is a HIL system, comprising: a plurality of devices and a shared memory unit, each of the devices being directly or indirectly connected to the shared memory unit, and at least one of the plurality of devices being an RTPC.

[0007] In one embodiment, the test system further includes: at least one I / O unit; at least one of the multiple devices is a control module, the control module is communicatively connected to the I / O unit, and the I / O unit is used to directly or indirectly connect to the device under test.

[0008] In one embodiment, the shared memory unit includes: a data storage unit, and a data read / write module for reading and writing the data storage unit, wherein the data read / write module is connected to each of the devices, and the data read / write module is connected to the data storage unit.

[0009] In one embodiment, the data reading and writing module includes: multiple interface units and data reading and writing units; the device corresponds to the interface unit one by one and is communicatively connected, each of the interface units is respectively connected to the data reading and writing unit, and the data reading and writing unit is also connected to the data storage unit.

[0010] In one embodiment, the data reading and writing unit includes: multiple first signal transceivers, and an instruction encoding and decoding logic module, an access arbitration module and a storage controller that are communicatively connected in sequence; the first signal transceivers correspond one-to-one to the interface unit and are communicatively connected, and each of the first signal transceivers is also respectively connected to the instruction encoding and decoding logic module, and the storage controller is also connected to the data storage unit.

[0011] In one embodiment, each of the interface units includes: an interface controller and two second signal transceivers, one of the second signal transceivers is connected between the interface controller and the device corresponding to the interface unit, and the other of the second signal transceiver is connected between the interface controller and the data reading and writing unit.

[0012] In one embodiment, a plurality of decoding units are provided in the instruction encoding and decoding logic module, the first signal transceiver corresponds to and is connected to the decoding units one by one, and the plurality of decoding units are also respectively connected to the access arbitration module.

[0013] In one embodiment, a decoding unit is provided in the instruction encoding and decoding logic module, the multiple first signal transceivers are respectively connected to the decoding units, and the one decoding unit is also connected to the access arbitration module.

[0014] In one embodiment, the test system further comprises: a switching matrix;

[0015] The at least one I / O unit is connected to the device under test through the switch matrix.

[0016] In one embodiment, the RTPC and the control module are arranged in different cabinets;

[0017] The shared memory unit and the RTPC are arranged in the same cabinet, or: the shared memory unit and the control module are arranged in the same cabinet. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0019] Figure 2 is a schematic diagram of a test system according to a first embodiment of the utility model, wherein the shared memory unit comprises: a data storage unit and a data reading and writing module;

[0020] Figure 3 is a schematic diagram of a test system according to a first embodiment of the present utility model being a HIL system;

[0021] Figure 4 It is a schematic diagram of a test system according to the first embodiment of the utility model as a HIL system, the number of control modules is multiple, and each control module is connected to the corresponding I / O unit in a cascade manner;

[0022] Figure 5 It is a schematic diagram of a test system according to the first embodiment of the utility model as a HIL system, the number of control modules is multiple, and each control module is directly connected to each corresponding I / O unit;

[0023] Figure 6 is a schematic diagram of a testing system according to a second embodiment of the present utility model;

[0024] Figure 7 is a schematic diagram of a test system according to a second embodiment of the present utility model being a HIL system;

[0025] Figure 8 It is a schematic diagram of a test system according to the second embodiment of the utility model, wherein the data reading and writing unit includes: at least one first signal transceiver, an instruction encoding and decoding logic module, an access arbitration module and a storage controller, and the shared memory unit includes: an interface controller and two second signal transceivers. DETAILED DESCRIPTION

[0026] 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.

[0027] 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.

[0028] 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."

[0029] 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.

[0030] 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.

[0031] 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.

[0032] The first embodiment of the utility model relates to a test system, please refer to Figure 1 The system includes: a plurality of devices 1 and a shared memory unit 2. Each device 1 is directly or indirectly connected to the shared memory unit 2, and at least one of the plurality of devices 1 is an industrial control computer (RTPC).

[0033] Compared with the prior art of performing HIL testing through a single industrial computer, the test system of the specific example of the present application can be configured with multiple industrial computers, and the multiple industrial computers are connected through a shared memory unit, and shared memory technology is used to achieve data sharing between multiple industrial computers, that is, the shared memory unit is used to cache the target data generated in the HIL test to facilitate data sharing between multiple industrial computers.

[0034] In a specific example, the shared memory unit in this embodiment is similar to the shared memory unit in the patent application with publication number CN113010403A, or the shared memory in the patent application with publication number CN115480934A, or is implemented by the control register, memory space, and bus method in the authorized utility model patent CN217821599U. Furthermore, the method of reading and writing data between each device and the shared memory unit can be implemented in a similar manner, that is, during the test process, each device 1 can read and write the target data of the HIL test in the shared memory unit 2, so as to utilize the shared memory to realize data sharing of the target data between devices.

[0035] The device 1 referred to in this specification may refer to a circuit, a circuit board, a combination of circuit boards, or an overall structure including a circuit board and other structures (such as an assembly and / or a housing, etc.).

[0036] In one embodiment, the shared memory unit is a memory capable of caching target data in the HIL test, and each device 1 can directly read and write data in the memory.

[0037] In another embodiment, please refer to Figure 2 The shared memory unit 2 includes: a data storage unit 21 and a data reading and writing module 22 for reading and writing the data storage unit 21, the data reading and writing module 22 is connected to the data storage unit 21, and each device 1 is directly or indirectly connected to the data reading and writing module 22. Figure 2 In the figure, each device 1 is directly connected to the data reading and writing module 22 as an example; the data storage unit 21 can cache the target data in the HIL test, and the data storage unit 21 can be a single DDR memory or a storage pool including multiple DDR memories. Some or all of the DDR memories can be set in one cabinet, and the DDR memory can also be cross-cabinet, for example, distributed in different cabinets.

[0038] The target data refers to any data that the industrial computer inside the HIL system needs to interact with during the HIL test process, such as at least one of the following: target data transmitted between the industrial computer and the I / O unit, and target data transmitted between industrial computers; and the data content that needs to be shared between devices is not an improvement of the present application.

[0039] That is to say, the data reading and writing module 22 performs data reading and writing operations on the data storage unit 21. For example, each device 1 sends a data reading or writing operation instruction to the data reading and writing module 22, and the data reading and writing module executes the operation instruction to perform data reading and writing operations on the data storage unit 21.

[0040] Figure 2The test system may be a HIL system, in which case the test system further includes: an I / O unit, at least one of the multiple devices 1 being a control module, the control module being a circuit, a circuit board, a combination of circuit boards, or an overall structure including a circuit board and other structures (such as an assembly and / or a housing, etc.). The control module is in communication connection with the I / O unit, and the I / O unit is used to be directly or indirectly connected to the device under test.

[0041] The industrial computer and the control module are arranged in different cabinets; the shared memory unit and the industrial computer are arranged in the same cabinet, or the shared memory unit and the control module are arranged in the same cabinet.

[0042] In this embodiment, the plurality of devices 1 are all connected to the shared memory unit 2, so that the plurality of devices 1 are star-connected through the shared memory unit 2, that is, the industrial computer and the control module are star-connected.

[0043] In one example, the test system further includes: a cluster control module, the cluster controller is used to manage each industrial computer. The cluster control module can be any industrial computer, or another device that is in communication with each industrial computer.

[0044] In addition to the implementation methods mentioned above, the shared memory unit can also be implemented in other ways. For example, in one example, the shared memory unit 2 is used as a standard PCIe device, which can convert the operation instructions for reading and writing target data of multiple devices into high-speed serial signals, and transmit the high-speed serial signals representing the operation instructions to the data read-write module 22 through the high-speed serial bus, and the data read-write module 22 executes the operation instructions to read and write the target data to the data storage unit 21.

[0045] Among them, for the data storage unit, 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. At the same time, the data storage unit is written and read using PCIe media, which is also an existing technology in the prior art. Correspondingly, the relationship between the operation instructions and the PCIe signals and the encoding, decoding and other algorithms can also obtain several solutions from the prior art. This embodiment will not be further expanded on it. Those skilled in the art can also obtain corresponding solutions, such as purchasing corresponding circuits and chips, and realizing corresponding functions after assembly.

[0046] In one example, the data reading and writing module 22 can be implemented using FPGA.

[0047] In one example, the data read-write module 22 can also be implemented using a memory expansion controller MXC. The memory expansion controller MXC is a memory controller that supports the Compute Express Link (CXL) protocol. The memory expansion controller MXC supports and complies with the JEDEC standards for DDR4 and DDR5. It complies with the specifications of CXL2.0 and CXL3.0, and supports the transmission speed of PCIE5.0. The memory expansion controller MXC can achieve high-bandwidth, low-latency communication interconnection between each device 1 and the CXL device, allowing each device 1 to achieve higher data sharing performance through shared memory. Among them, when using the memory expansion controller MXC to implement the data read-write module 22, the memory expansion controller MXC can be customized based on the data sharing method of the star connection between multiple devices 1 in this embodiment. Function and parameter adjustment to better perform data sharing.

[0048] Specifically, the data reading and writing module 22 includes a CXL submodule and a memory connection submodule, and the CXL submodule is provided with an MXC controller and a CXL controller which are interconnected; the memory connection submodule is provided with a memory DDR4 / 5 memory controller and a DDR4 / 5 slot; the CXL controller is connected to the industrial computer 31 and the control module 4 via a PCIE interface; the CXL controller is also connected to the data storage unit 21 via the memory connection submodule; it should be noted that the data reading and writing module 22 also includes: GPIO interface, JTAG interface, clock / reset interface, SPI interface and other peripheral circuits, which are not described one by one here.

[0049] In one example, the above system is a HIL system, please refer to Figure 3 The HIL system includes: the above-mentioned shared memory unit 2, industrial computer pool 3, control module 4 and I / O pool 5. Among them, the industrial computer pool 3 may include at least one industrial computer 31, and the I / O pool 5 may include at least one I / O unit 51. Each industrial computer 31 and I / O unit 51 may be arranged in different cabinets or in the same cabinet. Specifically, the number of industrial computers 31 in the industrial computer pool 3 may be fixed or expandable, and the industrial computers 31 in the industrial computer pool 3 may be arranged in the same cabinet or in different cabinets. The number of I / O units 51 in the I / O pool 5 may be fixed or expandable, and the I / O units 51 in the I / O pool 5 may be arranged in the same cabinet or in different cabinets.

[0050] In one example, the industrial computer pool 3 includes at least one configurable number of industrial computers 31 (in the figure, three industrial computers 31 are set in the industrial computer pool 3 as an example), that is, the number of industrial computers 31 in the industrial computer pool 3 is expandable, and the number can be configured according to demand. Among them, the industrial computers 31 in the industrial computer pool 3 are connected to each other in communication.

[0051] In one example, the I / O pool 5 includes at least one configurable number of I / O units 51 (the figure takes three I / O units 51 as an example), that is, the number of I / O units 51 in the I / O pool 5 is expandable, and the number can be configured according to demand. The I / O units 51 in the I / O pool 5 are connected to each other in communication.

[0052] The control module 4 is connected in communication with the industrial computer 31 in the industrial computer pool 3, and is also connected in communication with each I / O unit 51 in the I / O pool 5. The control module 4 may be a computer including an I / O controller.

[0053] The control module 4 and each I / O unit 51 are connected to the same EtherCAT network, wherein the I / O unit 51 is connected to the control module 4 in a cascade manner and communicates based on EtherCAT, and the use of EtherCAT can basically meet the demand for low latency. In addition, the I / O unit can also be plugged into the control module, for example, connected to the control module through a data bus (such as a PCIe bus) of the control module.

[0054] The industrial computer 31 can be understood as part or all of the real-time simulator RTPC in the HIL system.

[0055] The I / O unit 51 can be understood as an input / output unit.

[0056] Specifically, it can be understood that the I / O unit 51 satisfies at least one of the following:

[0057] Able to input data relative to the device under test 6;

[0058] Capable of outputting data relative to the device under test 6;

[0059] Able to input data relative to the industrial computer 31;

[0060] Able to output data relative to the industrial computer 31;

[0061] The data A input and / or output of the I / O unit 51 relative to the device under test 6 and the data B input and / or output of the I / O unit 51 relative to the industrial computer may be related or unrelated.

[0062] The I / O unit 51 may refer to a circuit, a circuit board, or a device including a circuit board and other assemblies.

[0063] In one example, the I / O unit 51 can interact with the industrial computer via the control module, and can also interact with the device under test (such as a vehicle controller) directly or via a switching matrix.

[0064] The I / O unit 51 may only implement input and / or output functions. In some examples, the transmitted signal may also be processed during the input and / or output process, such as signal conversion, fault simulation, information simulation, signal generation, on / off control, etc. It can be seen that whether or not other functions are integrated can be used as an implementation method of the I / O unit 51.

[0065] The I / O unit 51 may be an I / O board, for example, a board supporting 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. The acquisition and output of high-speed signals can be further realized. In addition, the flexible configuration of board resources can be realized according to the requirements. The board accuracy and sampling frequency indicators brought by this technology have reached the industry-leading level.

[0066] The I / O boards include at least one of the following: AD PWM-IN board, DAC board, FIU board, PWM-OUT board, RELAY-IO board, RC board, PSI5&DSI3&SENT board, multi-bus board (Flexray / CANFD / LIN), Eth (vehicle-mounted Ethernet) board, etc.

[0067] The I / O board may also be, for example, at least one of the following special boards: a current output board, a thermocouple board, a battery simulator, a temperature simulator, a motor board, and an IO_HUB board.

[0068] It should be noted that Figure 3 The number of control modules 4 is taken as an example, but it is not limited thereto. The number of control modules 4 can also be multiple, each control module 4 corresponds to one or more I / O units 51, each I / O unit 51 corresponds to only one control module 4, and each control module 4 is connected to the corresponding I / O unit 51. Each control module 4 and the corresponding I / O unit 51 can be connected in a cascade manner, such as Figure 4 As shown, it is taken as an example that the number of control modules 4 is 2 and each control module 4 corresponds to 3 I / O units 51; or each control module 4 is directly connected to the corresponding I / O units 51, such as Figure 5 As shown, it is taken as an example that the number of control modules 4 is 2 and each control module 4 corresponds to a plurality of I / O units 51 .

[0069] In this embodiment, each I / O unit 51 is directly or indirectly connected to the device under test 6, and the number of the device under test 6 can be one or more. Figures 3 to 5In the example, the direct connection between the I / O unit 51 and the device under test 6 is taken, that is, the device under test 6 is directly connected to the ports of each I / O unit 51 through a connector to realize signal transmission; different I / O units 51 can be connected to different pins of the device under test 6 to transmit different information.

[0070] In another example, a switching matrix may be provided in the HIL system, and the switching matrix is ​​connected between the I / O unit 51 and the device under test 6, that is, each I / O unit 51 is indirectly connected to the corresponding device under test 6 through the switching matrix. The switching matrix may be configured as required, that is, when the switching matrix is ​​provided, the device under test may be more freely connected to the switching matrix, and then the communication connection between the I / O unit 51 and the corresponding device under test 6 may be achieved by simply configuring the switching matrix.

[0071] The multiple devices 1 include: an industrial computer 31 and a control module 4 in the HIL system, that is, each industrial computer 31 and control module 4 is connected to the data reading and writing module 22 of the shared memory unit 2, thereby star-connecting each industrial computer 31 and control module 4 through the shared memory unit 2.

[0072] In this embodiment, a star connection is adopted between multiple devices in the system. Each device can write the target data that needs to be shared into the data storage unit of the shared memory unit, and each device can also read the required target data from the data storage unit. That is, the shared memory technology is used to realize the read and write operations of multiple devices on the same physical storage device (that is, shared memory), which can ensure the data consistency between multiple devices and has the advantages of high sharing efficiency, good accuracy and low latency.

[0073] The second embodiment of the present utility model relates to a test system. The main difference between this embodiment and the first embodiment is that this embodiment provides another implementation method of the data reading and writing module in the shared memory unit.

[0074] Please refer to Figure 6 The data reading and writing module 22 includes: multiple interface units 221 and data reading and writing units 222; multiple devices 1 correspond to multiple interface units 221 one by one, each device 1 is connected to the data reading and writing unit 222 through the corresponding interface unit 221, and the data reading and writing unit 222 is also connected to the data storage unit 21.

[0075] Each device 1 is connected to the corresponding interface unit 221 via PCIe, that is, one end of the interface unit 221 is plugged into the corresponding device 1 via PCIe, and the other end of the interface unit 221 is connected to the data read-write unit 222 via a high-speed serial bus. The interface unit 221 can be directly plugged into the device 1 in the form of a board.

[0076] In this embodiment, the data reading and writing unit 222 is used to read and write target data from the data storage unit 21 .

[0077] Please refer to Figure 7 Taking the system as a HIL system as an example, in which the HIL system includes 4 industrial computers 31 and 3 I / O units 5, the 3 I / O units 51 are cascaded in sequence, the control module 4 is connected to one of the I / O units 51, and the multiple devices include 4 industrial computers 31 and the control module 4.

[0078] Each industrial computer 31 is connected to the corresponding interface unit 221 through PCIe, that is, one end of the interface unit 221 is plugged into the corresponding industrial computer 31 through PCIe, and the other end of the interface unit 221 is connected to the data read-write unit 222 through a high-speed serial bus. The shared memory unit 221 can be set in the industrial computer cabinet where the industrial computer pool 3 is located. The control module 4 can be connected to the corresponding interface unit 221 through the PCIe bus, one end of the interface unit 221 is plugged into the control module 4 through PCIe, and the other end of the interface unit 221 is connected to the data read-write unit 222 through a high-speed serial bus.

[0079] For an example, see Figure 8 The data reading and writing unit 222 includes: a plurality of first signal transceivers 2221, and a command encoding and decoding logic module 2222, an access arbitration module 2223, and a storage controller 2224 that are sequentially communicatively connected. Among them, at least one of the first signal transceiver 2221, the command encoding and decoding logic module 2222, the access arbitration module 2223, and the storage controller 2224 can be implemented based on FPGA.

[0080] Among them, the first signal transceivers 2221 correspond to the interface units 221 one by one and are in communication connection, each first signal transceiver 2221 is also connected to the instruction encoding and decoding logic module 2222 respectively, and the storage controller 2224 is also connected to the data storage unit 21.

[0081] Each interface unit 221 includes: an interface controller 2211 and two second signal transceivers 2212 , one second signal transceiver 2212 is connected between the interface controller 2211 and the device 1 corresponding to the interface unit 221 , and the other second signal transceiver 2212 is connected between the interface controller 2211 and the data reading and writing unit 222 .

[0082] Each device 1 is connected to one second signal transceiver 2212 in the corresponding interface unit 221 , and another second signal transceiver 2212 in each interface unit 221 is connected to the corresponding first signal transceiver 2221 .

[0083] In this embodiment, the second signal transceiver 2212 in the interface unit 221 and / or the first signal transceiver 2221 in the data reading and writing unit 222 may be a serial deserializer SERDES.

[0084] In the system, the interface controller 2211 in each interface unit 221 is connected to the corresponding device 1, and the interface controller 2211 is used to receive the operation instruction from the corresponding device 1 through the second signal transceiver 2212, and send the high-speed serial signal representing the operation instruction to the data read-write unit 222. Specifically, for each interface unit 221, it receives the operation instruction sent by the connected device 1, and then converts the operation instruction into a high-speed serial signal, wherein the conversion can be completed by only introducing the chip of the corresponding interface, and then the high-speed serial signal representing the operation instruction is sent to the instruction encoding and decoding logic module 2222 of the data read-write unit 222 through the first signal transceiver 2221 connected to the second signal transceiver 2212 of the interface unit 221. Any means of implementing instruction encoding and decoding in the art can be applied here, such as purchasing and using a chip that implements the corresponding encoding function, purchasing and using a chip that implements the corresponding decoding function, and at the same time, in other examples, the encoding and decoding of the operation instruction may not be performed, and then the transmission is directly performed.

[0085] The instruction encoding and decoding logic module 2222 is used to decode the signal sent by the interface unit 221 received by each first signal transceiver 2221 to obtain an operation instruction, and send the operation instruction to the access arbitration module 2223. Specifically, the instruction encoding and decoding logic module 2222 receives a high-speed serial signal representing an operation instruction, decodes the high-speed serial signal to obtain an operation instruction from the device 1, and sends the decoded operation instruction to the access arbitration module 2223.

[0086] In one example, the instruction encoding and decoding logic module 2222 is provided with a plurality of decoding units, the first signal transceivers 2221 correspond to and are connected to the decoding units one by one, and the plurality of decoding units are also respectively connected to the access arbitration module 2223; the instruction encoding and decoding logic module 2222 is used to decode the signals received from each first signal transceiver 2221 through each decoding unit to obtain an operation instruction. That is, the instruction encoding and decoding logic module 2222 is provided with a corresponding decoding unit for each first signal transceiver 2221, and the signals received from each first signal transceiver 2221 are decoded by the corresponding decoding unit, thereby being able to decode the signals transmitted from the plurality of first signal transceivers 2221 to the instruction encoding and decoding logic module 2222 in parallel, and send the obtained operation instruction to the access arbitration module 2223.

[0087] In another example, a decoding unit is provided in the instruction encoding and decoding logic module 2222, and each first signal transceiver 2221 is respectively connected to the decoding unit, and the decoding unit is also connected to the access arbitration module 2223; the instruction encoding and decoding logic module 2222 is used to decode the signal received from each first signal transceiver 2221 through the decoding unit. That is, the instruction encoding and decoding logic module 2222 is only provided with one decoding unit, and all the signals received by the first signal transceiver 2221 are decoded by the decoding unit, and the obtained operation instruction is sent to the access arbitration module 2223; for example, the decoding unit decodes the signal in sequence according to the time sequence in which the signal is sent to the instruction encoding and decoding logic module 2222.

[0088] The access arbitration module 2223 is used to send the received operation instruction to the storage controller 2224. Specifically, when receiving the operation instruction sent by the instruction encoding and decoding logic module 2222, the access arbitration module 2223 sends each operation instruction to the storage controller 2224, and the access arbitration module 2223 is used to forward the operation instruction or the target data.

[0089] In other examples, the operation instruction or target data may also be forwarded without passing through the access arbitration module, and then the decoding unit is directly connected to the storage controller.

[0090] The storage controller 2224 is used to execute the received operation instructions, write target data into the data storage unit 21, or read target data from the data storage unit 21.

[0091] 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.

[0092] 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 devices and a shared memory unit, each of the devices being directly or indirectly connected to the shared memory unit, and at least one of the plurality of devices being an RTPC.

2. The test system according to claim 1, characterized in that: The test system further includes: at least one I / O unit; at least one of the multiple devices is a control module, the control module is communicatively connected to the I / O unit, and the I / O unit is used to be directly or indirectly connected to the device under test.

3. The test system according to claim 1, characterized in that: The shared memory unit includes: a data storage unit, and a data reading and writing module for reading and writing the data storage unit, wherein the data reading and writing module is connected to each of the devices, and the data reading and writing module is connected to the data storage unit.

4. The test system according to claim 3, characterized in that: The data reading and writing module includes: multiple interface units and data reading and writing units; the devices correspond to the interface units one by one and are communicatively connected, each of the interface units is respectively connected to the data reading and writing unit, and the data reading and writing unit is also connected to the data storage unit.

5. The test system according to claim 4, characterized in that: The data reading and writing unit includes: multiple first signal transceivers, and an instruction encoding and decoding logic module, an access arbitration module and a storage controller that are communicatively connected in sequence; the first signal transceivers correspond to the interface units one by one and are communicatively connected, each of the first signal transceivers is also respectively connected to the instruction encoding and decoding logic module, and the storage controller is also connected to the data storage unit.

6. The test system according to claim 5, characterized in that: Each of the interface units includes: an interface controller and two second signal transceivers, one of the second signal transceivers is connected between the interface controller and the device corresponding to the interface unit, and the other of the second signal transceiver is connected between the interface controller and the data reading and writing unit.

7. The test system according to claim 5, characterized in that: The instruction encoding and decoding logic module is provided with a plurality of decoding units, the first signal transceiver corresponds to and is connected to the decoding units one by one, and the plurality of decoding units are also respectively connected to the access arbitration module.

8. The test system according to claim 5, characterized in that: A decoding unit is provided in the instruction encoding and decoding logic module, the multiple first signal transceivers are respectively connected to the decoding units, and the one decoding unit is also connected to the access arbitration module.

9. The test system according to claim 2, characterized in that: The test system also includes: a switching matrix; The at least one I / O unit is connected to the device under test through the switch matrix.

10. The test system according to claim 2, characterized in that: The RTPC and the control module are arranged in different cabinets; The shared memory unit and the RTPC are arranged in the same cabinet, or: the shared memory unit and the control module are arranged in the same cabinet.