CN115933584B - Vehicle-mounted controller testing system, method, computer equipment and storage medium - Google Patents

Vehicle-mounted controller testing system, method, computer equipment and storage medium Download PDF

Info

Publication number
CN115933584B
CN115933584B CN202211324083.0A CN202211324083A CN115933584B CN 115933584 B CN115933584 B CN 115933584B CN 202211324083 A CN202211324083 A CN 202211324083A CN 115933584 B CN115933584 B CN 115933584B
Authority
CN
China
Prior art keywords
signal
area network
ethernet
controller
conversion module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211324083.0A
Other languages
Chinese (zh)
Other versions
CN115933584A (en
Inventor
孟建军
黄大飞
刘小飞
刘汉
何京川
李城治
胡小倩
邓海龙
李玲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Selis Phoenix Intelligent Innovation Technology Co ltd
Original Assignee
Chongqing Selis Phoenix Intelligent Innovation Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chongqing Selis Phoenix Intelligent Innovation Technology Co ltd filed Critical Chongqing Selis Phoenix Intelligent Innovation Technology Co ltd
Priority to CN202211324083.0A priority Critical patent/CN115933584B/en
Publication of CN115933584A publication Critical patent/CN115933584A/en
Application granted granted Critical
Publication of CN115933584B publication Critical patent/CN115933584B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The application relates to a vehicle-mounted controller test system, a method, a device, computer equipment and a storage medium. The system comprises: the test module is connected with the electronic controller to be tested through a controller local area network; the signal conversion module, one end of the signal conversion module is connected with the test module through the controller local area network, and the other end of the signal conversion module is connected with the electronic controller to be tested through the Ethernet; the test module is used for testing the electronic controller to be tested through the converted controller local area network signal. The method can solve the problem that the traditional HIL in the prior art cannot support Ethernet test.

Description

Vehicle-mounted controller testing system, method, computer equipment and storage medium
Technical Field
The present application relates to the field of testing technologies, and in particular, to a system, a method, a computer device, and a storage medium for testing an on-board controller.
Background
In recent years, with the rapid development of new energy automobiles, electronic devices in the automobiles are more and more, and the requirements on bandwidth are higher and higher, and the on-board Ethernet can meet the problems of calculation and communication of different devices in the automobiles, communication delay and the like, so that the on-board Ethernet gradually becomes a new energy automobile communication trend. At present, the test of the vehicle-mounted controller is performed through a hardware-in-the-loop (HIL) simulation test rack, but the traditional HIL basically only supports a controller local area network/local interconnection network (Controller Area Network/Local Interconnect Network, CAN/LIN) communication mode, and does not support the Ethernet test, so that the closed loop HIL test of the Ethernet function cannot be formed. If the closed loop HIL test of the ethernet function is required, a new HIL test bench supporting the ethernet function needs to be purchased again, which requires a lot of cost and time waste.
Disclosure of Invention
Based on the above, a vehicle-mounted controller testing system, a method, computer equipment and a storage medium are provided, and the problem that the traditional HIL in the prior art cannot support Ethernet testing is solved.
In one aspect, there is provided an in-vehicle controller testing system, the system comprising:
the test module is connected with the electronic controller to be tested through a controller local area network;
the signal conversion module is used for collecting Ethernet signals sent by the test module, extensible markup language files and corresponding Ethernet signal characteristics, and the signal conversion module is used for compiling the Ethernet signals into a controller area network database file according to the Ethernet signal characteristics and converting the Ethernet signals into the controller area network signals;
the test module is used for testing the electronic controller to be tested through the converted controller area network signal.
In one embodiment, the test module is configured to obtain, according to an initial controller area network database file and the controller area network database file, connection between a controller area network interface of the test module and the signal conversion module and the electronic controller to be tested, so that the controller area network interface of the test module transmits the controller area network signal.
In one embodiment, the signal conversion module is further configured to establish an association according to a signal name of the ethernet signal and a signal name of the controller area network signal, so as to obtain a correspondence between the ethernet signal and the controller area network signal.
In one embodiment, the test module is configured to send a controller area network signal to the signal conversion module, where the signal conversion module responds to the controller area network signal from the test module and sends the corresponding ethernet signal to the electronic controller to be tested; the test module is further configured to receive a controller area network signal from the signal conversion module, and test the electronic controller to be tested in response to the controller area network signal of the signal conversion module, where the controller area network signal of the signal conversion module is obtained by performing signal conversion on an ethernet signal from the electronic controller to be tested through the signal conversion module.
In another aspect, a vehicle-mounted controller testing method is provided, and the method is applied to the vehicle-mounted controller testing system described in the above embodiment, and includes the following steps: the signal conversion module is connected with the electronic controller to be tested through the Ethernet, the extensible markup language file corresponding to the Ethernet is obtained and imported, and the signal conversion module obtains an analog Ethernet signal from the extensible markup language file; the signal conversion module is connected with the test module through a controller area network, the signal conversion module establishes and imports the controller area network database file, the signal conversion module collects the controller area network signals from the test module, and the signal conversion module determines the controller area network signals corresponding to the Ethernet signals from the controller area network signals according to the controller area network database file; and the signal conversion module establishes a corresponding relation between the Ethernet signal and the corresponding controller area network signal, converts the controller area network signal into the Ethernet signal, and sends the converted Ethernet signal to the electronic controller to be tested.
In one embodiment, the method further comprises: the signal conversion module is connected with the electronic controller to be tested through the Ethernet, the extensible markup language file corresponding to the Ethernet is obtained and imported, and the signal conversion module determines an Ethernet signal to be collected from the extensible markup language file; the signal conversion module is connected with the test module through a controller area network, the signal conversion module establishes and imports the controller area network database file, and the signal conversion module obtains a controller area network signal corresponding to the Ethernet signal to be acquired according to the controller area network database file; and the signal conversion module establishes a corresponding relation between the Ethernet signal and the controller area network signal so as to convert the Ethernet signal to be acquired into the controller area network signal and send the controller area network signal to the test module for testing.
In one embodiment, the signal conversion module establishes and imports the controller area network database file, including: the signal conversion module acquires the Ethernet signal sent by the electronic controller to be tested through the Ethernet and the corresponding Ethernet signal characteristic; and the signal conversion module orderly codes the Ethernet signals into the controller area network database file according to the characteristics of the Ethernet signals so as to establish the controller area network database file.
In one embodiment, the signal conversion module establishes a correspondence between the ethernet signal and the controller area network signal, including: and the signal conversion module establishes a corresponding relation between each Ethernet signal and each controller area network signal according to the signal name of the Ethernet signal and the signal name of the controller area network signal.
In yet another aspect, a computer device is provided comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the steps of: the signal conversion module is connected with the electronic controller to be tested through the Ethernet, the extensible markup language file corresponding to the Ethernet is obtained and imported, and the signal conversion module obtains an analog Ethernet signal from the extensible markup language file; the signal conversion module is connected with the test module through a controller area network, the signal conversion module establishes and imports the controller area network database file, the signal conversion module collects the controller area network signals from the test module, and the signal conversion module determines the controller area network signals corresponding to the Ethernet signals from the controller area network signals according to the controller area network database file; and the signal conversion module establishes a corresponding relation between the Ethernet signal and the corresponding controller area network signal, converts the controller area network signal into the Ethernet signal, and sends the converted Ethernet signal to the electronic controller to be tested.
In yet another aspect, a computer readable storage medium is provided, having stored thereon a computer program which when executed by a processor performs the steps of: the signal conversion module is connected with the electronic controller to be tested through the Ethernet, the extensible markup language file corresponding to the Ethernet is obtained and imported, and the signal conversion module obtains an analog Ethernet signal from the extensible markup language file; the signal conversion module is connected with the test module through a controller area network, the signal conversion module establishes and imports the controller area network database file, the signal conversion module collects the controller area network signals from the test module, and the signal conversion module determines the controller area network signals corresponding to the Ethernet signals from the controller area network signals according to the controller area network database file; and the signal conversion module establishes a corresponding relation between the Ethernet signal and the corresponding controller area network signal, converts the controller area network signal into the Ethernet signal, and sends the converted Ethernet signal to the electronic controller to be tested.
According to the vehicle-mounted controller testing method, the device, the computer equipment and the storage medium, the testing module is connected with the electronic controller to be tested through the controller local area network; the signal conversion module is used for collecting Ethernet signals sent by the test module, extensible markup language files and corresponding Ethernet signal characteristics, and the signal conversion module is used for compiling the Ethernet signals into a controller area network database file according to the Ethernet signal characteristics and converting the Ethernet signals into the controller area network signals; the test module is used for testing the electronic controller to be tested through the converted controller area network signal, so that the problem that the traditional HIL in the prior art cannot support Ethernet test is solved.
Drawings
FIG. 1 is a system block diagram of an on-board controller test system in one embodiment;
FIG. 2 is a system block diagram of an on-board controller test system in another embodiment;
FIG. 3 is a flow chart of a method for testing an onboard controller in one embodiment;
FIG. 4 is an internal block diagram of a computer device in one embodiment;
1. Controller area network
2. Ethernet network
3. Hard wire connection
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
In one embodiment, as shown in FIG. 1, there is provided an in-vehicle controller testing system comprising:
The test module is connected with the electronic controller to be tested through the controller area network 1;
The signal conversion module is connected with the test module through the controller area network 1, the other end of the signal conversion module is connected with the electronic controller to be tested through the Ethernet 2, the signal conversion module is used for collecting the Ethernet signals sent by the test module, the extensible markup language files and the corresponding Ethernet signal characteristics, the signal conversion module is used for compiling the Ethernet signals into the controller area network database files according to the Ethernet signal characteristics, and the Ethernet signals are converted into the controller area network signals;
The test module is used for testing the electronic controller to be tested through the converted controller local area network signal.
It should be noted that, the system is applied to the situation that the traditional HIL test bench only supports the test by the CAN/LIN communication mode and cannot support the Ethernet 2 test. The signal conversion module is added between the test module and the electronic controller to be tested, the CAN signal sent by the test module is converted into an Ethernet signal communicated with the electronic controller to be tested or the Ethernet signal of the electronic controller to be tested is converted into a CAN signal communicated with the test module, so that the test of the electronic controller to be tested is realized, further, as shown in fig. 2, the test module is a traditional HIL test bench, the electronic controller to be tested is a tested controller ECU, and the signal conversion module is a device A, wherein the device A CAN be a device VN5620. When the electronic controller to be tested is tested, the Ethernet signal and the CAN signal of the system are required to be preprocessed, and the method specifically comprises the steps that firstly, a signal conversion module carries out signal carding, the Ethernet signal which is required to be collected and sent by the electronic controller to be tested through the Ethernet 2 and an extensible markup language (XML) file corresponding to the Ethernet 2 are collected, the Ethernet signal characteristics of the corresponding Ethernet signal are obtained from the collected Ethernet signal, the Ethernet signal characteristics CAN comprise the initial value, the precision, the maximum value, the minimum value and the signal range of the Ethernet signal, and the Ethernet signal is orderly organized into a newly-built controller local area network Database (DBC) file according to the Ethernet signal characteristics, so that the Ethernet signal is converted into the corresponding controller local area network signal according to the DBC.
In the vehicle-mounted controller test system, the signal conversion module is added in the original vehicle-mounted controller test system, so that the conversion between the Ethernet signal and the controller area network signal is realized, and the problem that the Ethernet 2 test cannot be supported by the traditional HIL is solved.
As a specific implementation manner of the foregoing embodiment, the test module is configured to obtain, according to the initial controller area network database file and the controller area network database file, connection between the controller area network interface of the test module and the signal conversion module and the electronic controller to be tested, so that the controller area network interface of the test module transmits the controller area network signal.
It should be noted that, as shown in fig. 2, the test module, i.e. the HIL test bench completes engineering construction of the CAN/LIN of the test module according to the original DBC file of the electronic controller to be tested and the DBC file newly created according to the collected ethernet signal, and completes engineering construction of the hard wire connection 3, the dynamics model, etc. of the test module and the electronic controller to be tested in sequence, so that the CAN/LIN interface of the test module transmits the controller local network signal.
As a specific implementation manner of the foregoing embodiment, the signal conversion module is further configured to establish an association according to a signal name of the ethernet signal and a signal name of the controller area network signal, so as to obtain a correspondence between the ethernet signal and the controller area network signal.
It should be noted that, the XML file of the ethernet 2 and the DBC file newly created according to the ethernet signal are sequentially imported, and the signal names of the ethernet signal and the signal names of the controller area network signal are respectively set up to have a corresponding relationship, so that the ethernet signal and the controller area network signal are in one-to-one correspondence.
As a specific implementation manner of the foregoing embodiment, the test module is configured to send a controller area network signal to the signal conversion module, where the signal conversion module responds to the controller area network signal from the test module and sends a corresponding ethernet signal to the electronic controller to be tested; the test module is also used for receiving the controller area network signal from the signal conversion module and responding to the controller area network signal of the signal conversion module to test the electronic controller to be tested, wherein the controller area network signal of the signal conversion module is obtained by signal conversion of the Ethernet signal from the electronic controller to be tested through the signal conversion module.
It should be noted that, as shown in fig. 2, in some implementation processes, an XML file may be imported in CANOE engineering, an IG module is added in CANOE engineering to simulate ethernet message transmission, an ethernet signal sent by a signal conversion module is determined in the XML file, such as SignalA _e, then a newly built DBC file is imported in CANOE engineering, a CAN signal sent by a test module is collected by the signal conversion module, a CAN signal SignalA _c corresponding to the ethernet signal SignalA _e is found, then engineering link compiling is performed on the CAN signal SignalA _c and the ethernet signal SignalA _e by CANOE engineering, so as to realize real-time association between the CAN signal SignalA _c and the ethernet signal SignalA _e, and realize that the CAN signal SignalA _c sent by the test module is converted into the ethernet signal SignalA _e through the signal conversion module and then received by the control controller ECU; in other implementation processes, an XML file can be imported in CANOE engineering, an engineering acquisition Ethernet message is added in CANOE engineering, and one Ethernet signal SignalB _E needing to be acquired by a signal conversion module is selected in the XML file at first; introducing a newly built DBC file in CANOE engineering, adding an IG module in CANOE engineering to simulate CAN message transmission, finding a CAN signal SignalB _C corresponding to an Ethernet signal SignalB _E from the CAN message, and carrying out engineering link compiling on the CAN signal SignalB _C and the Ethernet signal SignalB _E through CANOE engineering to realize real-time association of the CAN signal SignalB _C and the Ethernet signal SignalB _E; the Ethernet signal SignalB _E sent by the ECU is converted into the CAN signal SignalB _C through the signal conversion module and received by the test module.
In some implementation processes, as shown in fig. 2, the rest parts of the ECU, such as a hardware part and a CAN line part, of the tested controller are directly connected with the HIL test rack by a hard wire 3, the ethernet 2 is firstly connected with the equipment a, and then the equipment a is connected with the HIL test rack by the hard wire 3, so that the whole HIL test engineering is finally built without purchasing an HIL rack for CAN test additionally, and the test cost is further saved.
In one embodiment, as shown in fig. 3, there is provided a vehicle-mounted controller testing method, which is applied to any one of the embodiments described above, and the method includes the following steps: the signal conversion module is connected with the electronic controller to be tested through the Ethernet 2, and acquires and imports an extensible markup language file corresponding to the Ethernet 2, and the signal conversion module acquires an analog Ethernet signal from the extensible markup language file; the signal conversion module is connected with the test module through the controller area network 1, the signal conversion module establishes and imports the controller area network database file, the signal conversion module collects the controller area network signals from the test module, and the signal conversion module determines the controller area network signals corresponding to the Ethernet signals from the controller area network signals according to the controller area network database file; the signal conversion module establishes a corresponding relation between the Ethernet signal and the corresponding controller area network signal, converts the controller area network signal into the Ethernet signal, and sends the converted Ethernet signal to the electronic controller to be tested.
As a specific implementation manner of the above embodiment, the signal conversion module is connected with the electronic controller to be tested through the ethernet 2, and obtains and imports the extensible markup language file corresponding to the ethernet 2, and the signal conversion module determines the ethernet signal to be collected from the extensible markup language file; the signal conversion module is connected with the test module through the controller local area network 1, the signal conversion module establishes and imports a controller local area network database file, and the signal conversion module obtains a controller local area network signal corresponding to the Ethernet signal to be acquired according to the controller local area network database file; the signal conversion module establishes a corresponding relation between the Ethernet signal and the controller area network signal so as to convert the Ethernet signal to be collected into the controller area network signal, and sends the controller area network signal to the test module for testing.
As a specific implementation manner of the above embodiment, the signal conversion module collects ethernet signals sent by the electronic controller to be tested through the ethernet 2 and corresponding ethernet signal characteristics; and the signal conversion module orderly compiles the Ethernet signals into the controller area network database file according to the characteristics of the Ethernet signals so as to establish the controller area network database file.
As a specific implementation manner of the foregoing embodiment, the signal conversion module establishes a correspondence between each ethernet signal and each controller area network signal according to a signal name of the ethernet signal and a signal name of the controller area network signal.
It should be understood that, although the steps in the flowchart of fig. 3 are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in fig. 3 may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor do the order in which the sub-steps or stages are performed necessarily performed in sequence, but may be performed alternately or alternately with at least a portion of the sub-steps or stages of other steps or other steps.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 4. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is used for storing test data of the vehicle-mounted controller. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program, when executed by a processor, implements a vehicle controller testing method.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure of which may be as shown in fig. 4. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program, when executed by a processor, implements a vehicle controller testing method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by persons skilled in the art that the architecture shown in fig. 4 is merely a block diagram of some of the architecture relevant to the present inventive arrangements and is not limiting as to the computer device to which the present inventive arrangements are applicable, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a computer device is provided comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the steps of when executing the computer program: the signal conversion module is connected with the electronic controller to be tested through the Ethernet 2, and acquires and imports an extensible markup language file corresponding to the Ethernet 2, and the signal conversion module acquires an analog Ethernet signal from the extensible markup language file; the signal conversion module is connected with the test module through the controller area network 1, the signal conversion module establishes and imports the controller area network database file, the signal conversion module collects the controller area network signals from the test module, and the signal conversion module determines the controller area network signals corresponding to the Ethernet signals from the controller area network signals according to the controller area network database file; the signal conversion module establishes a corresponding relation between the Ethernet signal and the corresponding controller area network signal, converts the controller area network signal into the Ethernet signal, and sends the converted Ethernet signal to the electronic controller to be tested.
In one embodiment, the processor when executing the computer program further performs the steps of: the signal conversion module is connected with the electronic controller to be tested through the Ethernet 2, and acquires and imports an extensible markup language file corresponding to the Ethernet 2, and the signal conversion module determines an Ethernet signal to be collected from the extensible markup language file; the signal conversion module is connected with the test module through the controller area network 1, the signal conversion module establishes and imports a controller area network database file, and the signal conversion module obtains a controller area network signal corresponding to the Ethernet signal to be acquired according to the controller area network database file; the signal conversion module establishes a corresponding relation between the Ethernet signal and the controller area network signal so as to convert the Ethernet signal to be collected into the controller area network signal, and sends the controller area network signal to the test module for testing.
In one embodiment, the processor when executing the computer program further performs the steps of: the signal conversion module collects Ethernet signals sent by the electronic controller to be tested through the Ethernet 2 and corresponding Ethernet signal characteristics; and the signal conversion module orderly compiles the Ethernet signals into the controller area network database file according to the characteristics of the Ethernet signals so as to establish the controller area network database file.
In one embodiment, the processor when executing the computer program further performs the steps of: and the signal conversion module establishes a corresponding relation between each Ethernet signal and each controller area network signal according to the signal name of the Ethernet signal and the signal name of the controller area network signal.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of: the signal conversion module is connected with the electronic controller to be tested through the Ethernet 2, and acquires and imports an extensible markup language file corresponding to the Ethernet 2, and the signal conversion module acquires an analog Ethernet signal from the extensible markup language file; the signal conversion module is connected with the test module through the controller area network 1, the signal conversion module establishes and imports the controller area network database file, the signal conversion module collects the controller area network signals from the test module, and the signal conversion module determines the controller area network signals corresponding to the Ethernet signals from the controller area network signals according to the controller area network database file; the signal conversion module establishes a corresponding relation between the Ethernet signal and the corresponding controller area network signal, converts the controller area network signal into the Ethernet signal, and sends the converted Ethernet signal to the electronic controller to be tested.
In one embodiment, the computer program when executed by the processor further performs the steps of: the signal conversion module is connected with the electronic controller to be tested through the Ethernet 2, acquires and imports an extensible markup language file corresponding to the Ethernet, and determines an Ethernet signal to be collected from the extensible markup language file; the signal conversion module is connected with the test module through the controller local area network 1, the signal conversion module establishes and imports a controller local area network database file, and the signal conversion module obtains a controller local area network signal corresponding to the Ethernet signal to be acquired according to the controller local area network database file; the signal conversion module establishes a corresponding relation between the Ethernet signal and the controller area network signal so as to convert the Ethernet signal to be collected into the controller area network signal, and sends the controller area network signal to the test module for testing.
In one embodiment, the computer program when executed by the processor further performs the steps of: the signal conversion module collects Ethernet signals sent by the electronic controller to be tested through the Ethernet 2 and corresponding Ethernet signal characteristics; and the signal conversion module orderly compiles the Ethernet signals into the controller area network database file according to the characteristics of the Ethernet signals so as to establish the controller area network database file.
In one embodiment, the computer program when executed by the processor further performs the steps of: and the signal conversion module establishes a corresponding relation between each Ethernet signal and each controller area network signal according to the signal name of the Ethernet signal and the signal name of the controller area network signal.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (SYNCHLINK) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples illustrate only a few embodiments of the application, which are described in detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.

Claims (10)

1. A vehicle controller test system, comprising:
the test module is connected with the electronic controller to be tested through a controller local area network;
The signal conversion module, one end of the signal conversion module is connected with the test module through a controller local area network, and the other end of the signal conversion module is connected with the electronic controller to be tested through an Ethernet;
Wherein, the signal conversion module is used for: acquiring an Ethernet signal and corresponding Ethernet signal characteristics sent by the electronic controller to be tested, and compiling the Ethernet signal into a controller local area network database file according to the Ethernet signal characteristics; collecting controller area network signals from the test module, and determining controller area network signals corresponding to the simulated Ethernet signals from the controller area network signals according to the controller area network database file; establishing a corresponding relation between the simulated Ethernet signal and the corresponding controller area network signal, and converting the controller area network signal into the simulated Ethernet signal so as to send the simulated Ethernet signal to the electronic controller to be tested;
the test module is used for testing the electronic controller to be tested through the converted controller area network signal.
2. The vehicle-mounted controller testing system according to claim 1, wherein the testing module is configured to obtain, according to an initial controller area network database file and the controller area network database file, connection between a controller area network interface of the testing module and the signal conversion module and the electronic controller to be tested, respectively, so that the controller area network interface of the testing module transmits the controller area network signal.
3. The vehicle-mounted controller testing system according to claim 2, wherein the signal conversion module is further configured to establish an association according to a signal name of the ethernet signal and a signal name of the controller area network signal, and obtain a correspondence between the ethernet signal and the controller area network signal.
4. A vehicle controller test system according to any one of claims 1-3, wherein the test module is configured to send a controller area network signal to the signal conversion module, and the signal conversion module is configured to send the ethernet signal to the electronic controller under test in response to the controller area network signal from the test module;
The test module is further configured to receive a controller area network signal from the signal conversion module, and test the electronic controller to be tested in response to the controller area network signal of the signal conversion module, where the controller area network signal of the signal conversion module is obtained by performing signal conversion on an ethernet signal from the electronic controller to be tested through the signal conversion module.
5. A vehicle-mounted controller testing method, characterized by being applied to the vehicle-mounted controller testing system according to any one of claims 1 to 4, comprising:
The signal conversion module is connected with the electronic controller to be tested through the Ethernet, the extensible markup language file corresponding to the Ethernet is obtained and imported, and the signal conversion module obtains an analog Ethernet signal from the extensible markup language file;
The signal conversion module is connected with the test module through a controller area network, the signal conversion module establishes and imports the controller area network database file, the signal conversion module collects the controller area network signals from the test module, and the signal conversion module determines the controller area network signals corresponding to the Ethernet signals from the controller area network signals according to the controller area network database file;
And the signal conversion module establishes a corresponding relation between the Ethernet signal and the corresponding controller area network signal, converts the controller area network signal into the Ethernet signal, and sends the converted Ethernet signal to the electronic controller to be tested.
6. The vehicle-mounted controller testing method according to claim 5, further comprising:
The signal conversion module is connected with the electronic controller to be tested through the Ethernet, the extensible markup language file corresponding to the Ethernet is obtained and imported, and the signal conversion module determines an Ethernet signal to be collected from the extensible markup language file;
the signal conversion module is connected with the test module through a controller area network, the signal conversion module establishes and imports the controller area network database file, and the signal conversion module obtains a controller area network signal corresponding to the Ethernet signal to be acquired according to the controller area network database file;
And the signal conversion module establishes a corresponding relation between the Ethernet signal and the controller area network signal so as to convert the Ethernet signal to be acquired into the controller area network signal and send the controller area network signal to the test module for testing.
7. The method for testing an in-vehicle controller according to claim 6, wherein the signal conversion module creates and imports the controller area network database file, comprising:
The signal conversion module acquires the Ethernet signal sent by the electronic controller to be tested through the Ethernet and the corresponding Ethernet signal characteristic;
And the signal conversion module orderly codes the Ethernet signals into the controller area network database file according to the characteristics of the Ethernet signals so as to establish the controller area network database file.
8. The method for testing an on-vehicle controller according to claim 6, wherein the signal conversion module establishes a correspondence between the ethernet signal and the controller area network signal, comprising:
and the signal conversion module establishes a corresponding relation between each Ethernet signal and each controller area network signal according to the signal name of the Ethernet signal and the signal name of the controller area network signal.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 5 to 8 when the computer program is executed by the processor.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 5 to 8.
CN202211324083.0A 2022-10-27 2022-10-27 Vehicle-mounted controller testing system, method, computer equipment and storage medium Active CN115933584B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211324083.0A CN115933584B (en) 2022-10-27 2022-10-27 Vehicle-mounted controller testing system, method, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211324083.0A CN115933584B (en) 2022-10-27 2022-10-27 Vehicle-mounted controller testing system, method, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115933584A CN115933584A (en) 2023-04-07
CN115933584B true CN115933584B (en) 2024-06-11

Family

ID=86551452

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211324083.0A Active CN115933584B (en) 2022-10-27 2022-10-27 Vehicle-mounted controller testing system, method, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115933584B (en)

Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104852893A (en) * 2014-02-13 2015-08-19 现代自动车株式会社 In-vehicle apparatus for signal conversion between ethernet and CAN communication and control method thereof
KR101591225B1 (en) * 2015-01-07 2016-02-02 주식회사 와이즈오토모티브 Apparatus and method for converting can signal and ethernet signal
CN110233768A (en) * 2018-03-05 2019-09-13 上海博泰悦臻电子设备制造有限公司 CAN bus test macro and CAN bus test method based on UDS
CN110460621A (en) * 2019-09-10 2019-11-15 上海怿星电子科技有限公司 A kind of industry ethernet based on SOME/IP agreement and CAN bus data transfer device and system
CN211403232U (en) * 2019-11-18 2020-09-01 奇点汽车研发中心有限公司 Hardware-in-loop test system of vehicle control unit
CN111726335A (en) * 2020-05-08 2020-09-29 广东省智能制造研究所 Conversion system of OPC UA protocol based on CAN bus communication protocol
CN211603940U (en) * 2019-12-27 2020-09-29 郑州日产汽车有限公司 Data conversion system based on automatic driving line vehicle control platform
CN111835627A (en) * 2019-04-23 2020-10-27 华为技术有限公司 Communication method of vehicle-mounted gateway, vehicle-mounted gateway and intelligent vehicle
CN112367223A (en) * 2020-10-29 2021-02-12 中国第一汽车股份有限公司 Ethernet test method, device, equipment and medium for gateway controller
CN112866304A (en) * 2021-04-26 2021-05-28 知行汽车科技(苏州)有限公司 Mutual conversion equipment and mutual conversion method for CAN message and ROS message
CN112965470A (en) * 2021-04-06 2021-06-15 上海创程车联网络科技有限公司 Commercial car data center test system
CN113126590A (en) * 2020-01-16 2021-07-16 上海华东汽车信息技术有限公司 Vehicle diagnostic communication method, device, computer equipment and storage medium
CN215897766U (en) * 2021-05-28 2022-02-22 广州汽车集团股份有限公司 Vehicle data acquisition equipment and system
CN114095405A (en) * 2022-01-21 2022-02-25 国汽智控(北京)科技有限公司 Vehicle function unit testing method and device, electronic equipment and storage medium
CN114327401A (en) * 2021-12-22 2022-04-12 奇瑞商用车(安徽)有限公司 API development method, device, equipment and storage medium based on SOA architecture
CN114490387A (en) * 2022-01-26 2022-05-13 岚图汽车科技有限公司 Vehicle testing method and device
CN114661028A (en) * 2022-03-04 2022-06-24 一汽解放汽车有限公司 Intelligent driving controller test method and device, computer equipment and storage medium
US11398117B1 (en) * 2021-09-02 2022-07-26 Rivian Ip Holdings, Llc Method for real-time ECU crash reporting and recovery
CN114826954A (en) * 2021-06-30 2022-07-29 长城汽车股份有限公司 Vehicle-mounted Ethernet monitoring system and monitoring method
CN117082137A (en) * 2023-08-31 2023-11-17 重庆赛力斯新能源汽车设计院有限公司 Communication method, device, equipment and medium for maintaining OTA upgrade refreshing mode

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI230001B (en) * 2003-12-05 2005-03-21 Admtek Inc Method for integrating Ethernet network conversion system and RTL testing environment
FR2950449A1 (en) * 2009-09-23 2011-03-25 Eurocopter France REAL TIME SIMULATION HIGHLY REPRESENTATIVE OF AN AVIONIC SYSTEM

Patent Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104852893A (en) * 2014-02-13 2015-08-19 现代自动车株式会社 In-vehicle apparatus for signal conversion between ethernet and CAN communication and control method thereof
KR101591225B1 (en) * 2015-01-07 2016-02-02 주식회사 와이즈오토모티브 Apparatus and method for converting can signal and ethernet signal
CN110233768A (en) * 2018-03-05 2019-09-13 上海博泰悦臻电子设备制造有限公司 CAN bus test macro and CAN bus test method based on UDS
CN111835627A (en) * 2019-04-23 2020-10-27 华为技术有限公司 Communication method of vehicle-mounted gateway, vehicle-mounted gateway and intelligent vehicle
CN110460621A (en) * 2019-09-10 2019-11-15 上海怿星电子科技有限公司 A kind of industry ethernet based on SOME/IP agreement and CAN bus data transfer device and system
CN211403232U (en) * 2019-11-18 2020-09-01 奇点汽车研发中心有限公司 Hardware-in-loop test system of vehicle control unit
CN211603940U (en) * 2019-12-27 2020-09-29 郑州日产汽车有限公司 Data conversion system based on automatic driving line vehicle control platform
CN113126590A (en) * 2020-01-16 2021-07-16 上海华东汽车信息技术有限公司 Vehicle diagnostic communication method, device, computer equipment and storage medium
CN111726335A (en) * 2020-05-08 2020-09-29 广东省智能制造研究所 Conversion system of OPC UA protocol based on CAN bus communication protocol
CN112367223A (en) * 2020-10-29 2021-02-12 中国第一汽车股份有限公司 Ethernet test method, device, equipment and medium for gateway controller
CN112965470A (en) * 2021-04-06 2021-06-15 上海创程车联网络科技有限公司 Commercial car data center test system
CN112866304A (en) * 2021-04-26 2021-05-28 知行汽车科技(苏州)有限公司 Mutual conversion equipment and mutual conversion method for CAN message and ROS message
CN215897766U (en) * 2021-05-28 2022-02-22 广州汽车集团股份有限公司 Vehicle data acquisition equipment and system
CN114826954A (en) * 2021-06-30 2022-07-29 长城汽车股份有限公司 Vehicle-mounted Ethernet monitoring system and monitoring method
US11398117B1 (en) * 2021-09-02 2022-07-26 Rivian Ip Holdings, Llc Method for real-time ECU crash reporting and recovery
CN114327401A (en) * 2021-12-22 2022-04-12 奇瑞商用车(安徽)有限公司 API development method, device, equipment and storage medium based on SOA architecture
CN114095405A (en) * 2022-01-21 2022-02-25 国汽智控(北京)科技有限公司 Vehicle function unit testing method and device, electronic equipment and storage medium
CN114490387A (en) * 2022-01-26 2022-05-13 岚图汽车科技有限公司 Vehicle testing method and device
CN114661028A (en) * 2022-03-04 2022-06-24 一汽解放汽车有限公司 Intelligent driving controller test method and device, computer equipment and storage medium
CN117082137A (en) * 2023-08-31 2023-11-17 重庆赛力斯新能源汽车设计院有限公司 Communication method, device, equipment and medium for maintaining OTA upgrade refreshing mode

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于CANoe的CAN总线网关测试模型的设计;覃华强;苏凯;周志良;;汽车电器;20190520(05);第55-58页 *
汽车通用混合网络架构设计;杨朝阳;《湖北汽车工业学院学报》;20190615;第33卷(第02期);第5-10页 *

Also Published As

Publication number Publication date
CN115933584A (en) 2023-04-07

Similar Documents

Publication Publication Date Title
CN111930407A (en) Vehicle ECU software upgrading method and system, vehicle TBOX microcontroller and SOC terminal
CN113608518B (en) Data generation method, device, terminal equipment and medium
CN103064403A (en) Method and system of electronic control unit (ECU) hardware-in-loop simulation automated testing
CN104536434A (en) Vehicle network bus simulation and testing method
US20120096477A1 (en) Apparatus and method for providing vehicle information
CN113468070A (en) Consistency test method for vehicle-mounted Ethernet
CN210666480U (en) Vehicle test system
CN114780326B (en) Cross-platform calibration test method, device and equipment
CN111474923A (en) Vehicle diagnosis method, device and equipment
CN115933584B (en) Vehicle-mounted controller testing system, method, computer equipment and storage medium
CN202267836U (en) Bus simulation testboard for heavy-duty car
CN115037787B (en) Method, system and device for testing automobile network communication
CN116521217A (en) Method, system and storage medium for rapidly configuring BSW based on AUTOSAR tool
CN116296233A (en) Test data validity analysis system and method for transonic continuous wind tunnel
CN113934198A (en) Vehicle diagnosis method, vehicle diagnosis device, electronic device, and storage medium
CN113985844A (en) ECU parameter configuration method and device, electronic equipment and storage medium
CN111541581B (en) Middleware-based testing method and device, computer equipment and storage medium
Sivashankar et al. A modeling environment for production powertrain controller development
CN116915645A (en) Signal detection method and device, electronic equipment and vehicle
CN117032175A (en) Automatic test method and system for vehicle-mounted controller
CN118400232A (en) Baud rate self-adaption method and device based on multiple data analysis modules
CN117519105A (en) Vehicle diagnostic instrument, vehicle diagnostic method and system
CN117168838A (en) Vehicle signal processing method, device, terminal equipment and storage medium
CN116828522A (en) Test method, test device, electronic equipment and computer readable storage medium
CN116244193A (en) Intelligent driving algorithm evaluation method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20240117

Address after: No. 13 Xingxiang Road, Zengjia Town, High tech Zone, Jiulongpo District, Chongqing, 400039

Applicant after: Chongqing Selis Phoenix Intelligent Innovation Technology Co.,Ltd.

Address before: 610095 No. 2901, floor 29, unit 1, building 1, No. 151, Tianfu Second Street, high tech Zone, China (Sichuan) pilot Free Trade Zone, Chengdu, Sichuan Province

Applicant before: Chengdu Thalys Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant