Wire harness connecting device and test method of controller

By designing a wire harness connection device that includes a printed circuit board and an adjustable wire harness, the problem of low controller testing efficiency under intelligent and networked vehicles is solved, and efficient testing without switching wire harnesses is achieved.

CN118659172APending Publication Date: 2024-09-17FAW JIEFANG AUTOMOTIVE CO
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410871763.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-01
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

With the development of vehicle intelligence and networking, the types and number of controllers on vehicles have increased, resulting in the need to frequently replace the connection harness during testing, affecting test efficiency.

Method used

A wire harness connection device is provided, including a printed circuit board, a first wire harness and a second wire harness. The printed circuit board is provided with a banana head interface group and socket pins, which can adapt to controllers with different numbers of interfaces and connect the control to be tested through a fixed wire harness. monitors and test cabinets to avoid wiring harness switching.

Benefits of technology

It improves the testing efficiency of the controller, simplifies the testing process, reduces the time of unwiring and wiring, and is suitable for many types of controllers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118659172A
    Figure CN118659172A
Patent Text Reader

Abstract

The invention discloses a wire harness connecting device and a controller testing method, and relates to the technical field of vehicles, the wire harness connecting device is used for connecting a controller to be tested and a testing cabinet, wire harness switching is not needed, and therefore the testing efficiency of the controller can be improved. The wire harness connecting device comprises a printed circuit board, a first wire harness and a second wire harness, the printed circuit board is provided with a first connector socket and a banana head interface group, and N socket pins on the first connector socket are in one-to-one correspondence with N banana head interfaces in the banana head interface group; the first connector socket is used for being connected with a second connector socket on a test cabinet through a first wire harness; the banana head interface group is used for being connected with M interface pins of the controller to be tested through M connecting wires in the N connecting wires of the second wire harness; wherein N is a positive integer, and M is a positive integer smaller than or equal to N.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle technology, and in particular to a wiring harness connection device and a controller testing method. Background Art

[0002] In the prior art, various controllers on a vehicle can be tested by deploying a test cabinet with a test host. Since different types of controllers have different interfaces, different types of controllers need to be connected to the test cabinet through different types of connection harnesses when testing different types of controllers.

[0003] However, with the development of intelligent and networked vehicles, the functions of the whole vehicle are becoming more and more complex, and the types and number of controllers on the vehicle are increasing. Therefore, when testing the controller on the vehicle, it takes a lot of time to disconnect and connect the wires (i.e., switch the connection harness connected to the test cabinet), which affects the test efficiency of the controller. Summary of the invention

[0004] The present application provides a wiring harness connection device and a controller testing method. The wiring harness connection device provided by the present application is used to connect the controller to be tested and the test cabinet, and there is no need to switch the wiring harness, thereby improving the testing efficiency of the controller.

[0005] In order to achieve the above purpose, this application adopts the following technical solutions:

[0006] In a first aspect, the present application provides a wiring harness connection device, comprising: a printed circuit board, a first wiring harness, and a second wiring harness; a first connector socket and a banana head interface group are provided on the printed circuit board, and the N socket pins on the first connector socket correspond one-to-one to the N banana head interfaces in the banana head interface group; the first connector socket is used to connect to the second connector socket on the test cabinet through the first wiring harness; the banana head interface group is used to connect to the M interface pins of the controller to be tested through M connecting lines out of the N connecting lines of the second wiring harness; wherein N is a positive integer, and M is a positive integer less than or equal to N.

[0007] In the present application, a wiring harness connection device is provided, which is a universal device for connecting a controller to be tested and a test cabinet. Specifically, the wiring harness connection device is composed of a printed circuit board, a first wiring harness for connecting the test cabinet, and a second wiring harness for connecting the controller to be tested; a banana head interface group composed of N banana head interfaces and a first connector socket containing N socket pins are provided on the printed circuit board, and the N socket pins correspond to the N banana head interfaces one by one. Since the wiring harness connection device includes a printed circuit board, a first connector socket containing a large number of socket pins can be welded on the printed circuit board, and a banana head interface with the same number of socket pins as the first connector socket can be welded at the same time. Then, no matter what kind of controller, as long as the number of interface pins of the controller is less than the number of banana head interfaces in the banana head interface group, each interface pin of the controller can be connected to the wiring harness connection device through the second wiring harness (containing connecting wires equal to the number of banana head interfaces in the banana head interface group), and connected to the test cabinet through the first wiring harness of the wiring harness connection device. It can be seen that, through the harness connection device provided by the present application, controllers with different numbers of interface pins can be connected to the test cabinet, and the harness connection device is connected to the controller and the test cabinet through a fixed harness (first harness and second harness), and the user only needs to connect the interface pins on the controller to be tested one by one to one end of the second harness. Therefore, when the harness connection device provided by the present application is used to connect the controller and the test cabinet, there is no need to switch the harness, thereby improving the test efficiency of the controller.

