Vehicle controller testing device and method
Through the cooperation of the upper computer and the test cabinet, a test environment for vehicle controllers is quickly built, which solves the problems of low testing efficiency and high cost in the existing technology, and realizes efficient and reusable vehicle controller testing.
Patent Information
- Application Number
- CN202411823440.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-11
- Publication Date
- 2025-04-15
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the prior art, vehicle controller testing efficiency is not high and the testing cost is too high. Traditional testing methods have problems such as long construction time, long operation time and poor reusability.
Provide a vehicle controller testing device and method, through the cooperation of the upper computer and the test cabinet, a test environment for various vehicle controllers is quickly built. The test cabinet is equipped with multiple signal channels for transmitting different types of test signals. The upper computer is pre-configured with various types of test components. Users can select and drag to the test control interface to build a test environment.
It improves the testing efficiency of the vehicle controller, shortens the time for setting up the test environment, reduces the testing cost, and enhances the reusability of the test environment.
Smart Images

Figure CN119828639A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle testing, and in particular to a vehicle controller testing device and method. Background Art
[0002] The current vehicle development cycle is getting shorter and shorter, and the time left for testing vehicle controllers is constantly being compressed. In this context, car companies have certain requirements for the test speed and test efficiency of vehicle controllers. Vehicle controller testing is mainly divided into two categories, including bench testing and real vehicle testing. Combined with the market demand for vehicles, bench testing is generally the main method, supplemented by real vehicle testing. Traditional testing methods usually involve building corresponding test benches for different vehicle controllers. This method has a series of disadvantages such as long construction time, long operation time, and poor reusability, which affects the test efficiency of vehicle controllers and is costly. Summary of the invention
[0003] In view of this, the present application provides a vehicle controller testing device and method to help solve the problems of low vehicle controller testing efficiency and high testing cost in the prior art.
[0004] In a first aspect, an embodiment of the present application provides a vehicle controller testing device, comprising: A test cabinet, used for receiving a feedback signal sent by a vehicle controller and sending an indication signal associated with the feedback signal to a host computer, wherein the test cabinet is provided with a plurality of signal channels, each signal channel being used for transmitting a corresponding type of feedback signal; The host computer is used to receive the indication signal sent by the test cabinet and display the indication signal on the test control interface. The test control interface includes multiple test components, each of which is used to test at least one vehicle controller.
[0005] In an optional embodiment, the host computer is further configured to add the test component selected by the user to the test control interface in response to a user's selection operation on at least one test component.
[0006] In an optional embodiment, the host computer is further used to send a corresponding control signal to the test cabinet in response to a test request triggered by a user based on any test component; The test cabinet is further configured to send a test signal associated with the control signal to the vehicle controller through a corresponding signal channel upon receiving the control signal; The test signal is used to instruct the vehicle controller to perform a corresponding operation, and to send a corresponding feedback signal to the test cabinet after the execution is completed.
[0007] In an optional embodiment, the test component includes one or more of the following combinations: Power supply test components; Lighting test kit; Wiper and washer test assembly; Door lock test kit.
[0008] In an optional embodiment, the test component displayed in the test control interface includes a control area, and the control area includes one or more control buttons; The step of responding to a test request triggered by a user based on any test component and sending a corresponding control signal to the test cabinet comprises: When the user triggers any control button, the corresponding control signal is sent to the test cabinet.
[0009] In an optional embodiment, the test component displayed in the test control interface includes a feedback area, and the feedback area includes one or more feedback indicator lights; The receiving the indication signal sent by the test cabinet and displaying the indication signal on the test control interface includes: When any indication signal sent by the test cabinet is received, the display state of the feedback indicator light associated with the indication signal is changed.
[0010] In an optional embodiment, the test signal and the feedback signal are physical signals, and the control signal and the indication signal are electrical signals.
[0011] In a second aspect, an embodiment of the present application provides a vehicle controller testing method, which is applied to any one of the testing devices provided in the first aspect, and the method includes: The test cabinet receives the feedback signal sent by the vehicle controller and sends an indication signal associated with the feedback signal to the host computer, wherein the test cabinet is provided with a plurality of signal channels, each signal channel being used to transmit a corresponding type of feedback signal; When the host computer receives the indication signal sent by the test cabinet, the indication signal is displayed on a test control interface, wherein the test control interface includes a plurality of test components, each of which is used to test at least one vehicle controller.
[0012] In an optional embodiment, the method further includes: In response to a test request triggered by a user based on any test component, the host computer sends a corresponding control signal to the test cabinet; When the test cabinet receives the control signal, it sends a test signal associated with the control signal to the vehicle controller through a corresponding signal channel.
[0013] In an optional embodiment, the method further includes: The host computer displays the test control interface, and the host computer also displays test components in addition to the test control interface; When the user drags any test component into the area of the test control interface, the host computer adds the test component selected by the user to the test control interface.
[0014] In the embodiment of the present application, the test control interface of the host computer is composed of multiple test components. For different vehicle controllers, the user can select different test components to build the test control interface; multiple signal channels are set in the test cabinet for transmitting different types of test signals; through the cooperation between the host computer and the test cabinet, the test environment of various vehicle controllers can be quickly built, and the test environment can be deleted from the software level after the test is completed, which not only improves the test efficiency of the vehicle controller, but also reduces the test cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0016] Figure 1 A schematic diagram of the structure of a vehicle controller testing device provided in an embodiment of the present application; Figure 2 A flow chart of a vehicle controller testing method provided in an embodiment of the present application; Figure 3 An exemplary schematic diagram of a vehicle controller testing method provided in an embodiment of the present application; Figure 4 An exemplary schematic diagram of another vehicle controller testing method provided in an embodiment of the present application; Figure 5 A flow chart of another vehicle controller testing method provided in an embodiment of the present application; Figure 6 A flow chart of another vehicle controller testing method provided in an embodiment of the present application; Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0017] In order to better understand the technical solution of the present application, the embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0018] It should be clear that the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0019] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.
[0020] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0021] The traditional method of building a test bench to test vehicle controllers usually has the following disadvantages: (1) Long construction time: The construction process includes but is not limited to designing the signal source, designing the signal processing board, and designing the signal acquisition board. The construction process takes several days.
[0022] (2) Long operation time: During the vehicle controller test, the tester needs to manually turn the switches and buttons on the test bench, and the execution of a test case takes about tens of seconds.
[0023] (3) Poor reusability: The test benches used by different vehicle controllers are highly independent and cannot be shared.
[0024] In response to the above problems, an embodiment of the present application provides a vehicle controller testing device and method. With the cooperation of a host computer and a test cabinet, different test components are selected for different vehicle controllers to quickly build a corresponding test environment, and the test process is simple to operate and highly reusable.
[0025] Figure 1 This is a schematic diagram of the structure of a vehicle controller testing device provided in an embodiment of the present application. Figure 1As shown, the device may include a host computer and a test cabinet. The test cabinet is connected to the host computer on the one hand, and is connected to the vehicle controller to be tested on the other hand. Different types of signal channels are provided in the test cabinet, which are used to transmit different types of physical signals. Optionally, the physical signal may include a test signal sent by the test cabinet to the vehicle controller and a feedback signal sent by the vehicle controller to the test cabinet. For different types of vehicle controllers, the host computer is pre-configured with corresponding test components, and each test component can be used to test a vehicle controller of a certain type or a certain area in a vehicle.
[0026] Based on the types of vehicle controllers available on the market, developers can pre-set various types of test components in the host computer to cover most vehicle controllers. In actual testing, based on the type of vehicle controller, testers can add the corresponding test components to the test control interface and then perform test operations.
[0027] Optionally, different test components can be used to test vehicle controllers with different functions, or different test components can be used to test vehicle controllers that transmit different signal types. For example, based on the functions of the vehicle controllers, test component A can be used to test the wiper controller, test component B can be used to test the door lock controller, and test component C can be used to test the light controller. For another example, based on the type of transmitted signals, test component 1 can be used to test input / output (I / O) signals, and test component 2 can be used to test pulse width modulation (PWM) signals. The above-mentioned division method of the test components is only an exemplary description. In other embodiments, different test components can also be set based on other methods.
[0028] Since the test components have been pre-developed and stored in the host computer, the tester only needs to perform simple operations to build the test environment. Optionally, after the host computer displays the initial test control interface, the tester can build the test environment by dragging the test components to the test control interface. Compared with the traditional bench construction, the modular construction method based on the software level in the embodiment of the present application can effectively improve the construction speed of the test environment, thereby improving the test efficiency.
[0029] After the test environment is built, the tester can test the vehicle controller based on the test device as follows: Figure 2 As shown, specifically including: Step 201: Determine a control signal in response to a user operation.
[0030] During the vehicle controller test, the host computer displays the corresponding test control interface. The test control interface contains one or more test components. When the tester wants to test any vehicle controller, the test component can trigger the corresponding signal to start the test process. Specifically, when the host computer detects the tester's operation on any test component, it determines the control signal corresponding to the current test component.
[0031] Step 202: The host computer sends a control signal to the test cabinet.
[0032] After determining the control signal, the host computer sends the control signal to the test cabinet.
[0033] In step 203 , the test cabinet determines a test signal associated with the control signal and sends the test signal to the vehicle controller.
[0034] The control signal is an electrical signal, which is transmitted between the host computer and the test cabinet. The test cabinet is provided with multiple signal channels, which are used to send actual physical signals to the vehicle controller and receive physical signals fed back by the vehicle controller. Specifically, after receiving the control signal sent by the host computer, the test cabinet determines the test signal associated with the control signal, which is a physical signal, and is transmitted to the vehicle controller through the signal channel of the test cabinet.
[0035] Step 204: perform corresponding operations based on the test signal.
[0036] The test signal can be regarded as various signals that may be received during the driving of the vehicle. For example, the test signal may include a light signal, a door lock signal, and a wiper washing signal. After receiving the test signal, the vehicle controller controls the vehicle to perform corresponding operations.
[0037] Step 205: The vehicle controller sends a corresponding feedback signal to the test cabinet.
[0038] The feedback signal can be used to indicate whether the current vehicle controller can normally perform corresponding operations according to the test signal.
[0039] Step 206: The test cabinet determines an indication signal associated with the feedback signal, and sends the indication signal to the host computer.
[0040] When the test cabinet receives the feedback signal through the signal channel, it determines the corresponding indication signal and sends the indication signal to the host computer.
[0041] Step 207: The host computer displays the indication signal on the test control interface.
[0042] After receiving the indication signal, the host computer displays the indication signal on the test control interface.
[0043] In an optional embodiment, the test control interface displayed by the host computer can be as follows: Figure 3 As shown, it includes: power supply test component, wiper and washing test component, lighting test component and door lock test component. Most test components such as wiper and washing test component, lighting test component and door lock test component include control area and test area. The control area includes one or more control buttons, each of which corresponds to a control signal. When the user clicks any control button, the host computer can send the corresponding control signal to the test cabinet. The feedback area includes one or more feedback indicator lights, each of which corresponds to an indication signal. When the host computer receives the indication signal sent by the test cabinet, it will change the display state of the corresponding feedback indicator light. For example, the feedback indicator light is off by default. When the indication signal is received, the host computer adjusts the feedback indicator light to a constant light state. For another example, the feedback indicator light is white by default. When the indication signal is received, the host computer adjusts the feedback indicator light to red. The display state of the feedback indicator light is not limited and can be flexibly set by the tester.
[0044] Reference Figure 4 When the tester wants to test the vehicle's light controller, he can click the control button in the light test component to execute the test process. The position indicated by arrow 401 is the control button of the headlight switch. When the tester clicks the control button, the host computer changes the display state of the control button, indicating that the current test has started. If the vehicle's headlights can be turned on normally, the host computer will receive the indication signal sent by the test cabinet. After receiving the indication signal, the host computer changes the display state of the headlights.
[0045] Compared with manually turning switches and buttons on the test bench, after applying the above test device, the tester only needs to operate the test components in the test control interface of the host computer, and the physical signal is sent by the test cabinet. This test method reduces the amount of operations and the difficulty of operation in the test process, and shortens the test time. In addition, when the tester wants to test another batch of vehicle controllers, he only needs to delete the original test components in the test control interface and re-add other test components. By adjusting the test components at the software level, the test environment can be adjusted efficiently, and the reusability is strong.
[0046] Figure 5 A flow chart of another vehicle controller testing method provided in an embodiment of the present application. Figure 5 As shown, the method may include: Step 501, determine the signal type and signal direction of the vehicle controller under test.
[0047] Before testing, the tester sorts out the signal types (such as I / O signals, PWM signals, resistance switch signals) and signal directions (such as input signals, output signals) of the vehicle controller under test.
[0048] Step 502: Select a corresponding signal channel in the test cabinet.
[0049] The test cabinet is pre-set with multiple signal channels, corresponding to different signal types and / or signal directions. The tester needs to select the signal channel associated with the current signal type and signal direction.
[0050] Step 503: adjust the test model according to the signal channel.
[0051] The tester adjusts the test model at the software level. Optionally, the test software in the host computer can be developed and implemented by MATLAB.
[0052] Step 504: construct a test control interface.
[0053] Testers add test components to the test control interface by dragging and dropping test components, thereby quickly building the test control interface.
[0054] Step 505, perform the test.
[0055] The tester operates the vehicle controller by operating in the test control interface. The specific test process can refer to the description of the above embodiment.
[0056] Figure 6 A flow chart of another vehicle controller testing method provided in an embodiment of the present application. Figure 6 As shown, the method may include: Step 601: The test cabinet receives the feedback signal sent by the vehicle controller and sends an indication signal associated with the feedback signal to the host computer. The test cabinet is provided with a plurality of signal channels, each of which is used to transmit a corresponding type of feedback signal.
[0057] Step 602, when the host computer receives the indication signal sent by the test cabinet, the indication signal is displayed on the test control interface, and the test control interface includes multiple test components, each test component is used to test at least one vehicle controller.
[0058] In an optional embodiment, after the test starts, in response to a test request triggered by a user based on any test component, the host computer sends a corresponding control signal to the test cabinet. When the test cabinet receives the control signal, it sends a test signal associated with the control signal to the vehicle controller through a corresponding signal channel.
[0059] For other details, please refer to the description in the above embodiments.
[0060] The testing device and testing method provided by the embodiments of the present application may have the following advantages: (1) Short test environment construction time and strong portability: The test bench consists of a host computer and a test cabinet. The channel type and number of the test cabinet have been set, and the channel model at the software level has been established. The test cabinet and channel model can be used for any vehicle controller test project.
[0061] (2) Short test bench operation time: After the host computer developer develops the test components and the initial test control interface, the tester can complete the test by simply clicking the corresponding test component with the mouse.
[0062] (3) The test bench is easy to use: the test components are visual modules that can be added to the test control interface by dragging and dropping, and the overall operation is simple.
[0063] (4) The test bench has strong iteration capability: Based on a modular construction concept, the channel model can be quickly updated and iterated at the software level according to actual needs.
[0064] Corresponding to the above embodiment, the present application also provides an electronic device that can be used to implement the above host computer. Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application, the electronic device 700 may include: a processor 701, a memory 702 and a communication unit 703. These components communicate through one or more buses. Those skilled in the art can understand that the structure of the electronic device shown in the figure does not constitute a limitation on the embodiment of the present application. It can be a bus structure or a star structure, and can also include more or fewer components than shown in the figure, or combine certain components, or arrange components differently.
[0065] The communication unit 703 is used to establish a communication channel so that the electronic device can communicate with other devices, receive user data sent by other devices or send user data to other devices.
[0066] The processor 701 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. It runs or executes software programs, instructions, and / or modules stored in the memory 702, and calls data stored in the memory to perform various functions of the electronic device and / or process data. The processor can be composed of an integrated circuit (IC), for example, it can be composed of a single packaged IC, or it can be composed of multiple packaged ICs with the same or different functions. For example, the processor 701 can include only a central processing unit (CPU). In the embodiment of the present application, the CPU can be a single computing core or multiple computing cores.
[0067] The memory 702 is used to store the execution instructions of the processor 701. The memory 702 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0068] When the execution instructions in the memory 702 are executed by the processor 701 , the electronic device 700 is enabled to execute part or all of the steps in the above embodiments.
[0069] In a specific implementation, the present application also provides a computer storage medium, wherein the computer storage medium may store a program, and when the program is executed, the program may include some or all of the steps in each embodiment of the vehicle controller test method provided in the present application. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0070] In a specific implementation, the present application also provides a computer program product, wherein the computer program product includes executable instructions, and when the executable instructions are executed on a computer, the computer executes part or all of the steps in each embodiment of the vehicle controller testing method provided in the present application.
[0071] An embodiment of the present application also provides a non-temporary computer-readable storage medium, which stores computer instructions, and the computer instructions enable the computer to execute the vehicle controller testing method provided by the embodiment of the present application.
[0072] The above-mentioned non-temporary computer-readable storage medium may adopt any combination of one or more computer-readable media. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. 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, a random access memory (RAM), a read-only memory (Read Only Memory; hereinafter referred to as: ROM), an erasable programmable read-only memory (ErasableProgrammable Read Only Memory; hereinafter referred to as: EPROM) or flash memory, optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, device or device.
[0073] Computer-readable signal media may include a data signal propagated in baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0074] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0075] Those skilled in the art can clearly understand that the technology in the embodiments of the present application can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solution in the embodiments of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application or some parts of the embodiments.
[0076] In this specification, the same or similar parts between the various embodiments can be referred to each other. In particular, for the device embodiment and the terminal embodiment, since they are basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description in the method embodiment.
Claims
1. A vehicle controller testing device, characterized in that: The device comprises: A test cabinet, used for receiving a feedback signal sent by a vehicle controller and sending an indication signal associated with the feedback signal to a host computer, wherein the test cabinet is provided with a plurality of signal channels, each signal channel being used for transmitting a corresponding type of feedback signal; The host computer is used to receive the indication signal sent by the test cabinet and display the indication signal on the test control interface. The test control interface includes multiple test components, each of which is used to test at least one vehicle controller.
2. The device according to claim 1, characterized in that The host computer is further configured to add the test component selected by the user to the test control interface in response to the user's selection operation on at least one test component.
3. The device according to claim 1, characterized in that The host computer is further used to respond to a test request triggered by a user based on any test component and send a corresponding control signal to the test cabinet; The test cabinet is further configured to send a test signal associated with the control signal to the vehicle controller through a corresponding signal channel upon receiving the control signal; The test signal is used to instruct the vehicle controller to perform a corresponding operation, and to send a corresponding feedback signal to the test cabinet after the execution is completed.
4. The device according to claim 1, characterized in that The test components include one or more of the following combinations: Power supply test components; Lighting test kit; Wiper and washer test assembly; Door lock test kit.
5. The device according to claim 3, characterized in that The test component displayed in the test control interface includes a control area, and the control area includes one or more control buttons; The step of responding to a test request triggered by a user based on any test component and sending a corresponding control signal to the test cabinet comprises: When the user triggers any control button, the corresponding control signal is sent to the test cabinet.
6. The device according to claim 1, characterized in that The test component displayed in the test control interface includes a feedback area, and the feedback area includes one or more feedback indicator lights; The receiving the indication signal sent by the test cabinet and displaying the indication signal on the test control interface includes: When any indication signal sent by the test cabinet is received, the display state of the feedback indicator light associated with the indication signal is changed.
7. The device according to claim 3, characterized in that The test signal and the feedback signal are physical signals, and the control signal and the indication signal are electrical signals.
8. A vehicle controller testing method, characterized in that: Applied to the testing device according to any one of claims 1 to 7, the method comprises: The test cabinet receives the feedback signal sent by the vehicle controller and sends an indication signal associated with the feedback signal to the host computer, wherein the test cabinet is provided with a plurality of signal channels, each signal channel being used to transmit a corresponding type of feedback signal; When the host computer receives the indication signal sent by the test cabinet, the indication signal is displayed on a test control interface, wherein the test control interface includes a plurality of test components, each of which is used to test at least one vehicle controller.
9. The method according to claim 8, characterized in that The method further comprises: In response to a test request triggered by a user based on any test component, the host computer sends a corresponding control signal to the test cabinet; When the test cabinet receives the control signal, it sends a test signal associated with the control signal to the vehicle controller through a corresponding signal channel.
10. The method according to claim 8, characterized in that The method further comprises: The host computer displays the test control interface, and the host computer also displays test components in addition to the test control interface; When the user drags any test component into the area of the test control interface, the host computer adds the test component selected by the user to the test control interface.
Citation Information
Patent Citations
Network automation test method, cabinet and test host
CN102608993A
Network communication signal automatic testing system for body control module
CN106647690A
Automatic test system applied to multi-platform vehicle body controller
CN114003020A
Automatic test platform of automotive body electrical control unit
CN202421886U
General test platform of automotive electronics controller based on CANoe
CN204595599U
Cited By
Semiconductor controller test system and test method
CN120315429A
Chassis dynamometer-based multi-system collaborative test system and development and test method
CN121521497A