Whole vehicle controller software upgrading test system and vehicle

文档序号:1566875 发布日期:2020-01-24 浏览:5次 中文

阅读说明:本技术 一种整车控制器软件升级测试系统及车辆 (Whole vehicle controller software upgrading test system and vehicle ) 是由 冯严科 于 2018-07-17 设计创作,主要内容包括:本发明提供了一种整车控制器软件升级测试系统及车辆,该整车控制器软件升级测试系统集成了主控ECU、上位机、接口模块及通讯模块等,体积小巧、方便携带,可以实现现场整车控制器软件升级的自动化测试。在测试过程中上位机对升级测试过程中的所有数据进行记录分析,及时输出测试结果和故障原因,便于后期软件改进和升级,且上位机对通讯模块从后台服务器获取的升级软件进行检测,检测无误后上位机向控制模块发送信号,控制模块控制进行整车控制器软件升级。(The invention provides a vehicle controller software upgrading test system and a vehicle. The upper computer records and analyzes all data in the upgrading test process in the test process, outputs test results and fault reasons in time, facilitates later software improvement and upgrading, detects upgrading software acquired by the communication module from the background server, sends signals to the control module after error detection, and controls the whole vehicle controller software upgrading.)

1. The system for testing software upgrading of the controller of the whole vehicle is characterized by comprising an upper computer, a communication module, a control module and an interface module, wherein the upper computer is connected with the communication module and used for acquiring upgrading software to be tested from a background server through the communication module and sending the acquired upgrading software to be tested to the controller of the whole vehicle; the communication module is connected with the interface module, the upper computer, the communication module and the interface module are all connected with the control module, the interface module is also used for connecting the whole vehicle controller, the control module is used for controlling the whole vehicle controller to carry out software upgrading, and the upper computer is used for acquiring data in the whole vehicle controller software upgrading process and analyzing the acquired data in the upgrading process to obtain the reason of upgrading failure.

2. The vehicle controller software upgrading test system of claim 1, further comprising a power module, wherein the power module is in power supply connection with the communication module, the interface module and the control module.

3. The vehicle controller software upgrading test system according to claim 1 or 2, wherein the interface module includes a CAN communication module, a circuit control module for controlling test actions, and a power conversion module for regulating output voltage.

4. The vehicle controller software upgrading test system of claim 3, wherein if the vehicle controller software upgrading fails, the control module resets the vehicle controller software, and the upper computer outputs the upgrading test result after the software is reset.

5. A vehicle is characterized by comprising a vehicle controller and a vehicle controller software upgrading test system, wherein the test system comprises an upper computer, a communication module, a control module and an interface module, the upper computer is connected with the communication module and is used for acquiring upgrading software to be tested from a background server through the communication module and sending the acquired upgrading software to be tested to the vehicle controller; the communication module is connected with the interface module, the upper computer, the communication module and the interface module are all connected with the control module, the interface module is also used for connecting the whole vehicle controller, the control module is used for controlling the whole vehicle controller to carry out software upgrading, and the upper computer is used for acquiring data in the whole vehicle controller software upgrading process and analyzing the acquired data in the upgrading process to obtain the reason of upgrading failure.

6. The vehicle of claim 5, wherein the testing system further comprises a power module that is in electrical communication with the communication module, the interface module, and the control module.

7. The vehicle of claim 5 or 6, wherein the interface module comprises a CAN communication module, a circuit control module for controlling the test action, and a power conversion module for regulating the output voltage.

8. The vehicle of claim 7, wherein if the software upgrade of the entire vehicle controller fails, the control module resets the software of the entire vehicle controller, and the upper computer outputs the upgrade test result after the software is reset.

Technical Field

The invention belongs to the technical field of automatic testing, and particularly relates to a whole vehicle controller software upgrading testing system and a vehicle.

Background

Because the current social energy and environmental problems are increasingly prominent, the application and development of the pure electric vehicle are improved to the level of national strategy, and the rapid development is achieved. In the pure electric vehicle technology, a vehicle control unit is one of core parts, and determines the energy saving performance, the power performance and the comfort of the pure electric vehicle. To meet the ever-increasing industry and customer demands, software upgrades must be made to the entire vehicle controller. At present, when the whole vehicle controller needs to update an upgrading program, manual field updating is adopted, namely a computer is in hard-line connection with a writing CAN interface of the whole vehicle controller, and an upper computer is used for writing. The defect of the mode is obvious, operators need to carry computers, CAN (controller area network) flash devices, debugging lines and other equipment to arrive at the vehicle position for on-site flash, convenience and timeliness are low, flexibility is poor, programs are stored on the computers, and the risk of disclosure exists. When the number of vehicles to be upgraded is large or the storage places are scattered, more manpower and material resources are consumed.

In order to solve the defects, the chinese patent with publication number "CN 104149717A" discloses "a remote non-interference update system and method for vehicle control", wherein the remote non-interference update system of the patent comprises a remote control terminal, a remote control server and a vehicle controller, the remote control terminal receives an upgrade file and configuration parameters from the remote control server, detects whether the vehicle controller is in an idle state, and sends an update control instruction to the vehicle controller. According to the remote updating and upgrading method, the remote control terminal is communicated with the vehicle control unit to achieve remote updating and upgrading, a large amount of personnel are not needed to operate, and the work of the vehicle control unit is simplified relatively. However, errors often occur in the process of remote upgrading of the vehicle controller software, and therefore, the vehicle controller software upgrading result needs to be detected and tested in the process of upgrading the vehicle controller software or after upgrading the vehicle controller software. However, the remote upgrading function of the software of the entire vehicle controller of the new energy vehicle can only be tested on a test bed in the development process of the controller, and the actual application in the market at the later stage must be completed by the cooperation of background operation and field operation, which is not beneficial to field operation and debugging. After the vehicle controller product is released, along with the distribution of vehicle models and markets in different application environments, meanwhile, as software remote upgrading is influenced by a plurality of factors such as the working state of the vehicle, the state of a background server, the network communication environment and the like, once the remote upgrading of the vehicle controller fails, the failure reason can not be tracked, and the improvement and the upgrading of later-stage software are not facilitated.

Disclosure of Invention

The invention aims to provide a vehicle controller software upgrading test system and a vehicle, which are used for solving the problem that the detection of the reason that the remote upgrading failure of the vehicle controller is not beneficial to the later software improvement and upgrading.

In order to achieve the purpose, the invention provides a software upgrading test system of a vehicle controller, which comprises an upper computer, a communication module, a control module and an interface module, wherein the upper computer is connected with the communication module and is used for acquiring upgrading software to be tested from a background server through the communication module and sending the acquired upgrading software to be tested to the vehicle controller; the communication module is connected with the interface module, the upper computer, the communication module and the interface module are all connected with the control module, the interface module is also used for connecting the whole vehicle controller, the control module is used for controlling the whole vehicle controller to carry out software upgrading, and the upper computer is used for acquiring data in the whole vehicle controller software upgrading process and analyzing the acquired data in the upgrading process to obtain the reason of upgrading failure.

As a further limitation to the test system, the test system further includes a power supply module, and the power supply module supplies power to connect the communication module, the interface module and the control module.

As a further limitation to the interface module, the interface module includes a CAN communication module, a circuit control module for controlling the test action, and a power conversion module for adjusting the output voltage.

Further, if the software of the whole vehicle controller fails to be upgraded, the control module resets the software of the whole vehicle controller, and the upper computer outputs an upgrading test result after the software is reset.

The invention also provides a vehicle, which comprises a vehicle controller and a vehicle controller software upgrading test system, wherein the test system comprises an upper computer, a communication module, a control module and an interface module, the upper computer is connected with the communication module and is used for acquiring upgrading software to be tested from a background server through the communication module and sending the acquired upgrading software to be tested to the vehicle controller; the communication module is connected with the interface module, the upper computer, the communication module and the interface module are all connected with the control module, the interface module is also used for connecting the whole vehicle controller, the control module is used for controlling the whole vehicle controller to carry out software upgrading, and the upper computer is used for acquiring data in the whole vehicle controller software upgrading process and analyzing the acquired data in the upgrading process to obtain the reason of upgrading failure.

As a further limitation to the test system, the test system further includes a power supply module, and the power supply module supplies power to connect the communication module, the interface module and the control module.

As a further limitation to the interface module, the interface module includes a CAN communication module, a circuit control module for controlling the test action, and a power conversion module for adjusting the output voltage.

Further, if the software of the whole vehicle controller fails to be upgraded, the control module resets the software of the whole vehicle controller, and the upper computer outputs an upgrading test result after the software is reset.

The invention has the beneficial effects that:

the vehicle controller software upgrading test system integrates the main control ECU, the upper computer, the interface module, the communication module and the like, is small in size and convenient to carry, and can realize automatic test of on-site vehicle controller software upgrading. And the upper computer records and analyzes all data in the upgrading test process in the test process, and outputs the test result and the fault reason in time, so that the software is improved and upgraded conveniently in the later period. And the upper computer detects the upgrade software acquired by the communication module from the background server, and sends a signal to the control module after the detection is correct, and the control module controls the upgrade of the software of the whole vehicle controller.

Drawings

FIG. 1 is a flow chart of the software upgrading of the vehicle controller according to the present invention;

fig. 2 is a structural block diagram of the vehicle controller software upgrade testing system of the present invention.

Detailed Description

The following further describes embodiments of the present invention with reference to the drawings:

the invention provides a vehicle, which comprises a vehicle controller and a vehicle controller software upgrading test system, wherein the test system comprises an upper computer, a communication module, a control module and an interface module, wherein the upper computer is connected with the communication module and is used for acquiring upgrading software to be tested from a background server through the communication module and sending the acquired upgrading software to be tested to the vehicle controller; the communication module is connected with the interface module, the upper computer, the communication module and the interface module are all connected with the control module, the interface module is also used for being connected with the whole vehicle controller, the control module is used for controlling the whole vehicle controller to carry out software upgrading, and the upper computer is used for acquiring data in the whole vehicle controller software upgrading process and analyzing the acquired data in the upgrading process to obtain the reason of upgrading failure.