[0008] In a second aspect, the present application provides a controller testing method, which can be applied to a controller testing system, the test system comprising a test cabinet and a wiring harness connection device as provided in the first aspect; the test cabinet comprising a test host, an adjustable power supply, and a second connector socket, the second connector socket being connected to the test host through the adjustable power supply; the testing method comprising: when the test host receives a test instruction, the test host determines a target test case from candidate test cases based on a controller type identifier carried by the test instruction; the test host determines a first control signal according to the target test case, and sends the first control signal to the second connector socket through the adjustable power supply, so as to forward the first control signal to the controller to be tested connected to the second wiring harness through the second connector socket, the first wiring harness in the wiring harness connection device, the first connector socket on the printed circuit board in the wiring harness connection device, the banana head interface group on the printed circuit board, and the second wiring harness in the wiring harness connection device in sequence.

[0009] The description of the second aspect in this application can refer to the detailed description of the first aspect; and the beneficial effects of the description of the second aspect can refer to the analysis of the beneficial effects of the first aspect, which will not be repeated here.

[0010] In this application, the names of the above-mentioned devices or functional modules are not limited. In actual implementation, these devices or functional modules may appear with other names. As long as the functions of each device or functional module are similar to those of this application, they are within the scope of this application and its equivalent technologies.

[0011] These and other aspects of the present application will become more apparent from the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 A schematic diagram of the structure of a wiring harness connection device provided in an embodiment of the present application;

[0013] Figure 2 A schematic structural diagram of another wiring harness connection device provided in an embodiment of the present application;

[0014] Figure 3 A flowchart of a controller testing method provided in an embodiment of the present application;

[0015] Figure 4 A schematic diagram of the structure of a controller test system provided in an embodiment of the present application;

[0016] Figure 5 A schematic diagram of the structure of a controller testing device provided in an embodiment of the present application;

[0017] Figure 6 A schematic diagram of the structure of a test host provided in an embodiment of the present application. DETAILED DESCRIPTION

[0018] The following is a detailed description of the wiring harness connection device and the controller testing method provided in the embodiments of the present application in conjunction with the accompanying drawings.

[0019] The term "and / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

[0020] The terms "first" and "second" and the like in the specification and drawings of this application are used to distinguish different objects, or to distinguish different processing of the same object, rather than to describe a specific order of objects.

[0021] In addition, the terms "including" and "having" and any variations thereof mentioned in the description of the present application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include other steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.

[0022] It should be noted that, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0023] In the description of the present application, unless otherwise specified, “plurality” means two or more.

[0024] In addition, the acquisition, storage, use, and processing of data in the technical solution of this application comply with the relevant provisions of national laws and regulations.

[0025] In the prior art, the testing of various controllers on the vehicle can be completed by deploying a test cabinet with a test host. Since different types of controllers have different interfaces, when testing different types of controllers, different types of controllers need to be connected to the test cabinet through different types of connecting harnesses. However, with the development of intelligent and networked vehicles, the functions of the whole vehicle are becoming more and more complex, and the types and numbers of controllers on the vehicle are increasing. In this way, when testing the controller on the vehicle, it takes a lot of time to disconnect and connect the wires (i.e., switch the connecting harness connected to the test cabinet), which affects the test efficiency of the controller.

[0026] In view of the problems existing in the above-mentioned prior art, the embodiment of the present application provides a wiring harness connection device, which can connect controllers with different numbers of interface pins to a test cabinet, and the wiring harness connection device is connected to the controller and the test cabinet through a fixed wiring harness (a first wiring harness and a second wiring harness), and the user only needs to connect the interface pins on the controller to be tested to one end of the second wiring harness one by one, without switching the wiring harness. Therefore, the test efficiency of the controller can be improved.

[0027] Reference Figure 1 , is a schematic diagram of the structure of a wiring harness connection device provided in an embodiment of the present application. Figure 1As shown, the wiring harness connection device includes: a printed circuit board, a first wiring harness, and a second wiring harness; a first connector socket and a banana head interface group are provided on the printed circuit board, and N socket pins on the first connector socket correspond one to one with N banana head interfaces in the banana head interface group; the first connector socket is used to connect to the second connector socket on the test cabinet through the first wiring harness; the banana head interface group is used to connect to M interface pins of the controller to be tested through M connecting wires among the N connecting wires of the second wiring harness; wherein N is a positive integer, and M is a positive integer less than or equal to N.

[0028] It should be noted that Figure 1 For the convenience of drawing, only a small number of socket pins, banana plug interfaces, connecting wires, and interface pins are shown. In actual applications, the number of socket pins, banana plug interfaces, and connecting wires can be more, and the number of interface pins shall be subject to the actual controller to be tested.

[0029] Among them, the printed circuit board (PCB) can be a single-sided board or a multi-sided board; the first connector socket can be a socket of an EDAC connector, one side of which can be welded on the printed circuit board, and the other side protrudes from the shell for connecting to the first wiring harness; one side of N banana head interfaces in the banana head interface group can be welded on the printed circuit board, and the other side protrudes from the shell for connecting to the second wiring harness; the second connector socket can also be a socket of an EDAC connector, one side of which is set on the test cabinet, and the other side is used to connect to the first wiring harness.

[0030] In addition, by using the socket of the EDAC connector as the first connector socket and the second connector socket, the number of socket pins can be customized according to actual use requirements. Compared with other types of connectors, the number of pins is greater. Even if the number of socket pins required is large, one EDAC connector can meet the demand. In this way, the number of connectors soldered on the printed circuit board can be reduced.

[0031] In one possible implementation, one end of the first wiring harness is N wiring terminals, which can be respectively connected to the N socket pins of the first connector socket, and the other end of the first wiring harness is a wiring terminal, which can be connected to a socket pin of the second connector socket on the test cabinet; in another possible implementation, one end of the first wiring harness is N wiring terminals, which can be respectively connected to the N socket pins of the first connector socket, and the other end of the first wiring harness is also N wiring terminals, which can be respectively connected to the N socket pins of the second connector socket.

[0032] The second wiring harness is composed of N connecting wires, one end of each connecting wire is a banana plug end, which can be connected to a banana head interface in a banana head interface group, and the other end is a female connector that can be inserted into the controller interface pin.

[0033] Optionally, the wiring harness connection device further comprises a housing, and the printed circuit board can be built in the housing. The housing can be designed according to the size of the printed circuit board, can be made of metal material, and can be opened according to the first connector socket and the banana head interface group on the printed circuit board, and the logo of the corresponding interface / pin can be printed at the opening position.

[0034] In the present application, a wiring harness connection device is provided, which is a universal device for connecting a controller to be tested and a test cabinet. Specifically, the wiring harness connection device is composed of a printed circuit board, a first wiring harness for connecting the test cabinet, and a second wiring harness for connecting the controller to be tested; a banana head interface group composed of N banana head interfaces and a first connector socket containing N socket pins are provided on the printed circuit board, and the N socket pins correspond to the N banana head interfaces one by one. Since the wiring harness connection device includes a printed circuit board, a first connector socket containing a large number of socket pins can be welded on the printed circuit board, and a banana head interface with the same number of socket pins as the first connector socket can be welded at the same time. Then, no matter what kind of controller, as long as the number of interface pins of the controller is less than the number of banana head interfaces in the banana head interface group, each interface pin of the controller can be connected to the wiring harness connection device through the second wiring harness (containing connecting wires equal to the number of banana head interfaces in the banana head interface group), and connected to the test cabinet through the first wiring harness of the wiring harness connection device. It can be seen that, through the harness connection device provided by the present application, controllers with different numbers of interface pins can be connected to the test cabinet, and the harness connection device is connected to the controller and the test cabinet through a fixed harness (first harness and second harness), and the user only needs to connect the interface pins on the controller to be tested one by one to one end of the second harness. Therefore, when the harness connection device provided by the present application is used to connect the controller and the test cabinet, there is no need to switch the harness, thereby improving the test efficiency of the controller.

[0035] Optional, see Figure 2 , is a schematic diagram of the structure of another wiring harness connection device provided in an embodiment of the present application. Figure 2 As shown, the wiring harness connection device includes a printed circuit board, X first wiring harnesses, and X second wiring harnesses, and the printed circuit board is provided with X first connector sockets and X banana head interface groups; the X first connector sockets are used to connect with the X second connector sockets on the test cabinet through the X first wiring harnesses; the X banana head interface groups are used to connect with the X controllers to be tested through the X second wiring harnesses; wherein X is a positive integer; the X second connector sockets, the X first wiring harnesses, the X first connector sockets, the X banana head interface groups, and the X second wiring harnesses correspond one to one to form X communication links.