Specifically, as shown in fig. 2, the system for upgrading and testing the software of the entire vehicle controller in this embodiment includes a main control ECU (corresponding to the control module), an upper computer, a power module, a communication host (corresponding to the communication module), an interface module, and a wire harness, and the functions of the modules are described below:

the main control ECU: the action control and the interface module control of the whole vehicle controller to be tested in the test process are realized;

an upper computer: the main control ECU and the communication host are coordinated to complete a system test function and simultaneously take charge of data recording, fault analysis, result output and the like in the whole test process;

a power supply module: the system is powered on to supply power to the main control ECU, the communication host and the interface module. The power supply module can be a battery which supplies power for the main control ECU, the communication host and the interface module; in another embodiment, the power supply module is a voltage conversion module, the voltage conversion module is connected with the on-board debugging power supply, and the voltage conversion module converts the voltage output by the on-board debugging power supply into the voltage required by the main control ECU, the communication host and the interface module.

The communication host: the system completes data exchange with the background server through a wireless network, and completes data exchange with the tested vehicle control unit through the interface module;

an interface module: the power control of the tested vehicle controller is realized, and the power control system comprises a CAN communication module, a circuit control module and a power conversion module for regulating output voltage; the CAN communication module realizes the specific implementation of the circuit system, the test target bus, the hard wire communication control and the main control ECU test action execution. The circuit control module is a specific execution unit of test actions in the upgrading test process, the main control ECU controls the circuit control unit to switch the power supply time sequence of the whole vehicle controller according to a preset upgrading action sequence, wherein the power supply time sequence refers to different power supply forms formed by different combinations of total fire, on fire and normal fire of the whole vehicle controller, and the preset upgrading action sequence refers to the arrangement of the different power supply forms of the whole vehicle controller. The power supply conversion module is used for adjusting the required voltage of the whole vehicle controller. When the output voltage of the vehicle control unit is not matched with the output voltage of the power supply module, the vehicle control unit needs to be adjusted through the power supply conversion module.

Wiring harness: and the physical connection between the test system and the tested vehicle control unit is realized.

The working process of the software upgrade testing system of the whole vehicle controller is explained with reference to fig. 1 and 2:

the system is started, the power supply module is electrified through the vehicle-mounted debugging power supply, and meanwhile, the power supply module supplies power to the main control ECU, the communication host and the interface module; after the system is started, the upper computer communicates with a network background server through a communication host to confirm the version of the software to be tested; after the software to be tested is confirmed, the upper computer starts a background software upgrading function through the communication host, and simultaneously realizes the software upgrading action of the whole vehicle controller through the control interface module of the main control ECU; after the background software upgrading function is started, the communication host acquires upgrading software data from the background server through the wireless network, and simultaneously realizes upgrading software data transmission and software upgrading with the tested vehicle control unit through the interface module.

In the whole vehicle controller software upgrading process, the upper computer records upgrading process data, wherein the upgrading process data are all CAN bus data in the whole upgrading process and comprise interaction data between the communication host and the main control ECU, between the main control ECU and the whole vehicle controller and between the communication host and the whole vehicle controller, and specifically comprise upgraded whole vehicle controller upgrading command codes, stage state codes and the like; if the software of the tested vehicle controller is successfully upgraded, the upper computer outputs a test result, and the control system is powered off to finish upgrading; if the software of the vehicle controller fails to be upgraded, the upgrading failure result can be obtained by comparing the data in the upgrading process with a standard template, wherein the standard template comprises a preset vehicle controller upgrading command code, a preset phase code and a preset phase state code, when the upgraded data is inconsistent with the data in the standard template, the upgrading failure is indicated, the upper computer records the upgrading failure data and the fault data, the upper computer outputs the test result after resetting the software of the vehicle controller through a main control ECU, and the control system is powered off to finish upgrading.

The vehicle controller software upgrading test system integrates the main control ECU, the upper computer, the interface module, the communication module and the like, is small in size and convenient to carry, and can realize automatic test of on-site vehicle controller software upgrading. And the upper computer records and analyzes all data in the upgrading test process in the test process, and outputs the test result and the fault reason in time, so that the software is improved and upgraded conveniently in the later period. And the upper computer detects the upgrade software acquired by the communication module from the background server, and sends a signal to the control module after the detection is correct, and the control module controls the upgrade of the software of the whole vehicle controller.

The specific embodiments are given above, but the present invention is not limited to the above-described embodiments. The basic idea of the present invention lies in the above basic scheme, and it is obvious to those skilled in the art that no creative effort is needed to design various modified models, formulas and parameters according to the teaching of the present invention. Variations, modifications, substitutions and alterations may be made to the embodiments without departing from the principles and spirit of the invention, and still fall within the scope of the invention.

7页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种基于混合小波神经网络的工业设备故障诊断方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!