[0036] It should be noted that Figure 2For the convenience of drawing, only a small number of second connector sockets, first wiring harnesses, first connector sockets, banana head interface groups, and second wiring harnesses are shown. In actual applications, the number of second connector sockets, first wiring harnesses, first connector sockets, banana head interface groups, and second wiring harnesses can be more.

[0037] In addition, Figure 2 In the example, for each of the X communication links (a communication link is composed of a second connector socket, a first wiring harness, a first connector socket, a banana head interface group, and a second wiring harness), the connection mode is the same as Figure 1 The connection method is the same as in the embodiment of the present application and will not be repeated here.

[0038] In practical applications, there may be a need to test multiple controllers of the same type at the same time. Based on this need, the embodiment of the present application can set multiple first connector sockets on the printed circuit board, and multiple banana head interface groups corresponding to the multiple first connector sockets. At the same time, the wiring harness connection device also includes multiple first wiring harnesses for connecting the multiple first connector sockets to the multiple second connector sockets of the test cabinet, and multiple second wiring harnesses for connecting the multiple controllers to be tested in the multiple banana head interface groups. It can be seen that through the wiring harness connection device provided by the embodiment of the present application, multiple controllers of the same type can be connected to the test cabinet to test multiple controllers to be tested at the same time, which can further improve the test efficiency.

[0039] Reference Figure 3 , the present application embodiment also provides a controller testing method, which can be applied to the controller testing system. Figure 4 , is a schematic diagram of the structure of a controller test system provided in an embodiment of the present application. Figure 4 As shown, the test system may include a test cabinet and a wiring harness connection device; the test cabinet may include a test host, an adjustable power supply, and a second connector socket, the second connector socket is connected to the test host through the adjustable power supply, and is connected to the first connector socket of the printed circuit board through the first wiring harness. The first connector socket is connected to a banana head interface group, and the banana head interface group is connected to the controller to be tested through the second wiring harness.

[0040] The test host stores candidate test cases corresponding to different types of controllers, and can control the adjustable power supply to output a corresponding voltage to the second connector socket based on the candidate test cases to meet the test requirements.

[0041] The controller testing method provided in the embodiment of the present application can be executed by a controller testing device, which can be implemented by software and / or hardware and integrated in a test host that executes the method.

[0042] like Figure 3 As shown, the controller testing method provided in the embodiment of the present application includes S301-S302:

[0043] S301: When receiving a test instruction, the test host determines a target test case from candidate test cases based on a controller type identifier carried in the test instruction.

[0044] The test instruction may be an instruction triggered by a tester inputting a controller type identifier of the controller to be tested in a display screen of the test host. The candidate test case may be a test script pre-configured for various types of controllers to be tested.

[0045] S302. The test host determines a first control signal according to a target test case, and sends the first control signal to the second connector socket through an adjustable power supply, so that the first control signal is forwarded to the controller to be tested connected to the second wiring harness through the second connector socket, the first wiring harness in the wiring harness connection device, the first connector socket on the printed circuit board in the wiring harness connection device, the banana head interface group on the printed circuit board, and the second wiring harness in the wiring harness connection device.

[0046] The controller to be tested may be a vehicle gateway controller or other controllers to be tested. For the specific process of determining candidate test cases for various controllers to be tested, and the process of testing the controller to be tested through the candidate test cases, reference may be made to the relevant description of the prior art.

[0047] Optionally, when the wiring harness connection device includes X first wiring harnesses and X second wiring harnesses, and X first connector sockets and X banana head interface groups are provided on the printed circuit board, a first control signal is determined according to a target test case, and the first control signal is sent to the second connector socket through an adjustable power supply, so that the first control signal is forwarded to the controller to be tested connected to the second wiring harness through the second connector socket, the first wiring harness in the wiring harness connection device, the first connector socket on the printed circuit board in the wiring harness connection device, the banana head interface group on the printed circuit board, and the second wiring harness in the wiring harness connection device in sequence, including: determining whether the current test mode is a single access test mode; when the current test mode is a single access test mode, determining the first control signal according to the target test case, and sending the first control signal to a preset second connector socket among the X second connector sockets through an adjustable power supply, so that the first control signal is forwarded to the controller to be tested connected to the preset communication link through a preset communication link corresponding to the preset second connector socket among the X communication links.

[0048] Among them, the preset communication link includes a preset second connector socket, a preset first wiring harness corresponding to the preset second connector socket among the X first wiring harnesses, a preset first connector socket corresponding to the preset second connector socket among the X first connector sockets, a preset banana head interface group corresponding to the preset second connector socket among the X banana head interface groups, and a preset second wiring harness corresponding to the preset second connector socket among the X second wiring harnesses.

[0049] In an embodiment of the present application, two test modes, a single access test mode and a multi-access test mode, can be provided to the tester, and the tester can select the corresponding test mode on the display screen of the test host according to the use requirements. Specifically, when it is necessary to test a controller to be tested, the single access test mode can be selected, in which a fixed preset communication link can be pre-determined as the communication link for connecting the controller to be tested to the test host; when it is necessary to test multiple controllers to be tested, the multi-access test mode can be selected. In this way, the diverse testing needs of the testers can be met.

[0050] Optionally, after determining whether the current test mode is a single-access test mode, the controller testing method provided in an embodiment of the present application also includes: when the current test mode is a multi-access test mode, the test host sends interface status detection signals to X second connector sockets respectively through an adjustable power supply, so as to forward the interface status detection signals to Y controllers under test connected to the Y communication links through Y communication links among the X communication links; wherein, one communication link connects to one controller under test, and Y is a positive integer less than or equal to X; when the test host receives interface status response signals respectively returned by the Y controllers under test through the Y communication links, the test host obtains and stores link identifiers corresponding to the Y communication links respectively; the test host determines a second control signal according to a target test case, and based on each link identifier, sends a second control signal to the second connector sockets corresponding to the Y communication links respectively through an adjustable power supply, so as to forward the second control signal to the Y controllers under test connected to the Y communication links through the Y communication links.

[0051] In a possible implementation, a corresponding link identifier can be determined in advance for each communication link, and each link identifier can be associated with each second connector socket one by one according to the corresponding relationship between each communication link and each second connector socket, so as to obtain a corresponding relationship list. When the test host receives an interface status response signal returned by a second connector socket, it can search for the link identifier corresponding to the second connector socket in the corresponding relationship list, and the communication link corresponding to the found link identifier is also the communication link that currently returns the interface status response signal. In addition, the corresponding relationship list also records the one-to-one correspondence between each communication link and each second wiring harness, and each second wiring harness can be affixed with a corresponding wiring harness identifier (which can be a digital number). When the test host receives test data transmitted by a second connector socket, it can search for the wiring harness identifier of the second wiring harness corresponding to the second connector socket in the corresponding relationship list, and when presenting the test results of the test data, the wiring harness identifier is presented accordingly. Afterwards, the tester can find the second wiring harness corresponding to the test result among the wiring harness identifiers pasted on each second wiring harness based on the presented wiring harness identifier. The tester can then determine that the test result currently displayed on the test host is the test result of the controller to be tested to which the second wiring harness is connected.

[0052] In an embodiment of the present application, a maximum of X controllers to be tested can be connected to the test host through the wiring harness connection device. However, in actual applications, the tester may not connect X controllers to be tested every time, that is, the number of connected controllers to be tested may be less than X. In this case, the tester randomly connects the M controllers to be tested to the M second wiring harnesses, that is, randomly connects the M controllers to be tested to any M of the X communication links. Therefore, the test host needs to detect the M communication links that are currently connected to the M controllers to be tested. Specifically, an interface status detection signal can be sent to all X communication links. If an interface status response signal returned by a communication link is received, it means that the communication link is connected to the controller to be tested.

[0053] Optionally, after the adjustable power supply sends a first control signal to a preset second connector socket among the X second connector sockets, the testing method of the controller provided in the embodiment of the present application also includes: if the test host determines that no feedback signal is received within a preset time length, issuing a wiring error prompt message.

[0054] The preset duration may be a duration predetermined artificially.

[0055] In single access mode, the tester can be prompted with the wiring harness identifier of the second wiring harness corresponding to the preset communication link before the test, and the tester can connect the controller to be tested to the corresponding second wiring harness according to the prompt. However, due to the excessive number of second wiring harnesses, in actual applications, the tester may connect the wiring harness incorrectly. In the case of incorrect wiring harness connection, the controller to be tested and the test host cannot communicate, and after the test host sends the first control signal, it will not be able to receive the feedback signal. At this time, the test host can issue a wiring error prompt message to prompt the tester to reconnect the wiring.

[0056] Optionally, after sending a first control signal to a preset second connector socket among the X second connector sockets through an adjustable power supply, the test method provided in the embodiment of the present application also includes: if the test host determines that no feedback signal is received within a preset time length, sending an interface status detection signal to each of the X second connector sockets through the adjustable power supply, so as to forward the interface status detection signal to the controller under test connected to the target communication link through a target communication link among the X communication links; when the test host receives an interface status response signal returned by the controller under test through the target communication link, the test host obtains and stores a link identifier corresponding to the target communication link; based on the link identifier corresponding to the target communication link, the test host sends a first control signal to the second connector socket corresponding to the target communication link through the adjustable power supply, so as to forward the first control signal to the controller under test through the target communication link.

[0057] In the single access mode, if a wiring error occurs, the tester can reconnect the wires. However, reconnecting the wires takes a certain amount of time. Based on this, in the embodiment of the present application, if it is determined that a wiring error occurs in the single access mode, the test host can detect the communication link currently connected to the controller to be tested, and then test the controller to be tested based on the detected communication link. In this way, the test efficiency can be further improved.

[0058] Optional, such as Figure 4 As shown, the test cabinet further includes a switch and various test devices, each test device is connected to the test cabinet via the switch, and each test device is connected to the second connector socket.

[0059] The test cabinet uses a switch to integrate various test equipment, connects each test equipment to the test host, and realizes the integration of control signals and test data.

[0060] Optional, such as Figure 4 As shown, the adjustable power supply may include a VT board and a programmable power supply. The VT board is a power management board that can output working voltages under different working conditions under the control of the test host; the programmable power supply can output voltages corresponding to target test cases under the control of the test host.

[0061] Optionally, each test device includes at least one of a signal generator, a network tester, an oscilloscope, and a VN board. Among them, the VN board can be a test board that can simulate normal and abnormal conditions of message reception and transmission under the control of the test host. The signal generator can output a set signal corresponding to the target test case under the control of the test host. The oscilloscope can output a waveform corresponding to the target test case under the control of the test host. The network tester can output and analyze various parameters of the vehicle Ethernet under the control of the test host.

[0062] Reference Figure 5 The embodiment of the present application also provides a controller testing device, which can be configured on a test host, including: a determination module 11 and a control module 21.

[0063] The determination module 11 executes S301 in the above method embodiment, and the control module 21 executes S302 in the above method embodiment.

[0064] Specifically, the determination module 11 is used to determine the target test case from the candidate test cases based on the controller type identifier carried in the test instruction when receiving the test instruction;

[0065] The control module 21 is used to determine the first control signal according to the target test case, and send the first control signal to the second connector socket through an adjustable power supply, so as to forward the first control signal to the controller to be tested connected to the second wiring harness through the second connector socket, the first wiring harness in the wiring harness connection device, the first connector socket on the printed circuit board in the wiring harness connection device, the banana head interface group on the printed circuit board, and the second wiring harness in the wiring harness connection device.

[0066] Optionally, the control module 21 is specifically used for:

[0067] Determine whether the current test mode is a single access test mode;

[0068] When the current test mode is the single access test mode, the first control signal is determined according to the target test case, and the first control signal is sent to a preset second connector socket among the X second connector sockets through an adjustable power supply, so that the first control signal is forwarded to the controller to be tested that is connected to the preset communication link through a preset communication link corresponding to the preset second connector socket among the X communication links.

[0069] Optionally, the test device of the controller further includes a storage module;

[0070] The control module 21 is further used for: after the determination module 11 determines whether the current test mode is the single access test mode, when the current test mode is the multi-access test mode, sending interface status detection signals to the X second connector sockets respectively through the adjustable power supply, so as to forward the interface status detection signals to the Y controllers to be tested connected to the Y communication links through Y communication links among the X communication links; wherein one communication link is connected to one controller to be tested, and Y is a positive integer less than or equal to X;

[0071] A storage module, used for acquiring and storing link identifiers corresponding to the Y communication links respectively when receiving interface status response signals respectively returned by the Y controllers to be tested via the Y communication links;

[0072] The control module 21 is also used to: determine the second control signal according to the target test case, and based on the identifiers of each link, send the second control signal to the second connector sockets corresponding to the Y communication links respectively through the adjustable power supply, so as to forward the second control signal to the Y controllers to be tested connected to the Y communication links through the Y communication links.

[0073] Optionally, the test device of the controller further includes a prompt module; the prompt module is used for:

[0074] After the control module 21 sends the first control signal to the preset second connector socket among the X second connector sockets through the adjustable power supply, if it is determined that no feedback signal is received within the preset time period, a wiring error prompt message is issued.

[0075] Optionally, the test device of the controller further includes a storage module;

[0076] The control module 21 is further configured to: after sending the first control signal to a preset second connector socket among the X second connector sockets through the adjustable power supply, if it is determined that no feedback signal is received within a preset time period, send an interface status detection signal to each of the X second connector sockets through the adjustable power supply, so as to forward the interface status detection signal to the controller to be tested connected to the target communication link through the target communication link among the X communication links;

[0077] A storage module, used for acquiring and storing a link identifier corresponding to the target communication link when receiving an interface status response signal returned by the controller to be tested via the target communication link;

[0078] The control module 21 is also used to: based on the link identifier corresponding to the target communication link, send a first control signal to the second connector socket corresponding to the target communication link through the adjustable power supply, so as to forward the first control signal to the controller under test through the target communication link.

[0079] Optionally, the test device of the controller may further include a storage module, and the storage module is used to store program codes and the like of the test device of the controller.

[0080] like Figure 6 As shown, the embodiment of the present application also provides a test host, including a memory 41, a processor (such as Figure 6 42-1 and 42-2), bus 43 and communication interface 44; memory 41 is used to store computer execution instructions, and the processor is connected to memory 41 through bus 43; when the test host is running, the processor executes the computer execution instructions stored in memory 41, so that the test host executes the test method of the controller provided in the above embodiment.

[0081] In a specific implementation, as an embodiment, the processor may include one or more central processing units (CPUs), such as Figure 6 As an embodiment, the test host may include multiple processors, such as Figure 6 4 and 5. The processors 42-1 and 42-2 shown in FIG. Each of these processors may be a single-core processor (single-CPU) or a multi-core processor (multi-CPU). The processor here may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).

[0082] The memory 41 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 41 may exist independently and be connected to the processor via a bus 43. The memory 41 may also be integrated with the processor.

[0083] In a specific implementation, the memory 41 is used to store the data in the present application and the computer execution instructions corresponding to the software program for executing the present application. The processor can test various functions of the host by running or executing the software program stored in the memory 41 and calling the data stored in the memory 41.

[0084] The communication interface 44 uses any transceiver-like device for communicating with other devices or communication networks, such as a control system, a radio access network (RAN), a wireless local area network (WLAN), etc. The communication interface 44 may include a receiving unit to implement a receiving function, and a sending unit to implement a sending function.

[0085] The bus 43 may be an industry standard architecture (ISA) bus, a peripheral component interconnect (PCI) bus, or an extended industry standard architecture (EISA) bus. The bus 43 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0086] As an example, combining Figure 5 , the functions implemented by the control module in the controller test device are similar to Figure 6 When the test device of the controller includes a storage module, the function implemented by the storage module is the same as Figure 6 The memory in implements the same function.

[0087] The explanation of the relevant contents in this embodiment can refer to the above method embodiment, which will not be repeated here.

[0088] Through the description of the above implementation methods, technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0089] An embodiment of the present application further provides a computer-readable storage medium, in which instructions are stored. When a computer executes the instructions, the computer executes the controller testing method provided in the above embodiment.

[0090] Among them, the computer-readable storage medium, for example, can be but is not limited to an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, RAM, ROM, an erasable programmable read only memory (EPROM), a register, a hard disk, an optical fiber, a CD-ROM, an optical storage device, a magnetic storage device, or any suitable combination of the above, or any other form of computer-readable storage medium known in the art. An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application-specific integrated circuit (ASIC). In an embodiment of the present application, the computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, device or device.

[0091] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A wiring harness connection device, characterized in that: include: a printed circuit board, a first wiring harness, and a second wiring harness; The printed circuit board is provided with a first connector socket and a banana head interface group, and the N socket pins on the first connector socket correspond one-to-one to the N banana head interfaces in the banana head interface group; The first connector socket is used to connect to a second connector socket on the test cabinet through the first wiring harness; The banana head interface group is used to connect to M interface pins of the controller to be tested through M connecting wires among the N connecting wires of the second wiring harness; wherein N is a positive integer, and M is a positive integer less than or equal to N.

2. The wire harness connection device according to claim 1, characterized in that: The wiring harness connection device includes X first wiring harnesses and X second wiring harnesses, and the printed circuit board is provided with X first connector sockets and X banana head interface groups; X first connector sockets, used to connect to X second connector sockets on the test cabinet through X first wiring harnesses; The X banana head interface groups are used to connect to the X controllers to be tested through the X second wiring harnesses; wherein X is a positive integer; the X second connector sockets, the X first wiring harnesses, the X first connector sockets, the X banana head interface groups, and the X second wiring harnesses correspond one to one to form X communication links.

3. A controller testing method, characterized in that: A test system applied to a controller, the test system comprising a test cabinet and a wiring harness connection device according to claim 1 or 2; the test cabinet comprising a test host, an adjustable power supply, and a second connector socket, the second connector socket being connected to the test host through the adjustable power supply; The test method includes: When receiving the test instruction, the test host determines the target test case from the candidate test cases based on the controller type identifier carried in the test instruction; The test host determines a first control signal according to the target test case, and sends the first control signal to the second connector socket through the adjustable power supply, so that the first control signal is forwarded to the controller to be tested connected to the second wiring harness through the second connector socket, the first wiring harness in the wiring harness connection device, the first connector socket on the printed circuit board in the wiring harness connection device, the banana head interface group on the printed circuit board, and the second wiring harness in the wiring harness connection device in sequence.

4. The controller testing method according to claim 3, characterized in that: The wiring harness connection device includes X first wiring harnesses and X second wiring harnesses, and the printed circuit board is provided with X first connector sockets and X banana head interface groups; X first connector sockets, used to connect to X second connector sockets on the test cabinet through X first wiring harnesses; The X banana head interface groups are used to connect to the X controllers to be tested through the X second wiring harnesses; wherein X is a positive integer; the X second connector sockets, the X first wiring harnesses, the X first connector sockets, the X banana head interface groups, and the X second wiring harnesses correspond one to one to form X communication links.

5. The controller testing method according to claim 4, characterized in that: The method of determining a first control signal according to the target test case, and sending the first control signal to the second connector socket through the adjustable power supply, so as to sequentially pass the first control signal through the second connector socket, the first wiring harness in the wiring harness connection device, the first connector socket on the printed circuit board in the wiring harness connection device, the banana head interface group on the printed circuit board, and the second wiring harness in the wiring harness connection device, and forward the first control signal to the controller to be tested connected to the second wiring harness, including: Determine whether the current test mode is a single access test mode; When the current test mode is the single access test mode, the first control signal is determined according to the target test case, and the first control signal is sent to a preset second connector socket among the X second connector sockets through the adjustable power supply, so that the first control signal is forwarded to the controller under test connected to the preset communication link through a preset communication link corresponding to the preset second connector socket among the X communication links.

6. The controller testing method according to claim 5, characterized in that: After determining whether the current test mode is the single access test mode, the test method further includes: When the current test mode is a multi-access test mode, the test host sends interface status detection signals to X second connector sockets respectively through the adjustable power supply, so as to forward the interface status detection signals to Y controllers to be tested connected to the Y communication links through Y communication links among the X communication links; wherein one communication link is connected to one controller to be tested, and Y is a positive integer less than or equal to X; When the test host receives the interface status response signals respectively returned by the Y controllers to be tested via the Y communication links, the test host obtains and stores the link identifiers respectively corresponding to the Y communication links; The test host determines a second control signal according to the target test case, and based on each of the link identifiers, sends a second control signal to the second connector sockets corresponding to the Y communication links respectively through the adjustable power supply, so as to forward the second control signal to the Y controllers to be tested connected to the Y communication links through the Y communication links.

7. The controller testing method according to claim 5, characterized in that: After the adjustable power supply sends the first control signal to a preset second connector socket among the X second connector sockets, the testing method further includes: If the test host determines that no feedback signal is received within a preset time period, a wiring error prompt message is issued.

8. The controller testing method according to claim 5, characterized in that: After the adjustable power supply sends the first control signal to a preset second connector socket among the X second connector sockets, the testing method further includes: If the test host determines that no feedback signal is received within a preset time, the interface status detection signal is respectively sent to the X second connector sockets through the adjustable power supply, so as to forward the interface status detection signal to the controller to be tested connected to the target communication link through the target communication link among the X communication links; The test host, upon receiving the interface status response signal returned by the controller to be tested via the target communication link, acquires and stores a link identifier corresponding to the target communication link; Based on the link identifier corresponding to the target communication link, the test host sends the first control signal to the second connector socket corresponding to the target communication link through the adjustable power supply, so as to forward the first control signal to the controller under test through the target communication link.

9. The controller testing method according to claim 5, characterized in that: The test cabinet further includes a switch and various test devices, wherein the various test devices are respectively connected to the test cabinet via the switch, and the various test devices are respectively connected to the second connector socket.

10. The controller testing method according to claim 9, characterized in that: Each of the test devices includes at least one of a signal generator, a network tester, an oscilloscope, and a VN board.

Citation Information

Cited By

  • Adapter device and control system and method for whole vehicle road simulation test

    CN121142110A